Skip to content

Instantly share code, notes, and snippets.

@arcolife
Last active September 18, 2017 06:26
Show Gist options
  • Select an option

  • Save arcolife/e73da93328f2ee668821195d4c0682bc to your computer and use it in GitHub Desktop.

Select an option

Save arcolife/e73da93328f2ee668821195d4c0682bc to your computer and use it in GitHub Desktop.
[root@gprfc041 ~]# getenforce
Disabled
[root@gprfc041 ~]# setenforce 1
setenforce: SELinux is disabled
[root@gprfc041 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@gprfc041 ~]# uname -a
Linux gprfc041.<>.redhat.com 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
----------------------------
[stack@gprfc041 ~]$ openstack undercloud install
...
...
2017-09-18 01:16:13 - Notice: /Firewall[998 log all]: Dependency Exec[/sbin/setenforce 1] has failures: true
2017-09-18 01:16:13 - Warning: /Firewall[998 log all]: Skipping because of failed dependencies
2017-09-18 01:16:13 - Notice: /Firewall[999 drop all]: Dependency Exec[/sbin/setenforce 1] has failures: true
2017-09-18 01:16:13 - Warning: /Firewall[999 drop all]: Skipping because of failed dependencies
2017-09-18 01:16:14 - Notice: Finished catalog run in 1839.19 seconds
+ rc=6
+ set -e
+ echo 'puppet apply exited with exit code 6'
puppet apply exited with exit code 6
+ '[' 6 '!=' 2 -a 6 '!=' 0 ']'
+ exit 6
[2017-09-18 01:16:21,261] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]
[2017-09-18 01:16:21,261] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1244, in install
_run_orc(instack_env)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1020, in _run_orc
_run_live_command(args, instack_env, 'os-refresh-config')
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 519, in _run_live_command
raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1
----------------------------
@arcolife
Copy link
Author

FYI I had rebooted twice after doing yum upgrade. (which had probably updated kernel version from 3.10.0-514.el7.x86_64 to 3.10.0-693.2.2.el7.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment