Customizing the sync interval beween VMware Integrated OpenStack and vCenter virtual machine status
book
Article ID: 341968
calendar_today
Updated On:
Products
VMware
VMware Integrated OpenStack
Show More
Show Less
Issue/Introduction
Symptoms: When a instance power state changes outside of VMware Integrated OpenStack the virtual machine state can take up to 10 minutes to reflect the difference.
Environment
VMware Integrated OpenStack 6.x VMware Integrated Openstack 7.x VMware Integrated OpenStack 5.x
Cause
This issue occurs when the related sync_power_state_interval value in the nova.conf file is set to 600 seconds.
Resolution
For VIO 6.x and newer:
SSH to the VIO Manager as root. Update the nova and novacompute custom resources with 'viocli update ' commands. For example: viocli update novacompute Add the line sync_power_state_interval:60 under DEFAULT . For example:
conf: nova: DEFAULT: sync_power_state_interval: 60 ...... neutron: metadata_proxy_shared_secret: ".Secret:managedencryptedpasswords:data.metadata_proxy_shared_secret" vmware: passthrough: "false" pbm_default_policy: "Your Default Storage Policy" ......
Write and quit. The sync state interval has been set.
For VIO 5.1 and earlier the custom.yml must be edited: To change the
nova_sync_power_state_interval value in the
custom.yml file:
Open the custom.yml file. If the /opt/vmware/vio/custom/custom.yml file does not exist, create it by running this command: cp /var/lib/vio/ansible/custom/custom.yml.sample /opt/vmware/vio/custom/custom Type sudo -i and enter the a vio user password. Change the nova_sync_power_state_interval value to 60 (value in sec). Save the file. Run the viocli deployment configure limit compute.
Feedback
thumb_up
Yes
thumb_down
No