Cannot display project overview page due to "cannot convert float infinity to integer" error
Bug #1370869 reported by
Akihiro Motoki
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Akihiro Motoki | ||
Icehouse |
Fix Released
|
Medium
|
Julie Pichon |
Bug Description
Due to nova bug 1370867, nova absolute-limits sometimes returns -1 for *Used fields rather than 0.
If this happens, the project overview page cannot be displayed with "cannot convert float infinity to integer" error.
Users cannot use the dashboard without specifying URL directly, so it is better the dashboard guards this situation.
tags: | added: icehouse-backport-potential |
Changed in horizon: | |
milestone: | none → juno-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
[Thu Sep 18 05:11:31.177843 2014] [:error] [pid 28497:tid 139872488023808] /172.16. 201.25: 8774/v2/ ebcbf37ab145448 4b6e22a99fb31e7 d6/limits' -X GET -H "X-Auth-Project-Id: ebcbf37ab145448 4b6e22a99fb31e7 d6" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 760f5e88c49232e 38db8cf459d5f1d 20" /172.16. 201.25: 8774) connectionpool: Setting read timeout to None connectionpool: "GET /v2/ebcbf37ab14 54484b6e22a99fb 31e7d6/ limits HTTP/1.1" 200 437 Dict({' date': 'Thu, 18 Sep 2014 05:11:31 GMT', 'content-length': '437', 'content-type': 'application/json', 'x-compute- request- id': 'req-244a0865- bf44-4932- 85aa-0c5569cf10 f1'}) Size": 10240, "maxSecurityGro upRules" : 20, "maxTotalKeypairs": 100, "totalRAMUsed": -2048, "totalInstances Used": -1, "maxSecurityGro ups": 10, "totalFloatingI psUsed" : 0, "maxTotalCores": 20, "totalSecurityG roupsUsed" : 1, "maxTotalFloati ngIps": 10, "maxTotalInstan ces": 10, "totalCoresUsed": -1, "maxTotalRAMSize": 51200}}}
[Thu Sep 18 05:11:31.177862 2014] [:error] [pid 28497:tid 139872488023808] REQ: curl -i --insecure 'https:/
[Thu Sep 18 05:11:31.177870 2014] [:error] [pid 28497:tid 139872488023808]
[Thu Sep 18 05:11:31.178005 2014] [:error] [pid 28497:tid 139872488023808] New session created for: (https:/
[Thu Sep 18 05:11:31.179368 2014] [:error] [pid 28497:tid 139872488023808] DEBUG:urllib3.
[Thu Sep 18 05:11:31.202475 2014] [:error] [pid 28497:tid 139872488023808] DEBUG:urllib3.
[Thu Sep 18 05:11:31.203036 2014] [:error] [pid 28497:tid 139872488023808] RESP: [200] CaseInsensitive
[Thu Sep 18 05:11:31.203057 2014] [:error] [pid 28497:tid 139872488023808] RESP BODY: {"limits": {"rate": [], "absolute": {"maxServerMeta": 128, "maxPersonality": 5, "maxImageMeta": 128, "maxPersonality