Mojo bundle mention "deploy" in the log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Medium
|
Tom Haddon |
Bug Description
When using a mojo bundle step, the logs are still referring to juju deployer:
2020-02-17 23:52:47 [INFO] Running juju-deployer
2020-02-17 23:52:47 [INFO] Pulling secrets from /srv/mojo/
2020-02-17 23:52:47 [INFO] Running: /srv/juju-
2020-02-17 23:52:57 [INFO] Checking Juju status (timeout=1800)
2020-02-17 23:52:58 [INFO] Waiting for environment to reach steady state
2020-02-18 00:00:39 [INFO] All units idle since 2020-02-18 00:00:22.266033Z (apache2/0)
2020-02-18 00:00:39 [INFO] Environment has reached steady state
2020-02-18 00:00:39 [INFO] Completed deploy phase in 7m 52s (472.13s)
We could:
1) Only mention the bundle
2) Mention some extra lines after this to mention this was invoked through a "mojo bundle" stanza.
We could had an attr to the DeployerPhase and the BundlePhase and use that attribute in the "run" method which logs the mentioned message.
Related branches
- Stuart Bishop (community): Approve
- Benjamin Allot: Approve
-
Diff: 23 lines (+3/-3)1 file modifiedmojo/phase.py (+3/-3)
description: | updated |
Changed in mojo: | |
assignee: | nobody → Tom Haddon (mthaddon) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mojo: | |
status: | Confirmed → Fix Released |