trusty-kilo: neutronclient.common.exceptions.ConnectionFailed: Connection to neutron failed: Maximum attempts reached

Bug #1447335 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quantum-gateway (Juju Charms Collection)
Fix Released
Medium
Unassigned

Bug Description

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/

FYI - The same deployment and the same tests pass with trusty-icehouse and trusty-juno.

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

Ryan Beisner (1chb1n)
description: updated
Revision history for this message
James Page (james-page) wrote :

This sniffs of an old bug prior to the removal of neutron services from the nova-cc charm.

Changed in quantum-gateway (Juju Charms Collection):
status: New → Fix Released
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

Indeed - the amulet tests have been updated to make use of neutron-api, which is now the only way that neutron services are provided. Marking 'Fix Released'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.