Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Default memory size for virtual machine is in Bytes (2147483648) while creating host
Also, the information icon for memory is unresponsive.
Version-Release number of selected component (if applicable):
Satellite version: 6.6.0 snap 6
How reproducible:
Always
Steps to Reproduce:
1. Navigate to Hosts and click on create hosts link.
2. Configure host parameters in host tab.
3. Switch to virtual machine tab.
4. Check the default memory size.
5. Click on the information icon for Memory.
6. Provide value in single digit eg. 2 or 4 and create host.
Actual results:
- Host parameters are configured properly. No issues seen.
- Virtual machine tab shows very high value for Memory - 2147483648 (which converts to 2 GB). This value is supposedly in Bytes considering 2GB to be the default value.
- Clicking on information icon is unresponsive. No information is shown to user about the unit of value.
- Single digit value is correctly applied - eg. if 2 is provided then host is provisioned with 2 GB memory.
Expected results:
- Memory size value should be in GB by default.
- Information icon should provide the unit info for memory size.
Additional info:
From description and the image assuming this is a libvirt compute resource.
I was able to reproduce it on libvirt, but it is not happening for vmware, as it has memory in MB.
As vkaushik is not active, can't wait for his info, proceeding with fix for libvirt.
*** Bug 1742547 has been marked as a duplicate of this bug. ***
Comment 14Lukáš Hellebrandt
2019-09-17 12:13:13 UTC
Verified with Sat 6.6 snap 20.
Filled "3 GB", "3" and left default "2 GB", all led to correct size of the VM's memory and it got correctly shown in the host's VM tab. Also, information icon works, saying "When specifying custom value, add 'MB' or 'GB' at the end. Field is not case sensitive and MB is default if unspecified." which is correct.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:3172