yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68423
[Bug 1721025] Re: it took 751s when spawning an instance which was booted from image
The problem isn't nova. It's taking a long time to setup networking on
the neutron side after the VIF is plugged for the guest on the compute
host. Nova starts waiting for an event callback from neutron here:
46259:2017-10-03 20:07:07.322 7 DEBUG nova.compute.manager [req-
de0f02c8-9410-424f-bdac-60926f4533b0 94c7b04e8c0a4d249759e41bd3d112b2
8a228c4fdc87485e93dea603a4d4fb4e - - -] [instance:
4eb3c163-3e86-4686-9783-c582938a9a36] Preparing to wait for external
event network-vif-plugged-ed68732a-eede-4b85-a756-7a360d47a1cd
prepare_for_instance_event /usr/lib/python2.7/site-
packages/nova/compute/manager.py:328
And gets it here:
46337:2017-10-03 20:07:13.272 7 DEBUG nova.compute.manager [req-
37bc640d-ea75-442b-8d70-4f4c1db7190e b79d2473bdd84ce0b9686d7fa7c9aa87
9b7d49eb017549609814c6ee33deda48 - - -] [instance:
4eb3c163-3e86-4686-9783-c582938a9a36] Processing event network-vif-
plugged-ed68732a-eede-4b85-a756-7a360d47a1cd _process_instance_event
/usr/lib/python2.7/site-packages/nova/compute/manager.py:6788
That took nearly 6 minutes, so there are some obvious performance issues
with your neutron backend. The default vif plugging timeout is 5
minutes, so you must have already adjusted the vif_plugging_timeout
config option in nova.conf.
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1721025
Title:
it took 751s when spawning an instance which was booted from image
Status in OpenStack Compute (nova):
Invalid
Bug description:
Hi Guys,
I found it was very slow when creating an instance which was booted from image.
In the nova-compute.log, it reported "Took 751.23 seconds to spawn the instance on the hypervisor".
[root@cloud-2 ~]# rpm -qa |grep nova
python2-novaclient-7.1.1-1.el7.noarch
python-nova-15.0.4-1.el7.noarch
centos7,libvirt+kvm
Neutron with OpenVSwitch
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1721025/+subscriptions
References