Mailing List Archive

Invoking Nova commands remotely
Hi All,

I have a setup with one openstack controller with multiple compute node. In
a separate node, say monitor node, I want to invoke the nova commands on
openstack controller. Do we need to run any specific components of
openstack on this node to achieve this ?

Is there any way to invoke the nova commands such as nova-manage, nova
list.. etc remotely?

Thanks in advance.


--
Thanks & Regards
Neelakantam Gaddam
Re: Invoking Nova commands remotely [ In reply to ]
"nova list" and other "nova *" commands work by making http (or https) connections to your api node. Any node that has network access to it can make calls just fine as long as you've got the right environment variables set, which include: NOVA_URL, NOVA_PROJECT_ID, NOVA_USERNAME etc.

"nova-manage" is a bit more deeply imbedded into the nova internal architecture. Setting up a novarc with ampq details and database connection details will probably allow it to work, but I wouldn't be surprised ifyou ran into some weird behavior...

--
Duncan Thomas
HP Cloud Services, Galway

From: openstack-bounces+duncan.thomas=hp.com@lists.launchpad.net [mailto:openstack-bounces+duncan.thomas=hp.com@lists.launchpad.net] On Behalf Of Neelakantam Gaddam
Sent: 08 June 2012 06:32
To: openstack@lists.launchpad.net
Subject: [Openstack] Invoking Nova commands remotely

Hi All,

I have a setup with one openstack controller with multiple compute node. In a separate node, say monitor node, I want to invoke the nova commands on openstack controller. Do we need to run any specific components of openstack on this node to achieve this ?

Is there any way to invoke the nova commands such as nova-manage, nova list.. etc remotely?

Thanks in advance.


--
Thanks & Regards
Neelakantam Gaddam