[Openstack] icehouse install stuck on cinder , page 80

b t 905ben at gmail.com
Sat Sep 13 01:57:38 UTC 2014


thanks !

it's better now .
I created so many cinder service in keystone .
I removed all cinder service and re-create cinder service again and it
looks better .

root at controller:/etc/keystone# keystone service-list
+----------------------------------+----------+----------+----------------------------+
|                id                |   name   |   type   |
 description         |
+----------------------------------+----------+----------+----------------------------+
| 18963b1bc16d4f33bfcc2cc80eedf012 |  cinder  |  volume  |  OpenStack Block
Storage   |
| 21b81cc68515472abd723b00b3909af5 |  cinder  |  volume  |  OpenStack Block
Storage   |
| 39e0e9f2a158456891e85f1af308ca0b |  cinder  |  volume  |  OpenStack Block
Storage   |
| 5ecdab1834f1462987db10884fe44a90 |  cinder  |  volume  |
           |
| 929ab81e9dcf40469cead70e92dbf309 |  cinder  |  volume  |  OpenStack Block
Storage   |
| 9efca880f92547ed8595402617cac04e |  cinder  |  volume  |  OpenStack Block
Storage   |
| 0d12e80c8cb441148b4d2ba19589df59 | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| 1933c003d9494a899adb4c8c7fcc96b2 | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| 5714bde51a2d4dc5921f48b32832dcfa | cinderv2 | volumev2 |
           |
| 8880b25184cd4c5cbfcc717d260ff41f | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| 91505b8b6f6a41169316a703010f933a | cinderv2 | volumev2 |
           |
| 9bfe6e7ed41c412ebc3641cc0b61cbfd | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| bfc86fd1e8a247a4af487f325cf258b0 | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| d78a7c3d12684f6f9e6d9433be7b0bee | cinderv2 | volumev2 |
           |
