undercloud install fails if devices exist with no dhcp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
High
|
Unassigned |
Bug Description
On a baremetal host with multiple wired nic's
when running the undercloud install 20-os-net-config writes out /etc/os-
If any of them do not have dhcp configured then "os-net-config -c /etc/os-
> openstack undercloud install
...
[2016/05/25 08:55:16 AM] [INFO] Writing config /etc/sysconfig/
[2016/05/25 08:55:16 AM] [INFO] Writing config /etc/sysconfig/
[2016/05/25 08:55:16 AM] [INFO] running ifup on interface: em2
Traceback (most recent call last):
File "/bin/os-
sys.
File "/usr/lib/
activate=not opts.no_activate)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
processutil
File "/usr/lib/
cmd=
oslo_concurrenc
Command: /sbin/ifup em2
Exit code: 1
Stdout: u'\nDetermining IP information for em2... failed.\n'
Stderr: u''
+ RETVAL=1
+ [[ 1 == 2 ]]
+ [[ 1 != 0 ]]
+ echo 'ERROR: configuration of safe defaults failed.'
ERROR: configuration of safe defaults failed.
[2016-05-25 08:56:17,994] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/
[2016-05-25 08:56:17,995] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
_run_
File "/usr/lib/
_run_
File "/usr/lib/
raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-
Changed in tripleo: | |
milestone: | newton-2 → newton-3 |
Changed in tripleo: | |
milestone: | newton-3 → newton-rc1 |
Changed in tripleo: | |
milestone: | newton-rc1 → newton-rc2 |
Changed in tripleo: | |
milestone: | newton-rc2 → none |
Is it possible to use net_config_override in undercloud.conf to workaround this issue?