Sahara UI not able to scale due to old client being used

Bug #1710304 reported by Thomas Blanchard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
New
Undecided
Unassigned

Bug Description

In the OS newton release of Sahara (5.x) the scale command returns the following data:

./sahara cluster-scale --name Cluster-1 --id d5324bb0-7bcc-46a0-b0f2-060b0bb67231 --json /root/cluster-scale.json
/openstack/venvs/sahara-14.0.7/lib/python2.7/site-packages/saharaclient/shell.py:718: DeprecationWarning: The sahara CLI is deprecated in favor of OpenStackClient plugin and will not be maintained anymore. For a Python library, continue using python-saharaclient.
  DeprecationWarning)
ERROR: scale() got an unexpected keyword argument 'resize_node_groups'

When using `openstack data-processing cluster scale` however the scaling will work fine.

The Horizon UI in newton also fails to scale properly complaining about an invalid template. After discussion this is believed to be caused by the client that is used to make the scaling request.

Tags: dashboard
Revision history for this message
Jeremy Freudberg (jfreud) wrote :

I don't think we quite have the cause of the UI issue pinned down.

I need to try to replicate this in my own env first.

`sahara cluster-scale` cannot be fixed as old CLI was removed.

Revision history for this message
Thomas Blanchard (tblanchard0001) wrote :

So was the idea to cause the sahara command to call the unified client in newton?

Revision history for this message
Luigi Toscano (ltoscano) wrote :

Redirecting sahara to openstack dataprocessing is a too much for a branch which is almost at its end of life.
While fixing the UI is possible, I advise to use the new CLI also in Newton.

Luigi Toscano (ltoscano)
tags: added: dashboard
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.