Bug 36661 - UVMM does not support some memory sizes
UVMM does not support some memory sizes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.3-3-errata
Assigned To: Jürn Brodersen
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-13 17:08 CET by Janek Walkenhorst
Modified: 2018-12-12 13:45 CET (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback, Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2014-11-13 17:08:07 CET
If the memory size is
 <memory unit='KiB'>2072576</memory>
the memory value is filled with
 0 B
when editing a VM.

Steps to reproduce:

Modify a VM

Enter RAM amount
 1000000000 B

Save VM

[Stored value is
 <memory unit='KiB'>976562</memory>
]

Reopen VM

Observe
 0 B

Which should read
 976562 KiB
(or better yet
 999.999488 MB
)
Comment 1 Erik Damrose univentionstaff 2014-11-13 17:10:05 CET
When trying to save the VM settings, one only does get a generic error message. We actually did not see the wrong value in the first place, because we edited some settings on the 'device' tab.
Comment 2 Janek Walkenhorst univentionstaff 2014-11-13 17:35:05 CET
(In reply to Erik Damrose from comment #1)
> When trying to save the VM settings, one only does get a generic error
> message. We actually did not see the wrong value in the first place, because
> we edited some settings on the 'device' tab.Bug #36662
Comment 3 Dirk Ahrnke 2016-10-26 11:52:29 CEST
mentioned in http://forum.univention.de/viewtopic.php?f=43&t=6166
Comment 4 Philipp Hahn univentionstaff 2018-12-11 13:11:45 CET
[juern/uvmm] 59031b6287 Bug #36661: Fix memory input
 .../umc/js/uvmm/DomainPage.js                      | 28 ++-----
 .../umc/js/uvmm/DomainWizard.js                    | 25 +-----
 .../umc/js/uvmm/DriveWizard.js                     | 11 +--
 .../umc/js/uvmm/MemoryTextBox.js                   | 95 ++++++++++++++++++++++
 4 files changed, 108 insertions(+), 51 deletions(-)
[juern/uvmm] 32fe9250ef Bug #36661 uvmm: Fix parsing memory and disk capacities.
 .../staging/univention-virtual-machine-manager-daemon.yaml     |  3 ++-
 .../univention-virtual-machine-manager-daemon/debian/changelog |  1 +
 .../univention-virtual-machine-manager-daemon/umc/js/de.po     | 10 ++++++----
 .../umc/js/uvmm/DomainPage.js                                  |  8 ++++----
 .../umc/js/uvmm/DomainWizard.js                                |  4 ++--
 .../umc/js/uvmm/types.js                                       |  4 ++--
 6 files changed, 17 insertions(+), 13 deletions(-)
Comment 5 Philipp Hahn univentionstaff 2018-12-11 13:12:18 CET
OK: very nice
OK: YAML
Comment 6 Philipp Hahn univentionstaff 2018-12-11 14:17:14 CET
[4.3-3] f99717e953 Bug #47617, Bug #47741, Bug #36661, Bug #48199, Bug #48024, Bug #45498, Bug #35196

Package: univention-virtual-machine-manager-daemon
Version: 7.0.0-17A~4.3.0.201812111413
Branch: ucs_4.3-0
Scope: errata4.3-3

[4.3-3] 582fb65dce Bug #47617: univention-virtual-machine-manager-daemon 7.0.0-17A~4.3.0.201812111413
 doc/errata/staging/univention-virtual-machine-manager-daemon.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Arvid Requate univentionstaff 2018-12-12 13:45:37 CET
<http://errata.software-univention.de/ucs/4.3/382.html>