It is impossible to release IP from instance: 'remove_fixed_ip' string is displayed and nothing happens

asked 2018-10-10 04:25:55 -0600

dendvk gravatar image

updated 2018-11-01 03:08:53 -0600

Hello.

I'm trying to do simple thing - add fixed IP address to instance and remove it later. Here is the way I'm doing this:

[root@controller ~]# openstack server list
...
| 99efe143-322b-4c87-a84f-15ea003f9cda | centos7-instanceCOSBM-hvm  | ACTIVE  | provider=10.30.119.105 | centos7-hvm | centos7-hvm |
[root@controller ~]# openstack server add fixed ip 99efe143-322b-4c87-a84f-15ea003f9cda 2540cb0c-6076-4683-83b3-0ffd2984fa7b
[root@controller ~]# openstack server list
...
| 99efe143-322b-4c87-a84f-15ea003f9cda | centos7-instanceCOSBM-hvm  | ACTIVE  | provider=10.30.119.105, 10.30.119.111 | centos7-hvm | centos7-hvm |
[root@controller ~]# openstack server remove fixed ip 99efe143-322b-4c87-a84f-15ea003f9cda 10.30.119.111
remove_fixed_ip
[root@controller ~]#

And nothing happens. Using instance name instead of ID, doing this under admin credentials, using obsoleted CLI "ip fixed remove" does not help or change behavior somehow. Nova logs do not track any errors, but neutron log does:

2018-10-10 05:19:05.135 2007 WARNING neutron.pecan_wsgi.controllers.root [req-c4e5b0d0-a577-430b-804f-680f4e092891 1cf4cb98f535455b8b9ca79ed663b8d1 a8cbae18e3b04f64b9ffcc3b66656a2f - default default] No controller found for: floatingips - returning response code 404: PecanNotFound
2018-10-10 05:19:05.136 2007 INFO neutron.pecan_wsgi.hooks.translation [req-c4e5b0d0-a577-430b-804f-680f4e092891 1cf4cb98f535455b8b9ca79ed663b8d1 a8cbae18e3b04f64b9ffcc3b66656a2f - default default] GET failed (client error): The resource could not be found.

Trying to do this both on Queens and Rocky - same result.

Is this a bug or some kind of misconfiguration of my stack?

Versions:

python2-ncclient-0.4.7-5.el7.noarch
python2-glanceclient-2.12.1-1.el7.noarch
python2-oauth2client-1.5.2-3.el7.1.noarch
python2-openstackclient-3.16.1-1.el7.noarch
python2-keystoneclient-3.17.0-1.el7.noarch
python2-neutronclient-6.9.0-1.el7.noarch
python2-barbicanclient-4.7.0-1.el7.noarch
python-openstackclient-lang-3.16.1-1.el7.noarch
python2-cinderclient-4.0.1-1.el7.noarch
python2-swiftclient-3.6.0-1.el7.noarch
python2-designateclient-2.10.0-1.el7.noarch
python2-google-api-client-1.4.2-4.el7.noarch
python2-os-client-config-1.31.2-1.el7.noarch
python2-novaclient-11.0.0-1.el7.noarch

openstack-nova-scheduler-18.0.0-1.el7.noarch
openstack-cinder-13.0.0-1.el7.noarch
openstack-nova-common-18.0.0-1.el7.noarch
openstack-glance-17.0.0-1.el7.noarch
openstack-nova-novncproxy-18.0.0-1.el7.noarch
openstack-keystone-14.0.0-1.el7.noarch
openstack-neutron-13.0.1-1.el7.noarch
openstack-selinux-0.8.14-1.el7.noarch
openstack-dashboard-14.0.0-1.el7.noarch
openstack-nova-api-18.0.0-1.el7.noarch
openstack-nova-placement-api-18.0.0-1.el7.noarch
openstack-neutron-ml2-13.0.1-1.el7.noarch
centos-release-openstack-rocky-1-1.el7.centos.noarch
python2-openstacksdk-0.17.2-1.el7.noarch
openstack-nova-conductor-18.0.0-1.el7.noarch
openstack-neutron-linuxbridge-13.0.1-1.el7.noarch
openstack-neutron-common-13.0.1-1.el7.noarch
openstack-nova-console-18.0.0-1.el7.noarch
openstack-dashboard-theme-14.0.0-1.el7.noarch

Finally, bug posted: https://bugs.launchpad.net/nova/+bug/1800998 (https://bugs.launchpad.net/nova/+bug/...)

edit retag flag offensive close merge delete