Feature #2435

Add more information to Hybrid VMs (EC2)

Added by Ruben S. Montero over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:11/07/2013
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

100%

Category:Drivers - VM
Target version:Release 4.4
Resolution:fixed Pull request:

Description

More information can be extracted from AWS when a VM is deployed in a hybrid setting. In particular we have selected the following attributes, that will be incorporated to the user template and defined:

EC2DRIVER_MONITOR=[
  DNSNAME,
  PRIVATEDNSNAME,
  KEYNAME,
  AVAILABILITYZONE,
  PLATFORM,
  VPCID,
  PRIVATEIPADDRESS,
  IPADDRESS,
  SUBNETID,
]

EC2DRIVER_TAGS=[
KEY_NAME = KEY_VALUE,
...
]

Every attribute is obtained from the corresponding XML element returned from the API, i.e. DNSNAME from <dnsName/>, KEYNAME from <keyName/>, PRIVATEIPADDRESS from <privateIpAddress/>...

Tags are extracted from the AWS tags:

  <item>
    <key>Description</key>
    <value>Windows Instance</value>
  </item>

in this example we will generate:

EC2DRIVER_TAGS=[
DESCRIPTION = "Windows Instance" 
]


Related issues

Duplicates Feature #2142: EC2 VMs to be monitored correctly when within a VPC Closed 06/26/2013

Associated revisions

Revision 51f5fdb8
Added by Daniel Molina over 5 years ago

feature #2435: TOTALMEMORY should be an integer instead of a float

Revision b32af2dc
Added by Daniel Molina over 5 years ago

feature #2435: Change poll hostname argument

Revision 8f4a2ee2
Added by Daniel Molina over 5 years ago

feature #2435: Add extra monitoring information for EC2 VMs
New tags:
AWS_DNS_NAME
AWS_PRIVATE_DNS_NAME
AWS_KEY_NAME
AWS_AVAILABILITY_ZONE
AWS_PLATFORM
AWS_VPC_ID
AWS_PRIVATE_IP_ADDRESS
AWS_IP_ADDRESS
AWS_SUBNET_ID
AWS_SECURITY_GROUPS
AWS_INSTANCE_TYPE

Revision e0ad8934
Added by Daniel Molina over 5 years ago

feature #2435: Add BLOCKDEVICEMAPPING support

Revision 637f1dbb
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: New generic HYBRID section in VMs, better automatic_requirements

Revision 558ae42f
Added by Carlos Martín over 5 years ago

feature #2435 #2092: Bug in VirtualMachine::get_hybrid_hypervisors

Revision 9a640258
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Skip storage scheduling for hybrid hosts

Revision e3ff1ac2
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Add HYBRID=YES to ec2 probes

Revision 70444b21
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Code cleanup.

Hybrid hosts are not detected with the generic HYBRID=YES

Revision 4a71896e
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Allow deployment to hybrid hosts using system DS -1

Revision b2cb9c10
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Rename HYBRID to PUBLIC_CLOUD

Revision f1b88a74
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: New host and ds sched policy: fixed

This new policy simply uses the PRIORITY template attribute
that the admin can set manually.

Revision 0924ec23
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Log when the sched discards the current Host for resched VMs

Revision 9c9a0306
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Do not allow migrations to/from a public cloud host

Revision 9e9d3011
Added by Daniel Molina over 5 years ago

feature #2435: TOTALMEMORY should be an integer instead of a float

Revision 7737c4a8
Added by Daniel Molina over 5 years ago

feature #2435: Change poll hostname argument

Revision 1a53e0aa
Added by Daniel Molina over 5 years ago

feature #2435: Add extra monitoring information for EC2 VMs
New tags:
AWS_DNS_NAME
AWS_PRIVATE_DNS_NAME
AWS_KEY_NAME
AWS_AVAILABILITY_ZONE
AWS_PLATFORM
AWS_VPC_ID
AWS_PRIVATE_IP_ADDRESS
AWS_IP_ADDRESS
AWS_SUBNET_ID
AWS_SECURITY_GROUPS
AWS_INSTANCE_TYPE

Revision c2d3dcd1
Added by Daniel Molina over 5 years ago

feature #2435: Add BLOCKDEVICEMAPPING support

Revision 472a1e3f
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: New generic HYBRID section in VMs, better automatic_requirements

Revision a30dfdfa
Added by Carlos Martín over 5 years ago

feature #2435 #2092: Bug in VirtualMachine::get_hybrid_hypervisors

Revision cc02002f
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Skip storage scheduling for hybrid hosts

Revision 539cadf0
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Add HYBRID=YES to ec2 probes

Revision 35fecb6d
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Code cleanup.

Hybrid hosts are not detected with the generic HYBRID=YES

Revision 06b65853
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Allow deployment to hybrid hosts using system DS -1

Revision 074657b8
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Rename HYBRID to PUBLIC_CLOUD

Revision ebc83100
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: New host and ds sched policy: fixed

This new policy simply uses the PRIORITY template attribute
that the admin can set manually.

Revision c9a723f4
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Log when the sched discards the current Host for resched VMs

Revision 2aca630b
Added by Carlos Martín over 5 years ago

Feature #2435 #2092: Do not allow migrations to/from a public cloud host

Revision eb56f526
Added by Ruben S. Montero over 5 years ago

feature #2435: Remove unused function. Minor optimizations

Revision a385eb77
Added by Ruben S. Montero over 5 years ago

feature #2435: PUBLIC_CLOUD is not case sensitive

Revision 9b7baa63
Added by Ruben S. Montero over 5 years ago

feature #2435: Remove unused function. Minor optimizations

(cherry picked from commit eb56f526a69a675730f265ee2488617dfa05b171)

Revision 4d425c62
Added by Ruben S. Montero over 5 years ago

feature #2435: PUBLIC_CLOUD is not case sensitive

(cherry picked from commit a385eb773c80701ea84745545e67e14c8df150c3)

History

#1 Updated by Tino Vázquez over 5 years ago

  • Description updated (diff)

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

  • Status changed from Pending to Closed

#3 Updated by Tino Vázquez over 5 years ago

  • Status changed from Closed to New

#4 Updated by Daniel Molina over 5 years ago

  • Assignee set to Daniel Molina
  • Target version changed from Release 4.6 to Release 4.4

#5 Updated by OpenNebula Systems Support Team over 5 years ago

Add the following as well

+SECURITYGROUP,
+INSTANCETYPE,

#6 Updated by Daniel Molina over 5 years ago

New tags included in the TEMPLATE section of the VM:

AWS_DNS_NAME
AWS_PRIVATE_DNS_NAME
AWS_KEY_NAME
AWS_AVAILABILITY_ZONE
AWS_PLATFORM
AWS_VPC_ID
AWS_PRIVATE_IP_ADDRESS
AWS_IP_ADDRESS
AWS_SUBNET_ID
AWS_SECURITY_GROUPS
AWS_INSTANCE_TYPE

IPADDRESS has been renamed to AWS_IP_ADDRESS

#7 Updated by Ruben S. Montero over 5 years ago

  • Assignee changed from Daniel Molina to Tino Vázquez

#8 Updated by Tino Vázquez over 5 years ago

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

Also available in: Atom PDF