[Bug 590929] Re: [SRU] eucalyptus create and delete volumes sometimes fail on lvm commands (POC + ENT configs)

Sylvain Pineau 590929 at bugs.launchpad.net
Wed Sep 15 09:41:11 UTC 2010


I've performed a full re-installation of the frontend as requested.
Before any tests or registration, I've updated all eucalyptus packages to 1.6.2-0ubuntu30.4.
I've also adjusted cluster1.storage.maxtotalvolumesizeingb in the web front end (set to 250).

I did 10 test loops (as usual creating 40 volumes).

 + No Internal Errors were reported.
 + Space available and # of volumes correctly reported in sc-stats.log
 + Deletion worked perfectly

But I found one (just one) failure reported by euca-describe-volumes, 10 seconds after the creation loop :
VOLUME  vol-526005D5     1              cluster1        failed  2010-09-15T17:00:32.7Z

A few seconds later, euca-describe-volumes didn't report anything about
this failure, weird. But I had only 39 volumes created.

This is what was reported in cloud-error.log:

12:00:34 [SystemUtil:pool-10-thread-4]  ERROR com.eucalyptus.util.ExecutionException: ///usr/lib/eucalyptus/euca_rootwrap vgcreate vg-lp4W3A.. /dev/loop18  error:   /var/lock/lvm/P_orphans: flock failed: Resource temporarily unavailable
  Can't get lock for orphan PVs

com.eucalyptus.util.ExecutionException: ///usr/lib/eucalyptus/euca_rootwrap vgcreate vg-lp4W3A.. /dev/loop18  error:   /var/lock/lvm/P_orphans: flock failed: Resource temporarily unavailable
  Can't get lock for orphan PVs

        at edu.ucsb.eucalyptus.util.SystemUtil.run(SystemUtil.java:91)
        at edu.ucsb.eucalyptus.storage.LVM2Manager.createVolumeGroup(LVM2Manager.java:170)
        at edu.ucsb.eucalyptus.storage.LVM2Manager.createLogicalVolume(LVM2Manager.java:430)
        at edu.ucsb.eucalyptus.storage.LVM2Manager.createVolume(LVM2Manager.java:476)
        at edu.ucsb.eucalyptus.cloud.ws.BlockStorage$VolumeCreator.run(BlockStorage.java:798)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
12:00:34 [BlockStorage:pool-10-thread-4]  ERROR com.eucalyptus.util.EucalyptusCloudException: Unable to create volume group vg-lp4W3A.. for /dev/loop18

-- 
[SRU] eucalyptus create and delete volumes sometimes fail on lvm commands (POC + ENT configs)
https://bugs.launchpad.net/bugs/590929
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Canonical OEM Projects.




More information about the kernel-bugs mailing list