← Back to team overview

cssoss team mailing list archive

[Bug 1002980] [NEW] create endpoint for nova-compute

 

Public bug reported:

I have meet a problem, seem the document bug. please correct me if no
right.

In page 21

2.2.5.7 Creating Endpoints

create endpoint for nova-compute

keystone endpoint-create --region myregion --service_id
1e93ee6c70f8468c88a5cb1b106753f3 --  -publicurl
’http://10.10.10.2:8774/v2/$(tenant_id)s’ --adminurl
’http://10.10.10.2:8774/  -v2/$(tenant_id)s’ --internalurl
’http://10.10.10.2:8774/v2/$(tenant_id)s’


the command seem have two problem

1: http://10.10.10.2:8774/v2/

for nova-compute, the api should v1.1.

2: if run the command would show error
tenant_id: command not found

we need add "( )"

so I think the correct is below:

keystone endpoint-create --region myregion --service_id
7ee472012dfa4f01b35507a7ef2aa9cb --publicurl
http://10.10.10.2:8774/v1.1/$";(tenant_id)"s --adminurl
http://10.10.10.2:8774/v1.1/$";(tenant_id)"s --internalurl
http://10.10.10.2:8774/v1.1/$";(tenant_id)"s

the below is output

+-------------+------------------------------------------+
|   Property  |                  Value                   |
+-------------+------------------------------------------+
| adminurl    | http://10.10.10.2:8774/v1.1/(tenant_id)s |
| id          | a3443ac7103745e29e931d5b6c48e245         |
| internalurl | http://10.10.10.2:8774/v1.1/(tenant_id)s |
| publicurl   | http://10.10.10.2:8774/v1.1/(tenant_id)s |
| region      | myregion                                 |
| service_id  | 7ee472012dfa4f01b35507a7ef2aa9cb         |
+-------------+------------------------------------------+

** Affects: openstackbook
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of CSS OSS
Team, which is subscribed to OpenStack Book.
Matching subscriptions: OpenStackBook
https://bugs.launchpad.net/bugs/1002980

Title:
  create endpoint for nova-compute

Status in OpenStack Book for Ubuntu:
  New

Bug description:
  I have meet a problem, seem the document bug. please correct me if no
  right.

  In page 21

  2.2.5.7 Creating Endpoints

  create endpoint for nova-compute

  keystone endpoint-create --region myregion --service_id
  1e93ee6c70f8468c88a5cb1b106753f3 --  -publicurl
  ’http://10.10.10.2:8774/v2/$(tenant_id)s’ --adminurl
  ’http://10.10.10.2:8774/  -v2/$(tenant_id)s’ --internalurl
  ’http://10.10.10.2:8774/v2/$(tenant_id)s’

  
  the command seem have two problem

  1: http://10.10.10.2:8774/v2/

  for nova-compute, the api should v1.1.

  2: if run the command would show error
  tenant_id: command not found

  we need add "( )"

  so I think the correct is below:

  keystone endpoint-create --region myregion --service_id
  7ee472012dfa4f01b35507a7ef2aa9cb --publicurl
  http://10.10.10.2:8774/v1.1/$";(tenant_id)"s --adminurl
  http://10.10.10.2:8774/v1.1/$";(tenant_id)"s --internalurl
  http://10.10.10.2:8774/v1.1/$";(tenant_id)"s

  the below is output

  +-------------+------------------------------------------+
  |   Property  |                  Value                   |
  +-------------+------------------------------------------+
  | adminurl    | http://10.10.10.2:8774/v1.1/(tenant_id)s |
  | id          | a3443ac7103745e29e931d5b6c48e245         |
  | internalurl | http://10.10.10.2:8774/v1.1/(tenant_id)s |
  | publicurl   | http://10.10.10.2:8774/v1.1/(tenant_id)s |
  | region      | myregion                                 |
  | service_id  | 7ee472012dfa4f01b35507a7ef2aa9cb         |
  +-------------+------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstackbook/+bug/1002980/+subscriptions


Follow ups

References