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):
5.8.3.2 over RHOS 12
How reproducible:
Always
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
Actual results:
Scale Infrastructure Provider Down page appears without eligible compute node to be scaled down (See attachment)
Expected results:
Compute nodes with maintenance mode enabled should be available for selection to be scaled down
Additional info:
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?
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.
https://access.redhat.com/errata/RHSA-2018:1972
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): 5.8.3.2 over RHOS 12 How reproducible: Always 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 Actual results: Scale Infrastructure Provider Down page appears without eligible compute node to be scaled down (See attachment) Expected results: Compute nodes with maintenance mode enabled should be available for selection to be scaled down Additional info: