Comment 0 for bug 1447335

Revision history for this message
Ryan Beisner (1chb1n) wrote :

With neutron-api absent from the deployment (such as what the amulet test does), use of the neutron python api or command line tool throws this: http://paste.ubuntu.com/10867650/

Juju stat: http://paste.ubuntu.com/10867879/

2015-04-22 18:42:39 Deployment complete in 284.36 seconds
Traceback (most recent call last):
  File "tests/017-basic-trusty-kilo", line 11, in <module>
    deployment.run_tests()
  File "/home/ubuntu/bzr/next/quantum-gateway/tests/charmhelpers/contrib/amulet/deployment.py", line 93, in run_tests
    getattr(self, test)()
  File "/home/ubuntu/bzr/next/quantum-gateway/tests/basic_deployment.py", line 634, in test_create_network
    #Verify that the network doesn't exist
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 111, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 333, in list_networks
    **_params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1250, in list
    for r in self._pagination(collection, path, **params):
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
    res = self.get(path, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1236, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1228, in retry_request
    raise exceptions.ConnectionFailed(reason=_("Maximum attempts reached"))
neutronclient.common.exceptions.ConnectionFailed: Connection to neutron failed: Maximum attempts reached
juju-test.conductor.017-basic-trusty-kilo DEBUG :
juju-test.conductor.017-basic-trusty-kilo DEBUG : Got exit code: 1
juju-test.conductor.017-basic-trusty-kilo RESULT : ✘
juju-test.conductor INFO : Breaking here as requested by --set-e
juju-test INFO : Results: 0 passed, 1 failed, 0 errored
ERROR subprocess encountered error code 1