[Openstack] [nova client] Can't get the diagnostics command to work

Kiall Mac Innes kiall at managedit.ie
Tue Jan 24 17:55:05 UTC 2012


Oh, I had thought it didn't exist in Diablo.. My mistake!

Thanks,
Kiall


On Tue, Jan 24, 2012 at 5:46 PM, Brian Waldon <brian.waldon at rackspace.com>wrote:

> The diagnostics command moved to a server action. We will need to update
> novaclient to support this. I went ahead and filed a bug for it:
> https://bugs.launchpad.net/nova/+bug/921103
> On Jan 24, 2012, at 9:03 AM, Leander Bessa wrote:
>
> Hello,
>
> I've setup a single node configuration with keystone using the packages
> from https://launchpad.net/~managedit/+archive/openstack.
>
> I've managed to launch an instance, however when i run the commando nova
> diagnostics <server> i get this:
>
> REQ: curl -i http://127.0.0.1:5000/tokens -X POST -H "Content-Type:
> application/json" -H "User-Agent: python-novaclient"
>
> REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials":
> {"username": "admin", "password": "admin"}}}
>
> RESP:{'date': 'Tue, 24 Jan 2012 16:56:24 GMT', 'status': '200',
> 'content-length': '1119', 'content-type': 'application/json;
> charset=UTF-8'} {"access": {"token": {"expires": "2015-02-05T00:00:00",
> "id": "999888777666", "tenant": {"id": "1", "name": "admin"}},
> "serviceCatalog": [{"endpoints": [{"adminURL": "
> http://127.0.0.1:8774/v1.1/1", "region": "RegionOne", "internalURL": "
> http://127.0.0.1:8774/v1.1/1", "publicURL": "http://127.0.0.1:8774/v1.1/1"}],
> "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "
> http://127.0.0.1:8774/v1.0", "region": "RegionOne", "internalURL": "
> http://127.0.0.1:8774/v1.0", "publicURL": "http://127.0.0.1:8774/v1.0/"}],
> "type": "compute", "name": "nova_compat"}, {"endpoints": [{"adminURL": "
> http://127.0.0.1:9292/v1.1/1", "region": "RegionOne", "internalURL": "
> http://127.0.0.1:9292/v1.1/1", "publicURL": "http://127.0.0.1:9292/v1.1/1"}],
> "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "
> http://127.0.0.1:35357/v2.0", "region": "RegionOne", "internalURL": "
> http://127.0.0.1:5000/v2.0", "publicURL": "http://127.0.0.1:5000/v2.0"}],
> "type": "identity", "name": "identity"}], "user": {"id": "1", "roles":
> [{"tenantId": "1", "id": "1", "name": "Admin"}, {"id": "1", "name":
> "Admin"}], "name": "admin"}}}
>
> REQ: curl -i http://127.0.0.1:8774/v1.1/1/servers/3/diagnostics -X GET -H
> "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H
> "X-Auth-Token: 999888777666"
>
> REQ: curl -i http://127.0.0.1:8774/v1.1/1/servers/3/diagnostics -X GET -H
> "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H
> "X-Auth-Token: 999888777666"
>
> RESP:{'date': 'Tue, 24 Jan 2012 16:56:24 GMT', 'status': '404',
> 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'} 404
> Not Found
>
> The resource could not be found.
>
>
>
> RESP:{'date': 'Tue, 24 Jan 2012 16:56:24 GMT', 'status': '404',
> 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'} 404
> Not Found
>
> The resource could not be found.
>
>
> n/a (HTTP 404)
>
>
> Any ideas?
>
> Regards,
>
> Leander
>  _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120124/fd23a7cc/attachment.html>


More information about the Openstack mailing list