Bug 831097
Summary: | The status of DIY application when using CLI is not correct and does not match the status on website. | ||
---|---|---|---|
Product: | OKD | Reporter: | Yujie Zhang <yujzhang> |
Component: | Master | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, rmillner, xtian |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-25 18:27:30 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: |
Description
Yujie Zhang
2012-06-12 07:49:06 UTC
Not sure but this looks like a mismatch between old broker API call and new broker api call to gear status. These are 2 very different calls.... The website uses the call /broker/rest/domains/<domain-name>/applications/<app-name>/gear_groups.json to get the state of each gear. The CLI on the otherhand uses the old API which calls "app_ctl.sh status" on the gear itself. For DIY apps it gives the following error: usr/libexec/stickshift/cartridges/diy-0.1/info/bin/app_ctl.sh: line 46: print_running_processes: command not found I did a grep and could not find anywhere the command print_running_processes was defined. Expect fix today (In reply to comment #3) Tested this issue on int.openshift.redhat.com , the status of diy application is correct both on CLI and website, thanks. |