[fuel 10 community] - got error as " No DHCP servers found. Cannot enable DHCP"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Michael Polenchuk | ||
Newton |
Fix Released
|
High
|
Michael Polenchuk |
Bug Description
I donwloaded the latest fuel-community 10.0 iso and tried to install fuel master with it. But I got error from the fuelmenu as: "No DHCP servers found. Cannot enable DHCP".
The fuel master VM has two interfaces: eth0 for PXE and eth1 used for public access. Eth1 is set to get IP from DHCP.
The log from /var/log/
2016-12-30 04:51:36,816 DEBUG Executing command: dhcpcheck discover --timeout 5 -f json --ifaces eth1
2016-12-30 04:51:37,060 DEBUG Command executed with exit code: 2
2016-12-30 04:51:37,060 DEBUG Unable to parse JSON.
2016-12-30 04:51:37,061 ERROR Errors: 1 ['No DHCP servers found. Cannot enable DHCP']
2016-12-30 04:51:37,061 ERROR Check failed. Not applying
2016-12-30 04:51:37,061 ERROR False
We can see the command of "dhcpcheck discover --timeout 5 -f json --ifaces eth1" exit with code:2
If I run this command manually, we can see the --ifaces option is not supported by dhcpcheck.
[root@fuel log]# dhcpcheck discover --timeout 5 -f json --ifaces eth1
usage: dhcpcheck discover [-h] [--timeout TIMEOUT] [--repeat REPEAT]
dhcpcheck discover: error: unrecognized arguments: --ifaces
[root@fuel log]# echo $?
2
$ cksum fuel-community-
3188088122 2293989376 fuel-community-
[root@fuel log]# rpm -q -f /bin/dhcpcheck
network-
# in my fuel 9.0 env:
[root@fuel ~]# rpm -q -f /bin/dhcpcheck
network-
[root@fuel ~]# dhcpcheck discover --timeout 5 -f json --ifaces eth1
[{"iface": "eth1", "mac": "6a:ff:
So it seems dhcpcheck has been changed but fuelmenu is still using the old options?
Changed in fuel: | |
status: | New → Confirmed |
milestone: | none → 11.0 |
importance: | Undecided → High |
assignee: | nobody → Michael Polenchuk (mpolenchuk) |
BTW: With manually runing dhclient, eth1 could get IP address successfully.