<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/ovn-central-firewall-service.xml<br></div><div><br></div><div><div>2017-09-28 10:39:19,394-0400 DEBUG otopi.plugins.ovirt_**FILTERED**_setup.ovirt_**FILTERED**_common.system.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.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.iptables.Plugin._store_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.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.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_**FILTERED**_setup.base.network.firewall</div><div>_manager.Plugin._prepare_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-packages/otopi/context.py", line 133, in _executeMethod</div><div> method['method']()</div><div> File "/home/greg/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/base/network/firewall_manager.py", line 279, </div><div>in _prepare_examples</div><div> manager.prepare_examples()</div><div> File "/home/greg/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-common/base/network/firewall_manager_firewalld.py",</div><div> line 92, in prepare_examples</div><div> environment=self.environment,</div><div> File "/home/greg/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-common/base/network/process_firewalld_services.py",</div><div> line 85, in process_firewalld_services</div><div> subst=self.environment[osetupcons.NetEnv.FIREWALLD_SUBST],</div><div> File "/home/greg/ovirt-**FILTERED**/usr/lib/python2.7/site-packages/ovirt_**FILTERED**/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/ovn-central-firewall-service.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/ovn-central-firewall-service.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/">https://gerrit.ovirt.org/#/c/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/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/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/log/ovirt-engine/setup/ovirt-engine-setup-20170928095323-0kzqx7.log</div><div>[ INFO ] Generating answer file '/home/greg/ovirt-engine/var/lib/ovirt-engine/setup/answers/20170928095333-setup.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><div><br></div><div><br></div>-- <br><div class="gmail_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>
</div></div>