RequestContext initialization failed in cinder.

Bug #1248434 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Liusheng

Bug Description

RequestContext initialization failed in cinder because of the following error:
                   "TypeError: 'in <string>' requires string as left operand, not NoneType"

My operations as follows:

1.Call keystone api to create a service without type.
2.Call keystone api to add a endpoint with the service.
3.Call cinder api to list servers.

Then the error TypeError: 'in <string>' requires string as left operand, not NoneType" has been thrown.

Changed in cinder:
assignee: nobody → huangtianhua (huangtianhua)
Liusheng (liusheng)
Changed in cinder:
assignee: huangtianhua (huangtianhua) → Liusheng (liusheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/55479

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/55479
Committed: http://github.com/openstack/cinder/commit/539eaaab89eea42f3f92a4ce069183c7730034af
Submitter: Jenkins
Branch: master

commit 539eaaab89eea42f3f92a4ce069183c7730034af
Author: LiuSheng <email address hidden>
Date: Thu Nov 7 09:27:05 2013 +0800

    RequestContext initialization failed in cinder.

    RequestContext initialization failed in cinder because of the following
    error:
    "TypeError: 'in <string>' requires string as left operand, not NoneType"

    It must traverses in tuple not in string when find the "compute"
    service_catalog.

    Change-Id: I46f4bbd0ffb9d1db8bdcb0254ca95551fea08baf
    Closes-Bug: #1248434

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.