ignacio thank you
i will have to try that tomorrow

On Wed, Sep 30, 2015 at 6:50 PM, Ignacio Bravo <ibravo@ltgfederal.com> wrote:
I managed to get pass the error by deleting the file /usr/libexec/os-refresh-config/configure.d/20-compile-and-install-selinux-policies

I 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-7760

On 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 configure
dib-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.pp
dib-run-parts Wed Sep 30 17:07:53 EDT 2015 00-apply-selinux-policy completed
dib-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_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


John 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, Inc

_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com



--




--

805010942448935

GR750055912MA

Link to me on LinkedIn