← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1593116] [NEW] Not able to delete the keystone deafult endpoint in mitaka

 

Public bug reported:

I tried to manually delete default endpoint like cinder, nova etc.
which is by default there in keystone catalogue service( Mitaka).   But
I am getting the error: Unable to delete endpoint. But I created new
endpoint and able to delete the same. When I tried to show the same
endpoint , I am able to see the endpoint details using "openstack
endpoint show <Endpoint-Id>"!.

I have tried to delete endpoint in both clients like "Keystone endpoint-delete"  and "openstack endpoint delete"
Here are the details:

Keystone endpoint-list:
+----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+-----------------------------------------------+----------------------------------+
|                id                |   region  |                   publicurl                   |                  internalurl                  |                    adminurl                   |            service_id            |
+----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+-----------------------------------------------+----------------------------------+
| 5421c0400964427b88253705cfc362f3 | RegionOne |  http://10.247.142.242:8776/v1/$(tenant_id)s  |  http://10.247.142.242:8776/v1/$(tenant_id)s  |  http://10.247.142.242:8776/v1/$(tenant_id)s  | c921017f3db842948726c505889d67fd |
| 6be3ce2561ab4828878b821ae621878e | RegionOne |           http://10.247.142.242:9292          |           http://10.247.142.242:9292          |           http://10.247.142.242:9292          | f7ab568662cd4cd6881d0269b7a5bbf9 |
| 7d71b37916cc433aa70821e496e0ade0 | RegionOne |        http://10.247.142.242:5000/v2.0        |        http://10.247.142.242:5000/v2.0        |        http://10.247.142.242:35357/v2.0       | 6062610ff8394d588b5bf1c54e5eef06 |
| 956a68a0bf8f40b0a63681f855152a17 | RegionOne | http://10.247.142.242:8774/v2.1/$(tenant_id)s | http://10.247.142.242:8774/v2.1/$(tenant_id)s | http://10.247.142.242:8774/v2.1/$(tenant_id)s | 5f5cfe23d54a4a4a9b7d78fa7f476490 |
| d58f88977f334801ab25ce2a92a6d354 | RegionOne |  http://10.247.142.242:8774/v2/$(tenant_id)s  |  http://10.247.142.242:8774/v2/$(tenant_id)s  |  http://10.247.142.242:8774/v2/$(tenant_id)s  | 55cfa6d5a00a4f95904e07f64a8b812b |
| f61da8bdd3224b3c9ecadca1b5de359a | RegionOne |  http://10.247.142.242:8776/v2/$(tenant_id)s  |  http://10.247.142.242:8776/v2/$(tenant_id)s  |  http://10.247.142.242:8776/v2/$(tenant_id)s  | 383a734f6da3472a8da65e6d13762567 |

+----------------------------------+-----------+-----------------------------------------------+----------------------------

keystone  endpoint-delete 5421c0400964427b88253705cfc362f3
==============================================
/usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/local/lib/python2.7/dist-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in future releases.
  DeprecationWarning)
/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in future releases.
  'in future releases.', DeprecationWarning)
Unable to delete endpoint.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Not able to delete the keystone deafult endpoint in mitaka

Status in OpenStack Identity (keystone):
  New

Bug description:
  I tried to manually delete default endpoint like cinder, nova etc.
  which is by default there in keystone catalogue service( Mitaka).
  But I am getting the error: Unable to delete endpoint. But I created
  new endpoint and able to delete the same. When I tried to show the
  same endpoint , I am able to see the endpoint details using "openstack
  endpoint show <Endpoint-Id>"!.

  I have tried to delete endpoint in both clients like "Keystone endpoint-delete"  and "openstack endpoint delete"
  Here are the details:

  Keystone endpoint-list:
  +----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+-----------------------------------------------+----------------------------------+
  |                id                |   region  |                   publicurl                   |                  internalurl                  |                    adminurl                   |            service_id            |
  +----------------------------------+-----------+-----------------------------------------------+-----------------------------------------------+-----------------------------------------------+----------------------------------+
  | 5421c0400964427b88253705cfc362f3 | RegionOne |  http://10.247.142.242:8776/v1/$(tenant_id)s  |  http://10.247.142.242:8776/v1/$(tenant_id)s  |  http://10.247.142.242:8776/v1/$(tenant_id)s  | c921017f3db842948726c505889d67fd |
  | 6be3ce2561ab4828878b821ae621878e | RegionOne |           http://10.247.142.242:9292          |           http://10.247.142.242:9292          |           http://10.247.142.242:9292          | f7ab568662cd4cd6881d0269b7a5bbf9 |
  | 7d71b37916cc433aa70821e496e0ade0 | RegionOne |        http://10.247.142.242:5000/v2.0        |        http://10.247.142.242:5000/v2.0        |        http://10.247.142.242:35357/v2.0       | 6062610ff8394d588b5bf1c54e5eef06 |
  | 956a68a0bf8f40b0a63681f855152a17 | RegionOne | http://10.247.142.242:8774/v2.1/$(tenant_id)s | http://10.247.142.242:8774/v2.1/$(tenant_id)s | http://10.247.142.242:8774/v2.1/$(tenant_id)s | 5f5cfe23d54a4a4a9b7d78fa7f476490 |
  | d58f88977f334801ab25ce2a92a6d354 | RegionOne |  http://10.247.142.242:8774/v2/$(tenant_id)s  |  http://10.247.142.242:8774/v2/$(tenant_id)s  |  http://10.247.142.242:8774/v2/$(tenant_id)s  | 55cfa6d5a00a4f95904e07f64a8b812b |
  | f61da8bdd3224b3c9ecadca1b5de359a | RegionOne |  http://10.247.142.242:8776/v2/$(tenant_id)s  |  http://10.247.142.242:8776/v2/$(tenant_id)s  |  http://10.247.142.242:8776/v2/$(tenant_id)s  | 383a734f6da3472a8da65e6d13762567 |

  +----------------------------------+-----------+-----------------------------------------------+----------------------------

  keystone  endpoint-delete 5421c0400964427b88253705cfc362f3
  ==============================================
  /usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
    'python-keystoneclient.', DeprecationWarning)
  /usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
    'the 2.0.0 release.', DeprecationWarning)
  /usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
    super(Client, self).__init__(**kwargs)
  /usr/local/lib/python2.7/dist-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
    return f(*args, **kwargs)
  /usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
    'the 2.0.0 release.', DeprecationWarning)
  /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in future releases.
    DeprecationWarning)
  /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in future releases.
    'in future releases.', DeprecationWarning)
  Unable to delete endpoint.

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


Follow ups