I've set all the nova values in neutron.conf on all node types as:
notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://controller:8774 nova_region_name = regionOne nova_admin_username = nova nova_admin_tenant_id = d7544deb4812454ca634ecee078b4073 nova_admin_password = novapass nova_admin_auth_url = http://controller:35357/v2.0
using the "services" tenant as per the install guide notes for ml2. I'm using OVS NOT ml2.
It still fails with:
2014-04-11 14:39:09.258 928 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'da8f1f36-df7a-4d78-aa14-4dbfd263a0b2', 'name': 'network-vif-unplugged', 'server_uuid': u'652de88a-fc31-4071-9ff8-f6213efd1225'}] 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova Traceback (most recent call last): 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/neutron/notifiers/nova.py", line 186, in send_events 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova batched_events) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova return_raw=True) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 152, in _create 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova _resp, body = self.api.client.post(url, body=body) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 286, in post 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova return self._cs_request(url, 'POST', **kwargs) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 260, in _cs_request 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova **kwargs) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 242, in _time_request 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova resp, body = self.request(url, method, **kwargs) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 236, in request 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova raise exceptions.from_response(resp, body, url, method) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova BadRequest: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) 2014-04-11 14:39:09.258 928 TRACE neutron.notifiers.nova
I've set all the nova values in neutron.conf on all node types as:
notify_ nova_on_ port_status_ changes = True nova_on_ port_data_ changes = True controller: 8774 tenant_ id = d7544deb4812454 ca634ecee078b40 73 controller: 35357/v2. 0
notify_
nova_url = http://
nova_region_name = regionOne
nova_admin_username = nova
nova_admin_
nova_admin_password = novapass
nova_admin_auth_url = http://
using the "services" tenant as per the install guide notes for ml2.
I'm using OVS NOT ml2.
It still fails with:
2014-04-11 14:39:09.258 928 ERROR neutron. notifiers. nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'da8f1f36- df7a-4d78- aa14-4dbfd263a0 b2', 'name': 'network- vif-unplugged' , 'server_uuid': u'652de88a- fc31-4071- 9ff8-f6213efd12 25'}] notifiers. nova Traceback (most recent call last): notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ neutron/ notifiers/ nova.py" , line 186, in send_events notifiers. nova batched_events) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ v1_1/contrib/ server_ external_ events. py", line 39, in create notifiers. nova return_raw=True) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ base.py" , line 152, in _create notifiers. nova _resp, body = self.api. client. post(url, body=body) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 286, in post notifiers. nova return self._cs_ request( url, 'POST', **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 260, in _cs_request notifiers. nova **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 242, in _time_request notifiers. nova resp, body = self.request(url, method, **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 236, in request notifiers. nova raise exceptions. from_response( resp, body, url, method) notifiers. nova BadRequest: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) notifiers. nova
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.
2014-04-11 14:39:09.258 928 TRACE neutron.