Bug #27391
closed
Discrepancy in default memory size for virtual machine while provisioning vm
Added by Marek Hulán almost 6 years ago.
Updated over 5 years ago.
Category:
Compute resources - libvirt
|
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1720643
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:
- Subject changed from Discrepancy in default memory size for virtual machine while provisioning vm from Satellite 6
to Discrepancy in default memory size for virtual machine while provisioning vm from Satellite 6
- Category changed from Compute resources - VMware to Compute resources - libvirt
- Triaged changed from No to Yes
It is caused by event 'ContentLoaded' is fired before the DOM the jquery prepared DOM is rendered into real DOM.
The bytes spinner is than loaded incorrectly and the spinner is not initialized.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6930 added
- Related to Bug #27764: VM tab on create host has storage section missing when provider selected through hostgroup added
- Pull request https://github.com/theforeman/foreman/pull/7023 added
- Related to deleted (Bug #27764: VM tab on create host has storage section missing when provider selected through hostgroup)
- Related to Bug #27798: Host form doesn't update properly on hostgroup/taxonomy change added
- Fixed in Releases 1.24.0 added
- Fixed in Releases 1.23.0 added
- Fixed in Releases deleted (
1.24.0)
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman/pull/7026 added
- Subject changed from Discrepancy in default memory size for virtual machine while provisioning vm from Satellite 6 to Discrepancy in default memory size for virtual machine while provisioning vm
- Fixed in Releases 1.22.2 added
Also available in: Atom
PDF