~ec0/landscape-client-charm/client-certificate-by-filename

Viewing all changes in revision 57.

  • Committer: Free Ekanayaka
  • Date: 2015-07-15 10:44:37 UTC
  • mfrom: (56.1.2 workload-status)
  • Revision ID: free.ekanayaka@canonical.com-20150715104437-j6nei2olydgxtcot
Merge workload-status [f=1474259] [r=ack,adam-collard]

This branch adds support for workload status in the client charm. The possible
situations are:

1. No account-name is set. Since this is a required user input, the unit
   transitions to "blocked"

2. The juju-info file or computer-title entry are not yet there. Since
   these should eventually get written automatically by the charm, the
   unit transitions to the "maintenance" state.

3. The registration is successful, the unit transitions to the "active"
   state.

There are some situations (e.g. missing registration key) that could
have better messages, but that would require a bit more work. I think
what's in this branch is safe and good enough for a start.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: