I used the UI for the vm migration. I can get you the exact api call but isnt the call in the pastebin output already..
Another thing, if there is a vm running on the same network on the destination host, I dont have the exception but the volume stay in migrate state forever. Thanks Francois On Jan 30, 2014 2:19 AM, "Srikanteswararao Talluri" < srikanteswararao.tall...@citrix.com> wrote: > Yes, I am able to migrate a VM on local storage(host) to another local > storage(host). > > Can you paste the API call you tried? > > Thanks, > ~Talluri > > -----Original Message----- > From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] > Sent: Wednesday, 29 January 2014 6:31 PM > To: dev@cloudstack.apache.org > Subject: Xen StorageMotion Fails > > Hi, > > I posted this on the users@ mailing-list yesterday, but giving it more > thoughts I think this should have been posted here. We are running 4.2.1 > with XenServer 6.2SP1. I tried to run a storage motion from a local storage > to another, and I am getting this error. Xen returns a VM_REQUIRES_NETWORK > when attempting the migration. This error, according to the javadoc means: > > You attempted to run a VM on a host which doesn't have a PIF on a Network > needed by the VM. The VM has at least one VIF attached to the Network. > > http://pastebin.com/cHcAyPtP > > I believe this is supposed to be supported since CloudStack let me do it > from the UI. Right? > > Thanks! > > -- > Francois Gaudreault > Architecte de Solution Cloud | Cloud Solutions Architect > fgaudrea...@cloudops.com > 514-629-6775 > - - - > CloudOps > 420 rue Guy > Montréal QC H3J 1S6 > www.cloudops.com > @CloudOps_ > >