Attempting to create a volume after deleting one fails

Bug #1553314 reported by Rob Cresswell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Timur Sufiev

Bug Description

This is a fun bug.

1) Create Volume, follow process until volume is created
2) Delete volume from step 1.
3) Click "Create Volume" again. The modal spinner appears briefly, then disappears and the console has the following error:

jquery.js:8706 GET http://localhost:8000/project/volumes/?action=row_update&table=volumes&obj_id=9f1c9086-6086-491b-8826-502e34abcf00 404 (NOT FOUND)
send @ jquery.js:8706
jQuery.extend.ajax @ jquery.js:8136
request @ horizon.communication.js:32
horizon.ajax.next @ horizon.communication.js:48
horizon.ajax.queue @ horizon.communication.js:39
(anonymous function) @ horizon.tables.js:28
jQuery.extend.each @ jquery.js:657
jQuery.fn.jQuery.each @ jquery.js:266
horizon.datatables.update @ horizon.tables.js:25
horizon.addInitFunction.horizon.datatables.init @ horizon.tables.js:643
horizon.init @ horizon.js:24
fire @ jquery.js:3048
self.fireWith @ jquery.js:3160
jQuery.extend.ready @ jquery.js:433
completed @ jquery.js:104

Changed in horizon:
milestone: none → mitaka-rc1
importance: Undecided → High
Revision history for this message
Vivek Agrawal (vivek-agrawal) wrote :

Is the bug seen in devstack setup too?

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

The console trace itself is related to AJAX update of table (when the row that was previously there, disappears). Problem with 'Volume Create' not working has not any related stacktrace in console.

The bug is seen in devstack too.

Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: nobody → Timur Sufiev (tsufiev-x)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/289337

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/289337
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9ee6390788020525979dc2f5e6a239a163ad3a89
Submitter: Jenkins
Branch: master

commit 9ee6390788020525979dc2f5e6a239a163ad3a89
Author: Timur Sufiev <email address hidden>
Date: Mon Mar 7 16:36:50 2016 +0300

    Fix empty 'href' in link actions after AJAX actions_update

    Since the non-existent template being used in
    horizon.datatables.update_actions has been fixed (thanks to
    https://review.openstack.org/#/c/281450/), we've started to experience
    missing href for link actions in a table header (i.e. table actions)
    after actions update.

    This is fixed by explicitly passing 'is_table_action' flag while
    rendering create/launch LinkAction-s that are known to be updated
    after AJAX row update.

    Guard against the bug regression with create_volume integration tests.

    Change-Id: I46e27178d74815d945c752bf3b7302b7f0ddc27d
    Closes-Bug: #1553314

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0rc1

This issue was fixed in the openstack/horizon 9.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.