Bug 947010
| Summary: | [fork][v2carts] Can not restart diy application successfully if diy is already stopped. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Yujie Zhang <yujzhang> | ||||||
| Component: | Containers | Assignee: | Dan Mace <dmace> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 2.x | CC: | dmace, miyang, xjia, xtian | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | devenv_3119+ | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-04-20 03:36:08 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Yujie Zhang
2013-04-01 08:03:05 UTC
Created attachment 730207 [details]
broker log
Fix is in in devenv_3057 Now success to restart the diy app. But if the app is stopped, then restart the app, it will show "We appear to be having technical difficulties" Version: devenv_3081 To xjia:
When I stop the app that is already stopped for the second time,
it shows me the following outputs:
(it's different from what you see.)
[root@hcx ~]# rhc app stop app1
Reference ID: f9d4c97afd551c897e31dc4be9a286c5
[root@hcx ~]# rhc app stop app1
Reference ID: 031fb5d2ccbd9bbdef3c0f42e0229f31
[root@hcx ~]#
And when I run "echo $?", it returned "1"
[root@hcx ~]# echo $?
1
[root@hcx ~]#
Thanks for finding this one. I've openened a pull request for this fix. https://github.com/openshift/origin-server/pull/2039 Verify: [root@jasontest ~]# rhc app stop diy RESULT: diy stopped [root@jasontest ~]# rhc app restart diy RESULT: diy restarted [root@jasontest ~]# rhc app show --state diy Cartridge diy-0.1, mysql-5.1 is started Version: devenv_3094 You can move this bug ON_QA. Thanks. Tested on devenv_3115 , it can be successfull when restarting a stopped application, but when stopping a stopped application, there is still reference error like following: [root@dhcp-8-252 home]# rhc app stop -a doitself45 -l ss RESULT: doitself45 stopped [root@dhcp-8-252 home]# rhc app stop -a doitself45 -l ss Reference ID: 353ac711299e408cf282fd951334a33d So assign it back,thanks. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/f7479cf7447fa074f13004844f655cdc85231a3a Bug 947010: Exclude grep when checking for existing process Resolve https://bugzilla.redhat.com/show_bug.cgi?id=947010 [root@ip-10-73-29-105 ~]# rhc app stop diy RESULT: diy stopped [root@ip-10-73-29-105 ~]# rhc app stop diy RESULT: diy stopped Version: devenv_3120 |