RequestContext initialization failed in cinder.

Bug #1248434 reported by huangtianhua on 2013-11-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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) on 2013-11-06
Changed in cinder:
assignee: huangtianhua (huangtianhua) → Liusheng (liusheng)

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

Changed in cinder:
status: New → In Progress

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) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers