VMware: unnecesary session termination

Bug #1265512 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton
Havana
Fix Released
High
Gary Kotton

Bug Description

In some cases, the session with the VC is terminated and restarted again. This can happen for example when the user does:
nova list (and there are no running VMs)
In addition to the restart of the session the operation also waits 2 seconds.

Tags: vmware
Revision history for this message
Gary Kotton (garyk) wrote :

This issue causes failures in the CI

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → icehouse-2
importance: Undecided → High
tags: added: grizzly-backport-potential havana-backport-potential vmware
Changed in nova:
status: New → In Progress
Revision history for this message
Gary Kotton (garyk) wrote :
Changed in openstack-vmwareapi-team:
status: New → In Progress
importance: Undecided → Critical
Tracy Jones (tjones-i)
no longer affects: openstack-vmwareapi-team
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/64598
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=55296828a7d7a03736a21d846da15571ca22ec9e
Submitter: Jenkins
Branch: master

commit 55296828a7d7a03736a21d846da15571ca22ec9e
Author: Gary Kotton <email address hidden>
Date: Tue Dec 31 23:40:29 2013 -0800

    VMware: unnecessary session reconnection

    An error FAULT_NOT_AUTHENTICATED could imply that there is a problem
    with the backend or that no values were found (for example there are
    no running VMS). In the latter case the connection should not
    be restarted.

    The patch also ensures that the session is restarted if there are
    connection issues.

    This issue occasionally causes CI issues with minesweeper.

    Closes-bug: #1265512

    Co-authored-by: Shawn Harsock <email address hidden>

    Change-Id: Ibfa83d0b5b93680890aad8c88c041fa344765448

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/67667

Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/67667
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bb7a4703c6e990fac73997e093a3766756ebd71f
Submitter: Jenkins
Branch: stable/havana

commit bb7a4703c6e990fac73997e093a3766756ebd71f
Author: Gary Kotton <email address hidden>
Date: Tue Dec 31 23:40:29 2013 -0800

    VMware: unnecessary session reconnection

    An error FAULT_NOT_AUTHENTICATED could imply that there is a problem
    with the backend or that no values were found (for example there are
    no running VMS). In the latter case the connection should not
    be restarted.

    The patch also ensures that the session is restarted if there are
    connection issues.

    This issue occasionally causes CI issues with minesweeper.

    Closes-bug: #1265512

    Co-authored-by: Shawn Harsock <email address hidden>

    Conflicts:

     nova/tests/virt/vmwareapi/test_vmwareapi.py

    Change-Id: Ibfa83d0b5b93680890aad8c88c041fa344765448
    (cherry picked from commit 55296828a7d7a03736a21d846da15571ca22ec9e)

tags: added: in-stable-havana
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential in-stable-havana
tags: removed: havana-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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