Unable to Remove Fixed IP Address
Problem
Unable to Remove Fixed IP Address using Openstack CLI.
Environment
- Platform9 Managed OpenStack
- Microversion >= 2.44
Cause
As described in python-openstackclient-581418, the change_I1848db384a825d3b166f113b30ebad92113af8e5_ deprecated nova 'remove_fixed_ip' action from microversion 2.44, and change Icb667973c65d26395db660b1c7b919550db66d08 removed support from novaclient side. The new linked patch re-implements 'remove_fixed_ ip' function with interface_detach interface from novaclient but the same hasn't been merged yet upstream.
Resolution
Ways to workaround the limitation:
- Remove the Fixed IP from the Platform9 U/I. Select
Instance => Network => Remove Fixed IP
. - Use python-novaclient===9.1.3 compatible with Openstack Pike on your local client machine to run Openstack operations.
- Download the requirements.txt file from Platform9's Github.
- Run the below-mentioned command to install the packages specified in the file with their correct versions.
This will install OpenStack CLI clients for the core OpenStack projects in addition to several other supported projects for the Pike release.
Was this page helpful?