Missing parameter at authentication command.

Bug #978955 reported by Guilherme Birk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Anne Gentle

Bug Description

When trying to get a token to upload an image at 4. Uploading Images (OpenStack Install and Deploy Manual - essex - http://docs.openstack.org/trunk/openstack-compute/install/content/uploading-to-glance.html), the curl command is missing the "tenantName": "openstackDemo" parameter.

The manual says to use "curl -d '{"auth":{"passwordCredentials":{"username": "adminUser", "password": "secretword"}}}' -H "Content-type: application/json" http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool"

When the right one is "curl -d '{"auth": {"tenantName": "openstackDemo", "passwordCredentials":{"username": "adminUser", "password": "secretword"}}}' -H "Content-type: application/json" http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool"

When i've tried to use the first one, my token was not accepted when trying to upload an image to glance (unauthorized), but when I use the token returned by the first one I can use the the glance index command with no problems.

Anne Gentle (annegentle)
Changed in openstack-manuals:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Dolph Mathews (dolph) wrote :

This correction looks accurate.

Anne Gentle (annegentle)
Changed in openstack-manuals:
assignee: nobody → Anne Gentle (annegentle)
Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/6085
Committed: http://github.com/openstack/openstack-manuals/commit/0a1c9e002f8698144609dfdaf667c0c487f34917
Submitter: Jenkins
Branch: master

commit 0a1c9e002f8698144609dfdaf667c0c487f34917
Author: Lorin Hochstein <email address hidden>
Date: Mon Apr 2 10:47:59 2012 -0400

    Detailed keystone SQL examples

     * Fixed the merge problems
     * Fixed localhost reference in keystone.conf
     * Updated keystone.conf with correct example IP address
     * Fix bug 978955 by fixing curl examples and output examples
     * Changed --username to --os_username for the glance commands
     * Rebased against master

    Change-Id: I2c1764fad20fc0d29cb67d165bd7539ea3871b24

Changed in openstack-manuals:
status: In Progress → Fix Committed
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: Fix Committed → Fix Released
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.