Forum Discussion

roberto_78284's avatar
roberto_78284
Icon for Nimbostratus rankNimbostratus
Aug 02, 2012

Disable poolMember Exception

Hi!!

 

 

I am testing this class: https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086386/Java-iControl-Objects--LTM-Pool-Member.aspx

 

 

When I use the disable method appears this exception:

 

 

AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Exception caught in LocalLB::urn:iControl:LocalLB/PoolMember::get_statistics() Exception: Common::OperationFailed primary_error_code : 16908336 (0x01020030) secondary_error_code : 0 error_string : faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Exception caught in LocalLB::urn:iControl:LocalLB/PoolMember::get_statistics() Exception: Common::OperationFailed primary_error_code : 16908336 (0x01020030) secondary_error_code : 0 error_string : at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.LocalLBPoolMemberBindingStub.get_statistics(LocalLBPoolMemberBindingStub.java:1296) at iControl.Objects.LTM.PoolMember.disable(PoolMember.java:538) at iControl.Objects.LTM.Test.main(Test.java:59)

 

 

{http://xml.apache.org/axis/}hostname:PR07140X097189P

 

 

Exception caught in LocalLB::urn:iControl:LocalLB/PoolMember::get_statistics() Exception: Common::OperationFailed primary_error_code : 16908336 (0x01020030) secondary_error_code : 0 error_string : at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.LocalLBPoolMemberBindingStub.get_statistics(LocalLBPoolMemberBindingStub.java:1296) at iControl.Objects.LTM.PoolMember.disable(PoolMember.java:538) at iControl.Objects.LTM.Test.main(Test.java:59)

 

 

I don't know how to fix it.

 

 

Thanks!
  • Can you post a small snippet of the code you use to make the call including the declaration and assignment of the parameters. I've never seen the get_statistics() method return an OperationFailed fault unless the parameters were not specified correctly. Can you verify that the pool member definition is correct? Also, which version of BIG-IP are you trying to use this against.

     

     

    -Joe
  • Hi!!

     

     

    Sorry for the little information.

     

     

    My BIG-IP version: BIG-IP 11.2.0 Build 2446.0 Final

     

     

    iControl version: iControlAssembly_11_2_0-Java

     

     

    Source code:

     

     

    public void disableMember(){

     

    String host = "xx.xx.xx.xx";

     

    String user = "xxxx";

     

    String pass = "xxxxx";

     

    iControl.Interfaces interfaces = new Interfaces(host, user, pass);

     

    Pool pool = new Pool(interfaces, "pool_name");

     

    String address = "xx.xx.xx.xx";

     

    long port = xx;

     

    PoolMember member = new PoolMember(interfaces, pool, address, port);

     

    try {

     

    member.disable();

     

    } catch (Exception e1) {

     

    e1.printStackTrace();

     

    }

     

    }

     

     

    I tested the member.enable() method and has not a problem.

     

     

    Thanks!
    • Matthew_Harris1's avatar
      Matthew_Harris1
      Icon for Nimbostratus rankNimbostratus
      I am also getting this error using PowerShell. It is failing on: $MemberStatisticsA = (Get-F5.iControl).LocalLBPoolMember.get_statistics( (, $pool_name), $MemberDefAofA); I have verified that $pool_name and $MemberDefAofA have the correct values. I am using BIG-IP 11.4.0. Did you resolve this?
  • HI, I get also the error with code 16908336 when I try to disable some member of pool (it is disabled, but when code is going to wait for connections going down, then this error appears)

     

    I use this script - https://devcentral.f5.com/wiki/iControl.PsPoolMemberControl.ashx and I get this error only when I move to another partition then Common.

     

    Do you have any idea or solution how to use that script with partitions? I run version 11.3.0

     

    THX, Zdenek

     

  • I met the similar issue and didn't find the answer from devcentral. anyone can help?

     

    BIG-IP version: BIG-IP 11.3.0 Build 3164.27 Engineering Hotfix HF10 Powershell version:

     

    Name : Windows PowerShell ISE Host Version : 2.0

     

    script

     

    ==== Write-Host "Waiting for current connections to drop to zero..." $MemberDef = New-Object -TypeName iControl.CommonIPPortDefinition; $MemberDef.address = $member_addr; $MemberDef.port = $member_port;

     

    $MemberDefAofA = New-Object -TypeName "iControl.CommonIPPortDefinition[][]" 1,1 $MemberDefAofA[0][0] = $MemberDef;

     

    $cur_connections = 1;

     

    while ( $cur_connections -gt 0 ) { $MemberStatisticsA = (Get-F5.iControl).LocalLBPoolMember.get_statistics( (, $pool_name), $MemberDefAofA); $MemberStatisticEntry = $MemberStatisticsA[0].statistics[0]; $Statistics = $MemberStatisticEntry.statistics; foreach ($Statistic in $Statistics) { $type = $Statistic.type; $value = $Statistic.value;

     

      if ( $type -eq "STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS" )
      {
         just use the low value.  Odds are there aren't over 2^32 current connections.
         If your site is this big, you'll have to convert this to a 64 bit number.
        $cur_connections = $value.low;
        Write-Host "Current Connections: $cur_connections"
      }
    }
    Start-Sleep -s 1

    }

     

    === Error code

     

    Exception calling "get_statistics" with "2" argument(s): "Exception caught in L ocalLB::urn:iControl:LocalLB/PoolMember::get_statistics() Exception: Common::OperationFailed primary_error_code : 16908336 (0x01020030) secondary_error_code : 0 error_string : " At line:1 char:72 + $MemberStatisticsA = (Get-F5.iControl).LocalLBPoolMember.get_statistics <<<< ( ($pool_name), $MemberDefAofA); + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : DotNetMethodException

     

  • Most likely the issue is that you are using an older version of the library for Java and the server is returning a statistic enum that the client library you are using doesn't know about. Try upgrading to the iControl Library for Java v11.6 and see if that fixes the problem.

     

    Same goes for the PowerShell snapin.

     

    Let me know if you are running with the latest libraries and I'll look at getting 11.2 and 11.3 running so I can reproduce it.

     

    -Joe