Openstack-integrator charm error

Hi, during deployment of charmed-kubernetes bundle, I am receiving error:

missing required credentials: user_domain_name, project_domain_name, project_name

I have following environment variables enabled during deployment:

OS_AUTH_URL=<URL>
OS_PROJECT_ID=e161a20aa0f14f6a9beeb536e93ce548
OS_PROJECT_NAME=<PROJECT>
OS_USER_DOMAIN_NAME=Default
OS_PROJECT_DOMAIN_ID=default
OS_USERNAME=<USERNAME>
OS_PASSWORD=<PASSWORD>
OS_REGION_NAME=swe2
OS_INTERFACE=public
OS_IDENTITY_API_VERSION=3

What’s wrong, what am I missing? Do I need set those values also into the credentials? How?

Hello! Thank you for the question.

You probably need to run juju add-credential myopenstack. An overview on doing so may be found at https://juju.is/docs/openstack-cloud

I usually find it most straightforward to make a yaml file, per the instructions at https://juju.is/docs/credentials#heading--adding-credentials-from-a-file, and then run juju add-credential myopenstack -f mycreds.yaml, as the interactive prompt can be a little bit unclear, depending on how your OpenStack credentials are setup.

Hello @petevg

Thanks, now it works!

Lumir