nova-cloud-controller next charm fails to set neutron.conf bind_host correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-cloud-controller (Juju Charms Collection) |
Fix Released
|
High
|
James Page |
Bug Description
We're setting up Openstack with a 3 node HA cluster for the infrastructure, using Trusty and icehost, and revno 105 of the nova-cloud-
An extract of the /etc/neutron/
[DEFAULT]
state_path = /var/lib/neutron
lock_path = $state_path/lock
bind_host =
which causes in the server.log:
2014-10-03 04:05:07.623 10072 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2014-10-03 04:05:07.623 10072 TRACE neutron.service Traceback (most recent call last):
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service service.start()
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service self.wsgi_app = _run_wsgi(
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service workers=
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service backlog=backlog)
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service eventlet.sleep(0.1)
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service six.reraise(
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service family=family)
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service sock.bind(addr)
2014-10-03 04:05:07.623 10072 TRACE neutron.service File "/usr/lib/
2014-10-03 04:05:07.623 10072 TRACE neutron.service return getattr(
2014-10-03 04:05:07.623 10072 TRACE neutron.service error: [Errno 99] Cannot assign requested address
2014-10-03 04:05:07.623 10072 TRACE neutron.service
2014-10-03 04:05:07.624 10072 CRITICAL neutron [-] [Errno 99] Cannot assign requested address
If I set the bind_host by hand to 0.0.0.0, the neutron-server daemon restarts correctly - or at least, no longer complains about the "Cannot assign requested address."
Please let us know if you need any further information.
Related branches
- Edward Hope-Morley: Approve
-
Diff: 13 lines (+2/-1)1 file modifiedhooks/nova_cc_utils.py (+2/-1)
Changed in nova-cloud-controller (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
tags: | added: openstack |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
This is a regression from the recently landed prefer-ipv6 work.