Hello Experts, Please suggest and help to proceed further. RegardsShiv On Sunday, 31 July 2016 5:04 PM, shivkumar gupta <shivkumar_gupt...@yahoo.com> wrote:
Hello Experts, I am unable to create image in during glance installation and getting following error. glance image-create --name "Cirros" --file /tmp/images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress [=============================>] 100%Request returned failure status.Invalid OpenStack Identity credentials. >From api.log i can see following errors was present.2016-07-30 21:36:17.135 >7114 INFO urllib3.connectionpool [-] Starting new HTTPS connection (1): >127.0.0.12016-07-30 21:36:17.145 7114 WARNING >keystoneclient.middleware.auth_token [-] Retrying on HTTP connection >exception: [Errno 1] _ssl.c:510: error:140770FC:SSL >routines:SSL23_GET_SERVER_HELLO:unknown protocol2016-07-30 21:36:17.648 7114 >INFO urllib3.connectionpool [-] Starting new HTTPS connection (1): >127.0.0.12016-07-30 21:36:17.671 7114 WARNING >keystoneclient.middleware.auth_token [-] Retrying on HTTP connection >exception: [Errno 1] _ssl.c:510: error:140770FC:SSL >routines:SSL23_GET_SERVER_HELLO:unknown protocol2016-07-30 21:36:18.673 7114 >INFO urllib3.connectionpool [-] Starting new HTTPS connection (1): >127.0.0.12016-07-30 21:36:18.686 7114 WARNING >keystoneclient.middleware.auth_token [-] Retrying on HTTP connection >exception: [Errno 1] _ssl.c:510: error:140770FC:SSL >routines:SSL23_GET_SERVER_HELLO:unknown protocol2016-07-30 21:36:20.690 7114 >INFO urllib3.connectionpool [-] Starting new HTTPS connection (1): >127.0.0.12016-07-30 21:36:20.724 7114 ERROR >keystoneclient.middleware.auth_token [-] HTTP connection exception: [Errno 1] >_ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown >protocol2016-07-30 21:36:20.725 7114 WARNING >keystoneclient.middleware.auth_token [-] Authorization failed for >token2016-07-30 21:36:20.726 7114 INFO keystoneclient.middleware.auth_token >[-] Invalid user token - deferring reject downstream2016-07-30 21:36:20.776 >7114 INFO glance.wsgi.server [-] 10.10.10.10 - - [30/Jul/2016 21:36:20] "POST >/v1/images HTTP/1.1" 401 381 3.642616 root@controller:/home/shiv# keystone user-list+----------------------------------+--------+---------+-----------------------------+| id | name | enabled | email |+----------------------------------+--------+---------+-----------------------------+| 4b5b3e35bf7646c5ab2151f0e641c71e | admin | True | shivkumar_gupt...@yahoo.com || 823971bd62db441c8aa85726af4e0029 | demo | True | d...@example.com || 66694ef0feae472f89ca96416234b48f | glance | True | |+----------------------------------+--------+---------+-----------------------------+ root@controller:/home/shiv# keystone user-role-list+----------------------------------+-------+----------------------------------+----------------------------------+| id | name | user_id | tenant_id |+----------------------------------+-------+----------------------------------+----------------------------------+| df629a49703241ec88c81c5e756da6f5 | admin | 4b5b3e35bf7646c5ab2151f0e641c71e | a574030c4c104b80aee84478388c42c6 |+----------------------------------+-------+----------------------------------+----------------------------------+ root@controller:/home/shiv# keystone tenant-list+----------------------------------+---------+---------+| id | name | enabled |+----------------------------------+---------+---------+| a574030c4c104b80aee84478388c42c6 | admin | True || 67aba69109bc4505a119693676324d90 | demo | True || a7a4647b7a0c459f87cdef7357edf0ba | service | True |+----------------------------------+---------+---------+ root@controller:/home/shiv# keystone user-get glance+----------+----------------------------------+| Property | Value |+----------+----------------------------------+| email | || enabled | True || id | 66694ef0feae472f89ca96416234b48f || name | glance || username | glance |+----------+----------------------------------+ root@controller:/home/shiv# keystone endpoint-list+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+| id | region | publicurl | internalurl | adminurl | service_id |+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+| 26f2fe4829d847a685519f6a8a24e7e3 | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | 56df0a2a6d254c23b50939c747bdad28 || 7770dbe6f8b34613a72c2d6a04aef58d | regionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | b705791276b64727aa598b13457fa847 | root@controller:/home/shiv# keystone service-list+----------------------------------+----------+----------+-------------------------+| id | name | type | description |+----------------------------------+----------+----------+-------------------------+| b705791276b64727aa598b13457fa847 | glance | image | Openstack Image Service || 56df0a2a6d254c23b50939c747bdad28 | keystone | identity | Openstack Identity |+----------------------------------+----------+----------+-------------------------+ root@controller:/home/shiv# keystone service-get glance+-------------+----------------------------------+| Property | Value |+-------------+----------------------------------+| description | Openstack Image Service || enabled | True || id | b705791276b64727aa598b13457fa847 || name | glance || type | image |+-------------+----------------------------------+ Please suggest. api.conf and registry.conf file is attached. RegardsShiv
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack