{"action":"created","issue":{"url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/135","repository_url":"https://api.github.com/repos/juju-solutions/charms.reactive","labels_url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/135/comments","events_url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/135/events","html_url":"https://github.com/juju-solutions/charms.reactive/issues/135","id":268274609,"number":135,"title":"Subordinate charm downgrades charms.reactive breaking primary","user":{"login":"stub42","id":2928805,"avatar_url":"https://avatars0.githubusercontent.com/u/2928805?v=4","gravatar_id":"","url":"https://api.github.com/users/stub42","html_url":"https://github.com/stub42","followers_url":"https://api.github.com/users/stub42/followers","following_url":"https://api.github.com/users/stub42/following{/other_user}","gists_url":"https://api.github.com/users/stub42/gists{/gist_id}","starred_url":"https://api.github.com/users/stub42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stub42/subscriptions","organizations_url":"https://api.github.com/users/stub42/orgs","repos_url":"https://api.github.com/users/stub42/repos","events_url":"https://api.github.com/users/stub42/events{/privacy}","received_events_url":"https://api.github.com/users/stub42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-25T05:54:59Z","updated_at":"2017-11-04T22:07:46Z","closed_at":null,"author_association":"COLLABORATOR","body":"A PostgreSQL charm is installed happily, using the default of no venv, and has charms.reactive 0.5 installed into /usr/local.\r\n\r\nA canonical-livepatch subordinate is installed, also not using a venv, and the charms.reactive in /usr/local is downgraded to 0.4.7. This breaks the primary charm:\r\n\r\n```\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:39 DEBUG install Processing ./wheelhouse/charms.reactive-0.4.7.tar.gz\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:39 DEBUG install Requirement already up-to-date: pyaml in /usr/local/lib/python3.5/dist-packages (from charms.reactive==0.4.7)\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:39 DEBUG install Building wheels for collected packages: pip, six, netaddr, charmhelpers, MarkupSafe, charms.reactive\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:42 DEBUG install   Running setup.py bdist_wheel for charms.reactive: started\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:42 DEBUG install   Running setup.py bdist_wheel for charms.reactive: finished with status 'done'\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:42 DEBUG install Successfully built pip six netaddr charmhelpers MarkupSafe charms.reactive\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:42 DEBUG install Installing collected packages: pip, six, netaddr, charmhelpers, MarkupSafe, charms.reactive\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:43 DEBUG install   Found existing installation: charms.reactive 0.5.0\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:43 DEBUG install     Uninstalling charms.reactive-0.5.0:\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:43 DEBUG install       Successfully uninstalled charms.reactive-0.5.0\r\nunit-canonical-livepatch-5.log:2017-10-23 20:43:43 DEBUG install Successfully installed MarkupSafe-1.0 charmhelpers-0.18.0 charms.reactive-0.4.7 netaddr-0.7.19 pip-8.1.2 six-1.10.0\r\n```\r\n\r\nThis issue will affect all deployments with primaries and subordinates mixing charms.reactive 0.5 and pre-0.5, and at least one charm not using the virtual env option. If any of the charms depend on the 0.5 API, then the deployment will break. It may not break immediately, depending on which order the install hooks run, but will certainly break when upgrade-charm's are run later."},"comment":{"url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/comments/341933237","html_url":"https://github.com/juju-solutions/charms.reactive/issues/135#issuecomment-341933237","issue_url":"https://api.github.com/repos/juju-solutions/charms.reactive/issues/135","id":341933237,"user":{"login":"hloeung","id":95021,"avatar_url":"https://avatars2.githubusercontent.com/u/95021?v=4","gravatar_id":"","url":"https://api.github.com/users/hloeung","html_url":"https://github.com/hloeung","followers_url":"https://api.github.com/users/hloeung/followers","following_url":"https://api.github.com/users/hloeung/following{/other_user}","gists_url":"https://api.github.com/users/hloeung/gists{/gist_id}","starred_url":"https://api.github.com/users/hloeung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hloeung/subscriptions","organizations_url":"https://api.github.com/users/hloeung/orgs","repos_url":"https://api.github.com/users/hloeung/repos","events_url":"https://api.github.com/users/hloeung/events{/privacy}","received_events_url":"https://api.github.com/users/hloeung/received_events","type":"User","site_admin":false},"created_at":"2017-11-04T22:07:46Z","updated_at":"2017-11-04T22:07:46Z","author_association":"NONE","body":"Another +1 for me to make 'use_venv' the default."}}
{"actor":{"display_login":"hloeung"}}