Bug #16520
closed
associate VM - MAC compare is case senstive
Added by Dan Foster about 8 years ago.
Updated over 5 years ago.
Category:
Compute resources
|
Description
Something that just caught me out, when associating a Xen VM with a foreman Host. The MAC comparison is case sensitive. I ended up with with the MAC in XenCenter recorded as "02:00:89:DE:AB:43" but the MAC recorded in Foreman as "02:00:89:de:ab:43", this caused the error 'No Host found to associate this vm with". Changing the MAC to be lower case is XenCentre solved the issue. It would be better if this comparison was case insensitive.
- Project changed from Xen to Foreman
- Category set to Compute resources
associate_by() is in Foreman core
Just got hit with this with Vsphere, where MAC address has been set manually in vcenter using uppercase, and Foreman uses lowercase. Thus I cant associate the VM with the host in Foreman ("No host found to associate this VM with").
This is on RHEL7, Foreman 1.16.0.
- Bugzilla link set to 1524622
- Assignee set to Dominik Hlavac Duran
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6535 added
- Fixed in Releases 1.22.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF