Hi, The log messages do not show any error because the operation "ImageDelete method invoked" is successful: the image is ready, not used by any VM, and the _request_ to delete it is granted.
After the 'oneimage delete' request is returned, the core starts a Datastore RM operation. This operation's result should appear in oned.log (either success or failure). Because you don't get any other message, I guess the operation gets stuck somehow. Looking at /var/lib/one/remotes/datastore/fs/rm, the operation ends with a 'rm -f' command. If you even encounter this problem again, you could try to manually do a 'rm -r' and see if you get any error message or interactive prompt. Best regards, and thank you for your feedback! -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org> On Wed, Sep 19, 2012 at 4:28 PM, Carlos Jiménez <cjime...@eneotecnologia.com > wrote: > Hello everybody, > > I tried restarting sunstone-server and one but the problem persisted, so I > rebooted the computer and the problem was solved. > I've realized that (as stated in one's documentation) it is not possible > to upload (via sunstone) disk images greater than 2 GB using Firefox (at > least using version 15). Then, I tried the same operation (uploading a 5GB > disk image) using Google Chromium and it was successful. Probably, the > initial problem was due to this limitation. > > As I previously mentioned, after trying to upload a 5GB disk image with > Firefox, it failed and all the images related area of one and sunstone were > affected and it was impossible to use them, so the only one way was to > reboot the system. In fact, it was possible to execute "oneimage delete id" > and the image was not deleted but no error/warning message was logged. > In other cases, it failed to upload the image, but it was possible to > delete that failed image and the system was not affected. > > Just as an idea, I think it would be great to get more information (i. e. > in log files) in case of failures such as this. > > > Kind Regards, > > Carlos. > > > > > > On 09/19/2012 12:09 PM, Carlos Jiménez wrote: > > Hello everybody, > > I have OpenNebula 3.6 installed on a machine with CentOS 6.3 and several > hosts with CentOS 6.3 too. > I have two images created: > [oneadmin@frontend ~]$ oneimage list > ID USER GROUP NAME DATASTORE SIZE TYPE PER > STAT RVMS > 1 oneadmin oneadmin disc1 default 2G OS Yes > rdy 0 > 2 oneadmin oneadmin CentOS_CD default 330M CD No > rdy 0 > > > When I try to delete one of them, it fails because the image is not erased: > [oneadmin@frontend ~]$ oneimage list > ID USER GROUP NAME DATASTORE SIZE TYPE PER > STAT RVMS > 1 oneadmin oneadmin disc1 default 2G OS Yes > rdy 0 > 2 oneadmin oneadmin CentOS_CD default 330M CD No > rdy 0 > [oneadmin@frontend ~]$ oneimage delete 1 > [oneadmin@frontend ~]$ oneimage list > ID USER GROUP NAME DATASTORE SIZE TYPE PER > STAT RVMS > 1 oneadmin oneadmin disc1 default 2G OS Yes > rdy 0 > 2 oneadmin oneadmin CentOS_CD default 330M CD No > rdy 0 > > > The log doesn't output anything more than the call to the ImageDelete > method: > Wed Sep 19 11:55:16 2012 [ReM][D]: UserPoolInfo method invoked > *Wed Sep 19 11:55:20 2012 [ReM][D]: ImageDelete method invoked* > Wed Sep 19 11:55:22 2012 [ReM][D]: ImagePoolInfo method invoked > Wed Sep 19 11:55:36 2012 [ReM][D]: HostPoolInfo method invoked > Wed Sep 19 11:55:36 2012 [ReM][D]: VirtualMachinePoolInfo method invoked > Wed Sep 19 11:55:36 2012 [ReM][D]: AclInfo method invoked > Wed Sep 19 11:55:38 2012 [ReM][D]: ClusterPoolInfo method invoked > Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: LOG I 64 ExitCode: 0 > Wed Sep 19 11:55:38 2012 [AuM][I]: ExitCode: 0 > Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS > 64 - > Wed Sep 19 11:55:39 2012 [ReM][D]: HostPoolInfo method invoked > Wed Sep 19 11:55:39 2012 [ReM][D]: VirtualMachinePoolInfo method invoked > Wed Sep 19 11:55:39 2012 [ReM][D]: AclInfo method invoked > > It looks like OpenNebula calls to the delete method but there is no error > control, so the ExitCode is 0. > I've read a similar post (created some months ago) but I've not found the > solution. > > Any idea would be very appreciated. > > > Thanks in advance. > > Carlos. > > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org