[Openstack] nova image-list error
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_64qcow2 bare9761280 709fd1b2-9f2a-40f1-b7a8-09cdd04964c9 tty-linux ami ami25165824 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 linkhttp://docs.openstack.org/trunk/openstack-compute/install/yum/content/uploading-to-glance.html Any suggestions ? Thank you, -- Ashutosh Narayan http://ashutoshn.wordpress.com/ ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] nova image-list error
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 aashutoshnara...@gmail.com 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_64qcow2 bare9761280 709fd1b2-9f2a-40f1-b7a8-09cdd04964c9 tty-linux ami ami25165824 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 linkhttp://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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] nova image-list error
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 aashutoshnara...@gmail.com mailto:aashutoshnara...@gmail.com 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 bare9761280 709fd1b2-9f2a-40f1-b7a8-09cdd04964c9 tty-linux ami ami25165824 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] nova image-list error
Hi Sylvain, Here is the content of ketstonerc file : [root@RLD1OPST01 ~]# cat keystonerc export OS_USERNAME=admin export OS_PASSWORD=x 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:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/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.ba...@digimind.comwrote: 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 aashutoshnara...@gmail.com 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_64qcow2 bare9761280 709fd1b2-9f2a-40f1-b7a8-09cdd04964c9 tty-linux ami ami25165824 deb541dc-2e67-40c1-ac8f-d934962c04df tty-linux-ramdisk ari ari
Re: [Openstack] nova image-list error
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=x 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:/v1/AUTH_%(tenant_id)s http://192.168.105.61:/v1/AUTH_%%28tenant_id%29s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s http://192.168.105.61:/v1/AUTH_%%28tenant_id%29s | http://192.168.105.61:/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/%%28tenant_id%29s| http://192.168.105.61:8776/v1/%(tenant_id)s http://192.168.105.61:8776/v1/%%28tenant_id%29s| http://192.168.105.61:8776/v1/%(tenant_id)s http://192.168.105.61:8776/v1/%%28tenant_id%29s | a5da6ff105184cbda9a3619d41d297f6 | | 897375e2d299416db3281d1b8baeabc1 | RegionOne | http://192.168.105.61:8774/v2/%(tenant_id)s http://192.168.105.61:8774/v2/%%28tenant_id%29s| http://192.168.105.61:8774/v2/%(tenant_id)s http://192.168.105.61:8774/v2/%%28tenant_id%29s| http://192.168.105.61:8774/v2/%(tenant_id)s http://192.168.105.61:8774/v2/%%28tenant_id%29s | 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.ba...@digimind.com mailto:sylvain.ba...@digimind.com 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 aashutoshnara...@gmail.com mailto:aashutoshnara...@gmail.com wrote: Hi folks, I get the following error message while running nova image-list. [root@RLD1OPST01 ~]# nova image-list ERROR: Malformed request
Re: [Openstack] 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.ba...@digimind.comwrote: 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=x 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:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/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.ba...@digimind.com 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 aashutoshnara...@gmail.com 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
Re: [Openstack] nova image-list error
As per point number '2' 2) Check that the tenant ID in the request matches the tenant you are authenticated under mentioned in the link you sent where can I verify this ? On Fri, Mar 8, 2013 at 6:45 PM, Ashutosh Narayan aashutoshnara...@gmail.com wrote: 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.ba...@digimind.comwrote: 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=x 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:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/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.ba...@digimind.com 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 aashutoshnara...@gmail.com wrote: Hi folks, I get the following error message while running nova image-list. [root@RLD1OPST01 ~]# nova image-list ERROR: Malformed
Re: [Openstack] nova image-list error
Hi Sylvain, I followed this linkhttp://docs.openstack.org/trunk/openstack-compute/install/yum/content/keystone-service-endpoint-create.htmlto set Nova Compute service Here is the command I ran earlier to set it : [root@RLD1OPST01 ~]# keystone --token 58e7c511e8e6ad09be56 --endpoint http://192.168.105.61:35357/v2.0/ endpoint-create --region RegionOne --service-id=5d144f9df18d4b35810afb4199b1a321 --publicurl=' http://192.168.105.61:8774/v2/%(tenant_id)s' --internalurl=' http://192.168.105.61:8774/v2/%(tenant_id)s' --adminurl=' http://192.168.105.61:8774/v2/%(tenant_id)s' And keystone service-list shows that service id set for Nova Compute Service which can be seen below -- [root@RLD1OPST01 ~]# keystone service-list +--+--+--+---+ |id| name | type | description| +--+--+--+---+ | 5d144f9df18d4b35810afb4199b1a321 | nova | compute|Nova Compute Service | I am stuck here and can't proceed to nova secgroup-list which also throws the same error. Please help. Thank you, On Fri, Mar 8, 2013 at 7:05 PM, Ashutosh Narayan aashutoshnara...@gmail.com wrote: As per point number '2' 2) Check that the tenant ID in the request matches the tenant you are authenticated under mentioned in the link you sent where can I verify this ? On Fri, Mar 8, 2013 at 6:45 PM, Ashutosh Narayan aashutoshnara...@gmail.com wrote: 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.ba...@digimind.com 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=x 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:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/v1/AUTH_%(tenant_id)s | http://192.168.105.61:/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 |
Re: [Openstack] Nova image-list error
Le Tuesday 26 Jun 2012 à 15:24:18 (+0530), Trinath Somanchi a écrit : Hi- I have uploaded an image using glance.  $ glance index  command has given the output. But nova image-list is giving me error. root@OpenstackController:~# glance add name=Ubuntu_1204_Server is_public=true container_format=ovf disk_format=qcow2 ubuntu_server.img Uploading image 'Ubuntu_1204_Server' === =[100%] 24.9M/s, ETA 0h 0m 0s Added new image with ID: 5fde92d7-84da-49a5-b690-4ebdf7c1b2d4 root@OpenstackController:~# glance index ID                                  Name                          Disk Format         Container Format    Size         -- -- 5fde92d7-84da-49a5-b690-4ebdf7c1b2d4 Ubuntu_1204_Server            qcow2               ovf                     1544224768 root@OpenstackController:~# nova image-list ERROR: string indices must be integers, not str root@OpenstackController:~# Can any one help me out in resolving the issue. thanking you... -- Regards, -- Trinath Somanchi, +91 9866 235 130 Please post the output for # keystone service-list keystone endpoint-list -- All mail clients suck. This one just sucks less. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Nova image-list error
Try nova --debug image-list - It should give you more information/stack trace. -Mandar From: openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata@lists.launchpad.net] On Behalf Of Trinath Somanchi Sent: Tuesday, June 26, 2012 3:24 PM To: openstack@lists.launchpad.net Subject: [Openstack] Nova image-list error Hi- I have uploaded an image using glance. $ glance index command has given the output. But nova image-list is giving me error. root@OpenstackController:~# glance add name=Ubuntu_1204_Server is_public=true container_format=ovf disk_format=qcow2 ubuntu_server.img Uploading image 'Ubuntu_1204_Server' [100%] 24.9M/s, ETA 0h 0m 0s Added new image with ID: 5fde92d7-84da-49a5-b690-4ebdf7c1b2d4 root@OpenstackController:~# glance index ID Name Disk Format Container Format Size -- -- 5fde92d7-84da-49a5-b690-4ebdf7c1b2d4 Ubuntu_1204_Server qcow2 ovf 1544224768 root@OpenstackController:~# nova image-list ERROR: string indices must be integers, not str root@OpenstackController:~# Can any one help me out in resolving the issue. thanking you... -- Regards, -- Trinath Somanchi, +91 9866 235 130 __ Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp