<div dir="ltr"><div>The missing files are part of the ovn packages<br></div><div>but the ovn packages are not built for fedora 26 yet</div><div><br></div><div>I'll check if it's feasible to add this. We would need to build fc26</div><div>packages for all the dependencies, so please give me some</div><div>time for that.</div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 4:45 PM, Greg Sheremeta <span dir="ltr"><<a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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><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><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="HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div class="m_-2363568050669476006gmail_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 src="https://www.redhat.com/files/brand/email/sig-redhat.png" 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></div>