Bug 892532
| Summary: | [ovirt-engine-backend] DB upgrade from 3.0 to 3.1 fails | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Eli Mesika <emesika> | |
| Component: | ovirt-engine | Assignee: | Eli Mesika <emesika> | |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Stehlik <pstehlik> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 3.2.0 | CC: | bazulay, cboyle, dyasny, iheim, italkohe, lpeer, mpavlik, pep, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs | |
| Target Milestone: | --- | Keywords: | TestBlocker, ZStream | |
| Target Release: | 3.2.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | infra | |||
| Fixed In Version: | sf7 | Doc Type: | Bug Fix | |
| Doc Text: |
--no doc text required
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 893012 909948 (view as bug list) | Environment: | ||
| Last Closed: | 2013-06-10 21:31:33 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 880665, 890324, 893012, 909948, 915537 | |||
| Attachments: | ||||
|
Description
Eli Mesika
2013-01-07 10:19:21 UTC
http://gerrit.ovirt.org/#/c/10700/ http://gerrit.ovirt.org/#/c/10701/ http://gerrit.ovirt.org/#/c/10702/ fixed in commits : 36c65d8, 877b0a4, 2e57263 fix in commit: 1280938 *** Bug 902686 has been marked as a duplicate of this bug. *** fixed in commit: dff85e8 Upgrade si26.1 -> SF5 failed
attached:
logcollector
ovirt-engine-upgrade_2013_01_31_16_19_39.log
Running upgrade sql script upgrade/03_02_0330_add_vds_event_notifications.sql ...
Creating views...
2013-01-31 16:21:05::DEBUG::common_utils::473::root:: stderr = psql:create_views.sql:382: ERROR: column vm_templates.is_smartcard_enabled does not exist
LINE 34: vm_templates.is_smartcard_enabled as is_smartcard_ena...
^
2013-01-31 16:21:05::DEBUG::common_utils::474::root:: retcode = 3
2013-01-31 16:21:05::ERROR::rhevm-upgrade::1078::root:: Traceback (most recent call last):
File "/usr/bin/rhevm-upgrade", line 1065, in main
runFunc([db.update], MSG_INFO_DB_UPDATE)
File "/usr/bin/rhevm-upgrade", line 594, in runFunc
func()
File "/usr/bin/rhevm-upgrade", line 429, in update
output, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=MSG_ERROR_UPDATE_DB)
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in execCmd
raise Exception(msg)
Exception: Error: Database update failed
2013-01-31 16:21:05::ERROR::rhevm-upgrade::1079::root:: Rolling back update
2013-01-31 16:21:05::ERROR::rhevm-upgrade::563::root:: PKI: cannot remove '/etc/httpd/conf.d/ssl.conf.tmp'
Created attachment 691007 [details]
upgrade si26.1 -> SF5
I am moving it to QA again since this commit was not included in SF5 Please reacheck in SF6 Upgrade si26.1 -> SF6 failed
attached:
upgradelog
ovirt-engine-upgrade_2013_02_07_14_26_15.log
logcollector
sosreport-LogCollector-admin-20130207143840-eec8.tar.xz
2013-02-07 14:27:12::DEBUG::common_utils::473::root:: stderr = psql:create_views.sql:654: ERROR: column vds_static.sshkeyfingerprint does not exist
LINE 29: vds_static.recoverable as recoverable, vds_static.sshKeyF...
^
2013-02-07 14:27:12::DEBUG::common_utils::474::root:: retcode = 3
2013-02-07 14:27:12::ERROR::rhevm-upgrade::1102::root:: Traceback (most recent call last):
File "/usr/bin/rhevm-upgrade", line 1089, in main
runFunc([db.update], MSG_INFO_DB_UPDATE)
File "/usr/bin/rhevm-upgrade", line 594, in runFunc
func()
File "/usr/bin/rhevm-upgrade", line 429, in update
output, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=MSG_ERROR_UPDATE_DB)
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in execCmd
raise Exception(msg)
Exception: Error: Database update failed
Created attachment 694481 [details]
ovirt-engine-upgrade_2013_02_07_14_26_15.log.tar
Created attachment 694482 [details]
ovirt-engine-upgrade_2013_02_07_14_26_15.log.tar
Created attachment 694484 [details]
ovirt-engine-upgrade_2013_02_07_14_26_15.log.tar
Created attachment 694486 [details]
sosreport-LogCollector-admin-20130207143840-eec8.tar
si27.4 to sf10.1 works fine This bug is currently attached to errata RHEA-2013:14491. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0888.html |