Bug 1102428
Summary: | Ruby cartridge upgrades fail in INT because of .openshift dir->symlink change | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Andy Goldstein <agoldste> |
Component: | Image | Assignee: | Vojtech Vitek <vvitek> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | chunchen, hripps, jhonce, jokerman, mmccomas |
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: | 2014-07-15 10:29:48 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: |
Description
Andy Goldstein
2014-05-29 00:05:12 UTC
Seems like I can't use the upgrade script to fix this, as it's run after the new version of the cartridge is overlaid in the gear (that's where the `cp' error comes from). http://openshift.github.io/documentation-latest/oo_cartridge_developers_guide.html#compatible-upgrades I think I need to mark the upgrade incompatible and put the affected directories into setup_rewritten section of the cartridge's managed_files.yml for it's removal. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/b759b4537047f3db4dc6caab40421b475fd95ed7 Fix bug 1102428 Remove directories that are to be replaced by symlinks when the new version of cartridge is overlaid into gear. Note: Mark ruby for incompatible upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1102428 Checked it when upgrading from devenv_stage_837 to devenv_stage_861, the issue is fixed, so mark it as VERIFIED. FYI: After upgrading, the latest ruby cartridge package version is openshift-origin-cartridge-ruby-1.25.4-1.el6oso.noarch |