Unable to Remove Fixed IP Address

Problem

Unable to Remove Fixed IP Address using Openstack CLI.

Copy

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:

  1. Remove the Fixed IP from the Platform9 U/I. Select Instance => Network => Remove Fixed IP.
  2. Use python-novaclient===9.1.3 compatible with Openstack Pike on your local client machine to run Openstack operations.
    1. Download the requirements.txt file from Platform9's Github.
    2. Run the below-mentioned command to install the packages specified in the file with their correct versions.
Copy

This will install OpenStack CLI clients for the core OpenStack projects in addition to several other supported projects for the Pike release.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard