-
Notifications
You must be signed in to change notification settings - Fork 296
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
Fixes #36766 - Set disks to amount of disks instead of bytes #10750
Conversation
f74ff35
to
c6455ab
Compare
c6455ab
to
206f3d2
Compare
@sbernhard How does this look? I took a different approach since there is another redmine that someone else is working on for adding puppet support. I just altered the disks to be the correct total like we had before but with a different method of getting the disks. The girl working on the puppet support will update this card in the future |
webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js
Outdated
Show resolved
Hide resolved
webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js
Show resolved
Hide resolved
webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js
Show resolved
Hide resolved
Maybe a more generic question: is the amount of disks a system has really interesting? Or should it just list the size of the storage? |
I think having both would be beneficial, I will do the total disks and the other Redmine is being looked at for adding disk info from puppet_facts. |
What's the reason to close this PR @chris1984 ? |
Thinking more about it: it would probably still be a valid bug fix cherry pick. |
Are the failed tests related to this change? Would be good to finish this soonish. |
It looks like they just didn't run. Let me rekick it. @ekohl do you think this is fine as it is or want me to apply more filtering logic to this commit as suggested in the comment I made? |
@sbernhard tests are green if you want to test it |
I tested it together with my suggestion and it worked: |
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.
Thanks. Works as expected.
Awesome, thanks for testing it. Will get you change in and pushed up so we can get it in. |
@sbernhard pushed up your fix, will put this on the review board for someone with merge access to ack it so it can be merged |
[test katello] |
webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js
Outdated
Show resolved
Hide resolved
webpack/components/extensions/HostDetails/DetailsTabCards/HwPropertiesCard.js
Outdated
Show resolved
Hide resolved
@jeremylenz how does this look? |
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! 👍
What are the changes introduced in this pull request?
Considerations taken when implementing this change?
What are the testing steps for this pull request?
Before PR: https://community.theforeman.org/t/hosts-ram-details-buggy/35050/7?u=cintrix84
After PR: