So based on this, as long as one of dhcp agents is Active&Up, DHCP should be 
working.

Best Regards
Xu Rongjie (Max)
Mobile:18658176819

From: Mohammed Naser [mailto:[email protected]]
Sent: Sunday, January 22, 2017 11:47
To: John Petrini <[email protected]>
Cc: Xu, Rongjie (Nokia - CN/Hangzhou) <[email protected]>; 
[email protected]
Subject: Re: [Openstack] [OpenStack] VM start up with no route rules

DHCP is provided with HA with a simple race. N agents respond to DHCP requests, 
the one with the fastest answer wins.

Sent from my iPhone

On Jan 21, 2017, at 9:49 PM, John Petrini 
<[email protected]<mailto:[email protected]>> wrote:
In my environment they are both Status = Active Admin = Up


___

John Petrini

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission,  dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

On Sat, Jan 21, 2017 at 9:31 PM, Xu, Rongjie (Nokia - CN/Hangzhou) 
<[email protected]<mailto:[email protected]>> wrote:
OK.

But how about the status? Per my understanding, one of them should be 
“STATUS=ACTIVE, ADMIN STATUS=UP” and the other should be “STATUS=DOWN, ADMIN 
STATUS=UP”. Otherwise, it should be wrong. Right?

Best Regards
Xu Rongjie (Max)
Mobile:18658176819<tel:(865)%20817-6819>

From: John Petrini [mailto:[email protected]<mailto:[email protected]>]
Sent: Sunday, January 22, 2017 10:19
To: Xu, Rongjie (Nokia - CN/Hangzhou) 
<[email protected]<mailto:[email protected]>>
Cc: Eugen Block <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>

Subject: Re: [Openstack] [OpenStack] VM start up with no route rules

Multiple DHCP ports in not uncommon in HA configurations. You can check if this 
is enabled in /etc/neutron/neutron.conf.

dhcp_agents_per_network = 2

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission,  dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

On Sat, Jan 21, 2017 at 8:13 PM, Xu, Rongjie (Nokia - CN/Hangzhou) 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Thanks for your analysis. Finally, I found there are two DHCP ports when I 
create a tenant network with DHCP enabled. That makes VM cannot start up due to 
fail to get its ip address.

But why there two DHCP ports when I create the network is still under 
investigation. Do you have some hints for this? Thanks.

Best Regards
Xu Rongjie (Max)
Mobile:18658176819<tel:18658176819>
-----Original Message-----
From: Eugen Block [mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, January 19, 2017 23:57
To: [email protected]<mailto:[email protected]>
Subject: Re: [Openstack] [OpenStack] VM start up with no route rules

Does your VM's interface also have DHCP enabled? If it's configured to
have a static address, it won't be changed by dhcp. Have you used the
image outside of heat and did it work with dhcp for a single VM?


Zitat von "Xu, Rongjie (Nokia - CN/Hangzhou)" 
<[email protected]<mailto:[email protected]>>:

> Hi,
>
> I am launch a heat stack on top of Mirantis OpenStack Mitaka.
> However, I see no route rules (output of command 'ip route' is
> empty) inside VM, which make the VM cannot get the metadata from
> metadata server. Basically, the VM is connected to a management
> network (192.168.1.0/24<http://192.168.1.0/24> DHCP enabled).
>
> How can I debug this problem? Is it something wrong with Neutron? Thanks.
>
>
>
> Best Regards
> Xu Rongjie (Max)
> Mobile:18658176819<tel:18658176819>



--
Eugen Block                             voice   : +49-40-559 51 
75<tel:%2B49-40-559%2051%2075>
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 
77<tel:%2B49-40-559%2051%2077>
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : 
[email protected]<mailto:[email protected]>

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to