RequestContext initialization failed in nova

Bug #1248424 reported by huangtianhua
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
huangtianhua

Bug Description

RequestContext initialization failed in nova 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 nova api to list servers.

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

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

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

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/55355
Committed: http://github.com/openstack/nova/commit/94c1ad5c0eb0fd574f659a9477b222a7d6c84c4b
Submitter: Jenkins
Branch: master

commit 94c1ad5c0eb0fd574f659a9477b222a7d6c84c4b
Author: huangtianhua <email address hidden>
Date: Wed Nov 6 15:26:35 2013 +0800

    Fixes RequestContext initialization failure.

    RequestContext initialization failed in nova 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 "volume" service_catalog.

    Change-Id: Ie0de50fcafbeabf4698696add610d4e6804f45eb
    Closes-Bug: #1248424

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
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.