<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="">I managed to get pass the error by deleting the file /usr/libexec/os-refresh-config/configure.d/</span><span class="">20-compile-and-install-selinux-policies</span><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">After deleting the 20-xxx file, and  and issuing export NODE_DIST=centos7, the installation seems to have succeeded .</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">IB</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">__<br class=""><span class="">Ignacio Bravo<br class="">LTG Federal, Inc<br class=""><a href="http://www.ltgfederal.com" class="">www.ltgfederal.com</a><br class="">Office: (703) 951-7760<br class=""><br class=""></span><div><blockquote type="cite" class=""><div class="">On Sep 30, 2015, at 6:18 PM, Mohammed Arafa <<a href="mailto:mohammed.arafa@gmail.com" class="">mohammed.arafa@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">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. <br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Sep 30, 2015 at 5:38 PM, Ignacio Bravo <span dir="ltr" class=""><<a href="mailto:ibravo@ltgfederal.com" target="_blank" class="">ibravo@ltgfederal.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">All,</div><div class=""><br class=""></div><div class="">Today I installed RDO-Manager following the upstream documentation and got an error when executing ‘openstack undercloud install’</div><div class="">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.</div><div class=""><br class=""></div><div class="">I’ll try to summarize the changes that we made:</div><div class=""><br class=""></div><div class="">This was the error message:</div><div class=""><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">[2015-09-30 17:07:36,445] (os-refresh-config) [INFO] Starting phase configure</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">dib-run-parts Wed Sep 30 17:07:36 EDT 2015 Running /usr/libexec/os-refresh-config/configure.d/00-apply-selinux-policy</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ set -o pipefail</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ '[' -x /usr/sbin/semanage ']'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ semodule -i /opt/stack/selinux-policy/ipxe.pp</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">dib-run-parts Wed Sep 30 17:07:53 EDT 2015 00-apply-selinux-policy completed</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">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</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ set -o pipefail</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">++ mktemp -d</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ TMPDIR=/tmp/tmp.GvcpM84Lsi</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ '[' -x /usr/sbin/semanage ']'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ cd /tmp/tmp.GvcpM84Lsi</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">++ ls '/opt/stack/selinux-policy/*.te'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">ls: cannot access /opt/stack/selinux-policy/*.te: No such file or directory</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">+ semodule -i '/tmp/tmp.GvcpM84Lsi/*.pp'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">semodule:  Failed on /tmp/tmp.GvcpM84Lsi/*.pp!</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">[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]</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px" class=""><br class=""></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">[2015-09-30 17:07:53,136] (os-refresh-config) [ERROR] Aborting...</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">Traceback (most recent call last):</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">  File "<string>", line 1, in <module></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 562, in install</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">    _run_orc(instack_env)</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 494, in _run_orc</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">    _run_live_command(args, instack_env, 'os-refresh-config')</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 325, in _run_live_command</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">    raise RuntimeError('%s failed. See log for details.' % name)</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">RuntimeError: os-refresh-config failed. See log for details.</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)" class="">Command 'instack-install-undercloud' returned non-zero exit status 1</div></div><div class=""><br class=""></div><div class="">Going a bit deeper, the error appears when executing <a href="https://github.com/rdo-management/tripleo-image-elements/blob/mgt-master/elements/selinux/os-refresh-config/configure.d/20-compile-and-install-selinux-policies" target="_blank" class="">https://github.com/rdo-management/tripleo-image-elements/blob/mgt-master/elements/selinux/os-refresh-config/configure.d/20-compile-and-install-selinux-policies</a></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Does anyone has any more ideas?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">IB </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div class="">__</div><span class="HOEnZb"><font color="#888888" class=""><div class="">Ignacio Bravo<br class="">LTG Federal, Inc</div><div class=""><a href="http://www.ltgfederal.com/" target="_blank" class="">www.ltgfederal.com</a></div><div class="">Office: <a href="tel:%28703%29%20951-7760" value="+17039517760" target="_blank" class="">(703) 951-7760</a><br class=""></div></font></span></div></div></div><br class="">_______________________________________________<br class="">
Rdo-list mailing list<br class="">
<a href="mailto:Rdo-list@redhat.com" class="">Rdo-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/rdo-list</a><br class="">
<br class="">
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" class="">rdo-list-unsubscribe@redhat.com</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">


        
        
        
        


<table cellpadding="4" cellspacing="0" width="418" class="">
        <colgroup class=""><col width="138" class="">
        <col width="158" class="">
        <col width="98" class="">
        </colgroup><tbody class=""><tr valign="TOP" class="">
                <td style="border:none;padding:0in" width="138" class=""><p class=""><img src="http://www.in-egypt.net/RED-HAT-LOGO.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics1" border="0" height="184" width="135" class=""></p>
                </td>
                <td style="border:none;padding:0in" width="158" class=""><p class=""><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank" class=""><font color="#000080" class=""><img src="http://www.in-egypt.net/ITIL_Logo.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics2" border="1" align="BOTTOM" height="156" width="156" class=""></font></a></p>
                </td>
                <td style="border:none;padding:0in" width="98" class=""><p class=""><img src="http://www.in-egypt.net/linkedin.png" name="UNIQUE_ID_SafeHtmlFilter_graphics3" border="0" align="BOTTOM" height="96" width="96" class=""></p>
                </td>
        </tr>
        <tr valign="TOP" class="">
                <td style="border:none;padding:0in" width="138" class=""><p class=""><a href="https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify" target="_blank" class=""><b class="">805010942448935</b></a><b class="">
                        </b>
                        </p>
                </td>
                <td style="border:none;padding:0in" width="158" class=""><p class=""><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank" class=""><b class="">GR750055912MA</b></a></p>
                </td>
                <td style="border:none;padding:0in" width="98" class=""><p class=""><b class="">Link to me on <a href="http://www.linkedin.com/in/mohammedarafa" target="_blank" class="">LinkedIn</a></b></p>
                </td>
        </tr>
</tbody></table>

</div></div>
</div>
</div></blockquote></div><br class=""></div></body></html>