[Openstack-operators] Unable to change environment Variables for demo or admin tenant during runtime

Umar Yousaf umarusaf902 at gmail.com
Tue Mar 15 17:31:27 UTC 2016


Unable to set Environment variables like *OS_USERNAME, OS_PASSWORD,
OS_TENANT_NAME, OS_REGION_NAME, OS_AUTH_URL* during runtime 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
ceilometer 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-operators/attachments/20160315/5e87bef8/attachment.html>


More information about the OpenStack-operators mailing list