Error: "Resource CREATE failed: ResourcelnError resources(1].resources #######: Went to status ERROR due to "Message: Exceeded maximum number of retries" during instance creation failure.
Instance creation during scale out operations do not complete successfully.
The instances are part of heat stack template in VIO.
There were DHCP configuration was disabled directly from the the NSX UI and not from openstack horizon dashboard.
Nova conductor logs point to an exception at neutron service as below
nova.exception.RescheduledException: Build of instance ########-####-####-####-############ was re-scheduled: Request Failed: internal server error while processing your request.\nNeutron server returns request_ids: ['req-########-####-####-####-############']\n"]
Neutron logs show that there was a configuration change directly made at the NSX layer.
WARNING vmware_nsxlib.v3.cluster [req-########-####-####-####-############ - - - - -] Request failed due to: The object was modified by somebody else. Please retry. details: Operation failed because of conflicting transaction. Transaction ID:########-####-####-####-############ Address: 4846656856: vmware_nsxlib.v3.exceptions.StaleRevision: The object was modified by somebody else. Please retry. details: Operation failed because of conflicting transaction. Transaction ID: ########-####-####-####-############ Address: 4846656856
Environment
VIO 7.3 NSX 4.1.2.2 TCP 3.0
Cause
Modifying DHCP configurationchanges directly from NSX UI in is not supported when the infrastructure is managed by VIO.
VIO acts as the master controller for NSX. When a network is created via OpenStack, the OpenStack Neutron database stores the respective configuration.
When any configuration is changed from NSX manuallythe neutron's database goes out of sync leading to deployment failures with 500 neutronclient.common.exceptions.InternalServerError Error.