Hi Hean,

I repeated my test and wrote a log, see below.

Perhaps you have some host-to-host firewall rule missing?

ACS Local Storage Migration Test

Test Environment
- ACS 4.14
- Ubuntu 18.04 in all nodes
- 2xCompute Nodes KVM Local Storage
- 1xManager+NFS+Mariadb

Provisioned Test Environment
- 1 Zone, 1 Pod, 1 Cluster, 2 Hosts
- Advanced Networking, Local Storage and Related Global/Zone Settings
- Secondary NFS 
- Test template: debian9 from openvm.eu
- Local Storage Offerings (Compute and Disk)
- Admin SSH Key

Steps:
- Create Isolated Test Network (Default Isolated Net Offering) GTW 10.1.0.1 
Net/24
- Create Debian 9 Instance, Local Storage Offering, No Data Disk, on Test 
Network, Admin SSH Key
- Wait for Running State, check Host: Compute 1
- Log on Compute1, with virsh list identify the VM by internal Name
- Select Instance Quick View, Migrate To Host, Select Compute 2
- Click on Instances Tab, Instance is listed as Migrating
- Log on Compute2, with virsh list the VM is also there on Paused State
- After some time... 
- Compute2 check with virsh list VM passes to Running state
- Instance in Compute 1 is no longer there (with virsh list).
- On UI instance is out of Migrating state and back to Running state.

Regards,
Rafael

On Mon, 2020-10-12 11:39 AM, Hean Seng <[email protected]> wrote:
> Yes, on KVM, and same cluster
> 
> On Mon, Oct 12, 2020 at 5:06 PM Rafael del Valle " 
> target="_blank"><[email protected]>
> wrote:
> 
> > You also use KVM? and migrate to another host in the same Cluster?
> >
> > I will run an extra test today for you... and document the steps.
> >
> > Perhaps we have another configuration difference...
> >
> > Regards,
> > Rafael
> >
> > On Mon, 2020-10-12 10:57 AM, Hean Seng " 
> > target="_blank"><[email protected]> wrote:
> > > Seems not. Local storage to  local storage in another host,   It prompt
> > > error if not power off,  but once power off, it can migrate without error
> > >
> > > On Mon, Oct 12, 2020 at 4:31 PM Rafael del Valle "
> > target="_blank">" target="_blank"><[email protected]>
> > > wrote:
> > >
> > > > Yes, I can. in ACS 4.14 with KVM
> > > >
> > > > I don't think it is "live", obviously, but rather pause, copy over,
> > > > unpause.
> > > >
> > > > Documentation says that It has to be within the same cluster.
> > > >
> > > > Is it not working for you?
> > > >
> > > > Rafael
> > > >
> > > > On Mon, 2020-10-12 10:09 AM, Hean Seng " target="_blank"><
> > " target="_blank">[email protected]> wrote:
> > > > > Are you sure you can move the VM while is running on LocalStorage
> > between
> > > > > both hypervisor ?
> > > > >
> > > > >
> > > > > As i know , need to power off the VM in hypervisor 1 (with local
> > > > storage),
> > > > > then migrate  then only power on in new Hypervisor
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Oct 12, 2020 at 3:40 PM Rafael del Valle "
> > > > target="_blank">" target="_blank">" 
> > > > target="_blank"><[email protected]>
> > > > > wrote:
> > > > >
> > > > > > Hi!
> > > > > >
> > > > > > I am testing VM migration with Local Storage in ACS 4.14.
> > > > > >
> > > > > > I can Migrate a VM while it is running, takes some time, but it
> > works.
> > > > The
> > > > > > machine has not been rebooted, I guess was paused and moved over
> > with
> > > > its
> > > > > > state. Nice!
> > > > > >
> > > > > > It is not working for me thou when the VM has Volumes attached.​ I
> > get
> > > > an
> > > > > > error that days: Could not Move the VM along with its volumes.
> > > > > >
> > > > > > In that case, I can (manually):
> > > > > >  * Stop the VM
> > > > > >  * Detach the data volume
> > > > > >
> > > > > >  * Move the VM to another local store
> > > > > >  * Move the Volume/s to the other local store
> > > > > >  * re-attach the volume
> > > > > >  * re-start the VM
> > > > > > And then it works.
> > > > > >
> > > > > > Regarding the more "automated" moving the VM along with its
> > volumes, I
> > > > > > wonder whether there is something wrong on my installation or the
> > > > previous
> > > > > > workflow has not yet been implemented in ACS.
> > > > > >
> > > > > > Anybody knows?
> > > > > > Anybody moving Locally-Stored VMs around?
> > > > > >
> > > > > > Regards,
> > > > > > Rafael
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Hean Seng
> > > > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Hean Seng
> > >
> 
> 
> 
> --
> Regards,
> Hean Seng
> 

Reply via email to