Forum Discussion

Peter_Reilly's avatar
Peter_Reilly
Icon for Nimbostratus rankNimbostratus
Dec 27, 2018

APM Profile Export Format

When I export an APM profile, and want to take a look at it, I'd expect to be able to use gunzip and tar to extract the contents. Instead I'm unable to extract the contents using regular GNU tar on a Ubuntu host. Is the export in a special format?

 

Here is an example:

 

tar --version tar (GNU tar) 1.28

 

gunzip profile_Common_APM_Test.conf.tar.gz

 

tar -tvf profile_Common_APM_Test.conf.tar tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 1736 2018-12-26 15:18 res/0_Common_ad_auth_and_resources_act_logon_page_ag tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/1_Common_APM_Test_end_deny_ag tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/2_Common_APM_Test_general_ui tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/3_Common_APM_Test_frameworkinstallation tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/4_Common_APM_Test_eps tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/5_Common_APM_Test_errormap tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 62 2018-12-26 15:18 res/6_Common_APM_Test_logout tar: Archive contains ‘0000091’ where numeric uid_t value expected tar: Archive contains ‘0000091’ where numeric gid_t value expected -rw-rw-rw- tomcat/tomcat 13939 2018-12-26 15:18 ng-export.conf tar: Exiting with failure status due to previous errors

 

1 Reply

  • Hello Peter,

    From what I can tell, being able to view the exported files wasn't really the functionality F5 had in mind when designing the export/import options for BIG-IP APM, and its possible that the exported documents are intended to be used solely for the purpose of implementing them into another BIG-IP system, or saving a configuration. I have yet to find any documentation on reading exported files before they are imported back in to BIG-IP. But you're right: we should be able to run tar on the compressed file.

    I was unable to reproduce your particular error in a lab environment (using tar 1.3 on a Fedora, BIG-IP v. 13.1.1.x), and was able to unzip the file, for the most part. Running:

    tar xzf profile_Common_devcentral.conf.tar.gz
    

    Gave me the same error as you: Archive contains ‘0000091’ where numeric uid_t value expected.

    But it also made one readable file, ng-export.conf, and a directory res with more files inside, all of which I was able to view. ng-export.conf had the majority of my APM configuration, but there are a couple shorter files I can share here. For instance, I could see the configuration details of my webtop link for my Windows Edge Client for SSL VPN.

    cd res
    cat 9_Common_WindowsClient_resource_webtop_link_customization
    

    Gave me this html output:

    
        
            SSL VPN Edge Client
            /public/images/full_wt/link.png
            Windows Client
        
    
    

    I am not sure what effect the error message had on the files tar created but I haven't noticed any config info missing.

    Feel free to ask if you have any follow-up questions,

    Austin