[ovirt-users] Update to 4.2.0 failing in db check

Jiri Slezka jiri.slezka at slu.cz
Sat Dec 30 20:58:14 UTC 2017


On 12/26/2017 01:43 PM, Jiri Slezka wrote:
> Hi,
> 
> I have been also bitten by this bug :-)
> 
> I am also using template with subtemplate. Can I workaround this somehow
> or should I wait until fkvalidator fix is released?

solution was obvious - I just exported (sub)template, deleted it,
upgraded to 4.2 and imported it back.

Cheers,

Jiri

> 
> Cheers, Jiri
> 
> 
> 
> On 12/21/2017 03:19 PM, Giorgio Biacchi wrote:
>> On 12/21/2017 11:24 AM, Sandro Bonazzola wrote:
>>>
>>>
>>> 2017-12-21 11:03 GMT+01:00 Giorgio Biacchi <giorgio at di.unimi.it
>>> <mailto:giorgio at di.unimi.it>>:
>>>
>>>     Hi,
>>>     I have additional info on the problem. I run
>>>     /usr/share/ovirt-engine/setup/dbutils/fkvalidator.sh and the
>>> problem is on 4
>>>     templates subversions. In detail we have two templates and each
>>> one has two
>>>     subversions.
>>>
>>>     Other templates with no subversions have no problem.
>>>
>>>     Thanks again, I hope this helps in debugging.
>>>
>>>
>>> Thanks Giorgio, do you mind open a bug on
>>> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine to
>>> track this?
>>
>> Bug 1528316 Submitted
>>
>>>
>>>
>>>
>>>     On 12/20/2017 04:04 PM, Martin Perina wrote:
>>>
>>>         Hi,
>>>
>>>         could you please share the full setup log?
>>>
>>>         ​
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20171220110337-cy5ri9.log
>>>
>>>         Thanks
>>>
>>>         Martin
>>>
>>>
>>>         On Wed, Dec 20, 2017 at 2:22 PM, Sandro Bonazzola
>>> <sbonazzo at redhat.com
>>>         <mailto:sbonazzo at redhat.com> <mailto:sbonazzo at redhat.com
>>>         <mailto:sbonazzo at redhat.com>>> wrote:
>>>
>>>
>>>
>>>              2017-12-20 11:58 GMT+01:00 Giorgio Biacchi
>>> <giorgio at di.unimi.it
>>>         <mailto:giorgio at di.unimi.it>
>>>              <mailto:giorgio at di.unimi.it <mailto:giorgio at di.unimi.it>>>:
>>>
>>>                  Hello list,
>>>                  I was about to upgrade from 4.1.8.2-1.el7.centos to
>>> 4.2.0 but
>>>                  engine-setup fails. Here's the relevant output:
>>>
>>>                  [ ERROR ] Failed to execute stage 'Setup validation':
>>> Failed
>>>         checking
>>>                  Engine database: an exception occurred while
>>> validating the Engine
>>>                  database, please check the logs for getting more info:
>>>                            Constraint violation found in  vm_interface
>>> (vmt_guid) |1
>>>
>>>                  [ INFO  ] Stage: Clean up
>>>                             Log file is located at
>>>                  ​​
>>>                        
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20171220110337-cy5ri9.log
>>>                  [ INFO  ] Generating answer file
>>>                 
>>> '/var/lib/ovirt-engine/setup/answers/20171220110551-setup.co
>>>         <http://20171220110551-setup.co>
>>>                  <http://20171220110551-setup.co
>>>         <http://20171220110551-setup.co>>nf'
>>>                  [ INFO  ] Stage: Pre-termination
>>>                  [ INFO  ] Stage: Termination
>>>                  [ ERROR ] Execution of setup failed
>>>
>>>                  any ideas??
>>>
>>>
>>>              Adding some people, I think one of your vms has an invalid
>>>         configuration
>>>              saved in the db.
>>>
>>>
>>>                  --         gb
>>>
>>>                  PGP Key: http://pgp.mit.edu/
>>>                  Primary key fingerprint: C510 0765 943E EBED A4F2
>>> 69D3 16CC
>>>         DC90 B9CB 0F34
>>>                  _______________________________________________
>>>                  Users mailing list
>>>         Users at ovirt.org <mailto:Users at ovirt.org> <mailto:Users at ovirt.org
>>>         <mailto:Users at ovirt.org>>
>>>         http://lists.ovirt.org/mailman/listinfo/users
>>>         <http://lists.ovirt.org/mailman/listinfo/users>
>>>                  <http://lists.ovirt.org/mailman/listinfo/users
>>>         <http://lists.ovirt.org/mailman/listinfo/users>>
>>>
>>>
>>>
>>>
>>>              --
>>>              SANDRO BONAZZOLA
>>>
>>>              ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG
>>> VIRTUALIZATION R&D
>>>
>>>              Red Hat EMEA <https://www.redhat.com/>
>>>
>>>              <https://red.ht/sig>
>>>              TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>>
>>>
>>>
>>>         --         Martin Perina
>>>         Associate Manager, Software Engineering
>>>         Red Hat Czech s.r.o.
>>>
>>>
>>>     --     gb
>>>
>>>     PGP Key: http://pgp.mit.edu/
>>>     Primary key fingerprint: C510 0765 943E EBED A4F2 69D3 16CC DC90
>>> B9CB 0F34
>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> SANDRO BONAZZOLA
>>>
>>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
>>>
>>> Red Hat EMEA <https://www.redhat.com/>
>>>
>>> <https://red.ht/sig>   
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list