You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ugo Vasi <ug...@procne.it> on 2016/09/15 10:09:22 UTC

Could not fetch storage pool error

Hi all,
manually migrating some VMs from one host to another in anticipation of 
a maintenance, we were stopped by an error that does not allow us to 
migrate any other VMs.
We moved two VMs without problems and, after migrating the Secondary 
Storage VM it's now no longer possible to migrate further VMs due to the 
following error:


2016-09-15 11:50:59,744 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0) 
Invocation exception, caused by: 
com.cloud.exception.AgentUnavailableException: Resource [Host:6] is 
unreachable: Host 6: Unable to prepare for migration due to 
com.cloud.utils.exception.CloudRuntimeException: Could not fetch storage 
pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
	at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
  (snipped)

2016-09-15 11:50:59,746 INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0) 
Rethrow exception com.cloud.exception.AgentUnavailableException: 
Resource [Host:6] is unreachable: Host 6: Unable to prepare for 
migration due to com.cloud.utils.exception.CloudRuntimeException: Could 
not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
	at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
  (snipped)

2016-09-15 11:50:59,746 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944) Done with run of 
VM work job: com.cloud.vm.VmWorkMigrate for VM 78, job origin: 1943


Our configuration is:
Cloudstack 4.5.2 on Ubuntu 14.04

Thanks in advance

[solved] Re: Could not fetch storage pool error

Posted by Ugo Vasi <ug...@procne.it>.
Solved:
there was a problem with the name resolution in some of the agents that 
did not allow them to mount one of the primary storage.



On 16/09/2016 10:52, Ugo Vasi wrote:
> From the UI the SSVM appeared to be running and status of all agents 
> was UP.
>
> I tried to restart the SSVM but at reboot it gets stuck. I destroyed 
> it and cloudstack automatically regenerated it without errors.
>
> The problem persists in migration:
>
> Resource [Host:6] is unreachable: Host 6: Unable to prepare for 
> migration due to com.cloud.utils.exception.CloudRuntimeException: 
> Could not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from 
> libvirt at....
>
>
>
> On 16/09/2016 05:22, Abhinandan Prateek wrote:
>>  From UI check if your SSVM is Running and Agent state is Connected.
>>
>>
>>
>>
>> On 15/09/16, 3:39 PM, "Ugo Vasi" <ug...@procne.it> wrote:
>>
>>> Hi all,
>>> manually migrating some VMs from one host to another in anticipation of
>>> a maintenance, we were stopped by an error that does not allow us to
>>> migrate any other VMs.
>>> We moved two VMs without problems and, after migrating the Secondary
>>> Storage VM it's now no longer possible to migrate further VMs due to 
>>> the
>>> following error:
>>>
>>>
>>> 2016-09-15 11:50:59,744 ERROR [c.c.v.VmWorkJobHandlerProxy]
>>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0)
>>> Invocation exception, caused by:
>>> com.cloud.exception.AgentUnavailableException: Resource [Host:6] is
>>> unreachable: Host 6: Unable to prepare for migration due to
>>> com.cloud.utils.exception.CloudRuntimeException: Could not fetch 
>>> storage
>>> pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
>>>     at
>>> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212) 
>>>
>>>   (snipped)
>>>
>>> 2016-09-15 11:50:59,746 INFO  [c.c.v.VmWorkJobHandlerProxy]
>>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0)
>>> Rethrow exception com.cloud.exception.AgentUnavailableException:
>>> Resource [Host:6] is unreachable: Host 6: Unable to prepare for
>>> migration due to com.cloud.utils.exception.CloudRuntimeException: Could
>>> not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from 
>>> libvirt
>>>     at
>>> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212) 
>>>
>>>   (snipped)
>>>
>>> 2016-09-15 11:50:59,746 DEBUG [c.c.v.VmWorkJobDispatcher]
>>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944) Done with run of
>>> VM work job: com.cloud.vm.VmWorkMigrate for VM 78, job origin: 1943
>>>
>>>
>>> Our configuration is:
>>> Cloudstack 4.5.2 on Ubuntu 14.04
>>>
>>> Thanks in advance
>> abhinandan.prateek@shapeblue.com
>> www.shapeblue.com
>> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>> @shapeblue
>>
>>
>>
>>
>
>


-- 

   U g o   V a s i    <ug...@procne.it>
   P r o c n e  s.r.l    >)
   via Cotonificio 45  33010 Tavagnacco IT
   phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed � vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio �
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare support@procne.it .
Rif. D.L. 196/2003


Re: Could not fetch storage pool error

