Bug #5114

vms from ec2 host fails in stopping (aw2) state

Added by Sergio Semedi about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:04/18/2017
Priority:NormalDue date:
Assignee:Sergio Semedi% Done:

100%

Category:Drivers - VM
Target version:-
Resolution: Pull request:
Affected Versions:Development

Description

To reproduce this problem you need to have any ec2 vm (running) active, when you stop the machine and then u try to resume:

Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/ec2/restore '/var/lib/one//datastores/-1/33/checkpoint' 'ec2' 'i-06a536ec4d2bb279f' 33 ec2
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: Restore of VM i-06a536ec4d2bb279f on host ec2 due to "The instance 'i-06a536ec4d2bb279f' is not in a state from which it can be started."
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: *** STACK TRACE **
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/aws-sdk-core/plugins/jsonvalue_converter.rb:20:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/aws-sdk-core/plugins/idempotency_token.rb:18:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/aws-sdk-core/plugins/param_converter.rb:20:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/seahorse/client/plugins/response_target.rb:21:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/seahorse/client/request.rb:70:in `send_request'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-core-2.9.6/lib/seahorse/client/base.rb:207:in `block (2 levels) in define_operation_methods'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-resources-2.9.6/lib/aws-sdk-resources/request.rb:24:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-resources-2.9.6/lib/aws-sdk-resources/operations.rb:41:in `call'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/gems/2.3.0/gems/aws-sdk-resources-2.9.6/lib/aws-sdk-resources/operation_methods.rb:19:in `block in add_operation'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /usr/lib/one/ruby/ec2_driver.rb:611:in `ec2_action'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /usr/lib/one/ruby/ec2_driver.rb:385:in `restore'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: /var/lib/one/remotes/vmm/ec2/restore:39:in `<main>'
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: *
***********************
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: ExitCode: 255
Tue Apr 18 18:55:07 2017 [Z0][VMM][I]: Failed to execute virtualization driver operation: restore.
Tue Apr 18 18:55:07 2017 [Z0][VMM][E]: Error restoring VM

Associated revisions

Revision f43309ac
Added by Sergio Semedi about 4 years ago

Bug #4971 #5114 ec2 states sync (#274)

  • Bug #5114 Fixed, added wait_state to synchronize one <-> ec2 states
  • Bug #4971 ec2 driver now waits 4 VM creation

History

#1 Updated by Sergio Semedi about 4 years ago

  • Category changed from 20 to Drivers - VM

#2 Updated by Sergio Semedi about 4 years ago

  • Subject changed from vms from ec2 host fails after stopped state to vms from ec2 host fails in stopping (aw2) state

#3 Updated by Sergio Semedi about 4 years ago

  • Status changed from Pending to Assigned

#4 Updated by Sergio Semedi about 4 years ago

  • % Done changed from 0 to 100

#5 Updated by Sergio Semedi almost 4 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF