Forum Discussion

mhite_60883's avatar
mhite_60883
Icon for Cirrocumulus rankCirrocumulus
Jul 26, 2013

Method not found: 'LocalLB.Pool.LocalLB.PoolPort.MonitorAssociation

I'm hitting a weird error when using bigsuds and performing a monitor association for a pool.

 

 

>>> api = bigsuds.BIGIP(hostname='myhost', username='myuser', password='mypass')

 

>>> api.LocalLB.Pool.MonitorAssociation(pool_name='/mhite/matthite-pool4', monitor_rule={'type': 'MONITOR_RULE_TYPE_SINGLE', 'quorum': 0, 'monitor_templates': 'http_special'})

 

Traceback (most recent call last):

 

File "", line 1, in

 

File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/bigsuds.py", line 296, in __getattr__

 

method = getattr(self._client.service, attr)

 

File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 299, in __getattr__

 

return getattr(port, name)

 

File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 403, in __getattr__

 

return getattr(m, name)

 

File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 494, in __getattr__

 

return self[name]

 

File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 507, in __getitem__

 

raise MethodNotFound, qn

 

bigsuds.MethodNotFound: Method not found: 'LocalLB.Pool.LocalLB.PoolPort.MonitorAssociation'

 

 

What's up with the mangled method name? (Where did this LocalLB.PoolPort stuff come from?)

 

 

Thanks!

 

 

-M

 

2 Replies

  • PS. monitor_templates': 'http_special'} should read monitor_templates': ['http_special']}

     

     

    Same error, though.
  • Figured out my problem -- problem existed between keyboard and chair! Can ignore this thread.