Quantcast
Viewing all articles
Browse latest Browse all 9859

vRA CloudClient issue: after reprovisioning a VM, the VM gets a new IP

Hi,

 

I am trying to reprovision a provisioned VM using the vRA CloudClient. Basically, reprovisioning works, but there is an annoying issue:

 

  • - After being reprovisioned a new IP is assigned to the VM instead of using the already allocated IP

e.g. original allocated IP: 192.168.153.2

new IP after reprovisioning: 192.168.153.10 (instead of .153.2)

 

I executed the following command inside the vRA CloudClient:

CloudClient>vra machines action execute --id 'machinename' --action  Reprovision

 

I reviewed the request in the vRA portal and found out that properties like

 

  • VirtualMachine.Network0.Address
  • VirtualMachine.Network0.AddressType
  • VirtualMachine.Network0.DnsSearchSuffixes
  • VirtualMachine.Network0.DnsSuffix
  • VirtualMachine.Network0.Gateway
  • VirtualMachine.Network0.NetworkProfileName
  • VirtualMachine.Network0.PrimaryDns
  • VirtualMachine.Network0.SecondaryDns

 

are missing.

What am I doing wrong?


Viewing all articles
Browse latest Browse all 9859

Trending Articles