Actions
Bug #708
closedDomain checking code doubling up domain in hostnames
Description
In 0.1-6, foreman began checking to ensure that hostnames which have the domain column set to a non-null value end in the matching domain value. However, the code that does the check is doing case-sensitive matching, which can cause hosts to have doubled up hostnames. For example, "host.domain.com" might become "host.domain.com.DOMAIN.COM", which of course means that future check-ins, reports, etc don't get associated with that host. Instead, an empty new record for "host.domain.com" appears to get created (from the reports, perhaps?) which needs to be deleted after fixing the original record.
Trivial patch that fixes the issue attached.
Files
Updated by Frank Sweetser over 13 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 99f00455409d978ee3b63e0e6f185c7f3ecf300d.
Updated by Ohad Levy over 13 years ago
- Category set to Host creation
- Status changed from Ready For Testing to Closed
- Assignee set to Frank Sweetser
- Target version set to 0.2
Actions