Couple of DHCP Options seem to be incorrect
Bug #1682309 reported by
Sukhdev Kapur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Low
|
Unassigned |
Bug Description
Ironic conductor sets the DHCP options as shown below. While this works, it ends up creating syslog errors in the back-end, which are kind of annoying. Upon further investigating, I find out that "setver-ip-address" is not a valid name for the option. Either we should use the option number (which is more generic and vendor agnostic) or it should be corrected to "tftp-server-
[{'opt_name': 'bootfile-name',
'opt_value': 'pxelinux.0'},
{'opt_name': 'server-
'opt_value': '123.123.123.456'},
{'opt_name': 'tftp-server',
'opt_value': '123.123.123.123'}]
To post a comment you must log in.
Additionally, I noticed "tftp-server" should be "tftp-server-name".
The best solution to make it vendor agnostic is to not use the names of the options, but, the option numbers should be used.