Forum Discussion

wayney_128269's avatar
wayney_128269
Icon for Nimbostratus rankNimbostratus
Sep 30, 2005

ConfigSync error

 

I'm getting the following error when calling ConfigSync, any ideas why this is happening?

 

 

Exception caught in ITCMSystem::ConfigSync::save_configuration() Exception: Common::OperationFailed primary_error_code : 16908289 (0x01020001) secondary_error_code : 0 error_string : Error saving configuration at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at VIPNetXML.ITCMSystem.ConfigSync.ITCMSystemConfigSync.save_configuration(String filename, ITCMSystemConfigSyncSaveMode save_flag)

 

 

thanks
  • I'm seeing this in the BIGIP Logs:

     

     

    Fri Sep 30 10:54:55 PDT 2005 GODFATHA01 SubDomain REJECTING w access to /var/local/ucs__configsync__.out (iControlPortal.(26634) profile /usr/local/www/iControl/iControlPortal.cgi active /usr/local/www/iControl/iControlPortal.cgi)

     

    Fri Sep 30 10:55:34 PDT 2005 GODFATHA01 SubDomain REJECTING w access to /var/local/ucs__configsync__.out (iControlPortal.(26648) profile /usr/local/www/iControl/iControlPortal.cgi active /usr/local/www/iControl/iControlPortal.cgi)

     

     

     

    What is cauing my ConfigSync call to fail?

     

  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    You must be running a BIG-IP 9.2, otherwise you wouldn't see SubDomain messages.

     

    However, what build are you running. I'm running 9.2 with the latest build and I don't have any problem with save_configuration and install_configuration. If there's a problem, you should only see the SubDomain message regarding "__configsync__.out" when using the install_configuration method.

     

     

    The weird thing is the SubDomain message is complaining about "/var/local/ucs__configsync__.out". SubDomain's policy does not allow iControl to put anything in /var/local. iControl should put configsync related stuff in /var/local/ucs. Actually, all configsync operations are presumed to be isolated in /var/local/ucs, so if you specified anything different, you would get an error.

     

     

    Thanks,

     

    Loc
  • So can the path be specified? In the filename passed to the method call?

     

     

    Here is what I am doing:

     

     

     

    string configFileName = "vipnet_config";

     

     

    f5Query.lb9ConfigSync.save_configuration(configFileName, ITCMSystem.ConfigSync.ITCMSystemConfigSyncSaveMode.SAVE_HIGH_LEVEL_CONFIG);

     

    f5Query.lb9ConfigSync.save_configuration(configFileName, ITCMSystem.ConfigSync.ITCMSystemConfigSyncSaveMode.SAVE_BASE_LEVEL_CONFIG);
  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    Hmm... From your code snippet, it seems you're still invoking a legacy interface, i.e. ITCM..., which we don't really support. Please use the correct interface in System::ConfigSync, and hopefully it will clear things up.

     

     

    Also, we just release 9.2 (Yea ...!), so I would recommend pulling down the latest build.

     

    Regards,

     

    Loc
  • So I changed our code to use System::ConfigSync instead of ITCM. On our 9.2 BIGIP test system, it appears to work fine. No auth errors. However, on our 9.1 BIGIP systems, I still get the error. Do you know what would cause this? Could it be an issues with v 9.1? The account we are using is an admin account.

     

     

    thanks
  • I don't know of any issue in v9.1 that would cause this. I just checked the code and as far back as I can see, it is referencing the /var/local/ucs directory to store the status file.

     

     

    I'd pass this along to Product Support if you can't get it working. Or, if you feel a bit adventurous, you could try to compare the following file on you 9.1 and 9.2 system to look for inconsistencies between the two.

     

     

    /etc/subdomain.d/usr.local.www.iControl.iControlPortal.cgi

     

     

    The fact that it's trying to write to /var/local instead of /var/local/ucs is disturbing to me as it should never do that.

     

     

    -Joe
  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    On 9.1x, you should NOT be seeing any error message regarding SubDomain as we didn't have that feature in 9.1.

     

     

    Exactly what error messages do you see on your 9.1 BIG-IP then?

     

    Loc