<div dir="ltr">thanks !<div><br></div><div>it's better now .</div><div>I created so many cinder service in keystone .</div><div>I removed all cinder service and re-create cinder service again and it looks better .</div><div><br></div><div><div>root@controller:/etc/keystone# keystone service-list</div><div>+----------------------------------+----------+----------+----------------------------+</div><div>| id | name | type | description |</div><div>+----------------------------------+----------+----------+----------------------------+</div><div>| 18963b1bc16d4f33bfcc2cc80eedf012 | cinder | volume | OpenStack Block Storage |</div><div>| 21b81cc68515472abd723b00b3909af5 | cinder | volume | OpenStack Block Storage |</div><div>| 39e0e9f2a158456891e85f1af308ca0b | cinder | volume | OpenStack Block Storage |</div><div>| 5ecdab1834f1462987db10884fe44a90 | cinder | volume | |</div><div>| 929ab81e9dcf40469cead70e92dbf309 | cinder | volume | OpenStack Block Storage |</div><div>| 9efca880f92547ed8595402617cac04e | cinder | volume | OpenStack Block Storage |</div><div>| 0d12e80c8cb441148b4d2ba19589df59 | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| 1933c003d9494a899adb4c8c7fcc96b2 | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| 5714bde51a2d4dc5921f48b32832dcfa | cinderv2 | volumev2 | |</div><div>| 8880b25184cd4c5cbfcc717d260ff41f | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| 91505b8b6f6a41169316a703010f933a | cinderv2 | volumev2 | |</div><div>| 9bfe6e7ed41c412ebc3641cc0b61cbfd | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| bfc86fd1e8a247a4af487f325cf258b0 | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| d78a7c3d12684f6f9e6d9433be7b0bee | cinderv2 | volumev2 | |</div><div>| de0382ccd18d4cac9efe3839010f319c | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| ff75d9092b5446c1bce1e9eb15d986b9 | cinderv2 | volumev2 | OpenStack Block Storage v2 |</div><div>| 69eba469859a4634a4c846cca6ff2e07 | glance | image | OpenStack Image Service |</div><div>| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity | OpenStack Identity |</div><div>| a373a9001bb34c2bbfc600202f00f0fd | neutron | network | OpenStack Networking |</div><div>| 646efb823d3944ef8cbca10216999170 | nova | compute | OpenStack Compute |</div><div>| 8d6dcaa674114d1eb46d059a63ab1cfa | nova | compute | OpenStack Compute |</div><div>| 96f9217782d54ff3abcecf24bf112205 | nova | compute | OpenStack Compute |</div><div>+----------------------------------+----------+----------+----------------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone tenant-list</div><div>+----------------------------------+---------+---------+</div><div>| id | name | enabled |</div><div>+----------------------------------+---------+---------+</div><div>| 0faf8d7dfdac4a53af195b5436992976 | admin | True |</div><div>| d4c3bf6ee2af44129fc38bf76f4a5623 | demo | True |</div><div>| c4bc569487814db487ee88a0275279aa | service | True |</div><div>+----------------------------------+---------+---------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone user-list</div><div>+----------------------------------+---------+---------+------------------+</div><div>| id | name | enabled | email |</div><div>+----------------------------------+---------+---------+------------------+</div><div>| dfbdec26a06a4c5cb35f994937b092fb | admin | True | <a href="mailto:905ben@gmail.com">905ben@gmail.com</a> |</div><div>| 0c20913f1a4a4174b32305d5cd9200b7 | cinder | True | <a href="mailto:905ben@gmail.com">905ben@gmail.com</a> |</div><div>| 33444db757c14559add65a2e606c2102 | demo | True | DEMO_EMAIL |</div><div>| b3ea1077a59043a283c3ab0cec61fa83 | glance | True | <a href="mailto:905ben@gmail.com">905ben@gmail.com</a> |</div><div>| 72ecb865066a4ef2b80e4182880f994d | neutron | True | <a href="mailto:905ben@gmail.com">905ben@gmail.com</a> |</div><div>| 31fb41a1850b49f585a8d17277e36277 | nova | True | <a href="mailto:905ben@gmail.com">905ben@gmail.com</a> |</div><div>+----------------------------------+---------+---------+------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-delete</div><div>usage: keystone service-delete <service></div><div>keystone service-delete: error: too few arguments</div><div>root@controller:/etc/keystone# keystone service-delete 18963b1bc16d4f33bfcc2cc80eedf012</div><div>root@controller:/etc/keystone# keystone service-delete 21b81cc68515472abd723b00b3909af5</div><div>root@controller:/etc/keystone# keystone service-delete 39e0e9f2a158456891e85f1af308ca0b</div><div>root@controller:/etc/keystone# keystone service-delete 5ecdab1834f1462987db10884fe44a90</div><div>root@controller:/etc/keystone# keystone service-delete 929ab81e9dcf40469cead70e92dbf309</div><div>root@controller:/etc/keystone# keystone service-delete 9efca880f92547ed8595402617cac04e</div><div>root@controller:/etc/keystone# keystone service-delete 0d12e80c8cb441148b4d2ba19589df59</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-delete 1933c003d9494a899adb4c8c7fcc96b2</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-delete 5714bde51a2d4dc5921f48b32832dcfa</div><div>root@controller:/etc/keystone# keystone service-delete 8880b25184cd4c5cbfcc717d260ff41f</div><div>root@controller:/etc/keystone# keystone service-delete 91505b8b6f6a41169316a703010f933a</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-delete 9bfe6e7ed41c412ebc3641cc0b61cbfd</div><div>root@controller:/etc/keystone# keystone service-delete bfc86fd1e8a247a4af487f325cf258b0</div><div>root@controller:/etc/keystone# keystone service-delete d78a7c3d12684f6f9e6d9433be7b0bee</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-delete de0382ccd18d4cac9efe3839010f319c</div><div>root@controller:/etc/keystone# keystone service-delete ff75d9092b5446c1bce1e9eb15d986b9</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-list</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| id | name | type | description |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| 69eba469859a4634a4c846cca6ff2e07 | glance | image | OpenStack Image Service |</div><div>| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity | OpenStack Identity |</div><div>| a373a9001bb34c2bbfc600202f00f0fd | neutron | network | OpenStack Networking |</div><div>| 646efb823d3944ef8cbca10216999170 | nova | compute | OpenStack Compute |</div><div>| 8d6dcaa674114d1eb46d059a63ab1cfa | nova | compute | OpenStack Compute |</div><div>| 96f9217782d54ff3abcecf24bf112205 | nova | compute | OpenStack Compute |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>root@controller:/etc/keystone# keystone service-list</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| id | name | type | description |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| 69eba469859a4634a4c846cca6ff2e07 | glance | image | OpenStack Image Service |</div><div>| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity | OpenStack Identity |</div><div>| a373a9001bb34c2bbfc600202f00f0fd | neutron | network | OpenStack Networking |</div><div>| 646efb823d3944ef8cbca10216999170 | nova | compute | OpenStack Compute |</div><div>| 8d6dcaa674114d1eb46d059a63ab1cfa | nova | compute | OpenStack Compute |</div><div>| 96f9217782d54ff3abcecf24bf112205 | nova | compute | OpenStack Compute |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-create --name=cinder --type=volume --description="OpenStack Block Storage"</div><div>+-------------+----------------------------------+</div><div>| Property | Value |</div><div>+-------------+----------------------------------+</div><div>| description | OpenStack Block Storage |</div><div>| enabled | True |</div><div>| id | d539b61dbc0148af9fcb7a5c316603e2 |</div><div>| name | cinder |</div><div>| type | volume |</div><div>+-------------+----------------------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-list</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| id | name | type | description |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| d539b61dbc0148af9fcb7a5c316603e2 | cinder | volume | OpenStack Block Storage |</div><div>| 69eba469859a4634a4c846cca6ff2e07 | glance | image | OpenStack Image Service |</div><div>| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity | OpenStack Identity |</div><div>| a373a9001bb34c2bbfc600202f00f0fd | neutron | network | OpenStack Networking |</div><div>| 646efb823d3944ef8cbca10216999170 | nova | compute | OpenStack Compute |</div><div>| 8d6dcaa674114d1eb46d059a63ab1cfa | nova | compute | OpenStack Compute |</div><div>| 96f9217782d54ff3abcecf24bf112205 | nova | compute | OpenStack Compute |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>root@controller:/etc/keystone# keystone endpoint-create \</div><div>> --service-id=$(keystone service-list | awk '/ volume / {print $2}') \</div><div>> --publicurl=<a href="http://controller:8776/v1/%\(tenant_id\)s">http://controller:8776/v1/%\(tenant_id\)s</a> \</div><div>> --internalurl=<a href="http://controller:8776/v1/%\(tenant_id\)s">http://controller:8776/v1/%\(tenant_id\)s</a> \</div><div>> --adminurl=<a href="http://controller:8776/v1/%\(tenant_id\)s">http://controller:8776/v1/%\(tenant_id\)s</a></div><div><br></div><div>+-------------+-----------------------------------------+</div><div>| Property | Value |</div><div>+-------------+-----------------------------------------+</div><div>| adminurl | <a href="http://controller:8776/v1/%(tenant_id)s">http://controller:8776/v1/%(tenant_id)s</a> |</div><div>| id | c90137aa85fb4251912d3bce35b0b51f |</div><div>| internalurl | <a href="http://controller:8776/v1/%(tenant_id)s">http://controller:8776/v1/%(tenant_id)s</a> |</div><div>| publicurl | <a href="http://controller:8776/v1/%(tenant_id)s">http://controller:8776/v1/%(tenant_id)s</a> |</div><div>| region | regionOne |</div><div>| service_id | d539b61dbc0148af9fcb7a5c316603e2 |</div><div>+-------------+-----------------------------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# keystone service-list</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| id | name | type | description |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>| d539b61dbc0148af9fcb7a5c316603e2 | cinder | volume | OpenStack Block Storage |</div><div>| 69eba469859a4634a4c846cca6ff2e07 | glance | image | OpenStack Image Service |</div><div>| 637c07ddebe249c4aca21ddb0c501968 | keystone | identity | OpenStack Identity |</div><div>| a373a9001bb34c2bbfc600202f00f0fd | neutron | network | OpenStack Networking |</div><div>| 646efb823d3944ef8cbca10216999170 | nova | compute | OpenStack Compute |</div><div>| 8d6dcaa674114d1eb46d059a63ab1cfa | nova | compute | OpenStack Compute |</div><div>| 96f9217782d54ff3abcecf24bf112205 | nova | compute | OpenStack Compute |</div><div>+----------------------------------+----------+----------+-------------------------+</div><div>root@controller:/etc/keystone# keystone service-create --name=cinderv2 --type=volumev2 --description="OpenStack Block Storage v2"</div><div>+-------------+----------------------------------+</div><div>| Property | Value |</div><div>+-------------+----------------------------------+</div><div>| description | OpenStack Block Storage v2 |</div><div>| enabled | True |</div><div>| id | ff5c970186d245e4ac9d7be241062d92 |</div><div>| name | cinderv2 |</div><div>| type | volumev2 |</div><div>+-------------+----------------------------------+</div><div>root@controller:/etc/keystone# keystone endpoint-create \</div><div>> --service-id=$(keystone service-list | awk '/ volumev2 / {print $2}') \</div><div>> --publicurl=<a href="http://controller:8776/v2/%\(tenant_id\)s">http://controller:8776/v2/%\(tenant_id\)s</a> \</div><div>> --internalurl=<a href="http://controller:8776/v2/%\(tenant_id\)s">http://controller:8776/v2/%\(tenant_id\)s</a> \</div><div>> --adminurl=<a href="http://controller:8776/v2/%\(tenant_id\)s">http://controller:8776/v2/%\(tenant_id\)s</a></div><div><br></div><div>+-------------+-----------------------------------------+</div><div>| Property | Value |</div><div>+-------------+-----------------------------------------+</div><div>| adminurl | <a href="http://controller:8776/v2/%(tenant_id)s">http://controller:8776/v2/%(tenant_id)s</a> |</div><div>| id | a663c55ba17f41598991e396606d0ca3 |</div><div>| internalurl | <a href="http://controller:8776/v2/%(tenant_id)s">http://controller:8776/v2/%(tenant_id)s</a> |</div><div>| publicurl | <a href="http://controller:8776/v2/%(tenant_id)s">http://controller:8776/v2/%(tenant_id)s</a> |</div><div>| region | regionOne |</div><div>| service_id | ff5c970186d245e4ac9d7be241062d92 |</div><div>+-------------+-----------------------------------------+</div><div>root@controller:/etc/keystone# </div><div>root@controller:/etc/keystone# </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 9:22 PM, Anne Gentle <span dir="ltr"><<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Look at keystone service list by itself and see what line two outputs. You can then decipher what <span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> awk '/ volume / {print $2}' contains.</span><div><br></div><div>What you want to happen is for the service-id to match the volume service ID. </div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Sep 12, 2014 at 7:52 PM, b t <span dir="ltr"><<a href="mailto:905ben@gmail.com" target="_blank">905ben@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>hi, </div><div>I am working through icehouse install guide for ubuntu .</div><div>and stuck on page 80 seeing the following error messages . any idea ?</div><div>thanks !</div><div><br></div><div>root@controller:/var/log/cinder# keystone endpoint-create \</div><div>> --service-id=$(keystone service-list | awk '/ volume / {print $2}') \</div><div>> --publicurl=<a href="http://controller:8776/v1/%\(tenant_id\)s" target="_blank">http://controller:8776/v1/%\(tenant_id\)s</a> \</div><div>> --internalurl=<a href="http://controller:8776/v1/%\(tenant_id\)s" target="_blank">http://controller:8776/v1/%\(tenant_id\)s</a> \</div><div>> --adminurl=<a href="http://controller:8776/v1/%\(tenant_id\)s" target="_blank">http://controller:8776/v1/%\(tenant_id\)s</a></div><div>usage: keystone [--version] [--timeout <seconds>]</div><div> [--os-username <auth-user-name>]</div><div> [--os-password <auth-password>]</div><div> [--os-tenant-name <auth-tenant-name>]</div><div> [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]</div><div> [--os-region-name <region-name>]</div><div> [--os-identity-api-version <identity-api-version>]</div><div> [--os-token <service-token>]</div><div> [--os-endpoint <service-endpoint>]</div><div> [--os-cacert <ca-certificate>] [--insecure]</div><div> [--os-cert <certificate>] [--os-key <key>] [--os-cache]</div><div> [--force-new-token] [--stale-duration <seconds>]</div><div> <subcommand> ...</div><div>keystone: error: unrecognized arguments: 21b81cc68515472abd723b00b3909af5 39e0e9f2a158456891e85f1af308ca0b 5ecdab1834f1462987db10884fe44a90 929ab81e9dcf40469cead70e92dbf309 9efca880f92547ed8595402617cac04e</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>