RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1290429 - Packstack does not correctly configure Nova notifications for Neutron in Mitaka-1
Summary: Packstack does not correctly configure Nova notifications for Neutron in Mita...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: Javier Peña
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-10 13:47 UTC by Javier Peña
Modified: 2016-05-19 15:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:41:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 255881 0 None MERGED Fix Nova notifications for Neutron 2020-08-13 01:14:08 UTC

Description Javier Peña 2015-12-10 13:47:50 UTC
Description of problem:
After a test installation of Mitaka-1 packages using Packstack, new instances cannot be spawned. The error message in /var/log/neutron/server.log is:

2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'8bd644ed-6bbc-43c1-879b-ac24026d43c7', 'name': 'network-vif-plugged', 'server_uuid': u'0f7c1a42-b53b-4105-afed-c4af31504084'}]
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova Traceback (most recent call last):
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/neutron/notifiers/nova.py", line 208, in send_events
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     batched_events)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/novaclient/v2/contrib/server_external_events.py", line 39, in create
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     return_raw=True)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 175, in _create
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 176, in post
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     return self.request(url, 'POST', **kwargs)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 89, in request
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     **kwargs)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 206, in request
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 95, in request
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     return self.session.request(url, method, **kwargs)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/_utils.py", line 180, in inner
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     return func(*args, **kwargs)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 352, in request
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     base_url = self.get_endpoint(auth, **endpoint_filter)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 621, in get_endpoint
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     auth = self._auth_required(auth, 'determine endpoint URL')
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 565, in _auth_required
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2015-12-10 14:05:47.814 25469 ERROR neutron.notifiers.nova

Packstack was using the deprecated nova_admin_* options, which have apparently been removed in Mitaka. The new options need to be placed in the [nova] section of neutron.conf, and there is already support in puppet-neutron for that.

Version-Release number of selected component (if applicable):
openstack-packstack-7.0.0-dev1693.g5338d48.el7.centos.noarch

Comment 1 Javier Peña 2015-12-10 13:53:18 UTC
Proposed https://review.openstack.org/255881 with a fix.

Comment 2 Mike McCune 2016-03-28 22:48:26 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Chandan Kumar 2016-05-19 15:41:04 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.