nova-dhcpbridge: hostname = argv[4] causes IndexError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Prince |
Bug Description
Using nova trunk (bzr 1370).
I'm getting the following error from nova-dhcpbridge
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/
(nova): TRACE: hostname = argv[4]
(nova): TRACE: IndexError: list index out of range
(nova): TRACE:
According the the dnsmasq man page (for the dhcp-script option):
-6 --dhcp-
the executable specified by this option is run. <path> must be
an absolute pathname, no PATH search occurs. The arguments to
the process are "add", "old" or "del", the MAC address of the
host, the IP address, and the hostname, if known.
---
Looks like the 4th arg for hostname is not getting passed to our nova-dhcpbridge script.
Related branches
- Brian Waldon (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 46 lines (+10/-11)1 file modifiedbin/nova-dhcpbridge (+10/-11)
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |