Bug 1293597
Summary: | [rhos-4] Tenant cannot start or stop his instances by the Horizon portal | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pablo Caruana <pcaruana> |
Component: | python-django-horizon | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED WONTFIX | QA Contact: | Ido Ovadia <iovadia> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.0 | CC: | aortega, athomas, iserrano, mrunge, ochalups, pcaruana, rcernin, yeylon |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | 8.0 (Liberty) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-11 08:43:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pablo Caruana
2015-12-22 10:35:59 UTC
Not complete sure if this was shared before, but let's documented here. Customer have been making the tests with the owner user of the original instances and the start/stop task in new instances was executed correctly. They have continued making test and finally we have identified the error. Their conclusion is that the error is located in Horizon portal as The affected project contains at least 26 instances deployed, Horizon is showing the instance view in 2 pages (fist 20 instances, second 6 instances). When tried to start/stop instances showed in the first page the task is executed correctly. When tried start/stop instances showed in the second paged the task is not executed. Additional verification tests: 1- created a new instance, this instance was showed the first of all instances in the list so is located in the first page of the instances-view in horizon 2-due to this new instance, one of the old instances was moved to the second page of the instances-view in horizon. 3-Launched stop operation to the old instance moved to the second page and the task was not executed. 4- removed that new instance so the old instance was moved again to the first page of instances view in horizon. 5-Launched the the start/stop task at the original instance and this task is executed correctly. Resume: All instances located in the first page of the instances view can be start/stop correctly by horizon. The star/stop tasks executed in the other instances located in the others pages of the instances view are not executed correctly. The issue seems to come from a wrong use of the url to post to. On horizon/templates/horizon/common/_data_table.html: <form action="{{ table.get_absolute_url }}" method="POST"> Where get_absolute_url returns... the absolute url with no query parameters: return self.request.get_full_path().partition('?')[0] So the solution would be to apply the fix from upstream at https://review.openstack.org/#/c/77837/. This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions |