Bug #10278
closedNew 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
Updated by Dominic Cleal over 9 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.
Updated by Richard Davis over 9 years ago
Thank You Dominic.
Just for ref, the limitation was removed from oVirt/RHEV in v3.1.0-18
Cheers
Updated by Ivan Necas over 8 years ago
- Status changed from New to Assigned
- Assignee set to Ivan Necas
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3415 added
Updated by Ivan Necas over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset cf826485d252e8f1d7fee7209c561751915ea338.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release set to 136