[openstack-dev] [neutron] possible race condition with nova instance and neutron ports
slawek at kaplonski.pl
Wed Aug 9 12:40:13 UTC 2017
With such settings nova is not waiting for info from neutron and that is why Your instances starting without network ready.
If You will change this timeout to some value higher than 0 then instance will be paused and nova will wait for info from neutron that port is active (You should also check credentials config in neutron server)
If You will set also vif_plugging_is_fatal=True then nova will put instance in ERROR state if port will not be active after timeout time.
> Wiadomość napisana przez Saverio Proto <saverio.proto at switch.ch> w dniu 09.08.2017, o godz. 14:24:
> thanks for the tip.
> I checked on a compute node, in the nova.conf file I have the following:
> both options are in the [DEFAULT] section.
> I guess these settings were never changed since we were running Icehouse.
> Should I change to the Ocata default values ? (True and 300)
> I will try that today.
> Thank you
> On 09/08/17 09:23, Sławomir Kapłoński wrote:
>> Do You have configured in nova-compute: vif_plugging_timeout and vif_plugging_is_fatal options?
>> With those options nova should pause VM until port will be set to ACTIVE in Neutron.
> Saverio Proto, Peta Solutions
> Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
> phone +41 44 268 15 15, direct +41 44 268 1573
> saverio.proto at switch.ch, http://www.switch.ch
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev