I managed to get pass the error by deleting the file /usr/libexec/os-refresh-config/configure.d/20-compile-and-install-selinux-policiesI might not have mentioned that I first run the installation without the delorean-current repo which failed and pushed me to ask in IRC. Afterwards I installed the delorean-current repo and retried the installation with the issues referenced in my note bellow.I wanted to note that the timestamp on all files in the directory above where in synch with the time I run the latest install, with the exception of 20-compile-and-install-selinux-policies that had an earlier datestamp, probably from the first run without the delorean-current repo or without the specification of cents or the cents 7.json file.After deleting the 20-xxx file, and and issuing export NODE_DIST=centos7, the installation seems to have succeeded .IB__
Ignacio Bravo
LTG Federal, Inc
www.ltgfederal.com
Office: (703) 951-7760On Sep 30, 2015, at 6:18 PM, Mohammed Arafa <mohammed.arafa@gmail.com> wrote:following: i had this error twice this week already and i believe you are the 3rd or 4th person this week with the same error.On Wed, Sep 30, 2015 at 5:38 PM, Ignacio Bravo <ibravo@ltgfederal.com> wrote:All,Today I installed RDO-Manager following the upstream documentation and got an error when executing ‘openstack undercloud install’I presented the issue in IRC and John Trowbridge was very helpful trying to determine the root cause, and after a couple of different attempts, the error remained.I’ll try to summarize the changes that we made:This was the error message:[2015-09-30 17:07:36,445] (os-refresh-config) [INFO] Starting phase configuredib-run-parts Wed Sep 30 17:07:36 EDT 2015 Running /usr/libexec/os-refresh-config/configure.d/00-apply-selinux-policy+ set -o pipefail+ '[' -x /usr/sbin/semanage ']'+ semodule -i /opt/stack/selinux-policy/ipxe.ppdib-run-parts Wed Sep 30 17:07:53 EDT 2015 00-apply-selinux-policy completeddib-run-parts Wed Sep 30 17:07:53 EDT 2015 Running /usr/libexec/os-refresh-config/configure.d/20-compile-and-install-selinux-policies+ set -o pipefail++ mktemp -d+ TMPDIR=/tmp/tmp.GvcpM84Lsi+ '[' -x /usr/sbin/semanage ']'+ cd /tmp/tmp.GvcpM84Lsi++ ls '/opt/stack/selinux-policy/*.te'ls: cannot access /opt/stack/selinux-policy/*.te: No such file or directory+ semodule -i '/tmp/tmp.GvcpM84Lsi/*.pp'semodule: Failed on /tmp/tmp.GvcpM84Lsi/*.pp![2015-09-30 17:07:53,136] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1][2015-09-30 17:07:53,136] (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 562, in install_run_orc(instack_env)File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 494, in _run_orc_run_live_command(args, instack_env, 'os-refresh-config')File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 325, in _run_live_commandraise 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 1Going a bit deeper, the error appears when executing https://github.com/rdo-management/tripleo-image-elements/blob/mgt-master/elements/selinux/os-refresh-config/configure.d/20-compile-and-install-selinux-policiesJohn recommended to explicitly force the use of the the centos.json via ‘export JSONFILE=/usr/share/insack-undercloud/json-files/centos-7-undercloud-packages.json’ but that did not solve the issue.Then we tried adding “20-comiple-and-install-selinux-policies” under the blacklist section of the file, and after running the installation again, it once more failed at the same step on the installation.Does anyone has any more ideas?Thanks,IB__Ignacio Bravo
LTG Federal, IncOffice: (703) 951-7760
_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list
To unsubscribe: rdo-list-unsubscribe@redhat.com
--
Link to me on LinkedIn
Link to me on LinkedIn |