Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: updateVirtualMachine

updateVirtualMachine 1 year 1 month ago #12430

  • tiagohp
  • tiagohp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello everybody

I have one doubt with updateVirtualMachine. I'm create the Network Offering as blog.remibergsma.com/2012/03/10/howto-cr...ut-a-virtual-router/ because I need the Hybrid Cloud with others physicals servers.
I need to change networkid of NIC on some virtual machines but is not possible. I'm reading the documentation on download.cloud.com/releases/3.0.0/api_3....eVirtualMachine.html.

I can only change the values ​​of displayname,group,haenable,ostypeid and userdata.

Why I can not change the other values ​​of the virtual machine? Example account,domainid,hostname etc...

Thanks!
The administrator has disabled public write access.

Re: updateVirtualMachine 1 year 1 month ago #12509

  • sebgoa
  • sebgoa's Avatar
  • OFFLINE
  • Administrator
  • Posts: 34
  • Thank you received: 7
  • Karma: 0
Hi,

I am pretty sure this api call is for running instances, and therefore you cannot move that instance to a different account/domain.

You should make sure your network offering is properly defined, then start instances with that network.

-Sebastien
The administrator has disabled public write access.

Re: updateVirtualMachine 1 year 1 month ago #12551

  • tiagohp
  • tiagohp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi,

I could move the Virtual Machine between accounts and indicate the parameter networkid with the API assignVirtualMachine.
I have a vlan of deploy, where I use the Cobbler.
I created an account called deploycobbler and then move the virtual machine to that vlan and perform the installation. At the end of the installation I move back to the correct account.
For me this is solution.

Thanks
The administrator has disabled public write access.
Time to create page: 0.261 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect