Project

General

Profile

Actions

Bug #4529

closed

Discovery not working well with foreman.server=https://abc

Added by Lukas Zapletal about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

17:07      gwmngilfen | lzap: ah hang on
17:07      gwmngilfen | discover_by_dns looks wrong
17:08      gwmngilfen | it's figuring out server_name from foreman.server=.... but then it does a direct DNS lookup on that name without stripping https://
17:08      gwmngilfen | line 42
17:09      gwmngilfen | you probably want to do TCPSocket.gethostbyname(server_name.gsub('https://',''))
17:09            lzap | oh ok so I found a bug, will fix
17:09      gwmngilfen | or do it properly with URI.parse and then you the host part

Actions #1

Updated by Lukas Zapletal about 10 years ago

  • Target version set to 1.9.0
  • Difficulty set to easy
  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
Actions #2

Updated by Anonymous about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF