At least one controller is required to redeploy environment

Bug #1410316 reported by Julia Aranovich
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel UI Team
Mitaka
Invalid
Medium
Fuel UI Team

Bug Description

Deploy multi-node env, then mark controller as 'pending deletion'. Add new controller and deploy environment. There will be an error (see an attached screenshot): "Not enough deployed controllers - deployed cluster requires at least 1 deployed controller."

From my point of view this message should appear in Deploy Changes dialog and block redeployment (lock Deploy button) as we do for 'New' environments.

Revision history for this message
Julia Aranovich (jkirnosova) wrote :
Revision history for this message
Przemyslaw Kaminski (pkaminski) wrote :

The above messages are moved to 'limits' object in this review request: https://review.openstack.org/#/c/126930/

Unfortunately the situation you describe here is not covered by that request. Let me explain: all limits are checked assuming deployment is successful. I.e. for controller we have min: 1. So in new cluster we add new controller and so number of controllers with pending_addition is 1. The limit checker is happy because this is correct -- after successful deployment there will be 1 controller.

What you describe is to check 'worst case' limits, i.e. that for some time during deployment there will be no controller at all. But when deploying new cluster there is also such situation: for some time there is no controller at all but the deployment procedure is correct!

The solution I see is to modify limit checking code so that it counts number of nodes differently for fresh cluster and for a redeployed one. If you have other suggestions then please share :)

Dmitry Ilyin (idv1985)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
importance: Medium → Low
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

I think we could add a new key (cannot come up with a proper name, maybe "absolute_min") and set it to 1 for controllers and handle it properly.

Changed in fuel:
importance: Low → Medium
milestone: 6.1 → 7.0
tags: added: qa-agree-7.0
tags: added: release-notes
Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Confirmed
no longer affects: fuel/8.0.x
tags: removed: release-notes
Dmitry Pyzhov (dpyzhov)
tags: added: area-ui
summary: - [ui] At least one controller is required to redeploy environment
+ At least one controller is required to redeploy environment
Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Julia Aranovich (<email address hidden>) on branch: master
Review: https://review.openstack.org/257720
Reason: Postponed to 9.0

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Now Nailgun doesn't block deployment without controllers. The issue becomes not actual.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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