← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1800998] Re: It is impossible to release IP from instance. Error: 'AttributeError: remove_fixed_ip'

 

This is a CLI issue. You're using python-novaclient 11.0.0 and the
corresponding remove_fixed_ip code in novaclient was removed in 10.0.0:

https://github.com/openstack/python-
novaclient/commit/01fb16533bf562f39fe822bc12b9cc34b8580359#diff-
23708944688abb26fc151d28d327c721

So you need novaclient<10.0.0 for OSC to work, or you need a newer
version of python-openstackclient that handles this natively using the
neutron API directly.

What you need in openstackclient is this change:

https://github.com/openstack/python-
openstackclient/commit/53e7aab7ed4d6c981ca067c1db8bce290a5f0055

That went into 3.15.0 in rocky and 3.14.2 in queens. It looks like
you're using openstackclient 3.16.1 but something is wrong if that's
still trying to use novaclient for the remove_fixed_ip action.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1800998

Title:
  It is impossible to release IP from instance. Error: 'AttributeError:
  remove_fixed_ip'

Status in OpenStack Compute (nova):
  Invalid
Status in python-openstackclient:
  New

Bug description:
  It is impossible to release IP from instance. Error: 'AttributeError:
  remove_fixed_ip'.

   affects python-openstackclient
   importance high
   affects nova
   subscribe
   tag openstack nova openstackclient novaclient

  I'm trying to do simple thing - add fixed IP address to instance and
  remove it later. However, release just assigned IP is impossible.
  Added ‘–debug’ option for stack trace:

   [root@controller ~]# openstack server remove fixed ip cade90ab-e9ab-4cb1-86cb-048cf7b48205 172.16.2.8 --debug
  START with options: [u'server', u'remove', u'fixed', u'ip', u'cade90ab-e9ab-4cb1-86cb-048cf7b48205', u'172.16.2.8', u'--debug']
  options: Namespace(access_key='', access_secret='***', access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_type='', auth_url='http://controller:5000/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', consumer_key='', consumer_secret='***', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_dns_api_version='2', os_identity_api_version='3', os_image_api_version='2', os_key_manager_api_version='1', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', profile='', project_domain_id='', project_domain_name='Default', project_id='', project_name='demo', protocol='', redirect_uri='', region_name='', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', service_provider_endpoint='', service_provider_entity_id='', system_scope='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='Default', user_id='', username='demo', verbose_level=3, verify=None)
  Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', u'clustering_api_version': u'1', 'verify': True, 'timing': False, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', u'interface': None, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', 'beta_command': False, u'workflow_api_version': u'2', u'baremetal_status_code_retries': '5', u'identity_api_version': '3', u'volume_api_version': u'2', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'block_storage_api_version': u'2', u'disable_vendor_agent': {}}
  defaults: {u'auth_type': 'password', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'image_api_version': u'2', u'clustering_api_version': u'1', 'verify': True, u'interface': None, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', u'baremetal_status_code_retries': 5, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'block_storage_api_version': u'2', u'disable_vendor_agent': {}}
  cloud cfg: {'auth_type': 'password', 'username': 'demo', u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', u'clustering_api_version': u'1', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', 'beta_command': False, u'workflow_api_version': u'2', u'baremetal_status_code_retries': '5', u'block_storage_api_version': u'2', u'identity_api_version': '3', u'volume_api_version': u'2', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
  compute API version 2, cmd group openstack.compute.v2
  network API version 2, cmd group openstack.network.v2
  image API version 2, cmd group openstack.image.v2
  volume API version 2, cmd group openstack.volume.v2
  identity API version 3, cmd group openstack.identity.v3
  object_store API version 1, cmd group openstack.object_store.v1
  neutronclient API version 2, cmd group openstack.neutronclient.v2
  dns API version 2, cmd group openstack.dns.v2
  key_manager API version 1, cmd group openstack.key_manager.v1
  Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', u'clustering_api_version': u'1', 'verify': True, 'timing': False, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', u'interface': None, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', 'beta_command': False, u'workflow_api_version': u'2', u'baremetal_status_code_retries': '5', u'identity_api_version': '3', u'volume_api_version': u'2', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'block_storage_api_version': u'2', u'disable_vendor_agent': {}}
  Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', u'clustering_api_version': u'1', 'verify': True, 'timing': False, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', u'interface': None, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', 'beta_command': False, u'workflow_api_version': u'2', u'baremetal_status_code_retries': '5', u'identity_api_version': '3', u'volume_api_version': u'2', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'block_storage_api_version': u'2', u'disable_vendor_agent': {}}
  command: server remove fixed ip -> openstackclient.compute.v2.server.RemoveFixedIP (auth=True)
  Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://controller:5000/v3', 'additional_user_agent': [('osc-lib', '1.11.1')], u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', u'clustering_api_version': u'1', 'verify': True, 'timing': False, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', u'interface': None, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', 'beta_command': False, u'workflow_api_version': u'2', u'baremetal_status_code_retries': '5', u'identity_api_version': '3', u'volume_api_version': u'2', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'block_storage_api_version': u'2', u'disable_vendor_agent': {}}
  Using auth plugin: password
  Using parameters {'username': 'demo', 'project_name': 'demo', 'user_domain_name': 'Default', 'auth_url': 'http://controller:5000/v3', 'password': '***', 'project_domain_name': 'Default'}
  Get auth_ref
  REQ: curl -g -i -X GET http://controller:5000/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.17.2 keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5"
  Starting new HTTP connection (1): controller
  http://controller:5000 "GET /v3 HTTP/1.1" 200 250
  RESP: [200] Connection: Keep-Alive Content-Length: 250 Content-Type: application/json Date: Tue, 30 Oct 2018 07:26:27 GMT Keep-Alive: timeout=5, max=100 Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-651da27d-935f-441b-beec-1a9938f036f1
  RESP BODY: {"version": {"status": "stable", "updated": "2018-02-28T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links": [{"href": "http://controller:5000/v3/";, "rel": "self"}]}}
  GET call to http://controller:5000/v3 used request id req-651da27d-935f-441b-beec-1a9938f036f1
  Making authentication request to http://controller:5000/v3/auth/tokens
  http://controller:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4695
  {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "a6f626304e5341dcb389d522e9a3bb0e", "name": "user"}], "expires_at": "2018-11-01T07:26:28.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "65bbf847e7ae4854a21cb0fbc2e90e1f", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://controller:5000/v3/";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "47e965c541ec4640a21538b081ca9a11"}, {"url": "http://controller:5000/v3/";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5628af3f525b4e0f8f1dc1a821d67a73"}, {"url": "http://controller:5000/v3/";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cb36e8fc8b6d4851b659bd0dfa24f3ef"}], "type": "identity", "id": "6668aec2440c4db6bfff9a8a00977b4e", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9292";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e3f0c1cc9034382a994a5f21cf2a4cd"}, {"url": "http://controller:9292";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "b18ccac434fd48028521b7000b85404f"}, {"url": "http://controller:9292";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b444186a68734959918185d22a2cca43"}], "type": "image", "id": "77b156b373804a34a08fb911f53e50f9", "name": "glance"}, {"endpoints": [{"url": "http://controller:9696";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "50dad5219802405aa97082dc3c049d6d"}, {"url": "http://controller:9696";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7de4e146e9854030add8154f9d9dd383"}, {"url": "http://controller:9696";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ecc4d1bbbf514676b22cb3c84ba1afca"}], "type": "network", "id": "7809f4056ae2474d9abf947c60acd2ca", "name": "neutron"}, {"endpoints": [{"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0b351222543b42569023ad340d0720a2"}, {"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8f024e595d554d40922ee31a93730462"}, {"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c0e61b6bc0f249868c3f43c5455dec27"}], "type": "compute", "id": "9197dd847eb046689a368c0219c4e5f8", "name": "nova"}, {"endpoints": [{"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "35171d3f4fac4dff82c98da8633eb81d"}, {"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "45e2d0d6a7ba4dfcb9e434f62b01061b"}, {"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "9ee0035430f344cca96642faf8243e88"}], "type": "volumev3", "id": "a31cccf183dc4f68913f1090b04011e3", "name": "cinderv3"}, {"endpoints": [{"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2580b20aa65742d581acd9e49f201b9a"}, {"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3aae22b47c694b26a0c100096454d02a"}, {"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "3c6528a9437342039b1bf5e6d08ea293"}], "type": "volumev2", "id": "b120b19022d44b8d9d8aa7dcd3aeda53", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8778";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "40d2c6a8d9bc4768ab7536b33c1ecde4"}, {"url": "http://controller:8778";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "87e1070a644543539598b04b898271ce"}, {"url": "http://controller:8778";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d8b655ef6cd940e9a5698f6fc263d339"}], "type": "placement", "id": "b45731042ff641bf9e430a70308e2e69", "name": "placement"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "demo", "id": "941fc025762742908b562889d73274cf"}, "audit_ids": ["UzNj9k_CTsipKg6d_DM02g"], "issued_at": "2018-10-30T07:26:28.000000Z"}}
  run(Namespace(ip_address=u'172.16.2.8', server=u'cade90ab-e9ab-4cb1-86cb-048cf7b48205'))
  Instantiating compute client for API Version Major: 2, Minor: 0
  Instantiating compute api: <class 'openstackclient.api.compute_v2.APIv2'>
  Making authentication request to http://controller:5000/v3/auth/tokens
  http://controller:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4695
  {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "a6f626304e5341dcb389d522e9a3bb0e", "name": "user"}], "expires_at": "2018-11-01T07:26:28.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "65bbf847e7ae4854a21cb0fbc2e90e1f", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://controller:5000/v3/";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "47e965c541ec4640a21538b081ca9a11"}, {"url": "http://controller:5000/v3/";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5628af3f525b4e0f8f1dc1a821d67a73"}, {"url": "http://controller:5000/v3/";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cb36e8fc8b6d4851b659bd0dfa24f3ef"}], "type": "identity", "id": "6668aec2440c4db6bfff9a8a00977b4e", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9292";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e3f0c1cc9034382a994a5f21cf2a4cd"}, {"url": "http://controller:9292";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "b18ccac434fd48028521b7000b85404f"}, {"url": "http://controller:9292";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b444186a68734959918185d22a2cca43"}], "type": "image", "id": "77b156b373804a34a08fb911f53e50f9", "name": "glance"}, {"endpoints": [{"url": "http://controller:9696";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "50dad5219802405aa97082dc3c049d6d"}, {"url": "http://controller:9696";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7de4e146e9854030add8154f9d9dd383"}, {"url": "http://controller:9696";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ecc4d1bbbf514676b22cb3c84ba1afca"}], "type": "network", "id": "7809f4056ae2474d9abf947c60acd2ca", "name": "neutron"}, {"endpoints": [{"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0b351222543b42569023ad340d0720a2"}, {"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8f024e595d554d40922ee31a93730462"}, {"url": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c0e61b6bc0f249868c3f43c5455dec27"}], "type": "compute", "id": "9197dd847eb046689a368c0219c4e5f8", "name": "nova"}, {"endpoints": [{"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "35171d3f4fac4dff82c98da8633eb81d"}, {"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "45e2d0d6a7ba4dfcb9e434f62b01061b"}, {"url": "http://controller:8776/v3/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "9ee0035430f344cca96642faf8243e88"}], "type": "volumev3", "id": "a31cccf183dc4f68913f1090b04011e3", "name": "cinderv3"}, {"endpoints": [{"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2580b20aa65742d581acd9e49f201b9a"}, {"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3aae22b47c694b26a0c100096454d02a"}, {"url": "http://controller:8776/v2/65bbf847e7ae4854a21cb0fbc2e90e1f";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "3c6528a9437342039b1bf5e6d08ea293"}], "type": "volumev2", "id": "b120b19022d44b8d9d8aa7dcd3aeda53", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8778";, "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "40d2c6a8d9bc4768ab7536b33c1ecde4"}, {"url": "http://controller:8778";, "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "87e1070a644543539598b04b898271ce"}, {"url": "http://controller:8778";, "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d8b655ef6cd940e9a5698f6fc263d339"}], "type": "placement", "id": "b45731042ff641bf9e430a70308e2e69", "name": "placement"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "demo", "id": "941fc025762742908b562889d73274cf"}, "audit_ids": ["qjKoXe5WQ_Cwk6vgZt19XA"], "issued_at": "2018-10-30T07:26:28.000000Z"}}
  REQ: curl -g -i -X GET http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f/servers/cade90ab-e9ab-4cb1-86cb-048cf7b48205 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}17c7c43d878f30324f95dd8d361354e65c24e15a"
  Starting new HTTP connection (1): controller
  http://controller:8774 "GET /v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f/servers/cade90ab-e9ab-4cb1-86cb-048cf7b48205 HTTP/1.1" 200 1918
  RESP: [200] Connection: keep-alive Content-Length: 1918 Content-Type: application/json Date: Tue, 30 Oct 2018 07:26:29 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-7c928f39-c760-4540-89b9-854132c5cf68 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-7c928f39-c760-4540-89b9-854132c5cf68
  RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {"selfservice": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:e4:83:1b", "version": 4, "addr": "172.16.2.6", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:20:da:f2", "version": 4, "addr": "172.16.2.9", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:b9:ec:24", "version": 4, "addr": "172.16.2.8", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f/servers/cade90ab-e9ab-4cb1-86cb-048cf7b48205";, "rel": "self"}, {"href": "http://controller:8774/65bbf847e7ae4854a21cb0fbc2e90e1f/servers/cade90ab-e9ab-4cb1-86cb-048cf7b48205";, "rel": "bookmark"}], "image": {"id": "e7372ea2-5c92-4fb3-b450-f0092d2ee0d5", "links": [{"href": "http://controller:8774/65bbf847e7ae4854a21cb0fbc2e90e1f/images/e7372ea2-5c92-4fb3-b450-f0092d2ee0d5";, "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2018-10-16T10:28:45.000000", "flavor": {"id": "1", "links": [{"href": "http://controller:8774/65bbf847e7ae4854a21cb0fbc2e90e1f/flavors/1";, "rel": "bookmark"}]}, "id": "cade90ab-e9ab-4cb1-86cb-048cf7b48205", "security_groups": [{"name": "default"}, {"name": "default"}, {"name": "default"}], "user_id": "941fc025762742908b562889d73274cf", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2018-10-30T06:33:11Z", "hostId": "34281847d2f0610efe40331698e37164662cb432ecc46bdfa6740114", "OS-SRV-USG:terminated_at": null, "key_name": "mykey", "name": "centos7-selfservice-1-3ip", "created": "2018-10-16T08:05:20Z", "tenant_id": "65bbf847e7ae4854a21cb0fbc2e90e1f", "os-extended-volumes:volumes_attached": [{"id": "b21518e0-84e3-42a3-b189-5cac6654efce"}, {"id": "4bf57aef-f2cf-48bd-aaf9-c1417bbc43d4"}], "metadata": {}}}
  GET call to compute for http://controller:8774/v2.1/65bbf847e7ae4854a21cb0fbc2e90e1f/servers/cade90ab-e9ab-4cb1-86cb-048cf7b48205 used request id req-7c928f39-c760-4540-89b9-854132c5cf68
  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 1587, 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 1587, 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

  Here are versions:
  [root@controller ~]# rpm -qa | grep client
  python2-ncclient-0.4.7-5.el7.noarch
  python2-glanceclient-2.12.1-1.el7.noarch
  openssh-clients-7.4p1-16.el7.x86_64
  python2-oauth2client-1.5.2-3.el7.1.noarch
  python2-neutronclient-6.9.1-1.el7.noarch
  python2-openstackclient-3.16.1-1.el7.noarch
  python2-keystoneclient-3.17.0-1.el7.noarch
  python2-barbicanclient-4.7.0-1.el7.noarch
  python-openstackclient-lang-3.16.1-1.el7.noarch
  dhclient-4.2.5-68.el7.centos.1.x86_64
  dibbler-client-1.0.1-0.RC1.2.el7.x86_64
  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
  glusterfs-client-xlators-3.8.4-54.15.el7.centos.x86_64
  python2-os-client-config-1.31.2-1.el7.noarch
  python2-novaclient-11.0.0-1.el7.noarch

  Here are versions once more time:
  [root@controller ~]# rpm -qa | grep openstack
  openstack-neutron-linuxbridge-13.0.1-2.el7.noarch
  openstack-nova-conductor-18.0.2-1.el7.noarch
  openstack-nova-common-18.0.2-1.el7.noarch
  openstack-glance-17.0.0-2.el7.noarch
  openstack-keystone-14.0.0-2.el7.noarch
  python2-openstackclient-3.16.1-1.el7.noarch
  openstack-neutron-ml2-13.0.1-2.el7.noarch
  openstack-nova-scheduler-18.0.2-1.el7.noarch
  openstack-nova-novncproxy-18.0.2-1.el7.noarch
  openstack-selinux-0.8.14-1.el7.noarch
  python-openstackclient-lang-3.16.1-1.el7.noarch
  openstack-dashboard-14.0.1-1.el7.noarch
  openstack-neutron-13.0.1-2.el7.noarch
  openstack-nova-api-18.0.2-1.el7.noarch
  openstack-nova-placement-api-18.0.2-1.el7.noarch
  centos-release-openstack-rocky-1-1.el7.centos.noarch
  python2-openstacksdk-0.17.2-1.el7.noarch
  openstack-dashboard-theme-14.0.1-1.el7.noarch
  openstack-cinder-13.0.1-1.el7.noarch
  openstack-neutron-common-13.0.1-2.el7.noarch
  openstack-nova-console-18.0.2-1.el7.noarch

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1800998/+subscriptions