| de0382ccd18d4cac9efe3839010f319c | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| ff75d9092b5446c1bce1e9eb15d986b9 | cinderv2 | volumev2 | OpenStack Block
Storage v2 |
| 69eba469859a4634a4c846cca6ff2e07 |  glance  |  image   |  OpenStack Image
Service   |
| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity |     OpenStack
Identity     |
| a373a9001bb34c2bbfc600202f00f0fd | neutron  | network  |    OpenStack
Networking    |
| 646efb823d3944ef8cbca10216999170 |   nova   | compute  |     OpenStack
Compute      |
| 8d6dcaa674114d1eb46d059a63ab1cfa |   nova   | compute  |     OpenStack
Compute      |
| 96f9217782d54ff3abcecf24bf112205 |   nova   | compute  |     OpenStack
Compute      |
+----------------------------------+----------+----------+----------------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone tenant-list
+----------------------------------+---------+---------+
|                id                |   name  | enabled |
+----------------------------------+---------+---------+
| 0faf8d7dfdac4a53af195b5436992976 |  admin  |   True  |
| d4c3bf6ee2af44129fc38bf76f4a5623 |   demo  |   True  |
| c4bc569487814db487ee88a0275279aa | service |   True  |
+----------------------------------+---------+---------+
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone user-list
+----------------------------------+---------+---------+------------------+
|                id                |   name  | enabled |      email       |
+----------------------------------+---------+---------+------------------+
| dfbdec26a06a4c5cb35f994937b092fb |  admin  |   True  | 905ben at gmail.com |
| 0c20913f1a4a4174b32305d5cd9200b7 |  cinder |   True  | 905ben at gmail.com |
| 33444db757c14559add65a2e606c2102 |   demo  |   True  |    DEMO_EMAIL    |
| b3ea1077a59043a283c3ab0cec61fa83 |  glance |   True  | 905ben at gmail.com |
| 72ecb865066a4ef2b80e4182880f994d | neutron |   True  | 905ben at gmail.com |
| 31fb41a1850b49f585a8d17277e36277 |   nova  |   True  | 905ben at gmail.com |
+----------------------------------+---------+---------+------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-delete
usage: keystone service-delete <service>
keystone service-delete: error: too few arguments
root at controller:/etc/keystone# keystone service-delete
18963b1bc16d4f33bfcc2cc80eedf012
root at controller:/etc/keystone# keystone service-delete
21b81cc68515472abd723b00b3909af5
root at controller:/etc/keystone# keystone service-delete
39e0e9f2a158456891e85f1af308ca0b
root at controller:/etc/keystone# keystone service-delete
5ecdab1834f1462987db10884fe44a90
root at controller:/etc/keystone# keystone service-delete
929ab81e9dcf40469cead70e92dbf309
root at controller:/etc/keystone# keystone service-delete
9efca880f92547ed8595402617cac04e
root at controller:/etc/keystone# keystone service-delete
0d12e80c8cb441148b4d2ba19589df59
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-delete
1933c003d9494a899adb4c8c7fcc96b2
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-delete
5714bde51a2d4dc5921f48b32832dcfa
root at controller:/etc/keystone# keystone service-delete
8880b25184cd4c5cbfcc717d260ff41f
root at controller:/etc/keystone# keystone service-delete
91505b8b6f6a41169316a703010f933a
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-delete
9bfe6e7ed41c412ebc3641cc0b61cbfd
root at controller:/etc/keystone# keystone service-delete
bfc86fd1e8a247a4af487f325cf258b0
root at controller:/etc/keystone# keystone service-delete
d78a7c3d12684f6f9e6d9433be7b0bee
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-delete
de0382ccd18d4cac9efe3839010f319c
root at controller:/etc/keystone# keystone service-delete
ff75d9092b5446c1bce1e9eb15d986b9
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-list
+----------------------------------+----------+----------+-------------------------+
|                id                |   name   |   type   |
description       |
+----------------------------------+----------+----------+-------------------------+
| 69eba469859a4634a4c846cca6ff2e07 |  glance  |  image   | OpenStack Image
Service |
| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity |    OpenStack
Identity   |
| a373a9001bb34c2bbfc600202f00f0fd | neutron  | network  |   OpenStack
Networking  |
| 646efb823d3944ef8cbca10216999170 |   nova   | compute  |    OpenStack
Compute    |
| 8d6dcaa674114d1eb46d059a63ab1cfa |   nova   | compute  |    OpenStack
Compute    |
| 96f9217782d54ff3abcecf24bf112205 |   nova   | compute  |    OpenStack
Compute    |
+----------------------------------+----------+----------+-------------------------+
root at controller:/etc/keystone# keystone service-list
+----------------------------------+----------+----------+-------------------------+
|                id                |   name   |   type   |
description       |
+----------------------------------+----------+----------+-------------------------+
| 69eba469859a4634a4c846cca6ff2e07 |  glance  |  image   | OpenStack Image
Service |
| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity |    OpenStack
Identity   |
| a373a9001bb34c2bbfc600202f00f0fd | neutron  | network  |   OpenStack
Networking  |
| 646efb823d3944ef8cbca10216999170 |   nova   | compute  |    OpenStack
Compute    |
| 8d6dcaa674114d1eb46d059a63ab1cfa |   nova   | compute  |    OpenStack
Compute    |
| 96f9217782d54ff3abcecf24bf112205 |   nova   | compute  |    OpenStack
Compute    |
+----------------------------------+----------+----------+-------------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-create --name=cinder
--type=volume --description="OpenStack Block Storage"
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description |     OpenStack Block Storage      |
|   enabled   |               True               |
|      id     | d539b61dbc0148af9fcb7a5c316603e2 |
|     name    |              cinder              |
|     type    |              volume              |
+-------------+----------------------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-list
+----------------------------------+----------+----------+-------------------------+
|                id                |   name   |   type   |
description       |
+----------------------------------+----------+----------+-------------------------+
| d539b61dbc0148af9fcb7a5c316603e2 |  cinder  |  volume  | OpenStack Block
Storage |
| 69eba469859a4634a4c846cca6ff2e07 |  glance  |  image   | OpenStack Image
Service |
| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity |    OpenStack
Identity   |
| a373a9001bb34c2bbfc600202f00f0fd | neutron  | network  |   OpenStack
Networking  |
| 646efb823d3944ef8cbca10216999170 |   nova   | compute  |    OpenStack
Compute    |
| 8d6dcaa674114d1eb46d059a63ab1cfa |   nova   | compute  |    OpenStack
Compute    |
| 96f9217782d54ff3abcecf24bf112205 |   nova   | compute  |    OpenStack
Compute    |
+----------------------------------+----------+----------+-------------------------+
root at controller:/etc/keystone# keystone endpoint-create \
> --service-id=$(keystone service-list | awk '/ volume / {print $2}') \
> --publicurl=http://controller:8776/v1/%\(tenant_id\)s \
> --internalurl=http://controller:8776/v1/%\(tenant_id\)s \
> --adminurl=http://controller:8776/v1/%\(tenant_id\)s

