| Summary: | [origin_broker_114]some errors should not be detected while running 'oo-admin-chk -l 1 ' since gears field was nested in 'group_instances' | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | zhaozhanqi <zzhao> |
| Component: | Pod | Assignee: | Ravi Sankar <rpenta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | abhgupta, rpenta, xtian |
| Target Milestone: | --- | Keywords: | UpcomingRelease |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-24 03:34:15 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: | |
|
Description
zhaozhanqi
2013-11-25 04:53:32 UTC
tested this issue on devenv_4072 since the gears field was nested in 'group_instances', so use oo-admin-chk -l 1 should not detect the following error. Check failed. Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '529455f063512bb55e00004c' Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '5294561863512bb55e000069' Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '5294561863512bb55e000069' it is only for scaling app, check the all gears as below. rhc app show zqphps -g ID State Cartridges Size SSH URL -------------------------------- ------- ------------------- ----- ------------------------------------------------------------------------------------- 5294554863512bb55e000028 started php-5.3 haproxy-1.4 small 5294554863512bb55e000028.rhcloud.com 4f097936567111e388bc22000aa43a5b started mysql-5.1 small 4f097936567111e388bc22000aa43a5b.rhcloud.com 438826707696280391385088 started postgresql-8.4 small 438826707696280391385088.rhcloud.com Regardless of whether gears are embedded within group instances or not, they still "belong" to a group instance. Hence, this validation is both valid and necessary. Hi abhgupta My steps is 1) create one scaling app zqphps 2) add db cartridge mysql and postgresql-8.4 3) then run 'oo-admin-chk -l 1' step 3, it will give error: Check failed. Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '529455f063512bb55e00004c' Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '5294561863512bb55e000069' Application 'zqphps' with Id '5294554863512bb55e000028' has no gears for group instance with Id '5294561863512bb55e000069' so I think this is not we expected. It should return 'PASS' Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/56388bb445a173728e5614708ffc45227b20f5f7 Bug 1034018 - Fix gears/group_instances check in oo-admin-chk script Tested this issue on devenv_4078, it has been fixed oo-admin-chk -l 1 Started at: 2013-11-27 05:33:03 -0500 Time to fetch mongo data: 0.123s Total gears found in mongo: 13 Time to get all gears from nodes: 21.873s Total gears found on the nodes: 13 Total nodes that responded : 1 Time to get all sshkeys for all gears from nodes: 20.064s Total gears found on the nodes: 13 Total nodes that responded : 1 Success Total time: 43.071s Finished at: 2013-11-27 05:33:46 -0500 Marked this bug to 'verified' |