softlayer-go icon indicating copy to clipboard operation
softlayer-go copied to clipboard

Not able to update virtual guests on dedicated Xen servers

Open Cathal2020 opened this issue 6 years ago • 0 comments

Hi Team, I work for IBM and a customer is reporting that Terraform provisioning fails while trying to upgrade a virtual guest on a dedicated XEN host.

In the customers account they have some dedicated Xen hosts which have several dedicated Virtual Servers which they manage via Terraform. When trying to update the CPU for one of the virtuals they get this error(no issues doing the upgrade via the IBM Cloud console):

ibm_compute_vm_instance.virtualserver: Couldn't upgrade virtual guest, while using no Favor: SoftLayer_Exception_Order_Item_Invalid: Invalid price 1 x 2.0 GHz or higher Core (51027) provided on the order container. Please select a dedicated host instance Computing Instance price to order a dedicated host instance. (HTTP 500).

It seems to be an issue in https://github.com/softlayer/softlayer-go/blob/99f42e8c8395c6728bb4eefb210071e75988d3fe/helpers/virtual/virtual.go#L34 where the price items which it gets for the dedicated type is wrong.

Is it working as intended or a bug? Thanks in advance.

Cathal2020 avatar Jan 02 '20 15:01 Cathal2020