[Rdo-list] RDO Manager undercloud install failure

Ignacio Bravo ibravo at ltgfederal.com
Wed Sep 30 22:50:18 UTC 2015


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 at 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 at ltgfederal.com <mailto:ibravo at 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
> 
> Going 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-policies <https://github.com/rdo-management/tripleo-image-elements/blob/mgt-master/elements/selinux/os-refresh-config/configure.d/20-compile-and-install-selinux-policies>
> 
> 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
> www.ltgfederal.com <http://www.ltgfederal.com/>
> Office: (703) 951-7760 <tel:%28703%29%20951-7760>
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com <mailto:Rdo-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/rdo-list <https://www.redhat.com/mailman/listinfo/rdo-list>
> 
> To unsubscribe: rdo-list-unsubscribe at redhat.com <mailto:rdo-list-unsubscribe at redhat.com>
> 
> 
> 
> -- 
> 
> 
>  <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>	
> 
> 805010942448935 <https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>	
> GR750055912MA <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>	
> Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150930/806cfd7c/attachment.html>


More information about the dev mailing list