openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21697
Re: nova image-list error
I have auth_strategy = keystone defined in nova.conf.
Tenant ID is also set for the same. Any changes I need to do here ?
What else should I see ?
On Fri, Mar 8, 2013 at 6:30 PM, Sylvain Bauza <sylvain.bauza@xxxxxxxxxxxx>wrote:
> https://answers.launchpad.net/nova/+faq/2004
>
> Make sure auth_strategy = keystone is defined in nova.conf
>
> -Sylvain
>
> Le 08/03/2013 13:21, Ashutosh Narayan a écrit :
>
> Hi Sylvain,
>
> Here is the content of ketstonerc file :
>
> [root@RLD1OPST01 ~]# cat keystonerc
> export OS_USERNAME=admin
> export OS_PASSWORD=xxxxx
> export OS_TENANT_NAME=demo
> export OS_AUTH_URL=http://192.168.105.61:35357/v2.0
>
> keystone endpoint-list throws :
>
> [root@RLD1OPST01 ~]# keystone endpoint-list
>
> +----------------------------------+-----------+--------------------------------------------------+--------------------------------------------------+---------------------------------------------+----------------------------------+
> | id | region |
> publicurl | internalurl
> | adminurl |
> service_id |
>
> +----------------------------------+-----------+--------------------------------------------------+--------------------------------------------------+---------------------------------------------+----------------------------------+
> | 50bb93035d9a4a18aacafdd895906f10 | RegionOne |
> http://192.168.105.61:8888/v1/AUTH_%(tenant_id)s |
> http://192.168.105.61:8888/v1/AUTH_%(tenant_id)s |
> http://192.168.105.61:8888/v1 | 76772ef3f79b4648981f19de39d4cab1 |
> | 749974748ce8482bb2339954631baea5 | RegionOne |
> http://192.168.105.61:8773/services/Cloud |
> http://192.168.105.61:8773/services/Cloud |
> http://192.168.105.61:8773/services/Admin |
> 75748b8502964bf8aab214c074058a08 |
> | 80a940e76e314148bc349578ce8eadf7 | RegionOne |
> http://192.168.105.61:8776/v1/%(tenant_id)s |
> http://192.168.105.61:8776/v1/%(tenant_id)s |
> http://192.168.105.61:8776/v1/%(tenant_id)s |
> a5da6ff105184cbda9a3619d41d297f6 |
> | 897375e2d299416db3281d1b8baeabc1 | RegionOne |
> http://192.168.105.61:8774/v2/%(tenant_id)s |
> http://192.168.105.61:8774/v2/%(tenant_id)s |
> http://192.168.105.61:8774/v2/%(tenant_id)s |
> 5d144f9df18d4b35810afb4199b1a321 |
> | cc2fd4c2b1314cfb958e8702139a960c | RegionOne |
> http://192.168.105.61:5000/v2.0 |
> http://192.168.105.61:5000/v2.0 |
> http://192.168.105.61:35357/v2.0 | d307d545040e4bda8ace9a7fd3581cb2 |
> | e2d7819ff84746dc8e79c76bf308f2cd | RegionOne |
> http://192.168.105.61:9292 |
> http://192.168.105.61:9292 |
> http://192.168.105.61:9292 | 96299197a84a43d7a3932c5c6ae53ca0 |
>
> +----------------------------------+-----------+--------------------------------------------------+--------------------------------------------------+---------------------------------------------+----------------------------------+
>
> Keystone service-list throws :
>
> [root@RLD1OPST01 ~]# keystone service-list
>
> +----------------------------------+----------+--------------+---------------------------+
> | id | name | type |
> description |
>
> +----------------------------------+----------+--------------+---------------------------+
> | 5d144f9df18d4b35810afb4199b1a321 | nova | compute | Nova
> Compute Service |
> | 75748b8502964bf8aab214c074058a08 | ec2 | ec2 | EC2
> Compatibility Layer |
> | 76772ef3f79b4648981f19de39d4cab1 | swift | object-store | Object
> Storage Service |
> | 96299197a84a43d7a3932c5c6ae53ca0 | glance | image | Glance
> Image Service |
> | a5da6ff105184cbda9a3619d41d297f6 | volume | volume | Nova
> Volume Service |
> | d307d545040e4bda8ace9a7fd3581cb2 | keystone | identity | Keystone
> Identity Service |
>
> +----------------------------------+----------+--------------+---------------------------+
>
> nova list also throws the same error.
>
> On Fri, Mar 8, 2013 at 5:44 PM, Sylvain Bauza <sylvain.bauza@xxxxxxxxxxxx
> > wrote:
>
>> Could you please tell us :
>> - your credentials (except password of course)
>> - 'keystone endpoint-list'
>> - 'keystone service-list'
>>
>> It seems like you're requesting a wrong API.
>>
>> Is 'nova list' working btw ?
>>
>> -Sylvain
>>
>> Le 08/03/2013 12:56, Ashutosh Narayan a écrit :
>>
>> Services nova-compute, nova-api, nova-scheduler, nova-network are
>> running fine.
>> Still am facing this issue. I can't proceed from here. Please help
>>
>> On Fri, Mar 8, 2013 at 4:46 PM, Ashutosh Narayan <
>> aashutoshnarayan@xxxxxxxxx> wrote:
>>
>>> Hi folks,
>>>
>>> I get the following error message while running nova image-list.
>>>
>>> [root@RLD1OPST01 ~]# nova image-list
>>> ERROR: Malformed request url (HTTP 400) (Request-ID:
>>> req-96acb3fd-3fbe-4f71-ba5f-8d143f1da502)
>>>
>>> But #glance index works fine.
>>>
>>> [root@RLD1OPST01 ~]# glance index
>>> ID Name Disk
>>> Format Container Format Size
>>> ------------------------------------ ------------------------------
>>> -------------------- -------------------- --------------
>>> 4448d100-d230-4556-a98c-2d15054a4f0a cirros-0.3.0-x86_64
>>> qcow2 bare 9761280
>>> 709fd1b2-9f2a-40f1-b7a8-09cdd04964c9 tty-linux ami
>>> ami 25165824
>>> deb541dc-2e67-40c1-ac8f-d934962c04df tty-linux-ramdisk ari
>>> ari 96629
>>> e1043470-0d97-4ddc-8f84-d15870040093 tty-linux-kernel aki
>>> aki 4404752
>>>
>>> I am following this link<http://docs.openstack.org/trunk/openstack-compute/install/yum/content/uploading-to-glance.html>
>>>
>>> Any suggestions ?
>>>
>>> Thank you,
>>> --
>>> Ashutosh Narayan
>>>
>>> http://ashutoshn.wordpress.com/
>>>
>>>
>>
>>
>> --
>> Ashutosh Narayan
>>
>> http://ashutoshn.wordpress.com/
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Ashutosh Narayan
>
> http://ashutoshn.wordpress.com/
>
>
>
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
Follow ups
References