We are getting the following error when we assign a floating IP to an instance.
Error:
Request Failed: internal server error while processing your request.
neutron-logs:
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource result = method(request=request, **args)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 631, in update
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource return self._update(request, id, body, **kwargs)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource setattr(e, '_RETRY_EXCEEDED', True)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource self.force_reraise()
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource self.force_reraise()
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource traceback.format_exc())
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource self.force_reraise()
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource return f(*dup_args, **dup_kwargs)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 679, in _update
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/services/l3_router/aws_router_plugin.py", line 160, in update_floatingip
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource context, floating_ip_dict['floating_ip_address'], port_id)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/services/l3_router/aws_router_plugin.py", line 132, in _associate_floatingip_to_port
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource server_list = self.aws_utils.get_nova_client().servers.list(
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/neutron/common/aws_utils.py", line 94, in get_nova_client
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource username=cfg.CONF.nova_admin_username,
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource File "/opt/pf9/neutron/lib/python2.7/site-packages/oslo_config/cfg.py", line 2267, in __getattr__
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource raise NoSuchOptError(name)
2017-08-29 05:30:17.058 11020 ERROR neutron.api.v2.resource NoSuchOptError: no such option nova_admin_username in group [DEFAULT]
Fix proposed to branch: master /review. openstack. org/498999
Review: https:/