Page MenuHomePhabricator

openstack cli: clarify and document usage
Closed, ResolvedPublic

Description

There are some openstack CLI commands that just cannot be used as we have been using them for years:

Example 1:

root@cloudcontrol1007:~# source novaenv.sh 
root@cloudcontrol1007:~# nova reset-state b5597836-8691-4d66-897a-3fac56cbc539
nova CLI is deprecated and will be a removed in a future release
ERROR (AuthorizationFailure): Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped

Example 2:

root@cloudcontrol1007:~# source novaenv.sh 
root@cloudcontrol1007:~# nova --os-cloud novaadmin reset-state b5597836-8691-4d66-897a-3fac56cbc539
nova CLI is deprecated and will be a removed in a future release
ERROR (AuthorizationFailure): Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped

Event Timeline

• aborrero triaged this task as High priority.

I do not think this is a result of my auth refactors, since nothing on the backend has been updated in eqiad1 yet. I suspect instead that this is something that's changed in the standalone nova CLI.

It may be that there are still missing features but in theory we should be able to do everything new via openstack. For example:

  1. openstack server set --state active b5597836-8691-4d66-897a-3fac56cbc539