[one-users] EC2 delete not working

Olivier Sallou olivier.sallou at irisa.fr
Tue May 7 05:18:01 PDT 2013


Hi,
I wonder how to debug a delete issue.
I have a ruby script that sends delete operations on an instance using
Ruby gems AWS:

  ec2 = AWS::EC2::Base.new(:access_key_id => ec2_access_key,
:secret_access_key => ec2_secret_key,
 :server => 'my econe server ip', :port => 4567, :use_ssl => false)



  begin
    response = ec2.terminate_instances(
              :instance_id => [ vmid ]
              )
  rescue Exception => e
     puts e.message
  end

but answer is only:

{"xmlns"=>"http://ec2.amazonaws.com/doc/2010-08-31/",
"requestId"=>"6d9ac132-a433-4b2c-b0e3-7f39ff494288", "instancesSet"=>nil}

The same script works fine to create EC2 instances.

the delete command used to work some time ago.

Looking at open nebula logs I see:

econe-server.log:
Tue May 07 14:09:54 2013 [E]: TerminateInstances
Tue May 07 14:09:54 2013 [I]: 192.168.2.30 - - [07/May/2013 14:09:54]
"POST / HTTP/1.1" 200 194 0.0013

I have indeed received a TerminateInstances command.

But I see nothing in oned.log:

oned.log
Tue May  7 14:09:52 2013 [ReM][D]: Req:5600 UID:0 VirtualNetworkPoolInfo
invoked, -2, -1, -1
Tue May  7 14:09:52 2013 [ReM][D]: Req:5600 UID:0 VirtualNetworkPoolInfo
result SUCCESS, "<VNET_POOL><VNET><ID..."
Tue May  7 14:09:55 2013 [ReM][D]: Req:1856 UID:0 HostPoolInfo invoked
Tue May  7 14:09:55 2013 [ReM][D]: Req:1856 UID:0 HostPoolInfo result
SUCCESS, "<HOST_POOL><HOST><ID..."

only monitoring info.

I have debug level set to 3 both for econe and oned.

So I do not see how to debug this.

Thanks

Olivier




-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



More information about the Users mailing list