The lexo-numeric comparator was using the Integer class which is limited to parsing numbers, and would cause an exception if the sequence of numbers was too long. Consequently, it was not possible to assign any network to any cluster or any virtual machine. This update changes the class to BigInteger which is unlimited in size, and has the required functionality. Now networks can be correctly assigned to clusters and virtual machines.
Description of problem:
It is not possible to assign any network to any cluster on WebAdmin portal. It is also not possible to assign any network the any VM.
Version-Release number of selected component (if applicable):
3.2
How reproducible:
100%
Steps to Reproduce:
1.) Log into the WebAdmin portal
2.) Try to assign a network to a cluster.
Actual results:
No network is available
Expected results:
All networks are available
Additional info:
The browser console (Ctrl+Shift+k firefox) show the following message:
[16:26:43.391] Mon Jul 22 16:26:43 GMT+200 2013 com.google.gwt.logging.client.LogConfiguration
SEVERE: For input string: "${string}"
java.lang.NumberFormatException: For input string: "${string}"
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.anonymous(Unknown Source)
Verified
Works in Red Hat Enterprise Virtualization Manager Version: 3.2.2-0.41.el6ev
2013-Aug-01, 15:52 Network N00059000059 attached to Cluster Default
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.
Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:
* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')
Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.
For further details on the Cause, Consequence, Fix, Result format please refer to:
https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes
Thanks in advance.
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.
http://rhn.redhat.com/errata/RHSA-2014-0038.html
Description of problem: It is not possible to assign any network to any cluster on WebAdmin portal. It is also not possible to assign any network the any VM. Version-Release number of selected component (if applicable): 3.2 How reproducible: 100% Steps to Reproduce: 1.) Log into the WebAdmin portal 2.) Try to assign a network to a cluster. Actual results: No network is available Expected results: All networks are available Additional info: The browser console (Ctrl+Shift+k firefox) show the following message: [16:26:43.391] Mon Jul 22 16:26:43 GMT+200 2013 com.google.gwt.logging.client.LogConfiguration SEVERE: For input string: "${string}" java.lang.NumberFormatException: For input string: "${string}" at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source) at Unknown.anonymous(Unknown Source)