Red Hat Bugzilla – Bug 808656
existing stopped app on stage becomes to idle
Last modified: 2012-04-27 16:45:46 EDT
Description of problem:
stopped apps on old instance will change to idle status after upgrade and migration.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create some apps on old stage
2.change the app status to 'stop'
3.after server upgrade and migration check if the app available.
the app becomes to idle status after server upgrade and migration.
the app should keep stop status.
I also encounter this issue. Maybe the above step is not enough to reproduce this issue, I clarify it more clear.
I have a stopped app on stage that is created a long time ago (maybe several sprint ago). Today, I try to access it, I find that my stopped app becomes "idled", after access my app url, the app wakes up from "idled" status.
Will stopped app also be "idled" on stage after no access for a long time?
this issue cannot be recreated on devenv migrate operation.
it only happens on stage environment.
(In reply to comment #2)
> this issue cannot be recreated on devenv migrate operation.
> it only happens on stage environment.
Ignore this comments, because I can find a way to reproduce it.
After stop app, idle it again manually, this app wil be waked up by accessing app url.
Do some more dig, I found rhc-autoidler, found it will check all application, even already stopped app. So I think the root cause is that rhc-autoidler miss a filter to exclude already stopped apps.
rhc-autoidler is never run in devenv.
I think it is better to give a fix patch to rhc-idler. Because stopped app should NOT be "idled". When trying to idle a "stopped" app, should skip it, and this seems to make more sense.
fixed in commit 10797174f2686396ea75c8bc687ee21ac8112c04
This patch introduce a new issue, rhc-idler does NOT any more, I will open another bug (Bug 814024) to track it. After Bug 814024 is fixed, I will verify this bug.
checked on devenv_1732, issue has been fixed.
rhc-idler will not handle the stop status apps.