Nailgun agent mistakenly reports PXE interface as non-PXE after the deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Vladimir Kuklin | ||
Mitaka |
Fix Released
|
High
|
Vladimir Kuklin | ||
Newton |
Fix Committed
|
High
|
Vladimir Kuklin |
Bug Description
This piece of nailgun-agent code
"int_meta[:pxe] = admin_mac == int_meta[:mac]" does not take into consideration that interface will become a part of a bridge.
The fix is trivial, although it should also respect the bonds:
re = perm_addr.
end
- int_meta[:pxe] = admin_mac == int_meta[:mac]
+ int_meta[:pxe] = false
+ if File.exist? "/sys/class/
+ bridge_mac = nil
+ File.open(
+ bridge_mac = f.read.
+ end
+ int_meta[:pxe] = admin_mac == bridge_mac
+ else
+ int_meta[:pxe] = admin_mac == int_meta[:mac]
+ end
begin
tags: | added: on-verification |
ii nailgun-agent 10.0.0- 1~u14.04+ mos170 all collects the node hardware data and submits it to the Fuel master