Bug 1448888
| Summary: | Failed to create subnet | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ido Ovadia <iovadia> | |
| Component: | Providers | Assignee: | Tzu-Mainn Chen <tzumainn> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ido Ovadia <iovadia> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.8.0 | CC: | jfrey, jhardy, obarenbo, simaishi, tzumainn | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.9.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | openstack:sdn | |||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1460034 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:19:07 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Openstack | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1460034 | |||
|
Description
Ido Ovadia
2017-05-08 13:56:30 UTC
It looks like this is caused by large region numbers: the backend code is getting the ID properly:
{"available_tenants":[{"name":"admin","id":58015000000000001}]}
But it gets rendered imprecisely, as Angular does not correctly render such large numbers:
<option label="admin" value="number:58015000000000000">admin</option>
Either large region IDs need to be prevented, or all IDs need to be parsed as strings.
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/ce6492d548fd94d6213fbff710074cb3b1fd45ea commit ce6492d548fd94d6213fbff710074cb3b1fd45ea Author: Tzu-Mainn Chen <tzumainn> AuthorDate: Mon May 22 19:33:19 2017 +0200 Commit: Tzu-Mainn Chen <tzumainn> CommitDate: Mon May 22 19:33:19 2017 +0200 Ensure cloud tenant ID is read as string for cloud subnets If the region ID is large enough, the cloud tenant ID is not parseable as a string by angular. https://bugzilla.redhat.com/show_bug.cgi?id=1448888 app/controllers/cloud_subnet_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Verified ======== 5.9.0.16 |