22 Mar
2021
22 Mar
'21
8:46 a.m.
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-...