> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/solution/unable-to-remove-fixed-ip.md).

# Unable to Remove Fixed IP Address

## Problem

Unable to Remove Fixed IP Address using Openstack CLI.

{% tabs %}
{% tab title="None" %}

```none
# openstack server remove fixed ip v0fb855e-xxxx-xxxx-b3fe-bfbadb3a47ec 10.90.23.174 --debug
...
...
RESP BODY: 
GET call to compute for https://<DU_FQDN>/nova/v2.1/53436y45676e0e6446a1b20e4b2d9420d98b/servers/v0fb855e-xxxx-xxxx-b3fe-bfbadb3a47ec used request id req-f34251eb-9ea5-4bd9-8de8-24c5448742c9
remove_fixed_ip
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 1658, in take_action
server.remove_fixed_ip(parsed_args.ip_address)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 180, in __getattr__
raise AttributeError(k)
AttributeError: remove_fixed_ip
clean_up RemoveFixedIP: remove_fixed_ip
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 1658, in take_action
server.remove_fixed_ip(parsed_args.ip_address)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 180, in __getattr__
raise AttributeError(k)
AttributeError: remove_fixed_ip

END return value: 1
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed OpenStack
* Microversion >= 2.44

## Cause

As described in [*python-openstackclient-581418*](https://review.opendev.org/c/openstack/python-openstackclient/+/581418/), the change\_[I1848db384a825d3b166f113b30ebad92113af8e5](https://review.opendev.org/#/q/I1848db384a825d3b166f113b30ebad92113af8e5)\_ deprecated nova 'remove\_fixed\_ip' action from microversion 2.44, and change [*Icb667973c65d26395db660b1c7b919550db66d08*](https://review.opendev.org/#/q/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*](https://raw.githubusercontent.com/platform9/support-locker/master/openstack-clients/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.

{% tabs %}
{% tab title="None" %}

```none
pip install --upgrade --requirement <filename> --constraint https://raw.githubusercontent.com/openstack/requirements/stable/pike/upper-constraints.txt
```

{% endtab %}
{% endtabs %}

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/pmo/solution/unable-to-remove-fixed-ip.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
