<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-09-28 16:45 GMT+02:00 Greg Sheremeta <span dir="ltr"><<a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>After rebasing to latest master, fedora 26, I can't run engine setup on a fresh engine root and empty database if I select 'yes' for ovn setup:</div></div></blockquote><div><br></div><div>Please note we are not committed to support Fedora 26 for 4.2/master</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/usr/lib/firewalld/services/<wbr>ovn-central-firewall-service.<wbr>xml<br></div></div></blockquote><div><br></div><div>Please check README for developer install. A recent change around this:</div><div><br></div><div><div>diff --git a/README.adoc b/README.adoc</div><div>index 0acd371cb4..539647a8a1 100644</div><div>--- a/README.adoc</div><div>+++ b/README.adoc</div><div>@@ -50,6 +50,10 @@ Both packages can be installed from ovirt-master-snapshot-static repository:</div><div> </div><div> Please replace `@DIST@` with `fc` for Fedora or `el` for Centos/RHEL.</div><div> </div><div>+OVN/OVS is an optional dependency. If you want to use it, check the requirements in the</div><div>+<a href="http://ovirt-engine.spec.in">ovirt-engine.spec.in</a> file for a list of packages. Otherwise, you should reply 'No'</div><div>+when asked about it by engine-setup.</div><div>+</div></div><div><br></div><div><br></div><div>which correspond to a change in spec file:</div><div><br></div><div><br></div><div><br></div><div><div>diff --git a/<a href="http://ovirt-engine.spec.in">ovirt-engine.spec.in</a> b/<a href="http://ovirt-engine.spec.in">ovirt-engine.spec.in</a></div><div>index 4e86c837c0..bdd9b17e8b 100644</div><div>--- a/<a href="http://ovirt-engine.spec.in">ovirt-engine.spec.in</a></div><div>+++ b/<a href="http://ovirt-engine.spec.in">ovirt-engine.spec.in</a></div><div>@@ -300,6 +300,14 @@ Conflicts: ipa-server</div><div> # Userportal is retired</div><div> Obsoletes: %{name}-userportal</div><div> </div><div>+# OVS/OVN stuff</div><div>+Requires: pyOpenSSL</div><div>+Requires: openvswitch</div><div>+Requires: openvswitch-ovn-common</div><div>+Requires: openvswitch-ovn-central</div><div>+Requires: python-openvswitch</div><div>+Requires: ovirt-provider-ovn</div><div>+</div><div> %description</div><div> %{ovirt_product_name} is a feature-rich server virtualization management</div><div> system that provides advanced capabilities for managing the Open</div><div>@@ -431,6 +439,10 @@ Requires: postgresql-server >= 9.5</div><div> %endif</div><div> Conflicts: %{name} < 3.6.0</div><div> </div><div>+# OVS/OVN stuff, for firewalld service files</div><div>+Requires: openvswitch-ovn-central</div><div>+Requires: ovirt-provider-ovn</div><div>+</div><div> %description setup-plugin-ovirt-engine</div><div> Setup and upgrade specific plugins for %{ovirt_product_name_short}</div></div><div><br></div><div><br></div><div><br></div><div>So, please ensure you have installed above required packages before running engine-setup from an engine master root.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div><div>2017-09-28 10:39:19,394-0400 DEBUG otopi.plugins.ovirt_**<wbr>FILTERED**_setup.ovirt_**<wbr>FILTERED**_common.system.<wbr>sysctl plugin.execute:926 execute-output: ('/us</div><div>r/sbin/sysctl', '-n', 'kernel.shmmax') stderr:</div><div><br></div><div><br></div><div>2017-09-28 10:39:19,396-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.<wbr>firewalld.Plugin._misc</div><div>2017-09-28 10:39:19,396-0400 DEBUG otopi.context context._executeMethod:135 condition False</div><div>2017-09-28 10:39:19,397-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.<wbr>iptables.Plugin._store_<wbr>iptables</div><div>2017-09-28 10:39:19,397-0400 DEBUG otopi.context context._executeMethod:135 condition False</div><div>2017-09-28 10:39:19,398-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.<wbr>ssh.Plugin._append_key</div><div>2017-09-28 10:39:19,399-0400 DEBUG otopi.context context._executeMethod:135 condition False</div><div>2017-09-28 10:39:19,400-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.system.<wbr>clock.Plugin._set_clock</div><div>2017-09-28 10:39:19,400-0400 DEBUG otopi.context context._executeMethod:135 condition False</div><div>2017-09-28 10:39:19,401-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_**<wbr>FILTERED**_setup.base.network.<wbr>firewall</div><div>_manager.Plugin._prepare_<wbr>examples</div><div>2017-09-28 10:39:19,402-0400 DEBUG otopi.context context._executeMethod:143 method exception</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-<wbr>packages/otopi/context.py", line 133, in _executeMethod</div><div> method['method']()</div><div> File "/home/greg/ovirt-**FILTERED**<wbr>/share/ovirt-**FILTERED**/<wbr>setup/bin/../plugins/ovirt-**<wbr>FILTERED**-setup/base/network/<wbr>firewall_manager.py", line 279, </div><div>in _prepare_examples</div><div> manager.prepare_examples()</div><div> File "/home/greg/ovirt-**FILTERED**<wbr>/share/ovirt-**FILTERED**/<wbr>setup/bin/../plugins/ovirt-**<wbr>FILTERED**-common/base/<wbr>network/firewall_manager_<wbr>firewalld.py",</div><div> line 92, in prepare_examples</div><div> environment=self.environment,</div><div> File "/home/greg/ovirt-**FILTERED**<wbr>/share/ovirt-**FILTERED**/<wbr>setup/bin/../plugins/ovirt-**<wbr>FILTERED**-common/base/<wbr>network/process_firewalld_<wbr>services.py",</div><div> line 85, in process_firewalld_services</div><div> subst=self.environment[<wbr>osetupcons.NetEnv.FIREWALLD_<wbr>SUBST],</div><div> File "/home/greg/ovirt-**FILTERED**<wbr>/usr/lib/python2.7/site-<wbr>packages/ovirt_**FILTERED**/<wbr>util.py", line 55, in processTemplate</div><div> with open(template, 'r') as f:</div><div>IOError: [Errno 2] No such file or directory: '/usr/lib/firewalld/services/<wbr>ovn-central-firewall-service.<wbr>xml'</div><div>2017-09-28 10:39:19,403-0400 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/usr/lib/firewalld/services/<wbr>ovn-central-firewall-service.<wbr>xml'</div><div>2017-09-28 10:39:19,403-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Database Transaction'</div></div><div><br></div><div><br></div><div><br></div><div>I suspected 596c3fb</div><div><a href="https://gerrit.ovirt.org/#/c/81960/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>81960/</a> <br></div><div><div>packaging: Require OVN<br></div><div><div> </div><div> Make the engine require OVN pacakges, as setup defaults to configuring</div><div> it.</div><div> </div><div> Make setup require the OVN packages that provide firewalld services, so</div><div> that engine-setup can have their content during customization stage.</div></div><div><br></div><div>Moving to 596c3fb gives the same error. Moving to 596c3fb^1 (51d474d engine: update vdc_option values) gives a different error:</div><div><br></div><div><div>[ INFO ] Stage: Environment customization</div><div> </div><div> --== PRODUCT OPTIONS ==--</div><div> </div><div> Configure Engine on this host (Yes, No) [Yes]: </div><div> Configure WebSocket Proxy on this host (Yes, No) [Yes]: </div><div> Configure VM Console Proxy on this host (Yes, No) [Yes]: </div><div> </div><div> --== PACKAGES ==--</div><div> </div><div> Install and configure ovirt-provider-ovn? Please note that this will cause an immediate installation</div><div> of several OVN packages that will not be rolled back in case of a failure. (Yes, No) [Yes]: </div><div>[ ERROR ] Yum Cannot queue package pyOpenSSL: Error making cache directory: /var/cache/yum/x86_64/26/<wbr>fedora error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64'</div><div>[ INFO ] Yum Performing yum transaction rollback</div><div>[ ERROR ] Failed to execute stage 'Environment customization': Error making cache directory: /var/cache/yum/x86_64/26/<wbr>fedora error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64'</div><div>[ INFO ] Stage: Clean up</div><div> Log file is located at /home/greg/ovirt-engine/var/<wbr>log/ovirt-engine/setup/ovirt-<wbr>engine-setup-20170928095323-<wbr>0kzqx7.log</div><div>[ INFO ] Generating answer file '/home/greg/ovirt-engine/var/<wbr>lib/ovirt-engine/setup/<wbr>answers/20170928095333-setup.<wbr>conf'</div></div><div><br></div><div><br></div><div>And there I gave up. Selecting "no" to ovn setup allows setup to succeed.</div><div><br></div><div>Anyone know if I need to update something, or is this a bug?</div><div><br></div><div>Best wishes,</div><div>Greg</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div class="gmail-m_4718024390974502220gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>GREG</span> <span>SHEREMETA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX</span><span style="color:rgb(170,170,170);margin:0px"></span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat NA<span><br><br></span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:gshereme@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">gshereme@redhat.com</a> </span> <span>IRC: <span>gshereme</span></span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img width="90" height="auto"></a></td></tr></tbody></table></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><a href="http://www.teraplan.it/redhat-osd-2017/" target="_blank"><img src="http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7Bce8ba915-16e1-4b66-8a16-dfaac06bd5c0%7D_RH_OSD_Generic_Banner_655x100.png" width="420" height="60"></a><span></span><a href="http:///" target="_blank"></a><span></span><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>