Hi,

There are 2 scenarios

1. Migration from one pool to other works perfectly when instance is not 
running.
2. When instance is a running
        Individual volumes can be migrated without any issue.
        If I perform instance migration to another host by selecting “migrate 
storage” its getting failed. Though storage pool is shared across all the KVM 
hosts.

This is the case I have raised for the same: 
https://github.com/apache/cloudstack/issues/8190

As I said I can do migration of either root/data disk separately even when VM 
is running, however if I select option "instance migration with storage" its 
giving error. Below are the steps I'm trying to achieve
        select instance: click on migrate instance to another host option,
        select target host and select migrate with storage option, choose 
storage and click okay.

EXPECTED RESULTS
instance should migrate to target host along with the volumes/disk migration as 
specified in the above steps.

Regards,
Punitha HS


Internal Use - Confidential
-----Original Message-----
From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Tuesday, November 7, 2023 8:05 PM
To: users@cloudstack.apache.org
Subject: Re: Need Assistance with CloudStack Instance


[EXTERNAL EMAIL]

Hi Punitha,

It can depend on case-by-case basis for managed storage. For Powerflex live VM 
migration with storage between two storage pools seems to be supported as per:

https://urldefense.com/v3/__https://github.com/apache/cloudstack/pull/7408__;!!LpKI!jAqmOTlAzvlR0avgaUyh-aMePM5QvJFShB7Xxhbb840HnXMXtx98V28RduSdwqI9_4M097CNTwS33GVLMgBr-Bs$
 [github[.]com] and 
https://urldefense.com/v3/__https://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/storage.html*migrating-a-instance-root-volume-to-a-new-storage-pool__;Iw!!LpKI!jAqmOTlAzvlR0avgaUyh-aMePM5QvJFShB7Xxhbb840HnXMXtx98V28RduSdwqI9_4M097CNTwS33GVLxSLjHRg$
 [docs[.]cloudstack[.]apache[.]org]

Quoting the docs: "In case of KVM and PowerFlex/ScaleIO storage, live migration 
of instance’s root disk is allowed from one PowerFlex/ScaleIO storage pool to 
another, without stopping the instance."

It could be that you've hit a limitation or even a bug. If your env matches the 
recommended and supported PowerFlex setup, then you could log an issue at 
Github.

Regards.


Internal Use - Confidential
________________________________
From: Hs, Punitha <punitha...@dell.com.INVALID>
Sent: Tuesday, November 7, 2023 16:56
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: RE: Need Assistance with CloudStack Instance

Hi,

I'm using PowerFlex storage.

Individually I'm able to migrate volumes from one storage pool to other pool. 
However when I select migrate storage during VM migration its giving error.

Failed to migrate VM [VM instance 
{"id":28,"instanceName":"i-2-28-VM","type":"User","uuid":"9babb438-0e57-4d1a-9551-09a17bcf8989"}]
 along with its volumes due to 
[com.cloud.utils.exception.CloudRuntimeException: Copy volume(s) to storage(s) 
[{volume: "45", from: "8", to:"7"},{volume: "44", from: "8", to:"7"}] and VM to 
host [{vm: "28", from: "9", to:"10"}] failed in 
StorageSystemDataMotionStrategy.copyAsync. Error message: [Migrating a volume 
online with KVM from managed storage is not currently supported.].].


Internal Use - Confidential



-----Original Message-----
From: Wei ZHOU <ustcweiz...@gmail.com>
Sent: Monday, November 6, 2023 10:21 PM
To: users@cloudstack.apache.org
Subject: Re: Need Assistance with CloudStack Instance


[EXTERNAL EMAIL]

Hi,

Do you use ceph ?

Can you file an issue on 
https://urldefense.com/v3/__https://github.com/apache/cloudstack/issues__;!!LpKI!jHngBIhIp1XmqveXl2VetKOyMjY5iCJ7cM9pFgj3Ec4FIfNPogBw9Sna5h7k_7fXPP2c8kQWKCQi_IenC-c$
 [github[.]com] ?

-Wei

On Mon, 6 Nov 2023 at 17:12, Hs, Punitha <punitha...@dell.com.invalid>
wrote:

> Hi,
>
> Thank you for the update.
>
> CloudStack version: 4.18.1.0
> Hypervisor : RHEL 8.6 with KVM
> Using shared block storage as primary storage.
>
> If I do storage migration between the storage pools when VM is running
> getting below error:
>
> Failed to migrate VM [VM instance
> {"id":16,"instanceName":"i-2-16-VM","type":"User","uuid":"3cd39dc2-1e7
> 0-4f36-8d42-4103fbe6bb34"}]
> along with its volumes due to
> [com.cloud.utils.exception.CloudRuntimeException: Copy volume(s) to
> storage(s) [{volume: "21", from: "4", to:"7"},{volume: "20", from:
> "4", to:"4"}] and VM to host [{vm: "16", from: "3", to:"9"}] failed in
> StorageSystemDataMotionStrategy.copyAsync. Error message: [Migrating a
> volume online with KVM from managed storage is not currently supported.].].
>
> Note: Both the storage pools are cluster wide and are shared
>
> Regards,
> Punitha HS
>
>
> Internal Use - Confidential
> -----Original Message-----
> From: Wei ZHOU <ustcweiz...@gmail.com>
> Sent: Monday, November 6, 2023 9:35 PM
> To: users@cloudstack.apache.org
> Subject: Re: Need Assistance with CloudStack Instance
>
>
> [EXTERNAL EMAIL]
>
> Hi,
>
> The credential of build-in CentOS 5.x template is root/password.
>
> Do you use local storage ? The live migration between hosts with local
> storage is supported in some recent releases.
> The live migration between shared storage is supported since the first
> releases.
> It would be good to share more information, for example cloudstack
> version, hypervisor type, OS distribution and version, local/shared storage.
>
> -Wei
>
>
> On Mon, 6 Nov 2023 at 15:08, Hs, Punitha <punitha...@dell.com.invalid>
> wrote:
>
> > Hi Team,
> >
> > I'm deploying CloudStack, with basic network configuration.
> > Appreciate if you could answer as soon as possible.
> >
> >
> > I have couple of doubts which I couldn't able to find answer in
> > document or I have missed it, so please guide me:
> >
> >
> >
> >   *   After deploying instance from existing CentOS or any other
> > registered ISO(eg: ubuntu), what will be the default credentials to
> > login to the instance.
> >   *   I tried doing live migration but its giving error to shut down the
> > instance and try it. Is b default Live migration is not possible? Or
> > planning for this in next version? Any dependency?
> >
> >
> >
> >
> >
> > Regards,
> >
> > Punitha HS
> >
> >
> >
> > Internal Use - Confidential
> >
>

Reply via email to