dhcpcheck discover fails when there is no interface specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Ruslan Aliev |
Bug Description
When running 'dhcpcheck discover' (without --iface param) there is an error:
[root@fuel network_checker]# dhcpcheck discover --debug
'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
repeat=
File "/usr/lib/
for iface in ifaces:
TypeError: 'NoneType' object is not iterable
2014-11-25 10:45:44 ERROR (app) 'NoneType' object is not iterable
'--iface' param is optional and it's helps message tells that "If no eth provided - will run against all except lo" which is not true [1].
There are two options:
1) make '--iface' as a required param and change it's help message
2) run discover for all interfaces except lo as help message tells
Checked on fuel-web revision 603a8d4.
[1] https:/
Changed in fuel: | |
status: | New → Triaged |
tags: | added: module-netcheck |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
status: | Won't Fix → Triaged |
no longer affects: | fuel/8.0.x |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Ruslan Aliev (raliev) |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
We have workaround. Can be safely moved to 8.0