Authenticating to devstack and listing nova flavors + servers

Ian Wienand iwienand at redhat.com
Mon Mar 22 01:46:28 UTC 2021


On Sun, Mar 21, 2021 at 05:06:06PM -0400, Joe Wolfe wrote:
> curl -s -H "X-Auth-Token: $OS_TOKEN" \
>   $OS_COMPUTE_API/flavors \
>   | python -m json.tool
> 
> Only returns: 
> 
> zsh: no matches found: http://mydevstackurl/identity/v3/auth/tokens?nocatalog <http://mydevstackurl/identity/v3/auth/tokens?nocatalog>
> Expecting value: line 1 column 1 (char 0)

It looks like zsh coniders the "?" in the URL there as some sort of
matching character, and can't find anything.  Just quote the URL like
"$OS_COMPUTE_API/flavors".

In general devstack doesn't work with zsh, but I know some people use
[1] for openrc import.

-i

[1] https://docs.openstack.org/devstack/victoria/faq.html#can-i-at-least-source-openrc-with-zsh




More information about the openstack-discuss mailing list