Comment 3 for bug 1138730

Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

Patch https://review.openstack.org/70286 has been merged, and I have pulled it into a Juno installation. But it does not work. I get the following in Neutron's server.log:

2015-01-21 10:04:39.265 16040 ERROR neutron.api.v2.resource [req-4b09ceb9-86f1-42d4-b1f9-117ae6ed9026 None] create failed
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 87, in resource
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource result = method(request=request, **args)
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 379, in create
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource allow_bulk=self._allow_bulk)
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 618, in prepare_request_body
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource raise webob.exc.HTTPBadRequest(msg)
2015-01-21 10:04:39.265 16040 TRACE neutron.api.v2.resource HTTPBadRequest: Attribute 'floating_ip_address' not allowed in POST

The request was from user=admin tenant=admin.

Also, I am surprised at the following part of the patch:

786 + if fip.get('floating_ip_address'):
787 + port['fixed_ips'] = [
788 + {'ip_address': fip['floating_ip_address']}]

Is there a confusion there between floating and fixed?

Are there any tempest tests of this functionality?