| Summary: | hfs code cleanup for usage | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Jon Thomas <jthomas> |
| Component: | condor | Assignee: | Erik Erlandson <eerlands> |
| Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.3 | CC: | iboverma, ltoscano, ltrilety, matt, mkudlej |
| Target Milestone: | 2.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | condor-7.5.6-0.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-27 14:33:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jon Thomas
2011-01-21 20:13:54 UTC
(In reply to comment #0) I noticed that groupUsed has been removed upstream, so I'm anticipating we get that cleanup when we migrate to 7.6 for grid 2. I had used accountant.GetResourcesUsed() in the HFS-specific code path, since we are explicitly requiring non-weighted slots. On the other hand, any future enhancements of HFS for supporting weighted slots would require moving back to GetWeightedResourcesUsed(). I think that the new iterative logic for adapting to rejections and overlapping-pool will also enable weighted slots to work pretty well with HFS -- experiment for 2.x inclusion? "I noticed that groupUsed has been removed upstream" It could be the variable was used in older HFS code, then removed, and then I put it back in for tracking usage for "none". I added it in: https://bugzilla.redhat.com/show_bug.cgi?id=629614 Upstream wouldn't have this yet. I'm not sure there is anything that can be done to fix weighted slots (period) other than a rewrite that integrates "hfs" with negotiation. The problem is "ask for 1 slot and get 8". It's really not an HFS specific problem. It might work if we could convert a weighted slot to a partitionable slot on the fly, but the partitionable flag is at the startd. What are the step to verify this issue, please? (In reply to comment #3) > What are the step to verify this issue, please? These are code cleanup changes intended to make no change to functionality. In that respect, verification would mean making sure HFS works as it did before (excepting any new changes that do alter functionality). Tested with:
condor-7.6.1-0.5
Tested on:
RHEL5 i386,x86_64 - passed
RHEL6 i386,x86_64 - passed
>>> VERIFIED
|