dhcp-all-interfaces doesn't work for rhel6 images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
High
|
Derek Higgins |
Bug Description
RHEL 6(and presumably centos6) images build and boot successfully (built with the following command)
DIB_REG_TYPE=portal DIB_CLOUD_
(Note: the --mkfs-options "-O ^64bit" is required if building a RHEL 6 image on a RHEL 7 host)
But when the instance boots its not getting any IP address
The problem seems to be that dhcp-all-interfaces isn't being installed correctly as its using dib-init-system to decide how to install itself.
dib-init-system is reporting that the image uses upstart but the networking is being handled by the sysv compatibility layer. here
/etc/rc.
Also when localy forcing dhcp-all-interfaces down the sysv path it fails because
/tmp/in_
We should instead be adding
# chkconfig: 3 9 50
to the init script header and doing something like
chkconfig dhcp-all-interfaces on
Changed in diskimage-builder: | |
importance: | Undecided → High |
assignee: | nobody → Derek Higgins (derekh) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/392555
Review: https:/