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 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 is quite similar to how O

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

2014-12-31 Thread Chen CH Ji
From: "Kevin L. Mitchell" To: 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: > Sorry If I didn't understand

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
ng, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC From: Lingxian Kong To: "OpenStack Development Mailing List (not for usage questions)" 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-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 : > On Tue,

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 ' > indeed returns host ip address, and there are more other information > included than 'nova host-describe '. I feel a little > confused about the 'host' and 'hypervisor', what's the differe

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 patch

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 ' indeed returns host ip address, and there are more other information included than 'nova host-describe '. I feel a little confused about the 'host' and 'hypervisor', what's the difference between them

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 : > 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 'n

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 t