Bug 1061423
Summary: | Gear is not started after restore when hot_deploy marker is present for all cartridges | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | ImageStreams | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.0 | CC: | adellape, anli, chunchen, jhadvig, jolamb, lzhang, mfojtik, pruan, xtian, yadu |
Target Milestone: | --- | Keywords: | UpcomingRelease |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-openshift-origin-node-1.17.5.9-1.el6op openshift-origin-node-util-1.17.5-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
After restoring an application snapshot, gears with the hot_deploy marker did not restart. This bug fix updates the marker logic and gears with the hot_deploy marker now restart correctly. The MCollective service must be restarted after applying this fix.
|
Story Points: | --- |
Clone Of: | 1038129 | Environment: | |
Last Closed: | 2014-02-25 15:47:55 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: | 1038129 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-02-04 20:05:16 UTC
Verify on puddle-2-0-3-2014-02-06 as following actions. I found that the embedded mysql is in 'stop' status after restore. 1. snapshot restore ruby1.9 [ose215@dhcp-9-237 ~]$ rhc snapshot restore -a ruby01 -f ruby01.tar.gz Restoring from snapshot ruby01.tar.gz... Removing old git repo: ~/git/ruby01.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/ruby01.git and ~/app-root/data httpd: Could not reliably determine the server's fully qualified domain name, using nd217.oseanli.cn for ServerName Activation status: success RESULT: Success [ose215@dhcp-9-237 ~]$ rhc cartridge status -a ruby01 -c ruby-1.9 RESULT: Application is running 2. Snapshot restore jbosseap with scaled cartridges [ose215@dhcp-9-237 ~]$ rhc snapshot restore jbosseap -f jbosseap.tar.gz Restoring from snapshot jbosseap.tar.gz... Removing old git repo: ~/git/jbosseap.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/jbosseap.git and ~/app-root/data Distribution status: success Activation status: success RESULT: Success [ose215@dhcp-9-237 ~]$ rhc app show jbosseap --gears ID State Cartridges Size SSH URL ------------------------ ------- ---------------------- ----- ---------------------------------------------------------------------- 52f475db4945dc14ab0001e2 started jbosseap-6 haproxy-1.4 small 52f475db4945dc14ab0001e2.cn 52f4763a4945dc14ab00020d started jbosseap-6 haproxy-1.4 small 52f4763a4945dc14ab00020d.cn 3. snapshot restore jbosseap with mysql [ose215@dhcp-9-237 ~]$ rhc app show jbosseap --gears ID State Cartridges Size SSH URL ------------------------ ------- ---------------------- ----- ---------------------------------------------------------------------- 52f475db4945dc14ab0001e2 started jbosseap-6 haproxy-1.4 small 52f475db4945dc14ab0001e2.cn 52f4763a4945dc14ab00020d started jbosseap-6 haproxy-1.4 small 52f4763a4945dc14ab00020d.cn 52f4794b4945dc14ab000252 started mysql-5.1 small 52f4794b4945dc14ab000252.cn [ose215@dhcp-9-237 ~]$ rhc snapshot restore jbosseap Restoring from snapshot jbosseap.tar.gz... Removing old git repo: ~/git/jbosseap.git/ Removing old data dir: ~/app-root/data/* Restoring ~/git/jbosseap.git and ~/app-root/data Restoring snapshot for mysql-5.1 gear Removing old data dir: ~/app-root/data/* Restoring ~/app-root/data Old and new names are the same, no need to rename Distribution status: success Activation status: success RESULT: Success [ose215@dhcp-9-237 ~]$ rhc app show jbosseap --gears ID State Cartridges Size SSH URL ------------------------ ------- ---------------------- ----- ---------------------------------------------------------------------- 52f475db4945dc14ab0001e2 started jbosseap-6 haproxy-1.4 small 52f475db4945dc14ab0001e2.cn 52f4763a4945dc14ab00020d started jbosseap-6 haproxy-1.4 small 52f4763a4945dc14ab00020d.cn 52f4794b4945dc14ab000252 stopped mysql-5.1 small 52f4794b4945dc14ab000252.cn "The embedded mysql is in 'stop' status after restore" is another bugs https://bugzilla.redhat.com/show_bug.cgi?id=1030305. we expects to merge it from online. 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 |