<div dir="ltr"><div><div><div>That log appears to be the only one I have, the more recent ones are the restore and then successful install of 4.2.<br><br></div>I just checked yum.conf and no, keepcache is off (0)<br><br></div>I didn't see any errors when engine-setup downloaded the packages, it failed/stopped during the db migration / upgrade.<br><br></div>Brett<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 September 2017 at 08:41, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2017-09-29 9:29 GMT+02:00 Maton, Brett <span dir="ltr"><<a href="mailto:matonb@ltresources.co.uk" target="_blank">matonb@ltresources.co.uk</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"><div><div><div><div><div><div><div>It all got a bit messy, but that's probably down to me.<br><br></div> I removed the 'old' ovirt repo definitions after I installed the 4.2 pre release repo (simply because yum was complaining about multiple definitions).<br><br></div> I also allowed the installer to clean-up the old database directory, which it did.<br></div> The updated PostgreSQL server stayed up and running which stopped 4.1 from starting the version of PostgreSQL that it wanted running (port in use I expect) etc etc etc<br><br></div>So no in this particular case roll back failed, but there are a bunch of warnings issued but engine-setup that that would probably happen.<br><br></div>I've attached the engine-setup-log as requested.<br></div></div></div></blockquote><div><br></div></span><div>Thanks!</div><div>I see that the failure is:</div><div><div>YumDownloadError: </div><div>Errors were encountered while downloading packages.</div><div>ovirt-engine-wildfly-10.1.0-1.<wbr>el7.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/7/ovirt-<wbr>4.1/packages</div><div> * free 67 M</div><div> * needed 130 M</div></div><div><br></div><div>We may consider to run "yum clean packages" before starting rollback to free space there.</div><div>Did you have keepcache=1 in your yum.conf?</div><div><div class="h5"><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><br></div>Best regards,<br></div>Brett<br></div><div class="m_-4408059527855584921gmail-HOEnZb"><div class="m_-4408059527855584921gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On 29 September 2017 at 07:24, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>2017-09-28 20:29 GMT+02:00 Maton, Brett <span dir="ltr"><<a href="mailto:matonb@ltresources.co.uk" target="_blank">matonb@ltresources.co.uk</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"><div>Thanks Tomas,<br><br></div> I'm restoring backup at the moment, I'll let you know how it goes when on the next attempt.<br></div></blockquote><div><br></div></span><div>Didn't the setup rollback automatically? Can you please share the setup logs?</div><div><div class="m_-4408059527855584921gmail-m_4562798509668409905h5"><div><br></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 class="m_-4408059527855584921gmail-m_4562798509668409905m_4892840171830189921HOEnZb"><div class="m_-4408059527855584921gmail-m_4562798509668409905m_4892840171830189921h5"><div class="gmail_extra"><br><div class="gmail_quote">On 28 September 2017 at 18:46, Tomas Jelinek <span dir="ltr"><<a href="mailto:tjelinek@redhat.com" target="_blank">tjelinek@redhat.com</a>></span> wrote:<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"><div><div><div>Hey Brett,<br></div><div><br></div><div>That is strange - it looks like you have some VM which has memory size larger than the max memory size.<br><br></div>You need to go over your VMs / templates to find which one has this wrong config and change it.<br></div>Alternatively, to find it faster if you have many vms/templates, you could run this SQL query against your engine database:<br>select vm_name from vm_static where mem_size_mb > max_memory_size_mb;<br><br></div>Tomas<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4408059527855584921gmail-m_4562798509668409905m_4892840171830189921m_7729489939784216401h5">On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <span dir="ltr"><<a href="mailto:matonb@ltresources.co.uk" target="_blank">matonb@ltresources.co.uk</a>></span> wrote:<br></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><div class="m_-4408059527855584921gmail-m_4562798509668409905m_4892840171830189921m_7729489939784216401h5"><div dir="ltr">Upgrading from oVirt 4.1.7<br><div><br></div><div>hosted-engine VM:</div><div>4GB RAM</div><div><br></div><div>hosted-engine setup failed, setup log shows this error:<br></div><div><br><span style="font-family:monospace,monospace">Running upgrade sql script '/usr/share/ovirt-engine/dbscr<wbr>ipts/upgrade/04_02_0140_add_ma<wbr>x_memory_constraint.sql'...<br><br>2017-09-28 16:56:22,951+0100 DEBUG otopi.plugins.ovirt_engine_set<wbr>up.ovirt_engine.db.schema plugin.execute:926 execute-output: ['/usr/share/ovirt-engine/dbsc<wbr>ripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/o<wbr>virt-engine-setup-201709281643<wbr>38-0rkilb.log', '-c', 'apply'] stderr:<br>psql:/usr/share/ovirt-engine/d<wbr>bscripts/upgrade/04_02_0140_ad<wbr>d_max_memory_constraint.sql:2: ERROR: check constraint "vm_static_max_memory_size_low<wbr>er_bound" is violated by some row<br>FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine<wbr>/dbscripts/upgrade/04_02_0140_<wbr>add_max_memory_constraint.sql<br><br>2017-09-28 16:56:22,951+0100 ERROR otopi.plugins.ovirt_engine_set<wbr>up.ovirt_engine.db.schema schema._misc:374 schema.sh: FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine<wbr>/dbscripts/upgrade/04_02_0140_<wbr>add_max_memory_constraint.sql<br>2017-09-28 16:56:22,952+0100 DEBUG otopi.context context._executeMethod:143 method exception<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/site-packa<wbr>ges/otopi/context.py", line 133, in _executeMethod<br> method['method']()<br> File "/usr/share/ovirt-engine/setup<wbr>/bin/../plugins/ovirt-engine-s<wbr>etup/ovirt-engine/db/schema.py<wbr>", line 376, in _misc<br> raise RuntimeError(_('Engine schema refresh failed'))<br>RuntimeError: Engine schema refresh failed</span></div><div><br></div><div><br></div><div><br><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace"></span>What's the minimum RAM required now ?</div><div><br></div><div>Regards,</div><div>Brett<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div></div></div><span class="m_-4408059527855584921gmail-m_4562798509668409905HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4408059527855584921gmail-m_4562798509668409905m_4892840171830189921gmail_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 style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img 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 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>
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div class="m_-4408059527855584921gmail_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 style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"><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></div></div>
</blockquote></div><br></div>