VMware driver does not change compute node state to unavailable after disconnecting from vCenter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Giridhar Jayavelu |
Bug Description
VMware driver does not change compute node state (from :-) to XXX) when it lost connection to vCenter.
api_retry_count does not affect it at all.
When connection to vCenter is lost and nova-compute is restarted it works. But it does not without restarting. After restart state is changed to XXX and nova-compute is still polling API connection (good behavior) but without restart nova-compute has still smile state despite of " SessionConnecti
Steps to reproduce:
1. Configure nova-compute to connect to VMware vCenter using vmware community driver.
2. Check state of compute-node, it should be available
3. Disconnect vCenter - for example just disconnect network from it
4. Check state of compute-node, it still be available
Expected result:
compute-node should be unavailable when vCenter is disconnected (maybe after api_retry_count?) without need to restart nova-compute.
description: | updated |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Eric Brown (ericwb) |
Changed in nova: | |
assignee: | Eric Brown (ericwb) → nobody |
Changed in nova: | |
assignee: | nobody → Giridhar Jayavelu (gjayavelu) |
Fix proposed to branch: master /review. openstack. org/290315
Review: https:/