Bug #10278
New Hosts deployed on oVirt/RHEV have names with domain dots/periods replaced with hyphens (i.e. foo-bar-com)
Description
New Hosts deployed on oVirt/RHEV via Foreman are given names with the period/dot (.) in the domain name replaced with hyphens.
For instance, a "New Host" deployed on oVirt/RHEV with a given name of "foo" using "Domain" of "bar.com" appears on oVirt/RHEV with the name of "foo-bar-com".
This should be "foo.bar.com".
This may be due to a early limitation within oVirt/RHEV that disallowed period/dots in VM names, but this limitation was removed some versions ago.
Thank You
Associated revisions
History
#1
Updated by Dominic Cleal over 5 years ago
https://github.com/theforeman/foreman/blob/1.8.0-RC3/app/models/compute_resources/foreman/model/ovirt.rb#L139-L140 is responsible, for reference.
#2
Updated by Richard Davis over 5 years ago
Thank You Dominic.
Just for ref, the limitation was removed from oVirt/RHEV in v3.1.0-18
Cheers
#3
Updated by Bryan Kearney almost 5 years ago
- Bugzilla link set to 1317529
#4
Updated by Ivan Necas almost 5 years ago
- Status changed from New to Assigned
- Assignee set to Ivan Necas
#5
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3415 added
#6
Updated by Ivan Necas almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset cf826485d252e8f1d7fee7209c561751915ea338.
#7
Updated by Dominic Cleal almost 5 years ago
- Legacy Backlogs Release (now unused) set to 136
Fixes #10278 - don't replace . with - for oVirt VM anymore
The version that supports . in VM names (v3.1.0-18) has been around
for almost 4 years
now (https://github.com/oVirt/ovirt-engine/commit/540a75e0f7bc4b9ed879471d3d830d575c6d6060).
Time to move one and make the VM names in oVirt a bit nicer now.