-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aggregate_memory to container project #18159
Add aggregate_memory to container project #18159
Conversation
@yaacov if you include the |
1f25ed6
to
9920193
Compare
@agrare please re-review |
70e499f
to
dadc7b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add an aggregate_cpu_speed and aggregate_cpu_total_cores methods? Then you shouldn't need to define the alias on all_host_ids.
dadc7b5
to
a97887c
Compare
@miq-bot add_label blocker |
@yaacov if this will be able to be backported, can you add the hammer/yes flag. |
Checked commit yaacov@a97887c with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Ran a quick test with the expected changes applied:
So the total_mem is no longer nil 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, future enhancement would be nice to get away from the hard-coded :host
in aggregate_hardware
in the mixin and define what assoc to use for the aggregation. For now this looks good though.
@JPrause yes it can be backported |
@agrare how about gaprindashvili? |
Should be fine for gaprindashvili |
…tainer-project Add aggregate_memory to container project (cherry picked from commit edd65ff) https://bugzilla.redhat.com/show_bug.cgi?id=1618536
Hammer backport details:
|
…tainer-project Add aggregate_memory to container project (cherry picked from commit edd65ff) https://bugzilla.redhat.com/show_bug.cgi?id=1647056
Gaprindashvili backport details:
|
…y-to-container-project Add aggregate_memory to container project (cherry picked from commit edd65ff) https://bugzilla.redhat.com/show_bug.cgi?id=1647056
Currently container project is missing aggregate_memory method.
BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1618536