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

Wilence Yao wilence.yao at gmail.com
Mon Nov 23 04:17:13 UTC 2015


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
    # If the file does not exist, this may confuse preflight sanity checks
    if [ -e $DEFAULT_OS_CACERT ] ; then
        export OS_CACERT=$DEFAULT_OS_CACERT
    fi
fi
```
So how to source devstack/openrc ? What command it is ?

Wilence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151123/c567b539/attachment.html>


More information about the OpenStack-dev mailing list