Bug 1036513 - Failed to start zend-5.6/6.1 app after snapshot restore with hot_deploy maker enabled
Summary: Failed to start zend-5.6/6.1 app after snapshot restore with hot_deploy maker...
Keywords:
Status: CLOSED DUPLICATE of bug 1038129
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vojtech Vitek
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 08:11 UTC by Lei Zhang
Modified: 2015-05-15 00:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-04 13:54:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lei Zhang 2013-12-02 08:11:15 UTC
Description of problem:
Given one zend-5.6/6.1 app created(e.g.,myzend61), change something in local git repo and git push, do snapshot save and then do snapshot restore and found zend app failed to start after snapshot restore done, when accessing the home page, 503 error shows


[rayzhang@ray Work]$ rhc snapshot restore -a myzend61 -f myzend61.tar.gz 
Restoring from snapshot myzend61.tar.gz...
Removing old git repo: ~/git/myzend61.git/
Removing old data dir: ~/app-root/data/*
Restoring ~/git/myzend61.git and ~/app-root/data
Activation status: success
RESULT:
Success
[rayzhang@ray Work]$ rhc cartridge status -a myzend61 -c zend-6.1
RESULT:
Application is either stopped or inaccessible



Version-Release number of selected component (if applicable):
devenv_4084

How reproducible:
always

Steps to Reproduce:
1.create one zend-6.1/zend-5.6 app
#rhc app create myzend61 zend-6.1
2.change something in local git repo and git push, and then do snapshot save
#sed -i 's/Welcome to/HI/g' php/index.php
#git add -A &&git commit -amp&&git push
#rhc snapshot save myzend61
3.restore snapshot and check the status of zend app
#rhc snapshot restore -a myzend61 -f myzend61.tar.gz 
#rhc cartridge status -a myzend61 -c zend-6.1

Blow is the test log of zend-5.6 
http://pastebin.test.redhat.com/179217

Actual results:
zend app failed to start after snapshot restore

Expected results:
zend app should be started after snapshot restore

Additional info:

Comment 1 Michal Fojtik 2013-12-04 12:37:56 UTC
I'm able to reproduce this bug. The workaround is to restart the app after snapshot is restored. In that case all Zend services are started and app is working normally. Vojtech?

Comment 6 Michal Fojtik 2013-12-04 13:42:58 UTC
I would recommend closing this one as duplicate of this new bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1038129

(as this is affecting all cartridges, not just Zend).

Comment 7 Vojtech Vitek 2013-12-04 13:54:14 UTC

*** This bug has been marked as a duplicate of bug 1038129 ***


Note You need to log in before you can comment on or make changes to this bug.