Bug 861265

Summary: Error in Nova Compute Section Endpoint Creation Syntax
Product: Red Hat OpenStack Reporter: james labocki <jlabocki>
Component: doc-Getting_Started_GuideAssignee: Bruce Reeler <breeler>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlásek <mpavlase>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0 (Essex)CC: mpavlase, rlandman, sgordon
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-11 06:58:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description james labocki 2012-09-28 01:55:23 UTC
Chapter 4 (Nova Compute) states that endpoint creation should use the following syntax. Instead of %, it should be $.

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_OpenStack_Preview/1/html-single/Getting_Started_Guide/index.html


$ . ~/keystonerc_admin
$ keystone service-create --name=volume --type=volume --description="Nova Volume Service"
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description | Nova Volume Service              |
| id          | 9347a8dc271c44da9f9991b5c70a6361 |
| name        | volume                           |
| type        | volume                           |
+-------------+----------------------------------+
$ keystone endpoint-create --service_id 9347a8dc271c44da9f9991b5c70a6361 \
  --publicurl 'http://127.0.0.1:8776/v1/%(tenant_id)s' \
  --internalurl 'http://127.0.0.1:8776/v1/%(tenant_id)s' \
  --adminurl 'http://127.0.0.1:8776/v1/%(tenant_id)s'
+-------------+----------------------------------------+
|   Property  |                 Value                  |
+-------------+----------------------------------------+
| adminurl    | http://127.0.0.1:8776/v1/%(tenant_id)s |
| id          | b2a128758a274b09bb09337b99faa42a       |
| internalurl | http://127.0.0.1:8776/v1/%(tenant_id)s |
| publicurl   | http://127.0.0.1:8776/v1/%(tenant_id)s |
| region      | regionOne                              |
| service_id  | 9347a8dc271c44da9f9991b5c70a6361       |
+-------------+----------------------------------------+

Comment 2 Bruce Reeler 2012-10-04 11:58:09 UTC
Fixed. % replaced with $ as above.

Comment 4 Martin Pavlásek 2013-03-26 09:17:43 UTC
The issue has been fixed via revision 3.1-4 of the document as same as in Folsom.