[openstack-dev] Unable to change environment Variables for demo or admin tenant during runtime

Umar Yousaf umarusaf902 at gmail.com
Wed Mar 16 20:02:34 UTC 2016


Unable to set Environment variables like *OS_USERNAME, OS_PASSWORD,
OS_TENANT_NAME, OS_REGION_NAME, OS_AUTH_URL* during run time through for
example *os.system("source openrc demo demo")* ,in order to run commands
for demo project like *ceilometer event-list*. Actually I am unable to get
demo's project events from admin credentials set and could not change to
demo credentials in my logic.

Instead getting error sh: 1: source: not found on executing source openrc
demo demo command
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160317/62c9012e/attachment.html>


More information about the OpenStack-dev mailing list