Hi Manuel. If you have designate enabled in kolla, some manual steps are required for integration of designate with neutron and nova, especially, floatingip assignment will fail if designate-sink does not have zone_id in its config file.
Please take a look at kolla-ansible Designate guide. https://github.com/openstack/kolla-ansible/blob/master/doc/designate-guide.rst#neutron-and-nova-integration If this is not the case, please share globals.yml config and versions from kolla, kolla-ansible, distro, etc. Regards 2017-07-21 2:47 GMT+01:00 Daniel Russell <dani...@hostworks.com.au>: > Hi, > > > > That looks very similar to https://bugs.launchpad.net/neutron/+bug/1696889 > where if you had the designate driver loaded, you couldn’t associate a > floating IP address unless you had network dns names configured. > > > > Not sure if the release of Kolla you are using has the fix in place. > > > > Regards, > > Daniel. > > > > *From:* Manuel Sopena Ballesteros [mailto:manuel...@garvan.org.au] > *Sent:* Friday, 21 July 2017 10:47 AM > *To:* openstack@lists.openstack.org > *Subject:* [Openstack] can't assign floating IP to an instance > > > > Dear Openstack community, > > > > I recently did a deployment of Openstack using kolla-ansible, installation > finished without any error, however I can’t assign any floating IP to the > instance. > > > > This is the error message I get form the console. > > > > [root@kolla ~]# openstack server list > > +--------------------------------------+------+--------+---- > -------------------+------------+ > > | ID | Name | Status | > Networks | Image Name | > > +--------------------------------------+------+--------+---- > -------------------+------------+ > > | a544a485-4fc3-4ed1-8cca-8a41a270f0e2 | test | ACTIVE | > private=192.168.1.109 | cirros | > > +--------------------------------------+------+--------+---- > -------------------+------------+ > > [root@kolla ~]# openstack floating ip list > > +--------------------------------------+-------------------- > -+------------------+------+-------------------------------- > ------+----------------------------------+ > > | ID | Floating IP Address | Fixed IP > Address | Port | Floating Network | > Project | > > +--------------------------------------+-------------------- > -+------------------+------+-------------------------------- > ------+----------------------------------+ > > | 40843a80-3fb9-496a-907f-19bd869ec834 | 129.94.120.137 | > None | None | 7786b83f-f937-4122-9cbc-d4be0a89f9e4 | > aafa46d54a7441e3a7767b51be846ae5 | > > | d6a79f7a-c19f-410d-8d2f-a47fa21ab280 | 129.94.120.139 | > None | None | 7786b83f-f937-4122-9cbc-d4be0a89f9e4 | > aafa46d54a7441e3a7767b51be846ae5 | > > +--------------------------------------+-------------------- > -+------------------+------+-------------------------------- > ------+----------------------------------+ > > [root@kolla ~]# openstack server add floating ip test 129.94.120.137 > > Unable to associate floating IP 129.94.120.137 to fixed IP 192.168.1.109 > for instance a544a485-4fc3-4ed1-8cca-8a41a270f0e2. Error: Request Failed: > internal server error while processing your request. > > Neutron server returns request_ids: > ['req-9503b359-14f5-46da-9ef5-966c61505a2a'] > (HTTP 400) (Request-ID: req-90d8b32c-82a6-41fa-9fec-c0a8b89077f5) > > [root@kolla ~]# > > > > This is the error from the neutron-server logs: > > > > 2017-07-21 11:08:21.621 23 INFO neutron.wsgi > [req-3603c942-2f9f-4e24-8363-77fef2525cbb > - - - - -] 10.1.0.5,10.1.0.11 - - [21/Jul/2017 11:08:21] "GET > /v2.0/ports.json?device_id=a544a485-4fc3-4ed1-8cca-8a41a270f0e2 HTTP/1.1" > 200 1266 0.112278 > > 2017-07-21 11:08:21.692 23 INFO neutron.wsgi > [req-d46b7d2e-bfe7-4f89-9029-91c883797d46 > - - - - -] 10.1.0.5,10.1.0.11 - - [21/Jul/2017 11:08:21] "GET > /v2.0/security-groups.json?id=73bd6437-5409-4734-80cf-95535432aec9 > HTTP/1.1" 200 2484 0.054930 > > 2017-07-21 11:08:21.970 23 INFO neutron.wsgi > [req-1f1840dd-a3de-418e-9f07-4abb875ea223 > - - - - -] 10.1.0.5,10.1.0.11 - - [21/Jul/2017 11:08:21] "GET > /v2.0/ports.json?device_owner=compute%3ANone&device_id= > a544a485-4fc3-4ed1-8cca-8a41a270f0e2 HTTP/1.1" 200 1266 0.156156 > > 2017-07-21 11:08:21.995 23 INFO neutron.wsgi > [req-183ad59c-757a-4419-ac04-b317b5b3c6ea > - - - - -] 10.1.0.5,10.1.0.11 - - [21/Jul/2017 11:08:21] "GET > /v2.0/floatingips.json?floating_ip_address=129.94.120.137 HTTP/1.1" 200 > 674 0.020723 > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > [req-9503b359-14f5-46da-9ef5-966c61505a2a - - - - -] update failed: No > details. > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource Traceback (most > recent call last): > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, > in resource > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource result = > method(request=request, **args) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 610, in > update > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > self._update(request, id, body, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 95, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource setattr(e, > '_RETRY_EXCEEDED', True) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 91, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*args, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource ectxt.value = > e.inner_exc > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*args, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 131, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > traceback.format_exc()) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 126, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*dup_args, **dup_kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 658, in > _update > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource obj = > obj_updater(request.context, id, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 166, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > method(*args, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 95, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource setattr(e, > '_RETRY_EXCEEDED', True) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 91, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*args, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource ectxt.value = > e.inner_exc > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*args, **kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 131, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > traceback.format_exc()) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in > __exit__ > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > self.force_reraise() > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in > force_reraise > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > six.reraise(self.type_, self.value, self.tb) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 126, in wrapped > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > f(*dup_args, **dup_kwargs) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 940, in > update_floatingip > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource context, id, > floatingip) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/l3_db.py", line 1334, in > _update_floatingip > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource context, > floatingip_dict) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/dns_db.py", line 141, in > _process_dns_floatingip_update_precommit > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource context, > floatingip_data)) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/dns_db.py", line 243, in > _get_requested_state_for_external_dns_service_update > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > self._get_internal_port_dns_data(context, floatingip_data) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/db/dns_db.py", line 210, in > _get_internal_port_dns_data > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > context=context, port_id=floatingip_data['port_id']) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/objects/network.py", line 255, > in get_net_dns_from_port > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource return > super(NetworkDNSDomain, cls)._load_object(context, net_dns) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/objects/base.py", line 377, in > _load_object > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > obj.from_db_object(db_obj) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/objects/base.py", line 317, in > from_db_object > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource fields = > self.modify_fields_from_db(db_obj) > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/objects/base.py", line 367, in > modify_fields_from_db > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource result = > {field: db_obj[field] for field in potential_fields > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource File > "/usr/lib/python2.7/site-packages/neutron/objects/base.py", line 368, in > <dictcomp> > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource if > db_obj.get(field) is not None} > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource AttributeError: > 'NoneType' object has no attribute 'get' > > 2017-07-21 11:08:22.224 23 ERROR neutron.api.v2.resource > > 2017-07-21 11:08:22.226 23 INFO neutron.wsgi > [req-9503b359-14f5-46da-9ef5-966c61505a2a > - - - - -] 10.1.0.5,10.1.0.11 - - [21/Jul/2017 11:08:22] "PUT > /v2.0/floatingips/40843a80-3fb9-496a-907f-19bd869ec834.json HTTP/1.1" 500 > 344 0.226700 > > 2017-07-21 11:08:22.787 24 INFO neutron.wsgi > [req-74697ac4-b0c8-450f-9f1a-348c4ffaedbf > - - - - -] 10.1.0.43,10.1.0.11 - - [21/Jul/2017 11:08:22] "GET > /v2.0/ports.json?tenant_id=aafa46d54a7441e3a7767b51be846a > e5&device_id=a544a485-4fc3-4ed1-8cca-8a41a270f0e2 HTTP/1.1" 200 1266 > 0.062759 > > > > Any help or suggestion would be highly appreciated > > > > Thank you very much > > > > *Manuel Sopena Ballesteros *| Big data Engineer > *Garvan Institute of Medical Research * > The Kinghorn Cancer Centre, 370 Victoria Street, Darlinghurst, NSW 2010 > *T:* + 61 (0)2 9355 5760 <+61%202%209355%205760> | *F:* +61 (0)2 9295 8507 > <+61%202%209295%208507> | *E:* manuel...@garvan.org.au > > > > NOTICE > > Please consider the environment before printing this email. This message > and any attachments are intended for the addressee named and may contain > legally privileged/confidential/copyright information. If you are not the > intended recipient, you should not read, use, disclose, copy or distribute > this communication. If you have received this message in error please > notify us at once by return email and then delete both messages. We accept > no liability for the distribution of viruses or similar in electronic > communications. This notice should not be removed. > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack