cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2780) primary storage is already mounted but not found in pool-list
Date Fri, 07 Jun 2013 07:50:21 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677884#comment-13677884
] 

Wei Zhou commented on CLOUDSTACK-2780:
--------------------------------------

I will apply and test the patches on the following page.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=history;f=plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java;h=06ffebd690ecd7d41eb1ee95458c721fa9fd1702;hb=3541aa86e34605e5ac4a99df84c47e6f6e7c71ee

-Wei
                
> primary storage is already mounted but not found in pool-list
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2780
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2780
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.0.1
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>            Priority: Critical
>
> This issue appeared on our testing enviroment with cloudstack 4.0.1 (Ubuntu 12.04) ,
and product platform as well.
> (only on few hosts, most of hosts work well)
> We got the message "Unable to create volume" when deploy a VM.
> (1) In management-server.log
> 2013-05-30 14:36:20,090 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null)
Seq 3-2021457981: Processing:  { Ans: , MgmtId: 345051509349, via: 3, Ver: v1, Flags: 110,
[{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception:
com.cloud.utils.exception.CloudRuntimeException\nMessage: org.libvirt.LibvirtException: Storage
pool not found: no pool with matching uuid\nStack: com.cloud.utils.exception.CloudRuntimeException:
org.libvirt.LibvirtException: Storage pool not found: no pool with matching uuid\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:394)\n\tat
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:48)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:1212)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1031)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:518)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\n\tat
com.cloud.utils.nio.Task.run(Task.java:83)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:679)\n","wait":0}}]
}
> 2013-05-30 14:36:20,090 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-11:null)
Seq 3-2021457981: No more commands found
> 2013-05-30 14:36:20,090 DEBUG [agent.transport.Request] (Job-Executor-5:job-2563) Seq
3-2021457981: Received:  { Ans: , MgmtId: 345051509349, via: 3, Ver: v1, Flags: 110, { CreateAnswer
} }
> 2013-05-30 14:36:20,090 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-5:job-2563)
Unable to create volume Vol[750|vm=550|ROOT]
> 2013-05-30 14:36:20,095 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-5:job-2563)
Unable to contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable:
Unable to create Vol[750|vm=550|ROOT]
> (2) In the host Primary storage is already mounted  (just an example):
> [root@cs-kvm015 /]# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/vg0-root 461410320   2592404 435379580   1% /
> tmpfs                  8160712         0   8160712   0% /dev/shm
> /dev/sda1               198337     52765    135332  29% /boot
> /dev/mapper/vg0-tmp    2064208     68648   1890704   4% /tmp
> 192.168.103.1:/storage/cs4x-primary
>                      7811748864 466487296 7345261568   6% /mnt/7b88eced-fc54-3c9f-808a-a697d6be667c
> But not in libvirt pool list
> [root@cs-kvm015 ~]# virsh pool-list
> Name                 State      Autostart
> -----------------------------------------
> 513ae20a-61f9-4f7a-b485-23ddb29e59ae active     no
> 7b88eced-fc54-3c9f-808a-a697d6be667c active     no                         (should have
this line, but have not)
> (3) Workaround:
> Enable Maintenance Mode
> umount /mnt/7b88eced-fc54-3c9f-808a-a697d6be667c
> service cloud-agent restart

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message