[one-users] Delete image fail on the LVM type datastore

Jaime Melis jmelis at opennebula.org
Wed Oct 31 04:00:47 PDT 2012


Hi,

please send us the following information:

$ onedatastore show -x <lvm_datastore_id>
$ oneimage show -x <image_id> (after creating the image and before deleting
it)
$ cat /var/lib/one/remotes/datastore/lvm/lvm.conf

cheers,
Jaime


On Wed, Oct 31, 2012 at 9:06 AM, 邹欣哲 <zouxinzhe at gmail.com> wrote:

> Hi everyone,I have found several problems when I use LVM datastore on
> OpenNebula3.8.
> First,when I delete the image which is registed in the LVM datastore,
> OpenNebula doesn't remove the lv.
> Following is error record written in the oned.log:
> Mon Oct 29 00:30:57 2012 [ReM][D]: Req:3040 UID:0 ImageDelete result
> SUCCESS, 7
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 rm: Removing
> localhost:/dev/-/- from the image repository
> Mon Oct 29 00:30:57 2012 [ImM][I]: rm: Removing localhost:/dev/-/- from
> the image repository
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG E 7 rm: Command "
> sudo lvremove -f -/-" failed: lvremove: invalid option -- '/'
> Mon Oct 29 00:30:57 2012 [ImM][E]: rm: Command " sudo lvremove -f -/-"
> failed: lvremove: invalid option -- '/'
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 Error during
> parsing of command line.
> Mon Oct 29 00:30:57 2012 [ImM][I]: Error during parsing of command line.
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG E 7 Error
> removing localhost:/dev/-/-
> Mon Oct 29 00:30:57 2012 [ImM][E]: Error removing localhost:/dev/-/-
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: LOG I 7 ExitCode: 3
> Mon Oct 29 00:30:57 2012 [ImM][I]: ExitCode: 3
> Mon Oct 29 00:30:57 2012 [ImG][D]: Message received: RM FAILURE 7 Error
> removing localhost:/dev/-/-
> Mon Oct 29 00:30:57 2012 [ImM][E]: Error removing image from datastore.
> Manually remove image source - to completely delete the image: Error
> removing localhost:/dev/-/-
> *This problem has happened 3 times when I delete 6 images.*
>
> Oscar
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121031/b6e05eb9/attachment-0002.htm>


More information about the Users mailing list