Description of problem: trying to run stack update using unified cli 'openstack overcloud stack update' command. In help of the command : optional arguments: --plan PLAN Name or ID of tuskar plan to scale (default=Env: OVERCLOUD_PLAN_NAME) which means that command assumes the env exists. echoing the env returns nothing . While trying to run the command without any args : $ openstack overcloud update stack ERROR: openstack ERROR: 404 Not Found The resource could not be found. Version-Release number of selected component (if applicable): python-rdomanager-oscplugin-0.0.8-1.el7ost.noarch rhos-release-0.62-1.noarch How reproducible: 100% Steps to Reproduce: 1.overcloud is deployed 2.update stack using 'openstack overcloud stack update' command 3. Actual results: ERROR Expected results: the stack was successfully updated Additional info:
This sounds like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1232838
Ignore my previous comment, that was an error.
The behavior is following: plan_name is used if "--plan plan_name" is passed as argument, if "--plan plan_name" is not passed then command will check if OVERCLOUD_PLAN_NAME env variable is set and if it is it will use plan_name set in this variable. So setting OVERCLOUD_PLAN_NAME variable is optional if you don't want to use "--plan" argument. This behavior was chosen after discussion with CLI/UI team so a change in this should be checkd with them - I suppose the rest of commands will use the same behavior. Switching to ON_QA, if you think this behavior is confusing, feel free to switch back to ON_DEV and we can discuss this further.
Because this was not an actual bug, just misunderstanding about parameters, I'll close this as not a bug.