openstack-manuals: Update nova CLI information for boot from volume

Bug #1215081 reported by Diane Fleming
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Diane Fleming

Bug Description

Update nova CLI information for boot from volume:

The page boot from volume in the nova CLI is an OpenStack doc, but it was based on older DevStack. The command that would work on OpenStack clouds with the policy that enables this is:

nova --debug boot --flavor 4 --image 23b564c9-c3e6-49f9-bc68-86c7a9ab5018 --block-device-mapping vda=6efa7008-ada7-4438-9033-efba4aa5cb06 ex-vol-bfv

When you run it with —debug you see all the API calls. I think the one that does the boot is:

REQ: curl -i https://dfw.servers.api.rackspacecloud.com/v2/525722/os-volumes_boot -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: c7d4860ec51d4479a226e7d3ed72573c" -d '{"server": {"name": "ex-vol-bfv", "imageRef": "23b564c9-c3e6-49f9-bc68-86c7a9ab5018", "block_device_mapping": [{"volume_id": "6efa7008-ada7-4438-9033-efba4aa5cb06", "device_name": "vda"}], "flavorRef": "4", "max_count": 1, "min_count": 1, "networks": [{"uuid": "00000000-0000-0000-0000-000000000000"}, {"uuid": "11111111-1111-1111-1111-111111111111"}]}}'

However on the Rackspace Cloud you get a 403 error with an explanation of "Policy doesn't allow compute:create:attach_volume to be performed."

We do have a doc bug to document the change in use of block_device_mapping, https://bugs.launchpad.net/openstack-api-site/+bug/1087051.

Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → havana
Changed in openstack-manuals:
importance: Undecided → High
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
Diane Fleming (diane-fleming) wrote :

Changes to End User Guide: https://review.openstack.org/51996

Changed in openstack-manuals:
assignee: Diane Fleming (diane-fleming) → Andreas Jaeger (jaegerandi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/51996
Committed: http://github.com/openstack/openstack-manuals/commit/04d2015aecaf5ef9eb66e8df0294a576a40c4708
Submitter: Jenkins
Branch: master

commit 04d2015aecaf5ef9eb66e8df0294a576a40c4708
Author: Diane Fleming <email address hidden>
Date: Tue Oct 15 22:06:14 2013 -0500

    Update boot from volume

    Partial-Bug: #1215081

    Change-Id: I4972144f9f8dbc1d110a7d0be5a85ba189419b03
    author: diane fleming

Changed in openstack-manuals:
assignee: Andreas Jaeger (jaegerandi) → Diane Fleming (diane-fleming)
status: In Progress → Fix Released
Revision history for this message
Diane Fleming (diane-fleming) wrote :

backport api-site: havana

Changed in openstack-api-site:
milestone: havana → icehouse
Changed in openstack-manuals:
milestone: havana → icehouse
milestone: icehouse → havana
no longer affects: openstack-api-site
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.