Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
worker/caasoperator: download & unpack charm #8151
Conversation
| + // ForceUpgrade indicates whether or not application | ||
| + // units should upgrade to the charm even if they | ||
| + // are in an error state. | ||
| + ForceUpgrade bool `json:"force-upgrade,omitempty"` |
axw
Nov 29, 2017
Member
I'm thinking we might want to use this type for the uniter, to avoid making two calls like we do now (one to get the charm URL/force flag, another to get the SHA256 sum).
|
$$merge$$ |
|
Status: merge request accepted. Url: http://ci.jujucharms.com/job/github-merge-juju |
jujubot
merged commit ed762fa
into
juju:develop
Nov 29, 2017
1 check failed
continuous-integration/jenkins/pr-merge
This commit cannot be built
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedNov 29, 2017
Description of change
When the operator starts up, it checks if it
has a charm directory. If it does not, it will
ask for the application's charm URL and SHA256
hash, download and verify, and then unpack it
into the charm directory. The agent also sets
its status to maintenance during that process,
and active later.
Also:
kubectl logs)QA steps
(wait for pod to be recreated)
(should see via logs that the charm is downloaded and "ready at /var/lib/juju/charm")
(should see contents of ubuntu charm)
Documentation changes
None.
Bug reference
None.