Bug 884629
| Summary: | sortkey is not reset back to default for starvation ordering | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Lubos Trilety <ltrilety> |
| Component: | condor | Assignee: | Erik Erlandson <eerlands> |
| Status: | CLOSED NOTABUG | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Development | CC: | matt, tstclair |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-09 15:54:35 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 785283 | ||
|
Description
Lubos Trilety
2012-12-06 13:00:14 UTC
In the original implementation the default value of GROUP_SORT_EXPR was: ifThenElse(GroupResourcesAllocated>0.0,GroupResourcesInUse/GroupResourcesAllocated,3.40282e+38) The denominator was GroupResourcesAllocated, which is resources allocated to the group: that is, the lesser of quota or the number of jobs submitted against the group. So in the case of my original test writeup on Bug 785283, when there were no jobs, 'allocated' dropped to zero, and it was then set to 'max-float' In the 7.8 series, the default expression is now: ifThenElse(AccountingGroup=?="<none>",3.4e+38,ifThenElse(GroupQuota>0,GroupResourcesInUse/GroupQuota,3.3e+38)) See that the denominator is now GroupQuota. A group's quota does not drop to zero when there are no jobs submitted, and so the expression will evaluate to zero. My guess about the 1st cycle where it is evaluating to 'max-float' is that the slot ads haven't yet reported to the collector, and so all quotas will be zero. I'm closing out for reasons discussed in Comment 2 and: https://bugzilla.redhat.com/show_bug.cgi?id=785283#c8 |