2017-12-21 11:03 GMT+01:00 Giorgio Biacchi <giorgio@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?

 


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@redhat.com <mailto:sbonazzo@redhat.com>> wrote:



    2017-12-20 11:58 GMT+01:00 Giorgio Biacchi <giorgio@di.unimi.it
    <mailto:giorgio@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>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@ovirt.org <mailto:Users@ovirt.org>
        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