Bug 1063769
Summary: | deployment roll back does not sync contents to every web gears | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
Component: | oc | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 2.0.0 | CC: | adellape, agoldste, bleanhar, bmeng, dmcphers, libra-onpremise-devel, wsun |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhc-1.17.5.2-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Rollbacks initiated by the OpenShift Enterprise client tools only occurred on the head gear due to an incompatibility between the client tools and the deployment API. This bug fix updates the client tools so that the correct deployment API is called, and rollbacks now work correctly.
|
Story Points: | --- |
Clone Of: | 1058251 | Environment: | |
Last Closed: | 2014-02-25 15:48:13 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: | 1058251 | ||
Bug Blocks: |
Description
Johnny Liu
2014-02-11 12:10:21 UTC
The upstream commit is a one line change. Given the severity I'm proposing it for 2.0.3: commit 669697f29d240dd263bef2a4767008206452e18f Author: fabianofranz <contact> Date: Tue Jan 28 01:37:03 2014 -0200 Bug 1058251 - gear activate requires --all to be applied to all gears Verified this bug with rhc-1.17.5.2-1.el6op.noarch, and PASS. 1. Create app. 2. # rhc app-configure -a py27mindelopyscal --no-auto-deploy --keep-deployments 3 -l jialiu -p redhat Configuring application 'py27mindelopyscal' ... done py27mindelopyscal @ http://py27mindelopyscal-jialiu.my-ose202.com.cn/ (uuid: 52fad50db04a074c970006f2) ------------------------------------------------------------------------------------------------------ Deployment: manual (use 'rhc deploy') Keep Deployments: 3 Deployment Type: git Deployment Branch: master Your application 'py27mindelopyscal' is now configured as listed above. Use 'rhc show-app py27mindelopyscal --configuration' to check your configuration values any time. 3. Do git push. 4. New deploy is not be active now. # curl 'http://py27mindelopyscal-jialiu.my-ose202.com.cn/' | grep 'title' | grep 'Welcome to OpenShift' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5233 100 5233 0 0 568k 0 --:--:-- --:--:-- --:--:-- 851k <title>Welcome to OpenShift</title> # curl 'http://52fad53fb04a074c9700071a-jialiu.my-ose202.com.cn/' | grep 'title' | grep 'Welcome to OpenShift' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5233 100 5233 0 0 570k 0 --:--:-- --:--:-- --:--:-- 851k <title>Welcome to OpenShift</title> 5. Manual active the deploy. # rhc app-deploy 300e3f0 -a py27mindelopyscal -l jialiu -p redhat 6. Check change take effects now # curl 'http://py27mindelopyscal-jialiu.my-ose202.com.cn/' | grep 'title' | grep '1' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5214 100 5214 0 0 440k 0 --:--:-- --:--:-- --:--:-- 565k <title>1</title> # curl 'http://52fad53fb04a074c9700071a-jialiu.my-ose202.com.cn/' | grep 'title' | grep '1' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5214 100 5214 0 0 168k 0 --:--:-- --:--:-- --:--:-- 188k <title>1</title> 6. # rhc deployment list -a py27mindelopyscal -l jialiu -p redhat 6:58 PM, deployment ac8da9dc 7:01 PM, deployment 46aa023d 7. Roll back the previous deployment. # rhc deployment-activate ac8da9dc -a py27mindelopyscal -l jialiu -p redhat 8. Check all gear of this app. # curl 'http://py27mindelopyscal-jialiu.my-ose202.com.cn/' | grep 'title' | grep 'Welcome to OpenShift' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5233 100 5233 0 0 1014k 0 --:--:-- --:--:-- --:--:-- 1703k <title>Welcome to OpenShift</title> # curl 'http://52fad53fb04a074c9700071a-jialiu.my-ose202.com.cn/' | grep 'title' | grep 'Welcome to OpenShift' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5233 100 5233 0 0 142k 0 --:--:-- --:--:-- --:--:-- 150k <title>Welcome to OpenShift</title> 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/RHBA-2014-0209.html |