Cause: Deployment roles were not loaded correctly by refresh on OSP12.
Consequence: Scale down action which depends on these roles was not usable (cannot proceed in UI).
Fix: Refresh parsing of Heat Stacks for OSP12 was fixed.
Result: Deployment roles are available and nothing prevents pass the UI form for Scale down action and perform it.
Created attachment 1390761 [details]
Scale Infrastructure Provider Down page
Description of problem:
Scaling down infra provider compute nodes is not available after toggling a compute node maintenance mode
Version-Release number of selected component (if applicable):
184.108.40.206 over RHOS 12
Steps to Reproduce:
1. Enable maintenance mode on a compute node
2. Navigate to Compute > Infrastructure > providers
3. Enter infra provider details
4. Go to Configuration > Scale this Infrastructure Provider Down
Scale Infrastructure Provider Down page appears without eligible compute node to be scaled down (See attachment)
Compute nodes with maintenance mode enabled should be available for selection to be scaled down
Created attachment 1390762 [details]
Created attachment 1391513 [details]
Scale down is broken also in RHOS 9
Scale down is broken also in RHOS 9 (See attachment)
Hi Jad, I can see a Vm running on each of Hosts. That most propably prevents from scale down.
Steps to do it could be 1. put node to maintenance mode (so nova will not assign new VM to the Host), 2. migrate instances to another node, 3. node should be available to remove/scale down. Could you try it?
Correction: It is working on RHOS 9. looks like misconfiguration issue
Depends on https://bugzilla.redhat.com/show_bug.cgi?id=1573893
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.