Feature #3843

"wrong" ip address shown for vms running in an EC2 host (hybrid cloud)

Added by Tom Sanders about 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:06/19/2015
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

100%

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

Description

Hello,

I manage an Opennebula Cluster using the hybrid cloud model with Amazon EC2 as public cloud backend. If I create a new vm on an "Amazon" host, then the vm gets an ip address assigned from the local virtual network. This ip address is shown in the Sunstone overview as main ip address too. Unfortunately this is not the ip address the vm is really using. The vm is using the ip address assigned from Amazon. I mean the ip address in the VPC in which the vm was started.
You can only see the real IP address from the attribute AWS_PRIVATE_IP_ADDRESS.

So I suggest two changes:
- use the IP address in the attribute AWS_PRIVATE_IP_ADDRESS as main address for the vm if this vm is running on an Amazon host
- don't assign a local ip address to this vm -> this IP address is just blocked and can't be used from other vm's

Opennebula Version: 4.12.1

Best Tom

Associated revisions

Revision 64bf5bc8
Added by Tino Vázquez almost 6 years ago

Feature #3843: Do not show local network details when VM is running on hybrid host

History

#1 Updated by Ruben S. Montero almost 6 years ago

  • Assignee set to Tino Vázquez

#2 Updated by Tino Vázquez almost 6 years ago

  • Category changed from 20 to Drivers - VM

#3 Updated by Tino Vázquez almost 6 years ago

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

Not showing local network details in both Sunstone and CLI

#4 Updated by Carlos Martín almost 6 years ago

  • Status changed from Closed to Assigned
  • Resolution deleted (fixed)

Reopening because of a possible bug.

The IPs column in sunstone shows '--' for a local VM with 1 NIC. This IP is shown correctly in the VM Network tab, and the CLI.

NIC=[
  AR_ID="0",
  BRIDGE="virbr0",
  IP="192.168.122.2",
  MAC="02:00:c0:a8:7a:02",
  MODEL="virtio",
  NETWORK="private-net",
  NETWORK_ID="0",
  NETWORK_UNAME="oneadmin",
  NIC_ID="0",
  SECURITY_GROUPS="0",
  VLAN="NO" ]
NIC_DEFAULT=[
  MODEL="virtio" ]

#5 Updated by Tino Vázquez almost 6 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF