Hello, I closed the ticket, because everything works for me as expected. I reckon that there must be a configuration issue somewhere. Are you still experiencing this?
cheers, Jaime On Fri, Nov 2, 2012 at 5:48 AM, Jaime Melis <[email protected]> wrote: > Hi, > > everthing seems correct. I've opened a bug report in order to review it: > http://dev.opennebula.org/issues/1632 > > cheers, > Jaime > > > On Fri, Nov 2, 2012 at 2:43 AM, zouxinzhe <[email protected]> wrote: > >> ** >> Hi, >> here is the information you want >> ##################################### >> $ onedatastore show 100 >> >> DATASTORE 100 INFORMATION >> ID : 100 >> NAME : lvm_datastore >> USER : oneadmin >> GROUP : oneadmin >> CLUSTER : - >> DS_MAD : lvm >> TM_MAD : lvm >> BASE PATH : /opt/nebula/ONE/var/datastores/100 >> >> >> PERMISSIONS >> OWNER : um- >> GROUP : u-- >> OTHER : --- >> >> >> DATASTORE TEMPLATE >> DISK_TYPE="block" >> DS_MAD="lvm" >> TM_MAD="lvm" >> VG_NAME="vg_node176" >> >> IMAGES >> 21 >> ##################################### >> I canot show images that have been deleted from the OpenNebula.Follow is >> the image create by the same config file >> $ oneimage show 21 >> >> IMAGE 21 INFORMATION >> ID : 21 >> NAME : RedHat3 >> USER : oneadmin >> GROUP : oneadmin >> DATASTORE : lvm_datastore >> TYPE : OS >> REGISTER TIME : 11/01 17:41:44 >> PERSISTENT : No >> SOURCE : localhost:vg_node176.lv-one-21 >> PATH : /opt/nebula/images/rhel.5.5.x86_64.raw.small >> SIZE : 2.5G >> STATE : rdy >> RUNNING_VMS : 0 >> >> >> PERMISSIONS >> OWNER : um- >> GROUP : --- >> OTHER : --- >> >> >> IMAGE TEMPLATE >> DEV_PREFIX="hd" >> ##################################### >> $cat /opt/nebula/ONE/var/remotes/datastore/lvm/lvm.conf >> # Default volume group >> VG_NAME=vg-one >> >> # Default LVM server host >> HOST=localhost >> >> # Default LV snapshot SIZE >> DEFAULT_SIZE=512 >> ##################################### >> ------------------------------ >> zouxinzhe >> >> *From:* Jaime Melis <[email protected]> >> *Date:* 2012-10-31 19:00 >> *To:* 邹欣哲 <[email protected]> >> *CC:* Users OpenNebula <[email protected]> >> *Subject:* Re: [one-users] Delete image fail on the LVM type datastore >> 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, 邹欣哲 <[email protected]> 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 >>> [email protected] >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >> >> >> -- >> Jaime Melis >> Project Engineer >> OpenNebula - The Open Source Toolkit for Cloud Computing >> www.OpenNebula.org | [email protected] >> > > > > -- > Jaime Melis > Project Engineer > OpenNebula - The Open Source Toolkit for Cloud Computing > www.OpenNebula.org | [email protected] > -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | [email protected]
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
