Symptoms:
- Enterprise PKS cluster creation fails intermittently
- The version of Opsman in use is below 2.9.2
- You see an error similar to the following:
Error: Unknown CPI error 'Unknown' with message 'The object was modified by somebody else. Please retry.' in 'create_vm' CPI method
- You see an error similar to the following when running bosh task <task_number> --cpi log:
I, [2020-07-17T11:04:19.054478 #1252] INFO -- [req_id cpi-794570]: LogicalPorts found for vm 'vm-########-####-####-####-########9b9a': ["########-####-####-####-########83b1"]'
I, [2020-07-17T11:04:19.054598 #1252] INFO -- [req_id cpi-794570]: Adding LogicalPorts: ["########-####-####-####-########83b1"] to NSGroup '########-####-####-####-########a762'
I, [2020-07-17T11:04:19.115245 #1252] INFO -- [req_id cpi-794570]: Failed to apply NSX properties to VM 'vm-########-####-####-####-########9b9a' with error: The object was modified by somebody else. Please retry.
I, [2020-07-17T11:04:19.115359 #1252] INFO -- [req_id cpi-794570]: Deleting VM 'vm-########-####-####-####-########9b9a'...
I, [2020-07-17T11:04:19.115500 #1252] INFO -- [req_id cpi-794570]: Deleting vm: vm-########-####-####-####-########9b9a
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.