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/
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
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 017-basic- trusty- kilo", line 11, in <module> run_tests( ) ubuntu/ bzr/next/ quantum- gateway/ tests/charmhelp ers/contrib/ amulet/ deployment. py", line 93, in run_tests ubuntu/ bzr/next/ quantum- gateway/ tests/basic_ deployment. py", line 634, in test_create_network python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 111, in with_params instance, *args, **kwargs) python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 333, in list_networks python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 1250, in list n(collection, path, **params): python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 1263, in _pagination python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 1236, in get headers, params=params) python2. 7/dist- packages/ neutronclient/ v2_0/client. py", line 1228, in retry_request ConnectionFaile d(reason= _("Maximum attempts reached")) common. exceptions. ConnectionFaile d: Connection to neutron failed: Maximum attempts reached conductor. 017-basic- trusty- kilo DEBUG : conductor. 017-basic- trusty- kilo DEBUG : Got exit code: 1 conductor. 017-basic- trusty- kilo RESULT : ✘
Traceback (most recent call last):
File "tests/
deployment.
File "/home/
getattr(self, test)()
File "/home/
#Verify that the network doesn't exist
File "/usr/lib/
ret = self.function(
File "/usr/lib/
**_params)
File "/usr/lib/
for r in self._paginatio
File "/usr/lib/
res = self.get(path, params=params)
File "/usr/lib/
headers=
File "/usr/lib/
raise exceptions.
neutronclient.
juju-test.
juju-test.
juju-test.
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