Merge lp:~roadmr/canonical-identity-provider/charm-fix-talisker-logfile-migration into lp:~ubuntuone-pqm-team/canonical-identity-provider/charm
Status: | Rejected |
---|---|
Rejected by: | Daniel Manrique |
Proposed branch: | lp:~roadmr/canonical-identity-provider/charm-fix-talisker-logfile-migration |
Merge into: | lp:~ubuntuone-pqm-team/canonical-identity-provider/charm |
Diff against target: |
43 lines (+13/-3) 1 file modified
playbook.yaml (+13/-3) |
To merge this branch: | bzr merge lp:~roadmr/canonical-identity-provider/charm-fix-talisker-logfile-migration |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Disapprove | ||
Review via email: mp+384659@code.launchpad.net |
Commit message
Fix a couple of ansible roles dealing with talisker log migration.
Apparently talisker will write to /srv/..
The tasks/roles needed a couple of tweaks:
- they date from upstart times so the location of gunicorn.log has changed since they were written.
- islnk explodes if invoked on a nonexistent file, advice from Ansible community is to do an .exists check before .islnk.
- Mode of /var/log/
Description of the change
I thought the spec would need an update to fetch new versions of the charm but it does not, because it's not pinned in the spec; these updates should apply magically on staging, and on production we *might* need to ask for an update-deployment to be manually run, because on prod, the self-service rollout does do only update-asset I think.
Note unit sso-app/0 on staging was fixed by applying/testing these charm/playbook tweaks, once this lands unit sso-app/1 might self-fix, or it might need manual attention.
Unmerged revisions
- 97. By Daniel Manrique
-
reoops
- 96. By Daniel Manrique
-
oops
- 95. By Daniel Manrique
-
More fix for talisker log migration - change mode in old gunicorn log
- 94. By Daniel Manrique
-
Partial fix for talisker log file migration
LGTM, thanks! But check comment below.