Re running undercloud install fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
I tried re-running the undercloud install via openstack undercloud install, and this happened:
/tmp/tmpyoNzTj/
INFO: 2016-01-26 10:55:29,344 -- ############### End stdout/stderr logging ###############
ERROR: 2016-01-26 10:55:29,345 -- Hook FAILED.
ERROR: 2016-01-26 10:55:29,345 -- Failed running command ['dib-run-parts', u'/tmp/
File "/usr/lib/
em.run()
File "/usr/lib/
self.
File "/usr/lib/
raise Exception("Failed running command %s" % command)
ERROR: 2016-01-26 10:55:29,346 -- None
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
instack_env = _generate_
File "/usr/lib/
args = ['sudo', 'os-refresh-
File "/usr/lib/
line = process.
RuntimeError: instack failed. See log for details.
Command 'instack-
Says to look in the log for details but there's no log in the local directory - we should say where the log output is going.
[stack@instack ~]$ sudo os-refresh-config os-refresh- config/ configure. d/00-apply- selinux- policy selinux- policy/ ipxe.pp selinux- policy completed os-refresh- config/ configure. d/20-compile- and-install- selinux- policies /tmp/tmp. o1F0ROf0f9 selinux- policy/ *.te' selinux- policy/ *.te: No such file or directory o1F0ROf0f9/ *.pp' o1F0ROf0f9/ *.pp! os-refresh- config/ configure. d']' returned non-zero exit status 1]
[2016-01-26 11:19:57,513] (os-refresh-config) [INFO] Starting phase configure
dib-run-parts Tue Jan 26 11:19:57 UTC 2016 Running /usr/libexec/
+ set -o pipefail
+ '[' -x /usr/sbin/semanage ']'
+ semodule -i /opt/stack/
dib-run-parts Tue Jan 26 11:20:06 UTC 2016 00-apply-
dib-run-parts Tue Jan 26 11:20:06 UTC 2016 Running /usr/libexec/
+ set -o pipefail
++ mktemp -d
+ TMPDIR=
+ '[' -x /usr/sbin/semanage ']'
+ cd /tmp/tmp.o1F0ROf0f9
++ ls '/opt/stack/
ls: cannot access /opt/stack/
+ semodule -i '/tmp/tmp.
semodule: Failed on /tmp/tmp.
[2016-01-26 11:20:06,626] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/
/usr/libexec/ os-refresh- config/ configure. d/20-compile- and-install- selinux- policies is failing to run:
$ bash -x /usr/libexec/ os-refresh- config/ configure. d/20-compile- and-install- selinux- policies /tmp/tmp. zAuhfVY86J selinux- policy/ ipxe.pp selinux- policy/ *)' selinux- policy/ ipxe.pp no_ext= ipxe selinux- policy/ ipxe.pp /tmp/tmp.zAuhfVY86J selinux/ devel/Makefile ipxe.pp selinux/ devel/Makefile: No such file or directory selinux/ devel/Makefile' . Stop.
+ set -eux
+ set -o pipefail
++ mktemp -d
+ TMPDIR=
+ '[' -x /usr/sbin/semanage ']'
+ cd /tmp/tmp.zAuhfVY86J
++ ls /opt/stack/
+ for file in '$(ls /opt/stack/
++ basename /opt/stack/
+ filename=ipxe.pp
+ filename_
+ cp /opt/stack/
+ make -f /usr/share/
make: /usr/share/
make: *** No rule to make target `/usr/share/
The problem appears to be that we're not installing selinux- policy- devel