Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

2017-08-23 Thread Huan Xie
Hi Adhi,

Welcome, no need to add physical port to br-int.
We just want to check the DHCP request can be received by DHCP agent.
We met such issue that VM cannot get IP via DHCP, see my blog 
https://www.citrix.com/blogs/2015/10/13/xenserver-debugging-on-vmscannot-get-ip-from-dhcp-agent/
 (seems there are some format issues ,so you can refer this 
https://github.com/Annie-XIE/summary-os/blob/master/test-blog.md) maybe you can 
also check these aspects in the blog.

Thanks,
Huan

From: Adhi Priharmanto [mailto:adhi@gmail.com]
Sent: Wednesday, August 23, 2017 2:53 PM
To: Huan Xie <huan@citrix.com>
Cc: Bob Ball <bob.b...@citrix.com>; openstack <openstack@lists.openstack.org>; 
#OpenStack External Email <openst...@citrix.com>
Subject: Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on 
XenServer

hi Huan,

thanks for your suggest, I'll try again, do I need to add physical port to 
br-int at compute node (dom-U) ?

I'll paste the dhcp logs later.

On Wed, Aug 23, 2017 at 10:46 AM, Huan Xie 
<huan@citrix.com<mailto:huan@citrix.com>> wrote:
Hi Adhi,
As the link 
https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html 
described, we can add DHCP agent in compute node (DomU) and it make sense as 
VMs just get internal fixed IP, so locating the DHCP in compute node should 
work.
If the VM cannot get IP, I suspect maybe the VM’s DHCP request isn’t arrived to 
that DHCP agent, maybe the  so here are some questions:

1.   The agent_scheduler isn’t work for the DHCP agent in Nova compute 
node? Could you give some logs of DHCP agent.

2.   The VM isn’t get correct internal vlan tag? Could you double check 
about the VM’s VIF information in Dom0.

a.   ovs-vsctl show

b.  ovs-ofctl show br-int

c.   ovs-ofctl dump-flows br-int
Thanks,
Huan
From: Adhi Priharmanto [mailto:adhi@gmail.com<mailto:adhi@gmail.com>]
Sent: Wednesday, August 23, 2017 9:32 AM
To: Bob Ball
Cc: openstack; #OpenStack External Email
Subject: Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on 
XenServer

hi bob,

yep, yesterday I try to install neutron-dhcp/metadata agent along with 
nova-compute inside of compute node (domU) , the neutron-dhcp/metadata agent 
was working, I see from the log. but instance can't get the IP address from 
dhcp server.

the working scenario now, I made 2 network node, on each network node contain 
L3-Agent, DHCP-agent, and metadata-agent.

On Tue, Aug 22, 2017 at 9:25 PM, Bob Ball 
<bob.b...@citrix.com<mailto:bob.b...@citrix.com>> wrote:
Hi Adhi,

If the Neutron agents would normally run with the nova compute services, then 
they would need to run in the compute VM when deploying with XenServer, not in 
domain 0.

I would assume that the DHCP agents should also run in the compute VM.

Also added openst...@citrix.com<mailto:openst...@citrix.com> to include others.

Bob

From: Adhi Priharmanto [mailto:adhi@gmail.com<mailto:adhi@gmail.com>]
Sent: 22 August 2017 06:58
To: openstack 
<openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>>
Subject: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

Hi,
According to this guide:
https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html

If I want to add HA on my openstack-xenserver environment , is it possible to 
include neutron-dhcp/metadata agent on Compute-node ?

or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?
or I have to create more neutron-dhcp/metadata agent on separate node ?

--
Cheers,


Adhi Priharmanto
about.me/a_dhi<http://about.me/a_dhi>






+62-812-82121584<tel:+62%20812-8212-1584>




--
Cheers,


Adhi Priharmanto
about.me/a_dhi<http://about.me/a_dhi>






+62-812-82121584<tel:+62%20812-8212-1584>




--
Cheers,


Adhi Priharmanto
about.me/a_dhi






+62-812-82121584

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

2017-08-23 Thread Adhi Priharmanto
hi Huan,

thanks for your suggest, I'll try again, do I need to add physical port to
br-int at compute node (dom-U) ?

I'll paste the dhcp logs later.

On Wed, Aug 23, 2017 at 10:46 AM, Huan Xie <huan@citrix.com> wrote:

> Hi Adhi,
>
> As the link https://docs.openstack.org/ocata/networking-guide/config-
> dhcp-ha.html described, we can add DHCP agent in compute node (DomU) and
> it make sense as VMs just get internal fixed IP, so locating the DHCP in
> compute node should work.
>
> If the VM cannot get IP, I suspect maybe the VM’s DHCP request isn’t
> arrived to that DHCP agent, maybe the  so here are some questions:
>
> 1.   The agent_scheduler isn’t work for the DHCP agent in Nova
> compute node? Could you give some logs of DHCP agent.
>
> 2.   The VM isn’t get correct internal vlan tag? Could you double
> check about the VM’s VIF information in Dom0.
>
> a.   ovs-vsctl show
>
> b.  ovs-ofctl show br-int
>
> c.   ovs-ofctl dump-flows br-int
>
> Thanks,
>
> Huan
>
> *From:* Adhi Priharmanto [mailto:adhi@gmail.com]
> *Sent:* Wednesday, August 23, 2017 9:32 AM
> *To:* Bob Ball
> *Cc:* openstack; #OpenStack External Email
> *Subject:* Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent
> on XenServer
>
>
>
> hi bob,
>
>
>
> yep, yesterday I try to install neutron-dhcp/metadata agent along with
> nova-compute inside of compute node (domU) , the neutron-dhcp/metadata
> agent was working, I see from the log. but instance can't get the IP
> address from dhcp server.
>
>
>
> the working scenario now, I made 2 network node, on each network node
> contain L3-Agent, DHCP-agent, and metadata-agent.
>
>
>
> On Tue, Aug 22, 2017 at 9:25 PM, Bob Ball <bob.b...@citrix.com> wrote:
>
> Hi Adhi,
>
>
>
> If the Neutron agents would normally run with the nova compute services,
> then they would need to run in the compute VM when deploying with
> XenServer, not in domain 0.
>
>
>
> I would assume that the DHCP agents should also run in the compute VM.
>
>
>
> Also added openst...@citrix.com to include others.
>
>
>
> Bob
>
>
>
> *From:* Adhi Priharmanto [mailto:adhi@gmail.com]
> *Sent:* 22 August 2017 06:58
> *To:* openstack <openstack@lists.openstack.org>
> *Subject:* [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on
> XenServer
>
>
>
> Hi,
> According to this guide:
>
> https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html
>
>
> If I want to add HA on my openstack-xenserver environment , is it possible
> to include neutron-dhcp/metadata agent on Compute-node ?
>
>
>
> or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?
>
> or I have to create more neutron-dhcp/metadata agent on separate node ?
>
>
>
> --
>
> Cheers,
>
>
>
> *Adhi Priharmanto*
>
> about.me/a_dhi
>
>
>
> +62-812-82121584 <+62%20812-8212-1584>
>
>
>
>
>
>
>
> --
>
> Cheers,
>
>
>
> *Adhi Priharmanto*
>
> about.me/a_dhi
>
>
>
> +62-812-82121584 <+62%20812-8212-1584>
>
>
>



-- 
Cheers,



[image: --]
Adhi Priharmanto
[image: http://]about.me/a_dhi
<http://about.me/a_dhi?promo=email_sig>
+62-812-82121584
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

2017-08-22 Thread Huan Xie
Hi Adhi,
As the link 
https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html 
described, we can add DHCP agent in compute node (DomU) and it make sense as 
VMs just get internal fixed IP, so locating the DHCP in compute node should 
work.
If the VM cannot get IP, I suspect maybe the VM’s DHCP request isn’t arrived to 
that DHCP agent, maybe the  so here are some questions:

1.   The agent_scheduler isn’t work for the DHCP agent in Nova compute 
node? Could you give some logs of DHCP agent.

2.   The VM isn’t get correct internal vlan tag? Could you double check 
about the VM’s VIF information in Dom0.

a.   ovs-vsctl show

b.  ovs-ofctl show br-int

c.   ovs-ofctl dump-flows br-int
Thanks,
Huan
From: Adhi Priharmanto [mailto:adhi@gmail.com]
Sent: Wednesday, August 23, 2017 9:32 AM
To: Bob Ball
Cc: openstack; #OpenStack External Email
Subject: Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on 
XenServer

hi bob,

yep, yesterday I try to install neutron-dhcp/metadata agent along with 
nova-compute inside of compute node (domU) , the neutron-dhcp/metadata agent 
was working, I see from the log. but instance can't get the IP address from 
dhcp server.

the working scenario now, I made 2 network node, on each network node contain 
L3-Agent, DHCP-agent, and metadata-agent.

On Tue, Aug 22, 2017 at 9:25 PM, Bob Ball 
<bob.b...@citrix.com<mailto:bob.b...@citrix.com>> wrote:
Hi Adhi,

If the Neutron agents would normally run with the nova compute services, then 
they would need to run in the compute VM when deploying with XenServer, not in 
domain 0.

I would assume that the DHCP agents should also run in the compute VM.

Also added openst...@citrix.com<mailto:openst...@citrix.com> to include others.

Bob

From: Adhi Priharmanto [mailto:adhi@gmail.com<mailto:adhi@gmail.com>]
Sent: 22 August 2017 06:58
To: openstack 
<openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>>
Subject: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

Hi,
According to this guide:
https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html

If I want to add HA on my openstack-xenserver environment , is it possible to 
include neutron-dhcp/metadata agent on Compute-node ?

or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?
or I have to create more neutron-dhcp/metadata agent on separate node ?

--
Cheers,


Adhi Priharmanto
about.me/a_dhi<http://about.me/a_dhi>






+62-812-82121584<tel:+62%20812-8212-1584>




--
Cheers,


Adhi Priharmanto
about.me/a_dhi






+62-812-82121584

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

2017-08-22 Thread Adhi Priharmanto
hi bob,

yep, yesterday I try to install neutron-dhcp/metadata agent along with
nova-compute inside of compute node (domU) , the neutron-dhcp/metadata
agent was working, I see from the log. but instance can't get the IP
address from dhcp server.

the working scenario now, I made 2 network node, on each network node
contain L3-Agent, DHCP-agent, and metadata-agent.

On Tue, Aug 22, 2017 at 9:25 PM, Bob Ball  wrote:

> Hi Adhi,
>
>
>
> If the Neutron agents would normally run with the nova compute services,
> then they would need to run in the compute VM when deploying with
> XenServer, not in domain 0.
>
>
>
> I would assume that the DHCP agents should also run in the compute VM.
>
>
>
> Also added openst...@citrix.com to include others.
>
>
>
> Bob
>
>
>
> *From:* Adhi Priharmanto [mailto:adhi@gmail.com]
> *Sent:* 22 August 2017 06:58
> *To:* openstack 
> *Subject:* [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on
> XenServer
>
>
>
> Hi,
> According to this guide:
>
> https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html
>
>
> If I want to add HA on my openstack-xenserver environment , is it possible
> to include neutron-dhcp/metadata agent on Compute-node ?
>
>
>
> or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?
>
> or I have to create more neutron-dhcp/metadata agent on separate node ?
>
>
>
> --
>
> Cheers,
>
>
>
> *Adhi Priharmanto*
>
> about.me/a_dhi
>
>
>
> +62-812-82121584 <+62%20812-8212-1584>
>
>
>



-- 
Cheers,



[image: --]
Adhi Priharmanto
[image: http://]about.me/a_dhi

+62-812-82121584
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

2017-08-22 Thread Bob Ball
Hi Adhi,

If the Neutron agents would normally run with the nova compute services, then 
they would need to run in the compute VM when deploying with XenServer, not in 
domain 0.

I would assume that the DHCP agents should also run in the compute VM.

Also added openst...@citrix.com to include others.

Bob

From: Adhi Priharmanto [mailto:adhi@gmail.com]
Sent: 22 August 2017 06:58
To: openstack 
Subject: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer

Hi,
According to this guide:
https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html

If I want to add HA on my openstack-xenserver environment , is it possible to 
include neutron-dhcp/metadata agent on Compute-node ?

or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?
or I have to create more neutron-dhcp/metadata agent on separate node ?

--
Cheers,


Adhi Priharmanto
about.me/a_dhi






+62-812-82121584

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack