Send minimal Juju information on registration
Bug #1229630 reported by
Chris Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Adam Collard |
Bug Description
We need to send a minimal set of information about juju environments the computer belongs to at registration, to detect juju environments not registered with landscape, or to auto-accept computers that are part of an already-known environment.
Related branches
lp:~adam-collard/landscape-client/juju-info-at-registration
- Björn Tillenius (community): Approve
- Alberto Donato (community): Approve
-
Diff: 614 lines (+240/-118)13 files modifiedlandscape/broker/registration.py (+69/-51)
landscape/broker/tests/helpers.py (+3/-0)
landscape/broker/tests/test_registration.py (+38/-7)
landscape/deployment.py (+5/-0)
landscape/lib/juju.py (+26/-0)
landscape/lib/tests/test_encoding.py (+1/-1)
landscape/lib/tests/test_juju.py (+62/-0)
landscape/message_schemas.py (+10/-4)
landscape/monitor/config.py (+0/-7)
landscape/monitor/jujuinfo.py (+4/-22)
landscape/monitor/tests/test_config.py (+0/-11)
landscape/monitor/tests/test_jujuinfo.py (+9/-12)
landscape/tests/test_deployment.py (+13/-3)
tags: | removed: kanban |
Changed in landscape-client: | |
assignee: | nobody → Björn Tillenius (bjornt) |
status: | New → In Progress |
milestone: | none → 13.09.1 |
Changed in landscape-client: | |
assignee: | Björn Tillenius (bjornt) → Adam Collard (adam-collard) |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The minimal information would be:
free:
- Environment UUID
- API endpoint
ack : possibly the unit name as well, to handle the case of removing a unit that is associated to the computer