Project

General

Profile

Actions

Bug #9410

closed

Finish script should try connect to hostname when IP address is empty

Added by Lukas Zapletal about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Low
Category:
Orchestration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In non-DHCP deployments finish script ssh connection only tries to connect to provisioning IP, but when empty, it could also try to connect to a hostname, if set for the provisioning interface.


Related issues 1 (0 open1 closed)

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

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2171 added
  • Pull request deleted ()
Actions #2

Updated by Marek Hulán about 9 years ago

What is the use case for this? If we don't know the IP before the host is provisioned and there's no DHCP, then the IP must be hardcoded in the image right? So we know the IP... If there's some valid use case to use DNS for obtaining the IP, then I think it should set the IP of host when the domain is selected (similar to what we do for subnet) rather than trying to auto-guess during connecting. That would be more safe, user could review what IP he or she is trying to run finish script on.

Actions #3

Updated by Lukas Zapletal about 9 years ago

  • Status changed from Ready For Testing to Rejected
  • Priority changed from Normal to Low

There was a request on the list for support of manually assigned DNS hostnames. The use case is IMHO incorrect configuration/deployment. I agree this is not clean. Closing.

Actions #4

Updated by Dominic Cleal about 7 years ago

  • Related to Feature #18765: Use hostname instead IP address for finish script added
Actions

Also available in: Atom PDF