reboot notification comes back after clear-notification action removes it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-sysconfig |
Fix Released
|
Medium
|
Aliaksandr Vasiuk |
Bug Description
When the reboot of sysconfig in not required and the warning to reboot comes, then you can run clear-notification action to get rid of the warning and the status of machine becomes active. However, the warning message comes back after couple of minutes and the machine status is back to blocked.
Steps to recreate:
`juju deploy ubuntu`
`juju deploy sysconfig`
`juju add-relation sysconfig ubuntu`
The `juju status` will show blocked status on sysconfig unit with message 'update-grub and reboot required. Changes in: /etc/systemd/
You can clear the above notification by running:
`juju run-action sysconfig/<unit> clear-notification --wait`
and the sysconfig status is active. However after couple of minutes, the status goes back to blocked with the same message. I believe the update-status hook runs and brings back the warning.
Related branches
- Eric Chen: Approve
- Erhan Sunar (community): Approve
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- Robert Gildein: Pending requested
-
Diff: 133 lines (+68/-3)4 files modifiedsrc/actions/clear-notification (+9/-2)
src/lib/lib_sysconfig.py (+33/-1)
src/tests/functional/test_deploy.py (+9/-0)
src/tests/unit/test_lib.py (+17/-0)
- 🤖 prod-jenkaas-bootstack: Needs Fixing (continuous-integration)
- BootStack Reviewers: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 123 lines (+61/-3)4 files modifiedsrc/actions/clear-notification (+9/-2)
src/lib/lib_sysconfig.py (+26/-1)
src/tests/functional/test_deploy.py (+9/-0)
src/tests/unit/test_lib.py (+17/-0)
tags: | added: bseng-591 |
Changed in charm-sysconfig: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in charm-sysconfig: | |
assignee: | nobody → Aliaksandr Vasiuk (valexby) |
Changed in charm-sysconfig: | |
status: | Triaged → Fix Committed |
Changed in charm-sysconfig: | |
milestone: | none → 23.01 |
Changed in charm-sysconfig: | |
status: | Fix Committed → Fix Released |
Juju Crashdump