Hide Forgot
Description of problem: This bug is introduced by 10797174f2686396ea75c8bc687ee21ac8112c04. [root@ip-10-118-203-101 stickshift]# rhc-idler -u 7ae27dfb799c4c83b688d60886d6a1d1 [root@ip-10-118-203-101 stickshift]# rhc-idler -l [root@ip-10-118-203-101 stickshift]# sh -x rhc-idler -u 7ae27dfb799c4c83b688d60886d6a1d1 + TRUE=0 + FALSE=1 + getopts u:dl OPTION + case $OPTION in + uuid=7ae27dfb799c4c83b688d60886d6a1d1 + getopts u:dl OPTION + '[' '!' -z '' ']' + '[' -z 7ae27dfb799c4c83b688d60886d6a1d1 ']' + '[' -d /var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1 ']' + source /var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/.env/OPENSHIFT_GEAR_DIR ++ export OPENSHIFT_GEAR_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/ ++ OPENSHIFT_GEAR_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/ + source /var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/.env/OPENSHIFT_RUNTIME_DIR ++ export OPENSHIFT_RUNTIME_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/runtime/ ++ OPENSHIFT_RUNTIME_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/runtime/ ++ is_idled 7ae27dfb799c4c83b688d60886d6a1d1 ++ appid=7ae27dfb799c4c83b688d60886d6a1d1 ++ grep -q ' #ProxyPass' /etc/httpd/conf.d/stickshift/7ae27dfb799c4c83b688d60886d6a1d1_jialiu_redmine.conf ++ return 1 ++ is_stopped 7ae27dfb799c4c83b688d60886d6a1d1 +++ get_state 7ae27dfb799c4c83b688d60886d6a1d1 +++ source /var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/.env/OPENSHIFT_RUNTIME_DIR ++++ export OPENSHIFT_RUNTIME_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/runtime/ ++++ OPENSHIFT_RUNTIME_DIR=/var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/runtime/ +++ cat /var/lib/stickshift/7ae27dfb799c4c83b688d60886d6a1d1/redmine/runtime//.state ++ _test=started +++ test stopped = started ++ return + '[' -o ']' + exit 0 After I use if `is_idled "$uuid"` || `is_stopped "$uuid"` ; then to replace if [ `is_idled "$uuid"` -o `is_stopped "$uuid"` ]; then it works fine. Version-Release number of selected component (if applicable): devenv_1730 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Suggested changes made in commit 45e70e22e42b479f8607809adb5edcfa75fa8595
verified on devenv_1732, issue has been fixed.