Bug 997769
Summary: | oo-admin-upgrade will be broken when trying to rerun for the failed gears from previous upgrade | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jianwei Hou <jhou> |
Component: | Containers | Assignee: | Dan Mace <dmace> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | dmace, jhou |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-29 12:51:47 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: | |||
Bug Depends On: | |||
Bug Blocks: | 991543 |
Description
Jianwei Hou
2013-08-16 07:58:11 UTC
Meng, You should never manually manipulate/delete the files in /tmp/oo-upgrade with the new oo-admin-upgrade tool; if you need to start over from scratch, use `oo-admin-upgrade archive` which will archive the contents of /tmp/oo-upgrade to /tmp/oo-upgrade/archive_{timestamp}. That said, I need a little more information for this test case. Can you try the following: 1. Start over (`oo-admin-upgrade archive`) 2. Run your first upgrade (where errors are expected) 3. Make a tarball of /tmp/oo-upgrade (e.g. upgrade-step-1.tar.gz) 4. Run your second upgrade (that you see failing) 5. Make another tarball of /tmp/oo-upgrade (e.g. upgrade-step-2.tar.gz) Then attach both tarballs and the stdout of both oo-admin-upgrade runs to this issue so I can inspect the before and after state of the data files. Thanks. Comment #1 was addressed to Hou, sorry! This is not reproducible this time, when the 1st time migration left some gears with errors, run it a second time and the program will process only the failed gears. If there is ever any problem again, I'll be sure to attach all logs, thanks! |