<div dir="ltr">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></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 30, 2015 at 5:38 PM, Ignacio Bravo <span dir="ltr"><<a href="mailto:ibravo@ltgfederal.com" target="_blank">ibravo@ltgfederal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>All,</div><div><br></div><div>Today I installed RDO-Manager following the upstream documentation and got an error when executing ‘openstack undercloud install’</div><div>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><br></div><div>I’ll try to summarize the changes that we made:</div><div><br></div><div>This was the error message:</div><div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">[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)">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)">+ set -o pipefail</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">+ '[' -x /usr/sbin/semanage ']'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">+ 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)">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)">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)">+ set -o pipefail</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">++ mktemp -d</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">+ TMPDIR=/tmp/tmp.GvcpM84Lsi</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">+ '[' -x /usr/sbin/semanage ']'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">+ cd /tmp/tmp.GvcpM84Lsi</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">++ ls '/opt/stack/selinux-policy/*.te'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">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)">+ semodule -i '/tmp/tmp.GvcpM84Lsi/*.pp'</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">semodule:  Failed on /tmp/tmp.GvcpM84Lsi/*.pp!</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">[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"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">[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)">Traceback (most recent call last):</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">  File "<string>", line 1, in <module></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">  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)">    _run_orc(instack_env)</div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(254,244,156)">  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)">    _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)">  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)">    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)">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)">Command 'instack-install-undercloud' returned non-zero exit status 1</div></div><div><br></div><div>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">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><br></div><div>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><br></div><div>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><br></div><div>Does anyone has any more ideas?</div><div><br></div><div>Thanks,</div><div>IB </div><div><br></div><div><br></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>__</div><span class="HOEnZb"><font color="#888888"><div>Ignacio Bravo<br>LTG Federal, Inc</div><div><a href="http://www.ltgfederal.com" target="_blank">www.ltgfederal.com</a></div><div>Office: <a href="tel:%28703%29%20951-7760" value="+17039517760" target="_blank">(703) 951-7760</a><br></div></font></span></div></div></div><br>_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">


        
        
        
        


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

</div></div>
</div>