Bug #4344

t1.micro instances cannot be imported from EC2

Added by Daniel Molina over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:02/18/2016
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

100%

Category:Drivers - VM
Target version:Release 5.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

The memory of t1.micro instances is 0.613, to_i is called on this value, therefore the value is 0 and cannot be imported
https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/ec2/ec2_driver.rb#L463

$ onehost importvm 0 i-7241234
[VirtualMachineAllocate] MEMORY attribute must be a positive integer value.

Associated revisions

Revision 2fd18104
Added by Tino Vázquez over 4 years ago

Bug #4344: Fix CPU and MEMORY calculation for EC2 instance types

History

#1 Updated by Ruben S. Montero over 4 years ago

  • Assignee set to Tino Vázquez

#2 Updated by Tino Vázquez over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

CPU and MEMORY calculation fixed

Also available in: Atom PDF