Project

General

Profile

Actions

Bug #16520

closed

associate VM - MAC compare is case senstive

Added by Dan Foster about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Anonymous about 8 years ago

  • Project changed from Xen to Foreman
  • Category set to Compute resources

associate_by() is in Foreman core

Actions #2

Updated by Anonymous about 8 years ago

Actions #3

Updated by Adam Winberg almost 7 years ago

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.

Actions #4

Updated by Ondřej Pražák almost 7 years ago

  • Bugzilla link set to 1524622
Actions #5

Updated by Dominik Hlavac Duran almost 6 years ago

  • Assignee set to Dominik Hlavac Duran
Actions #6

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6535 added
Actions #7

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.22.0 added
Actions #8

Updated by Dominik Hlavac Duran over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF