Bug 975174
Summary: | Cartridge migrations should skip cartridges for which manifest does not match gear layout | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Paul Morie <pmorie> |
Component: | Containers | Assignee: | Paul Morie <pmorie> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jhou, xtian |
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-06-24 14:56:38 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
Paul Morie
2013-06-17 18:30:59 UTC
PRs submitted to master and stage. Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/ceaf3cfeacd529ac3e833ec389a503f4285fa632 Fix bug 975174: skip migration for cartridges when manifest does not match gear layout Will be in devenv 3373 Verified on devenv_3375 Create an application, rename the cartridge dir, making which inconsistent with its manifest.yml, then migrate the gear. The cartridge will be skipped. rhc-admin-migrate --version 2.0.29 --login jhou+1 --app-name skip --migrate-gear 51c03b76b2564e03a1000002 Migrating gear on node with: /usr/bin/rhc-admin-migrate --login 'jhou+1' --migrate-gear '51c03b76b2564e03a1000002' --app-name 'skip' --version '2.0.29' Migrating on node... ***time_migrate_on_node_measured_from_broker=955*** Migrate on node output: Beginning 2.0.29 migration for 51c03b76b2564e03a1000002 Inspecting gear at /var/lib/openshift/51c03b76b2564e03a1000002 Pre-migration state: started Marking step inspect_gear_state complete Migrating gear at /var/lib/openshift/51c03b76b2564e03a1000002 Skipping migration for diy: cartridge manifest does not match gear layout: /var/lib/openshift/51c03b76b2564e03a1000002/diy is not a directory Cleaning up after migration ***time_migrate_on_node_measured_from_node=382*** ***time_redeploy_httpd_proxy=0*** ***time_restart=0*** ***time_total_migrate_gear_measured_from_broker=961*** |