vmware-archive / cliaas

an iaas agnostic cli to perform blue green ops manager rotations
Apache License 2.0
5 stars 7 forks source link

Azure replace VM not working in Canada Central region #3

Closed z4ce closed 7 years ago

z4ce commented 7 years ago

When trying to replace the VM we get the following error:

replace-opsman-vm
2017/05/04 19:48:50 error: compute.VirtualMachinesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidRequestContent" Message="The request content was invalid and could not be deserialized: 'Could not find member 'resources' on object of type 'ResourceDefinition'. Path 'resources', line 1, position 3603.'."

config.yml:

azure:
  vhd_image_url: https://opsmanagereastus.blob.core.windows.net/images/ops-manager-1.9.11.vhd
  subscription_id: <redacted>
  client_id: <redacted>
  client_secret: <redacted>
  tenant_id: <redacted>
  resource_group_name: <redacted>
  storage_account_name: <redacted>
  storage_account_key: <redacted>
  storage_container_name: opsmanager
cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

ryanpei commented 7 years ago

we're going to defer to MSFT to address this on their end. Their API for Canada (which is supposedly GA) needs to be on par with the US.