Cluster is not locked during running separated provisioning or deployment task

Bug #1587792 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Bulat Gaifullin
Mitaka
Fix Released
High
Bulat Gaifullin

Bug Description

Steps to reproduce in Fuel UI:

1) create an environment, add a node
2) go to Dashboard and start provisioning of the node (Provisioning Only mode)
3) go to Networks/Settings tabs

Expected result: all inputs are locked on the tabs.

Actual result: no inputs locked, cluster's is_locked attribute comes as False from Nailgun.

Tags: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Fuel Toolbox (fuel-toolbox)
Revision history for this message
Ilya Kutukov (ikutukov) wrote :

We don't have "provisioning" cluster state and as the result there is no lock on it.
It is possible to detect nodes in provisioning state and make decision on UI side or make according cluster flag like "is_provisioning" on server side. Obvious variant of making cluster "provisioning" state looks very invasive and all business logic now relying on fact that provisioning of new node not blocking any other operations on cluster.

Changed in fuel:
assignee: Fuel Toolbox (fuel-toolbox) → Bulat Gaifullin (bgaifullin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

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

Reviewed: https://review.openstack.org/325481
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=13e03a9d7648fc776b3fcf82103f86fa5ca9b322
Submitter: Jenkins
Branch: master

commit 13e03a9d7648fc776b3fcf82103f86fa5ca9b322
Author: Bulat Gaifullin <email address hidden>
Date: Thu Jun 2 16:02:11 2016 +0300

    Fixed switching cluster to deployment state

    Also the predeployment check does not switch
    cluster to error state

    Closes-Bug: 1587792
    Change-Id: I8baf5dd2402dc5d1d222583a1365b839b90a6274

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/325994

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/325994
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=9ff0ceed33cc85af4c80d63821d7cfd8a452be84
Submitter: Jenkins
Branch: stable/mitaka

commit 9ff0ceed33cc85af4c80d63821d7cfd8a452be84
Author: Bulat Gaifullin <email address hidden>
Date: Thu Jun 2 16:02:11 2016 +0300

    Fixed switching cluster to deployment state

    Also the predeployment check does not switch
    cluster to error state

    Closes-Bug: 1587792
    Change-Id: I8baf5dd2402dc5d1d222583a1365b839b90a6274

Revision history for this message
Maksym Strukov (unbelll) wrote :

Verified as fixed in 9.0-mos-452

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.