{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/9015","repository_url":"https://api.github.com/repos/juju/juju","labels_url":"https://api.github.com/repos/juju/juju/issues/9015/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/9015/comments","events_url":"https://api.github.com/repos/juju/juju/issues/9015/events","html_url":"https://github.com/juju/juju/pull/9015","id":347387856,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MDIzODgx","number":9015,"title":"update openstack cloud schema to include os_cacert","user":{"login":"hmlanigan","id":18268820,"node_id":"MDQ6VXNlcjE4MjY4ODIw","avatar_url":"https://avatars0.githubusercontent.com/u/18268820?v=4","gravatar_id":"","url":"https://api.github.com/users/hmlanigan","html_url":"https://github.com/hmlanigan","followers_url":"https://api.github.com/users/hmlanigan/followers","following_url":"https://api.github.com/users/hmlanigan/following{/other_user}","gists_url":"https://api.github.com/users/hmlanigan/gists{/gist_id}","starred_url":"https://api.github.com/users/hmlanigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmlanigan/subscriptions","organizations_url":"https://api.github.com/users/hmlanigan/orgs","repos_url":"https://api.github.com/users/hmlanigan/repos","events_url":"https://api.github.com/users/hmlanigan/events{/privacy}","received_events_url":"https://api.github.com/users/hmlanigan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-08-03T13:02:47Z","updated_at":"2018-08-08T20:04:34Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/9015","html_url":"https://github.com/juju/juju/pull/9015","diff_url":"https://github.com/juju/juju/pull/9015.diff","patch_url":"https://github.com/juju/juju/pull/9015.patch"},"body":"## Description of change\r\n\r\nUpdate add-cloud to allow default values of the cloud schema's to get\r\nvalues from environment variables.  Add environment variables and a new\r\nget cloud ca certificate to the openstack cloud schema.  Add ca-certificates\r\nto cloud schema use for validation.\r\n\r\n## QA steps\r\n\r\nRun juju add-cloud for openstack.  Should query for an optional cloud ca cert.\r\n1. try without a cert\r\n2. try with a good cert file\r\n3. try with a bad cert file - should create the cloud but Ignore the cert.\r\n\r\nSource a novarc file, including a OS_CACERT definition, run juju add-cloud for openstack.\r\n1. notice that the auth url is now a default option.\r\n2. notice that the os cacert is now a default option.\r\n\r\nCheck that the new cloud definition in ~/.local/share/juju/clouds.yaml contains  ca-certificates: ...\r\n\r\nTry juju add-cloud -f with a yaml definition including the ca-certificates, no schema validation error should be printed on the name.\r\n\r\n## Documentation changes\r\n\r\nNot yet, a discourse update will happen with all of the OS_CACERT changes are made.\r\n\r\n## Bug reference\r\n\r\nhttps://bugs.launchpad.net/juju/+bug/1777897\r\nPartially addresses https://bugs.launchpad.net/juju/+bug/1722580"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/411534352","html_url":"https://github.com/juju/juju/pull/9015#issuecomment-411534352","issue_url":"https://api.github.com/repos/juju/juju/issues/9015","id":411534352,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTUzNDM1Mg==","user":{"login":"hmlanigan","id":18268820,"node_id":"MDQ6VXNlcjE4MjY4ODIw","avatar_url":"https://avatars0.githubusercontent.com/u/18268820?v=4","gravatar_id":"","url":"https://api.github.com/users/hmlanigan","html_url":"https://github.com/hmlanigan","followers_url":"https://api.github.com/users/hmlanigan/followers","following_url":"https://api.github.com/users/hmlanigan/following{/other_user}","gists_url":"https://api.github.com/users/hmlanigan/gists{/gist_id}","starred_url":"https://api.github.com/users/hmlanigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmlanigan/subscriptions","organizations_url":"https://api.github.com/users/hmlanigan/orgs","repos_url":"https://api.github.com/users/hmlanigan/repos","events_url":"https://api.github.com/users/hmlanigan/events{/privacy}","received_events_url":"https://api.github.com/users/hmlanigan/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T20:04:34Z","updated_at":"2018-08-08T20:04:34Z","author_association":"MEMBER","body":"Changed the default of Y/n to N/y when asking \"Enter another... \"\r\nChanged to validate the certificate file when filename provided.\r\n\r\nComment on \"[use cloud api url]\" outside of scope for this PR.  Please file a bug.\r\nWe also need a bug to strip extra newlines and spaces from the input during add-cloud interactive.  Specifying \"openstack   \" for cloud type fails too."}}
{"actor":{"display_login":"hmlanigan"}}