"Project-Id Missing" exception happened when listing queue

Bug #1598773 reported by Yanyan Hu on 2016-07-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Undecided
Unassigned

Bug Description

Hi, I met a problem when trying to setup a zaqar development environment. I first set up Zaqar service referring to the following guide and then manually registered the endpoint to keystone:

http://docs.openstack.org/developer/zaqar/devref/development.environment.html

zaqar-server was run with "-d" option.

Then I downloaded openstack-zaqarclient and install it by running "pip install -e .".

But when I performing "openstack queue list", the following exception was raised:

MalformedRequest: Error response from Zaqar. Code: 400. Title: Project-Id Missing. Description: The header X-PROJECT-ID was missing.

My OS environment is like following:
------------------------------------
[stack@devstack3 python-zaqarclient]$ env | grep -i OS_
OS_PROJECT_ID=1d567ed4ef51453a85545f018b68c26d
os_PACKAGE=rpm
OS_REGION_NAME=RegionOne
os_RELEASE=7
OS_PROJECT_NAME=admin
os_VENDOR=Red Hat
OS_IDENTITY_API_VERSION=2.0
OS_PASSWORD=123456
OS_AUTH_URL=http://localhost:5000/v2.0
os_UPDATE=1
OS_USERNAME=admin
os_CODENAME=Maipo
OS_TENANT_NAME=admin
OS_VOLUME_API_VERSION=2
OS_NO_CACHE=1

wanghao (wanghao749) wrote :

It's not existing in my devstack env, there is my environment:

OS_REGION_NAME=RegionOne
OS_PROJECT_NAME=admin
OS_IDENTITY_API_VERSION=2.0
OS_PASSWORD=Galax8800
OS_AUTH_URL=http://192.168.1.105:5000/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_VOLUME_API_VERSION=2
OS_NO_CACHE=1

Or you can give more information by using openstack --debug queue list.

Changed in zaqar:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers