<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello everybody,<br>
<br>
I have OpenNebula 3.6 installed on a machine with CentOS 6.3 and
several hosts with CentOS 6.3 too.<br>
I have two images created:<br>
<small>[oneadmin@frontend ~]$ oneimage list<br>
ID USER GROUP NAME DATASTORE SIZE TYPE
PER STAT RVMS<br>
1 oneadmin oneadmin disc1 default 2G OS
Yes rdy 0<br>
2 oneadmin oneadmin CentOS_CD default 330M
CD No rdy 0</small><br>
<br>
<br>
When I try to delete one of them, it fails because the image is not
erased:<small><br>
[oneadmin@frontend ~]$ oneimage list<br>
ID USER GROUP NAME DATASTORE SIZE TYPE
PER STAT RVMS<br>
1 oneadmin oneadmin disc1 default 2G OS
Yes rdy 0<br>
2 oneadmin oneadmin CentOS_CD default 330M
CD No rdy 0<br>
[oneadmin@frontend ~]$ oneimage delete 1<br>
[oneadmin@frontend ~]$ oneimage list<br>
ID USER GROUP NAME DATASTORE SIZE TYPE
PER STAT RVMS<br>
1 oneadmin oneadmin disc1 default 2G OS
Yes rdy 0<br>
2 oneadmin oneadmin CentOS_CD default 330M
CD No rdy 0</small><br>
<br>
<br>
The log doesn't output anything more than the call to the
ImageDelete method:<small><br>
Wed Sep 19 11:55:16 2012 [ReM][D]: UserPoolInfo method invoked<br>
<b>Wed Sep 19 11:55:20 2012 [ReM][D]: ImageDelete method invoked</b><br>
Wed Sep 19 11:55:22 2012 [ReM][D]: ImagePoolInfo method invoked<br>
Wed Sep 19 11:55:36 2012 [ReM][D]: HostPoolInfo method invoked<br>
Wed Sep 19 11:55:36 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Wed Sep 19 11:55:36 2012 [ReM][D]: AclInfo method invoked<br>
Wed Sep 19 11:55:38 2012 [ReM][D]: ClusterPoolInfo method invoked<br>
Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: LOG I 64
ExitCode: 0<br>
Wed Sep 19 11:55:38 2012 [AuM][I]: ExitCode: 0<br>
Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: AUTHENTICATE
SUCCESS 64 -<br>
Wed Sep 19 11:55:39 2012 [ReM][D]: HostPoolInfo method invoked<br>
Wed Sep 19 11:55:39 2012 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Wed Sep 19 11:55:39 2012 [ReM][D]: AclInfo method invoked</small><br>
<br>
It looks like OpenNebula calls to the delete method but there is no
error control, so the ExitCode is 0.<br>
I've read a similar post (created some months ago) but I've not
found the solution.<br>
<br>
Any idea would be very appreciated.<br>
<br>
<br>
Thanks in advance.<br>
<br>
Carlos.<br>
</body>
</html>