Posted by Ugo Vasi <ug...@procne.it>.
 From the UI the SSVM appeared to be running and status of all agents 
was UP.

I tried to restart the SSVM but at reboot it gets stuck. I destroyed it 
and cloudstack automatically regenerated it without errors.

The problem persists in migration:

Resource [Host:6] is unreachable: Host 6: Unable to prepare for 
migration due to com.cloud.utils.exception.CloudRuntimeException: Could 
not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt 
at....



On 16/09/2016 05:22, Abhinandan Prateek wrote:
>  From UI check if your SSVM is Running and Agent state is Connected.
>
>
>
>
> On 15/09/16, 3:39 PM, "Ugo Vasi" <ug...@procne.it> wrote:
>
>> Hi all,
>> manually migrating some VMs from one host to another in anticipation of
>> a maintenance, we were stopped by an error that does not allow us to
>> migrate any other VMs.
>> We moved two VMs without problems and, after migrating the Secondary
>> Storage VM it's now no longer possible to migrate further VMs due to the
>> following error:
>>
>>
>> 2016-09-15 11:50:59,744 ERROR [c.c.v.VmWorkJobHandlerProxy]
>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0)
>> Invocation exception, caused by:
>> com.cloud.exception.AgentUnavailableException: Resource [Host:6] is
>> unreachable: Host 6: Unable to prepare for migration due to
>> com.cloud.utils.exception.CloudRuntimeException: Could not fetch storage
>> pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
>> 	at
>> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
>>   (snipped)
>>
>> 2016-09-15 11:50:59,746 INFO  [c.c.v.VmWorkJobHandlerProxy]
>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0)
>> Rethrow exception com.cloud.exception.AgentUnavailableException:
>> Resource [Host:6] is unreachable: Host 6: Unable to prepare for
>> migration due to com.cloud.utils.exception.CloudRuntimeException: Could
>> not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
>> 	at
>> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
>>   (snipped)
>>
>> 2016-09-15 11:50:59,746 DEBUG [c.c.v.VmWorkJobDispatcher]
>> (Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944) Done with run of
>> VM work job: com.cloud.vm.VmWorkMigrate for VM 78, job origin: 1943
>>
>>
>> Our configuration is:
>> Cloudstack 4.5.2 on Ubuntu 14.04
>>
>> Thanks in advance
> abhinandan.prateek@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>    
>   
>
>
>
>


-- 

   U g o   V a s i    <ug...@procne.it>
   P r o c n e  s.r.l    >)
   via Cotonificio 45  33010 Tavagnacco IT
   phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed � vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio �
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare support@procne.it .
Rif. D.L. 196/2003


Re: Could not fetch storage pool error

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
From UI check if your SSVM is Running and Agent state is Connected.




On 15/09/16, 3:39 PM, "Ugo Vasi" <ug...@procne.it> wrote:

>Hi all,
>manually migrating some VMs from one host to another in anticipation of 
>a maintenance, we were stopped by an error that does not allow us to 
>migrate any other VMs.
>We moved two VMs without problems and, after migrating the Secondary 
>Storage VM it's now no longer possible to migrate further VMs due to the 
>following error:
>
>
>2016-09-15 11:50:59,744 ERROR [c.c.v.VmWorkJobHandlerProxy] 
>(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0) 
>Invocation exception, caused by: 
>com.cloud.exception.AgentUnavailableException: Resource [Host:6] is 
>unreachable: Host 6: Unable to prepare for migration due to 
>com.cloud.utils.exception.CloudRuntimeException: Could not fetch storage 
>pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
>	at 
>com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
>  (snipped)
>
>2016-09-15 11:50:59,746 INFO  [c.c.v.VmWorkJobHandlerProxy] 
>(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944 ctx-fb8615d0) 
>Rethrow exception com.cloud.exception.AgentUnavailableException: 
>Resource [Host:6] is unreachable: Host 6: Unable to prepare for 
>migration due to com.cloud.utils.exception.CloudRuntimeException: Could 
>not fetch storage pool 35620029-6800-38f4-8e7b-5ab68cc194ee from libvirt
>	at 
>com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:212)
>  (snipped)
>
>2016-09-15 11:50:59,746 DEBUG [c.c.v.VmWorkJobDispatcher] 
>(Work-Job-Executor-154:ctx-b85c4d66 job-1943/job-1944) Done with run of 
>VM work job: com.cloud.vm.VmWorkMigrate for VM 78, job origin: 1943
>
>
>Our configuration is:
>Cloudstack 4.5.2 on Ubuntu 14.04
>
>Thanks in advance

abhinandan.prateek@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue