neutronclient list agent not working with python

asked 2015-08-20 10:19:48 -0500

foexle gravatar image

updated 2015-08-20 10:20:45 -0500

Hey guys,

i'm playing with neutronclient and am asking if this really sucking hard or i'm missing something....

def check_neutron_services():
    from neutronclient.neutron import client

    neutron = client.Client("2.0", **CREDENTIALS)
    neutron.format = 'json'

    neutron.list_agents()

and the result:

2015-08-20 15:16:20,707 openstack_service_checker ERROR    Error: object of type 'NoneType' has no len()

No idea whats wrong, the doc is really bad all other clients are working good but neutron is a heavy kid :)

Here is the code from neutronclient: https://github.com/openstack/python-n...

I'll only list the agents. Do anyone have a hint ?

Cheers Heiko

edit retag flag offensive close merge delete