+-------------+-----------------------------------------+
|   Property  |                  Value                  |
+-------------+-----------------------------------------+
|   adminurl  | http://controller:8776/v1/%(tenant_id)s |
|      id     |     c90137aa85fb4251912d3bce35b0b51f    |
| internalurl | http://controller:8776/v1/%(tenant_id)s |
|  publicurl  | http://controller:8776/v1/%(tenant_id)s |
|    region   |                regionOne                |
|  service_id |     d539b61dbc0148af9fcb7a5c316603e2    |
+-------------+-----------------------------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone#
root at controller:/etc/keystone# keystone service-list
+----------------------------------+----------+----------+-------------------------+
|                id                |   name   |   type   |
description       |
+----------------------------------+----------+----------+-------------------------+
| d539b61dbc0148af9fcb7a5c316603e2 |  cinder  |  volume  | OpenStack Block
Storage |
| 69eba469859a4634a4c846cca6ff2e07 |  glance  |  image   | OpenStack Image
Service |
| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity |    OpenStack
Identity   |
| a373a9001bb34c2bbfc600202f00f0fd | neutron  | network  |   OpenStack
Networking  |
| 646efb823d3944ef8cbca10216999170 |   nova   | compute  |    OpenStack
Compute    |
| 8d6dcaa674114d1eb46d059a63ab1cfa |   nova   | compute  |    OpenStack
Compute    |
| 96f9217782d54ff3abcecf24bf112205 |   nova   | compute  |    OpenStack
Compute    |
+----------------------------------+----------+----------+-------------------------+
root at controller:/etc/keystone# keystone service-create --name=cinderv2
--type=volumev2 --description="OpenStack Block Storage v2"
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description |    OpenStack Block Storage v2    |
|   enabled   |               True               |
|      id     | ff5c970186d245e4ac9d7be241062d92 |
|     name    |             cinderv2             |
|     type    |             volumev2             |
+-------------+----------------------------------+
root at controller:/etc/keystone# keystone endpoint-create \
> --service-id=$(keystone service-list | awk '/ volumev2 / {print $2}') \
> --publicurl=http://controller:8776/v2/%\(tenant_id\)s \
> --internalurl=http://controller:8776/v2/%\(tenant_id\)s \
> --adminurl=http://controller:8776/v2/%\(tenant_id\)s

+-------------+-----------------------------------------+
|   Property  |                  Value                  |
+-------------+-----------------------------------------+
|   adminurl  | http://controller:8776/v2/%(tenant_id)s |
|      id     |     a663c55ba17f41598991e396606d0ca3    |
| internalurl | http://controller:8776/v2/%(tenant_id)s |
|  publicurl  | http://controller:8776/v2/%(tenant_id)s |
|    region   |                regionOne                |
|  service_id |     ff5c970186d245e4ac9d7be241062d92    |
+-------------+-----------------------------------------+
root at controller:/etc/keystone#
root at controller:/etc/keystone#


On Fri, Sep 12, 2014 at 9:22 PM, Anne Gentle <anne at openstack.org> wrote:

> Look at keystone service list by itself and see what line two outputs. You
> can then decipher what  awk '/ volume / {print $2}' contains.
>
> What you want to happen is for the service-id to match the volume service
> ID.
>
> On Fri, Sep 12, 2014 at 7:52 PM, b t <905ben at gmail.com> wrote:
>
>> hi,
>> I am working through icehouse install guide for ubuntu .
>> and stuck on page 80 seeing the following error messages .  any idea ?
>> thanks !
>>
>> root at controller:/var/log/cinder#  keystone endpoint-create \
>> > --service-id=$(keystone service-list | awk '/ volume / {print $2}') \
>> > --publicurl=http://controller:8776/v1/%\(tenant_id\)s \
>> > --internalurl=http://controller:8776/v1/%\(tenant_id\)s \
>> > --adminurl=http://controller:8776/v1/%\(tenant_id\)s
>> usage: keystone [--version] [--timeout <seconds>]
>>                 [--os-username <auth-user-name>]
>>                 [--os-password <auth-password>]
>>                 [--os-tenant-name <auth-tenant-name>]
>>                 [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]
>>                 [--os-region-name <region-name>]
>>                 [--os-identity-api-version <identity-api-version>]
>>                 [--os-token <service-token>]
>>                 [--os-endpoint <service-endpoint>]
>>                 [--os-cacert <ca-certificate>] [--insecure]
>>                 [--os-cert <certificate>] [--os-key <key>] [--os-cache]
>>                 [--force-new-token] [--stale-duration <seconds>]
>>                 <subcommand> ...
>> keystone: error: unrecognized arguments: 21b81cc68515472abd723b00b3909af5
>> 39e0e9f2a158456891e85f1af308ca0b 5ecdab1834f1462987db10884fe44a90
>> 929ab81e9dcf40469cead70e92dbf309 9efca880f92547ed8595402617cac04e
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140912/b190c359/attachment.html>


More information about the Openstack mailing list