Bug 1114967
| Summary: | unable to upgrade to beta | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Petr Beňas <pbenas> | ||||
| Component: | ovirt-engine-installer | Assignee: | Simone Tiraboschi <stirabos> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.5 | CC: | acathrow, bugs, gklein, iheim, pstehlik, rnori, yeylon | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-07-21 14:50:57 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
3.5 beta1 introduces two new attributes for command_entities table. The DB upgrade scripts correctly fix them but only at setup misc stage; engine-setup try to access them at Validation stage and so it fails cause these two column are still not present. Upgrade from 3.4.z works cause the whole table was not present and engine-setup verify that, upgrade from beta1 to beta2 will work too cause the columns are present after beta1. The only case are going to fail for that are the upgrade from 3.5 alpha with async task. Adding it to release notes. |
Created attachment 913726 [details] setup log Description of problem: unable to upgrade from alpha to beta Version-Release number of selected component (if applicable): ovirt-engine-jboss-as-7.1.1-1.el6.x86_64 ovirt-engine-extensions-api-impl-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-webadmin-portal-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-host-deploy-java-1.2.2-0.0.master.20140605222857.gitf0ac297.el6.noarch ovirt-engine-cli-3.5.0.0-1.20140605.gita11d080.el6.noarch ovirt-engine-setup-base-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-lib-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-setup-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch ovirt-engine-websocket-proxy-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-dbscripts-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-userportal-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-restapi-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-sdk-python-3.5.0.0-1.20140605.git1267422.el6.noarch ovirt-host-deploy-1.2.2-0.0.master.20140605222857.gitf0ac297.el6.noarch ovirt-log-collector-3.5.0-0.0.master.20140605.git5a48d0c.el6.noarch ovirt-image-uploader-3.5.0-0.0.master.20140605.git83cb670.el6.noarch ovirt-release35-001-0.0.alpha1.noarch ovirt-engine-tools-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-engine-backend-3.5.0-0.0.master.20140612090854.el6.noarch ovirt-iso-uploader-3.5.0-0.0.master.20140605.gite89dcdf.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch How reproducible: three times in a row Steps to Reproduce: 1. update ovirt-engine-setup 2. engine-setup Actual results: [root@pb-rh35 yum.repos.d]# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140701125507-ika0yb.log Version: otopi-1.2.2_master (otopi-1.2.2-0.0.master.20140605.git60102c6.el6) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- --== PACKAGES ==-- [ INFO ] Checking for product updates... Setup has found updates for some packages, do you wish to update them now? (Yes, No) [Yes]: [ INFO ] Checking for an update for Setup... --== NETWORK CONFIGURATION ==-- Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. Do you want Setup to configure the firewall? (Yes, No) [Yes]: [ INFO ] iptables will be configured as firewall manager. --== DATABASE CONFIGURATION ==-- --== OVIRT ENGINE CONFIGURATION ==-- Skipping storing options as database already prepared --== PKI CONFIGURATION ==-- --== APACHE CONFIGURATION ==-- --== SYSTEM CONFIGURATION ==-- --== MISC CONFIGURATION ==-- --== END OF CONFIGURATION ==-- [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: [WARNING] Less than 16384MB of memory is available [ INFO ] Cleaning stale zombie tasks --== CONFIGURATION PREVIEW ==-- Update Firewall : True Host FQDN : pb-rh35.rhev.lab.eng.brq.redhat.com Firewall manager : iptables Upgrade packages : True Engine database name : engine Engine database secured connection : False Engine database host : localhost Engine database user name : engine Engine database host name validation : False Engine database port : 5432 Engine installation : True NFS mount point : /var/lib/exports/iso-20140616114208 Configure fence_kdump listener : True Configure WebSocket Proxy : True Please confirm installation settings (OK, Cancel) [OK]: [ INFO ] Cleaning async tasks and compensations [ ERROR ] Failed to execute stage 'Setup validation': column command_entities.callback_enabled does not exist LINE 8: where command_entities.callback_enabled = 't... ^ [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140701125507-ika0yb.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140701125623-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed Expected results: Additional info: