Devstack and "The service catalog is empty."

Pete Zaitcev zaitcev at redhat.com
Tue May 17 13:31:29 UTC 2022


Dear Sofia:

Thanks for the key hint. I looked at the environment variables that openrc
sets and found that region must be provided. So openstack CLI works as
expected with either sourcing openrc or --os-region=RegionOne.

Thanks again,
-- Pete

On Mon, 16 May 2022 09:24:42 -0300
Sofia Enriquez <senrique at redhat.com> wrote:

> Hey Pete,
> 
> I'm not sure but I think you need to source openrc [1] in order to interact
> with your cloud via CLI:
> `source openrc demo demo`
> or
> `source openrc admin admin`
> 
> Cheers,
> Sofi
> 
> [1] https://opendev.org/openstack/devstack#start-a-dev-cloud
> 
> 
> On Sat, May 14, 2022 at 1:41 AM Pete Zaitcev <zaitcev at redhat.com> wrote:
> 
> > Hello:
> >
> > For certain reasons I tried to run devstack for the first time. Worked
> > on OpenStack since 2011 and always used something else, like Packstack.
> > Anyway, it was painless, just a git checkout and ./stack.sh, done.
> >
> > But then, any access with openstack CLI says:
> >
> > $ openstack --os-auth-url http://192.168.128.11/identity/v3/ user list
> > The service catalog is empty.
> >
> > Looks like Keystone wasn't populated... Is it how it's supposed to be?
> >
> > -- Pete




More information about the openstack-discuss mailing list