Bug 888328 - Unable to delete service endpoint in keystone
Summary: Unable to delete service endpoint in keystone
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: snapshot2
: 2.1
Assignee: Alan Pevec
QA Contact: Nir Magnezi
URL:
Whiteboard:
: 888701 (view as bug list)
Depends On:
Blocks: 857290
TreeView+ depends on / blocked
 
Reported: 2012-12-18 13:56 UTC by Martin Magr
Modified: 2022-07-09 06:09 UTC (History)
3 users (show)

Fixed In Version: openstack-keystone-2012.2.1-2.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-12 17:50:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1019475 0 None None None Never
Red Hat Issue Tracker OSP-16352 0 None None None 2022-07-09 06:09:43 UTC
Red Hat Product Errata RHSA-2013:0253 0 normal SHIPPED_LIVE Moderate: openstack-keystone security and bug fix update 2013-02-12 22:49:18 UTC

Description Martin Magr 2012-12-18 13:56:55 UTC
Description of problem:
[para@virtual-rhel-beta ~(keystone_admin)]$ keystone endpoint-delete 7d6cec22e05b4777b485464d36fa12e5
No handlers could be found for logger "keystoneclient.v2_0.client"
Authorization Failed: An unexpected error prevented the server from fulfilling your request. 'NoneType' object has no attribute 'replace' (HTTP 500)

Version-Release number of selected component (if applicable):
[para@virtual-rhel-beta ~(keystone_admin)]$ rpm -qa *keystone
openstack-keystone-2012.2.1-1.el6ost.noarch
python-keystone-2012.2.1-1.el6ost.noarch

How reproducible:
Always.

Steps to reproduce:
[para@virtual-rhel-beta ~(keystone_admin)]$ keystone service-create --name=glance --type=image --description="Glance Image Service"
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description |       Glance Image Service       |
|      id     | ac82850b67284a6f954dca3498a04bb4 |
|     name    |              glance              |
|     type    |              image               |
+-------------+----------------------------------+
[para@virtual-rhel-beta ~(keystone_admin)]$ keystone endpoint-create --service_id ac82850b67284a6f954dca3498a04bb4
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminurl  |                                  |
|      id     | 7d6cec22e05b4777b485464d36fa12e5 |
| internalurl |                                  |
|  publicurl  |                                  |
|    region   |            regionOne             |
|  service_id | ac82850b67284a6f954dca3498a04bb4 |
+-------------+----------------------------------+
[para@virtual-rhel-beta ~(keystone_admin)]$ keystone endpoint-delete 7d6cec22e05b4777b485464d36fa12e5
No handlers could be found for logger "keystoneclient.v2_0.client"
Authorization Failed: An unexpected error prevented the server from fulfilling your request. 'NoneType' object has no attribute 'replace' (HTTP 500)

Actual results:
Endpoint still exists.

Expected results:
Endpoint exists no more.

Additional info:
None

Comment 2 Alan Pevec 2012-12-18 23:59:31 UTC
Upstream fix to be backported:
 https://github.com/openstack/keystone/commit/f9a9e7f3278a3cf461acad4d688a4868c2f7ac94

Comment 3 Alan Pevec 2012-12-20 15:26:34 UTC
*** Bug 888701 has been marked as a duplicate of this bug. ***

Comment 6 Nir Magnezi 2013-01-31 13:06:06 UTC
Verified With: openstack-keystone-2012.2.1-2.el6ost

$ keystone endpoint-create --service_id b349c6a536294ada8cec49767006e72c
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminurl  |                                  |
|      id     | fd2671daa2644733a32e7bd26396e801 |
| internalurl |                                  |
|  publicurl  |                                  |
|    region   |            regionOne             |
|  service_id | b349c6a536294ada8cec49767006e72c |
+-------------+----------------------------------+
$ keystone endpoint-delete fd2671daa2644733a32e7bd26396e801
Endpoint has been deleted.

Comment 8 errata-xmlrpc 2013-02-12 17:50:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0253.html


Note You need to log in before you can comment on or make changes to this bug.