[one-users] oneimage delete fails

Carlos Jiménez cjimenez at eneotecnologia.com
Wed Sep 19 03:09:47 PDT 2012


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 at 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 at 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 at frontend ~]$ oneimage delete 1
[oneadmin at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120919/4b33375f/attachment-0001.htm>


More information about the Users mailing list