diff --git a/.changes/v3.0.0/714-features.md b/.changes/v3.0.0/714-features.md index 05aa16b8b..e123f7ed3 100644 --- a/.changes/v3.0.0/714-features.md +++ b/.changes/v3.0.0/714-features.md @@ -6,7 +6,7 @@ * vCenter management types `VCenter` and `types.VSphereVirtualCenter` adds Create, Update and Delete methods: `VCDClient.CreateVcenter`, `VCDClient.GetAllVCenters`, `VCDClient.GetVCenterByName`, `VCDClient.GetVCenterById`, `VCenter.Update`, `VCenter.Delete`, `VCenter.RefreshVcenter`, - `VCenter.Refresh` [GH-714, GH-724, GH-747, GH-753, GH-756, GH-759] + `VCenter.Refresh` [GH-714, GH-724, GH-747, GH-753, GH-756, GH-759, GH-760] * Add NSX-T Manager management types `NsxtManagerOpenApi`, `types.NsxtManagerOpenApi` and methods `VCDClient.CreateNsxtManagerOpenApi`, `VCDClient.GetAllNsxtManagersOpenApi`, `VCDClient.GetNsxtManagerOpenApiById`, `VCDClient.GetNsxtManagerOpenApiByName`, diff --git a/govcd/vsphere_vcenter.go b/govcd/vsphere_vcenter.go index 36e517f6b..d54219fbc 100644 --- a/govcd/vsphere_vcenter.go +++ b/govcd/vsphere_vcenter.go @@ -20,8 +20,8 @@ const labelVirtualCenter = "vCenter Server" // vCenter task is sometimes unreliable and trying to refresh it immediately after it becomes // connected causes a "BUSY_ENTITY" error (which has a few different messages) -var maximumVcenterRetryTime = 120 * time.Second // The maximum time a single operation will be retried before giving up -var vCenterEntityBusyRegexp = regexp.MustCompile(`(is currently busy|400|BUSY_ENTITY)`) // Regexp to match entity busy error +var maximumVcenterRetryTime = 120 * time.Second // The maximum time a single operation will be retried before giving up +var vCenterEntityBusyRegexp = regexp.MustCompile(`(is currently busy|400|BUSY_ENTITY|another transaction)`) // Regexp to match entity busy error type VCenter struct { VSphereVCenter *types.VSphereVirtualCenter