Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-31 Thread Chen CH Ji
, Haidian District, Beijing 100193, PRC From: Lingxian Kong anlin.k...@gmail.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 12/31/2014 07:22 AM Subject:Re: [openstack-dev] [Nova] should 'ip address' be retrived

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-31 Thread Kevin L. Mitchell
On Wed, 2014-12-31 at 20:56 +0100, Chen CH Ji wrote: Sorry If I didn't understand clearly about it , looks to me the hypervisor itself hosts the instances and it should have a IP with it (like Linux host KVM instances, Linux is the hypervisor, the PC is the host)

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-31 Thread Chen CH Ji
From: Kevin L. Mitchell kevin.mitch...@rackspace.com To: openstack-dev@lists.openstack.org Date: 12/31/2014 09:37 PM Subject:Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host? On Wed, 2014-12-31 at 20:56 +0100, Chen CH Ji wrote

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-31 Thread James Downs
On Dec 31, 2014, at 12:35 PM, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: but this is not necessarily the case for all virt drivers. For example, the host for Xen-based installations is often a separate VM on the same hypervisor, which would have its own distinct IP address. This

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-30 Thread Jay Lau
Yes, host is from service table and hypervisor is from compute_nodes table, I think that there are some discussion for this in Paris Summit and there might be some change for this in Kilo. - Detach service from compute node: https://review.openstack.org/#/c/126895/ (implementation on a

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-30 Thread Kevin L. Mitchell
On Tue, 2014-12-30 at 14:52 +0800, Lingxian Kong wrote: Just as what Jay Lau said, 'nova hypervisor-show hypervisor_id' indeed returns host ip address, and there are more other information included than 'nova host-describe hostname'. I feel a little confused about the 'host' and 'hypervisor',

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-30 Thread Lingxian Kong
Thanks Kevin for your clarification, which further affirms my belief that ip address should be included in the host info. I will contact Jay Pipes on IRC, to see what can I help towards this effort, soon after the New Year's Day in China. :) 2014-12-31 0:34 GMT+08:00 Kevin L. Mitchell

[openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-29 Thread Lingxian Kong
Hi Stackers: As for now, we can get the 'host name', 'service' and 'availability zone' of a host through the CLI command 'nova host-list'. But as a programmer who communicates with OpenStack using its API, I want to get the host ip address, in order to perform some other actions in my program.

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-29 Thread Jay Pipes
On 12/29/2014 06:51 AM, Lingxian Kong wrote: Hi Stackers: As for now, we can get the 'host name', 'service' and 'availability zone' of a host through the CLI command 'nova host-list'. But as a programmer who communicates with OpenStack using its API, I want to get the host ip address, in order

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-29 Thread Jay Lau
Does nova hypervisor-show help? It already include the host ip address. 2014-12-29 21:26 GMT+08:00 Jay Pipes jaypi...@gmail.com: On 12/29/2014 06:51 AM, Lingxian Kong wrote: Hi Stackers: As for now, we can get the 'host name', 'service' and 'availability zone' of a host through the CLI

Re: [openstack-dev] [Nova] should 'ip address' be retrived when decribe host?

2014-12-29 Thread Lingxian Kong
Thanks, Jay Pipes and Jay Lau, for your reply! Just as what Jay Lau said, 'nova hypervisor-show hypervisor_id' indeed returns host ip address, and there are more other information included than 'nova host-describe hostname'. I feel a little confused about the 'host' and 'hypervisor', what's the