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

邹欣哲 zouxinzhe at gmail.com
Wed Oct 31 01:06:37 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121031/86b9c3dd/attachment.htm>


More information about the Users mailing list