[nsxv] Neutron timeout when creating VMs in parallel

Bug #1560377 reported by Alexander Arzhanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel NSXv plugin
Fix Released
Medium
Artem Savinov
1.0.x
Fix Released
Medium
Artem Savinov
2.0.x
Fix Released
Medium
Artem Savinov

Bug Description

Steps to reproduce:

Try to create a lot of instances (maybe 20 instances in test lab) at the same time and you will see in /var/log/nova-all.log:

RequestTimeout: Request to http://192.168.0.2:9696/v2.0/ports.json timed out (HTTP 408

To fix this you need to increase the "timeout value for connecting to neutron in seconds". I suggest using a value of 900 seconds:

for FUEL 7.0:
/etc/nova/nova.conf
...
[neutron]
...
url_timeout=900
....

for FUEL 8.0:
/etc/nova/nova.conf
...
[neutron]
...
timeout=900
....

Tags: nsxv
Changed in vmware-nsx:
status: New → Confirmed
affects: vmware-nsx → fuel-plugins
Changed in fuel-plugins:
importance: Undecided → Medium
assignee: nobody → Artem Savinov (asavinov)
milestone: none → 7.0
milestone: 7.0 → 8.0
Changed in fuel-plugins:
milestone: 8.0 → none
Revision history for this message
Artem Savinov (asavinov) wrote :

Haproxy timeout set to 600 second - this recommendation from vmware. Maybe set the 'url_timeout' also in 600 ?

Revision history for this message
Alexander Arzhanov (aarzhanov) wrote :

600 second a suitable option.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-nsxv (7.0)

Fix proposed to branch: 7.0
Review: https://review.openstack.org/298119

Changed in fuel-plugins:
milestone: none → 9.0
Revision history for this message
Artem Savinov (asavinov) wrote :
Changed in fuel-plugins:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugin-nsxv (master)

Reviewed: https://review.openstack.org/297558
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-nsxv/commit/?id=9ac709d4af68ef104e8224c5b269dbf6b8c0832c
Submitter: Jenkins
Branch: master

commit 9ac709d4af68ef104e8224c5b269dbf6b8c0832c
Author: Artem Savinov <email address hidden>
Date: Wed Mar 2 23:06:47 2016 +0300

    Adapt plugin for Fuel 9.0

    * Adapt tasks for work with "task base" deployment
    * Changed [neutron]/timeout in nova.conf to 600s
    * Changed in the method of get the cluster moref ID to search for the
      name of the cluster in a subfolder
    * Added 'reexecute_on: [deploy_changes]' to post_deployment task for
      reconfiguration nsx.ini after new compute-vmware node added
    * Moved post_deployment from task.yaml to deployment_tasks.yaml
    * Disabled getting upsream puppet modules, replaced by the use of
      /etc/puppet/modules
    * Override "neutron_qos" option to false

    Related-Bug: 1560377
    Change-Id: Iaf7656660a93011b0766743b1562d461fa694d67

Artem Savinov (asavinov)
Changed in fuel-plugins:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-nsxv (8.0)

Fix proposed to branch: 8.0
Review: https://review.openstack.org/299543

Changed in fuel-plugins:
milestone: 9.0 → none
Changed in fuel-plugins:
milestone: none → 9.0
no longer affects: fuel-plugins/9.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-nsxv (8.0)

Reviewed: https://review.openstack.org/299543
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-nsxv/commit/?id=a08e66675410170897b507a5ed19d578d742abfd
Submitter: Jenkins
Branch: 8.0

commit a08e66675410170897b507a5ed19d578d742abfd
Author: Artem Savinov <email address hidden>
Date: Thu Mar 24 16:22:08 2016 +0300

    Change url_timeout in nova.conf

    Change [neutron]/timeout in nova.conf, otherwise the parallel launch
    of the virtual machines may fail with an error.

    Closes-Bug: 1560377

    Change-Id: Ice1758aa3334202051fdce349c8e5ec4e658f790

affects: fuel-plugins → fuel-plugin-nsxv
Changed in fuel-plugin-nsxv:
milestone: 9.0 → none
milestone: none → 3.0.0
no longer affects: fuel-plugins/8.0
no longer affects: fuel-plugins/7.0
Changed in fuel-plugin-nsxv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.