Project

General

Profile

Actions

Refactor #16767

open

Domain appended to hostname twice, causing PTR record conflicts

Added by Jon Skarpeteig about 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After upgrading to 1.12 series, I get stuck in endless install loop for deploying new servers.

I can do host -> new just fine as before, and everything seems normal until reboot. At reboot it does PXE boot again, as it hasn't been cleaned up properly.

I found this in logs:

2016-10-03T10:33:41 [app] [I] Started POST "/api/reports" for 127.0.0.1 at 2016-10-03 10:33:41 +0200
2016-10-03T10:33:41 [app] [I] Processing by Api::V2::ReportsController#create as JSON
2016-10-03T10:33:41 [app] [I]   Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"}
2016-10-03T10:33:41 [app] [I] processing report for fqdn.domain.com
2016-10-03T10:33:44 [app] [I] Imported report for fqdn.domain.com in 3.18 seconds
2016-10-03T10:33:46 [app] [I]   Rendered api/v2/reports/create.json.rabl (1298.7ms)
2016-10-03T10:33:46 [app] [I] Completed 201 Created in 4528ms (Views: 1115.8ms | ActiveRecord: 1465.5ms)
2016-10-03T10:33:46 [app] [I] Started GET "/unattended/built?token=6a578cf0-b2a6-45c3-8220-39ce8940ea1c" for 10.0.0.36 at 2016-10-03 10:33:46 +0200
2016-10-03T10:33:46 [app] [I] Processing by UnattendedController#built as TEXT
2016-10-03T10:33:46 [app] [I]   Parameters: {"token"=>"6a578cf0-b2a6-45c3-8220-39ce8940ea1c"}
2016-10-03T10:33:46 [app] [I] unattended: fqdn.domain.com is Built!
2016-10-03T10:34:06 [app] [I] Completed 409 Conflict in 19459ms (ActiveRecord: 20.3ms)

There's no additional information about what this "Conflict" might be. But I've consistently reproduced this issue on the creation of 8 different hosts

I believe this might be related to: Bug #16701

Actions

Also available in: Atom PDF