MPM a2dismod/a2enmod failure on config-changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The latest charm revision published to ch:ubuntu-mirror seems to have a bug when setting the MPM module:
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 WARNING unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 WARNING unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
2023-07-17 11:32:13 INFO unit.ubuntu-
eg: "Switching MPM modules from mpm_b'event' to mpm_worker" seems to point to a bug in the recent py2 to py3 conversion, likely just requiring a .decode()??
The outcome of this bug is that the charm configures mpm_worker in terms of writing config options for apache tuning to disk, but the live apache server is running mpm_event on defaults.
Note it is desirable to switch back to mpm_event anyway (see https:/
Related branches
- Gareth Woolridge: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 13 lines (+1/-1)1 file modifiedhooks/hooks.py (+1/-1)
Changed in ubuntu-mirror-charm: | |
status: | New → Fix Committed |
This is fixed in revision 4, which has been published to stable