In most cases, when working with the OpenStack client CLI, you will receive an error response asking to provide proper authentication information or to set an environment variable in the CLI parameter.
This error typically occurs when you haven't provided all the necessary attributes to the OSC CLI. Usually, sourcing an OpenRC file that contains the attributes required for the command-line client solves this problem.