You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Abishek <ab...@gmail.com> on 2021/09/06 04:29:39 UTC
Secondary storage missing in one host.
Hell All,
I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is working fine but I was unable to migrate systsem vm's to host 2. All is working fine on host 1. Error is as follows:
(s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for migration due to com.cloud.utils.exception.CloudRuntimeException: Could not fetch storage pool b3ecc007-5403-30c4-93f6-b6c382d70b5f from libvirt
When I looked into the issue the in host 2 the primary nfs storage was mounted but secondary storage was missing. Can anybody guide me to remount the secondary storage in the second host.
I will be very grateful for any help.
Thank You.
Re: Secondary storage missing in one host.
Posted by Abishek <ab...@gmail.com>.
Yes I was able to install the VM in the second host but was not able to migrate the system vm to second host. Also I was able to mount the secondary storage in the 2nd host. I was messing around with adding new secondary storage and migrating the content to new storage. I think the issue was caused by it.
On 2021/09/08 15:10:10, Daan Hoogland <da...@gmail.com> wrote:
> Abishek,
> can you install a VM directly on host 2?
> and can you mount the secondary storage by hand?
>
> On Wed, Sep 8, 2021 at 4:45 PM Abishek <ab...@gmail.com> wrote:
>
> > Hell All,
> >
> > I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is
> > working fine but I was unable to migrate systsem vm's to host 2. All is
> > working fine on host 1. Error is as follows:
> > (s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for
> > migration due to com.cloud.utils.exception.CloudRuntimeException: Could not
> > fetch storage pool b3ecc007-5403-30c4-93f6-b6c382d70b5f from libvirt
> >
> > When I looked into the issue the in host 2 the primary nfs storage was
> > mounted but secondary storage was missing. Can anybody guide me to remount
> > the secondary storage in the second host.
> > I will be very grateful for any help.
> >
> > Thank You.
> >
>
>
> --
> Daan
>
Re: Secondary storage missing in one host.
Posted by Daan Hoogland <da...@gmail.com>.
Abishek,
can you install a VM directly on host 2?
and can you mount the secondary storage by hand?
On Wed, Sep 8, 2021 at 4:45 PM Abishek <ab...@gmail.com> wrote:
> Hell All,
>
> I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is
> working fine but I was unable to migrate systsem vm's to host 2. All is
> working fine on host 1. Error is as follows:
> (s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for
> migration due to com.cloud.utils.exception.CloudRuntimeException: Could not
> fetch storage pool b3ecc007-5403-30c4-93f6-b6c382d70b5f from libvirt
>
> When I looked into the issue the in host 2 the primary nfs storage was
> mounted but secondary storage was missing. Can anybody guide me to remount
> the secondary storage in the second host.
> I will be very grateful for any help.
>
> Thank You.
>
--
Daan
Re: Secondary storage missing in one host.
Posted by Abishek <ab...@gmail.com>.
Hello Wei,
I was playing around with adding new secondary storage and migrating the secondary storage to new storage and then the issue arised. But I reverted the process and everything started working fine.
I am working on a test environment and I have deleted the host yesterday and I don't have agent logs of that host currently. I will try to recreate the issue again and will revert you back if it arises again.
Thank You.
On 2021/09/08 15:19:23, Wei ZHOU <us...@gmail.com> wrote:
> Hi Abishek,
>
> It is not needed to mount secondary storage on kvm hosts during vm
> migration.
> Can you post more lines in agent.log ?
>
> -Wei
>
> On Wed, 8 Sept 2021 at 16:45, Abishek <ab...@gmail.com> wrote:
>
> > Hell All,
> >
> > I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is
> > working fine but I was unable to migrate systsem vm's to host 2. All is
> > working fine on host 1. Error is as follows:
> > (s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for
> > migration due to com.cloud.utils.exception.CloudRuntimeException: Could not
> > fetch storage pool b3ecc007-5403-30c4-93f6-b6c382d70b5f from libvirt
> >
> > When I looked into the issue the in host 2 the primary nfs storage was
> > mounted but secondary storage was missing. Can anybody guide me to remount
> > the secondary storage in the second host.
> > I will be very grateful for any help.
> >
> > Thank You.
> >
>
Re: Secondary storage missing in one host.
Posted by Wei ZHOU <us...@gmail.com>.
Hi Abishek,
It is not needed to mount secondary storage on kvm hosts during vm
migration.
Can you post more lines in agent.log ?
-Wei
On Wed, 8 Sept 2021 at 16:45, Abishek <ab...@gmail.com> wrote:
> Hell All,
>
> I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is
> working fine but I was unable to migrate systsem vm's to host 2. All is
> working fine on host 1. Error is as follows:
> (s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for
> migration due to com.cloud.utils.exception.CloudRuntimeException: Could not
> fetch storage pool b3ecc007-5403-30c4-93f6-b6c382d70b5f from libvirt
>
> When I looked into the issue the in host 2 the primary nfs storage was
> mounted but secondary storage was missing. Can anybody guide me to remount
> the secondary storage in the second host.
> I will be very grateful for any help.
>
> Thank You.
>