Project

General

Profile

Actions

Feature #18766

open

Acquire IP address from virtualization environments when possible

Added by Lukas Zapletal over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently only several Compute Resources read IP addres from newly created VMs, these include GCE, EC2, Rackspace and OpenStack. All virtualization resources only provide MAC address, this is likely limitation of the API and hypervisor being unable to find the IP address. Some virtualization APIs might provide those information, purpose of this feature request is to investigate APIs for libvirt, oVirt/RHEV and VMWare and read the IP address when possible.

This will enable running finish script against, currently when a VM is started from Foreman, orchestration waits until IP is ready which timeouts and provisioning is rolled backed. This is because IP address will never come back from the API and this is required to run finish script via SSH.

The only workaround is to use STATIC IPAM and enter correct IP address in advance when provisioning the host, then orchestration will not wait for IP address and starts attempting to ssh into the host immediately.

Other workaround is to implement this RFE: #18765


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #18765: Use hostname instead IP address for finish scriptClosedLukas Zapletal03/02/2017Actions
Actions

Also available in: Atom PDF