Activity log for bug #1301374

Date Who What changed Old value New value Message
2014-04-02 13:09:45 Julie Pichon bug added bug
2014-04-02 16:59:06 Ana Krivokapić horizon: importance Undecided Medium
2014-04-02 16:59:12 Ana Krivokapić horizon: status New Triaged
2014-04-04 09:10:53 Julie Pichon description The handle() method for worflows expects a boolean to be returned to indicate if the workflow completed successfully, however returning False results in two error messages being displayed. https://github.com/openstack/horizon/blob/f4282f73ec/horizon/workflows/base.py#L808 You can reproduce by causing an error somewhere where we use the handle() method and return False. For example: 1. Go to the Access & Security page 2. Click on Allocate IP 3. Turn off the Neutron service (or nova-network if using it for networking) 4. Click on "Allocate IP" in the modal: 2 error messages are displayed ("Error: Connection to neutron failed: Maximum attempts reached" and "Error: Connection to neutron failed: Maximum attempts reached") https://github.com/openstack/horizon/blob/f4282f73ec/openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py#L143 I suspect it's because both exceptions.handle() and the workflows call on messages.error(): https://github.com/openstack/horizon/blob/f4282f73ec/horizon/workflows/views.py#L200 https://github.com/openstack/horizon/blob/f4282f73ec/horizon/exceptions.py#L215 The handle() method for worflows expects a boolean to be returned to indicate if the workflow completed successfully, however returning False results in two error messages being displayed. https://github.com/openstack/horizon/blob/f4282f73ec/horizon/workflows/base.py#L808 You can reproduce by causing an error somewhere where we use the handle() method and return False. For example: 1. Go to the Access & Security page 2. Click on Allocate IP 3. Turn off the Neutron service (or nova-network if using it for networking) 4. Click on "Allocate IP" in the modal: 2 error messages are displayed ("Error: Connection to neutron failed: Maximum attempts reached" and "Error: Unable to retrieve floating IP pools.")  https://github.com/openstack/horizon/blob/f4282f73ec/openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py#L143 I suspect it's because both exceptions.handle() and the workflows call on messages.error(): https://github.com/openstack/horizon/blob/f4282f73ec/horizon/workflows/views.py#L200 https://github.com/openstack/horizon/blob/f4282f73ec/horizon/exceptions.py#L215
2014-08-19 11:53:18 Vlad Okhrimenko horizon: assignee Vlad Okhrimenko (vokhrimenko)
2014-08-22 11:13:32 OpenStack Infra horizon: status Triaged In Progress
2014-12-09 18:48:37 Timur Sufiev horizon: status In Progress Fix Committed
2014-12-09 18:49:29 Timur Sufiev horizon: milestone kilo-1
2014-12-10 13:41:05 Timur Sufiev horizon: assignee Vlad Okhrimenko (vokhrimenko) Timur Sufiev (tsufiev-x)
2014-12-10 13:41:11 Timur Sufiev horizon: status Fix Committed In Progress
2014-12-10 13:41:17 Timur Sufiev horizon: milestone kilo-1
2014-12-10 14:57:28 Timur Sufiev attachment added workflow-fail-and-redirect.png https://bugs.launchpad.net/horizon/+bug/1301374/+attachment/4277626/+files/workflow-fail-and-redirect.png
2016-06-15 17:37:50 Timur Sufiev horizon: assignee Timur Sufiev (tsufiev-x)
2016-06-15 17:38:31 Timur Sufiev horizon: status In Progress Confirmed