[Openstack] [OpenStack] VM start up with no route rules

Xu, Rongjie (Nokia - CN/Hangzhou) rongjie.xu at nokia.com
Sun Jan 22 03:53:37 UTC 2017


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:mnaser at vexxhost.com]
Sent: Sunday, January 22, 2017 11:47
To: John Petrini <jpetrini at coredial.com>
Cc: Xu, Rongjie (Nokia - CN/Hangzhou) <rongjie.xu at nokia.com>; openstack at lists.openstack.org
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 <jpetrini at coredial.com<mailto:jpetrini at coredial.com>> 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) <rongjie.xu at nokia.com<mailto:rongjie.xu at nokia.com>> 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:jpetrini at coredial.com<mailto:jpetrini at coredial.com>]
Sent: Sunday, January 22, 2017 10:19
To: Xu, Rongjie (Nokia - CN/Hangzhou) <rongjie.xu at nokia.com<mailto:rongjie.xu at nokia.com>>
Cc: Eugen Block <eblock at nde.ag<mailto:eblock at nde.ag>>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>

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) <rongjie.xu at nokia.com<mailto:rongjie.xu at nokia.com>> 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:eblock at nde.ag<mailto:eblock at nde.ag>]
Sent: Thursday, January 19, 2017 23:57
To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
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)" <rongjie.xu at nokia.com<mailto:rongjie.xu at nokia.com>>:

> 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  : eblock at nde.ag<mailto:eblock at nde.ag>

         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     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

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


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170122/3783af23/attachment.html>


More information about the Openstack mailing list