{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/7647","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/7647/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/7647/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/7647/events","html_url":"https://github.com/rancher/rancher/issues/7647","id":204838211,"node_id":"MDU6SXNzdWUyMDQ4MzgyMTE=","number":7647,"title":"Environment variables name consistency between docker machine and rancher hosts","user":{"login":"banh-gao","id":6270859,"node_id":"MDQ6VXNlcjYyNzA4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/6270859?v=4","gravatar_id":"","url":"https://api.github.com/users/banh-gao","html_url":"https://github.com/banh-gao","followers_url":"https://api.github.com/users/banh-gao/followers","following_url":"https://api.github.com/users/banh-gao/following{/other_user}","gists_url":"https://api.github.com/users/banh-gao/gists{/gist_id}","starred_url":"https://api.github.com/users/banh-gao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banh-gao/subscriptions","organizations_url":"https://api.github.com/users/banh-gao/orgs","repos_url":"https://api.github.com/users/banh-gao/repos","events_url":"https://api.github.com/users/banh-gao/events{/privacy}","received_events_url":"https://api.github.com/users/banh-gao/received_events","type":"User","site_admin":false},"labels":[{"id":203011002,"node_id":"MDU6TGFiZWwyMDMwMTEwMDI=","url":"https://api.github.com/repos/rancher/rancher/labels/area/machine","name":"area/machine","color":"FBCA04","default":false},{"id":145695746,"node_id":"MDU6TGFiZWwxNDU2OTU3NDY=","url":"https://api.github.com/repos/rancher/rancher/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-02T10:45:16Z","updated_at":"2018-10-03T00:12:31Z","closed_at":"2018-10-03T00:12:31Z","author_association":"NONE","body":"When creating a new host from rancher cli using the openstack driver the expected env variable for the driver use the prefix OPENSTACK_ while the common prefix for Openstack, also adopted by docker-machine is OS_.\r\n\r\nSince the variable are commonly exported by sourcing the openrc.sh from openstack, here is required to change the prefix of all those variables in order to be seen by the rancher cli.\r\n\r\n**Rancher Versions:**\r\nServer: 1.3.3\r\nRancher CLI: v0.4.1\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\nDebian 8 on Openstack VMs\r\n\r\n**Steps to Reproduce:**\r\n> export OS_AUTH_URL='myOpenStackauthurl'\r\n> rancher hosts create rancher-node1\r\n\r\n**Results:**\r\n``\r\nError setting machine configuration from flags provided: Authentication URL must be specified either using the environment variable OS_AUTH_URL or the CLI option --openstack-auth-url\r\n``\r\n\r\n**Expected Results:**\r\nThe Openstack environment variables (with OS_ prefix) has to be seen by the docker-machine driver without the need to change their prefix."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/426471679","html_url":"https://github.com/rancher/rancher/issues/7647#issuecomment-426471679","issue_url":"https://api.github.com/repos/rancher/rancher/issues/7647","id":426471679,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQ3MTY3OQ==","user":{"login":"loganhz","id":21168270,"node_id":"MDQ6VXNlcjIxMTY4Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/21168270?v=4","gravatar_id":"","url":"https://api.github.com/users/loganhz","html_url":"https://github.com/loganhz","followers_url":"https://api.github.com/users/loganhz/followers","following_url":"https://api.github.com/users/loganhz/following{/other_user}","gists_url":"https://api.github.com/users/loganhz/gists{/gist_id}","starred_url":"https://api.github.com/users/loganhz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganhz/subscriptions","organizations_url":"https://api.github.com/users/loganhz/orgs","repos_url":"https://api.github.com/users/loganhz/repos","events_url":"https://api.github.com/users/loganhz/events{/privacy}","received_events_url":"https://api.github.com/users/loganhz/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T00:12:31Z","updated_at":"2018-10-03T00:12:31Z","author_association":"MEMBER","body":"With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches."}}
{"actor":{"display_login":"loganhz"}}