DescriptionFail when run against Python juju environment
Introduce a CheckEnvironment call that checks if bootstrap-verify contains content as produced by juju-core Bootstrap (actually, VerifyStorage) call, or that there is no 'bootstrap-verify' file (which holds for earlier versions of juju-core).
If the file has bad content, then it assumes it's not a juju-core environment and outputs an error message.
It has been tested with ec2, and livetests are still being fine-tuned to work properly:
$ juju status
error: Environment is not a juju-core environment
Perhaps error message should suggest ensuring that it's not a Python environment? Any wording suggestions.
https://code.launchpad.net/~danilo/juju-core/python-env-fails/+merge/171997
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fail when run against Python juju environment #
Total comments: 25
Patch Set 3 : Fail when run against Python juju environment #
MessagesTotal messages: 12
|