Re: [openstack-dev] [devstack] How to source openrc?

2015-11-22 Thread Ian Wienand
On 11/23/2015 03:17 PM, Wilence Yao wrote: > source openrc admin admin > openrc:90: unknown condition: -v I'm pretty sure you're using zsh -- we only support bash (stack.sh checks for bash, maybe we should add that to openrc) Anyway, you can probably follow [1] to source it; other things might

Re: [openstack-dev] [devstack] How to source openrc?

2015-11-22 Thread Tony Breeds
On Mon, Nov 23, 2015 at 12:17:13PM +0800, Wilence Yao wrote: > Hi all, > > In devstack stable/liberty, error is : > > source openrc admin admin > openrc:90: unknown condition: -v > > the line 90 and code block in openrc is > ``` > # Set OS_CACERT to a default CA certificate chain if it exists.

[openstack-dev] [devstack] How to source openrc?

2015-11-22 Thread Wilence Yao
Hi all, In devstack stable/liberty, error is : source openrc admin admin openrc:90: unknown condition: -v the line 90 and code block in openrc is ``` # Set OS_CACERT to a default CA certificate chain if it exists. if [[ ! -v OS_CACERT ]] ; then DEFAULT_OS_CACERT=$INT_CA_DIR/ca-chain.pem