Cannot register unit in juju2 environment
Bug #1662057 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
It looks like the charm depends on the juju1 env var JUJU_ENV_UUID, but in a juju2 context, it's not present [1].
The JUJU_MODEL_UUID env var may be the equivalent in juju2 land, in which case, the fix should be trivial.
Related branches
lp://staging/~michael.nelson/charms/trusty/landscape-client/fix-juju2-env-uuiD
Ready for review
for merging
into
lp://staging/charms/trusty/landscape-client
- Landscape: Pending requested
-
Diff: 20 lines (+7/-1)1 file modifiedhooks/hooks.py (+7/-1)
To post a comment you must log in.
I've linked a branch, but note my one concern there in the description. Perhaps this is something specific to my juju2 env, though I don't see from the code how.
Thanks