landscape-server charm should implement nrpe-external-master relation to share Landscape endpoints
Bug #1934816 reported by
Paul Goins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Landscape should implement the nrpe-external-
Without this, if the Landscape services do not start for some reason (e.g. the maintenance breadcrumb, /opt/canonical/
Taking the above example a little further: if running a 3 node landscape-server cluster, and if 2 of the 3 nodes are silently down, pausing the last online node will result in landscape going completely offline - preventing use of Landscape, as well as Landscape-hosted package mirrors.
Related branches
lp:~stephanpampel/landscape-charm/systemd-monitoring
Rejected
for merging
into
lp:~landscape/landscape-charm/trunk
- 🤖 Landscape Builder: Needs Fixing (test results)
- Jeremy Lounder (community): Needs Information
- Simon Poirier: Pending requested
-
Diff: 2957 lines (+1912/-189)26 files modifiedcharm-helpers.yaml (+1/-0)
charmhelpers/__init__.py (+6/-4)
charmhelpers/contrib/charmsupport/__init__.py (+13/-0)
charmhelpers/contrib/charmsupport/nrpe.py (+522/-0)
charmhelpers/contrib/hahelpers/apache.py (+5/-1)
charmhelpers/contrib/hahelpers/cluster.py (+47/-2)
charmhelpers/core/decorators.py (+38/-0)
charmhelpers/core/hookenv.py (+184/-35)
charmhelpers/core/host.py (+262/-60)
charmhelpers/core/host_factory/ubuntu.py (+13/-5)
charmhelpers/core/services/base.py (+7/-2)
charmhelpers/core/strutils.py (+7/-4)
charmhelpers/core/sysctl.py (+12/-2)
charmhelpers/core/unitdata.py (+3/-3)
charmhelpers/fetch/__init__.py (+7/-2)
charmhelpers/fetch/python/packages.py (+6/-4)
charmhelpers/fetch/snap.py (+3/-3)
charmhelpers/fetch/ubuntu.py (+341/-59)
charmhelpers/fetch/ubuntu_apt_pkg.py (+312/-0)
charmhelpers/osplatform.py (+27/-3)
config.yaml (+20/-0)
hooks/nrpe-external-master-relation-changed (+9/-0)
hooks/nrpe-external-master-relation-joined (+9/-0)
lib/callbacks/nrpe.py (+53/-0)
lib/services.py (+2/-0)
metadata.yaml (+3/-0)
lp:~lihuiguo/landscape-charm/bug-1934816
- 🤖 Landscape Builder: Approve (test results)
- Simon Poirier (community): Approve
- James Troup (community): Approve
-
Diff: 3080 lines (+1978/-192)29 files modifiedcharm-helpers.yaml (+1/-0)
charmhelpers/__init__.py (+6/-4)
charmhelpers/contrib/charmsupport/__init__.py (+13/-0)
charmhelpers/contrib/charmsupport/nrpe.py (+522/-0)
charmhelpers/contrib/hahelpers/apache.py (+5/-1)
charmhelpers/contrib/hahelpers/cluster.py (+47/-2)
charmhelpers/core/decorators.py (+38/-0)
charmhelpers/core/hookenv.py (+184/-35)
charmhelpers/core/host.py (+262/-60)
charmhelpers/core/host_factory/ubuntu.py (+13/-5)
charmhelpers/core/services/base.py (+7/-2)
charmhelpers/core/strutils.py (+7/-4)
charmhelpers/core/sysctl.py (+12/-2)
charmhelpers/core/unitdata.py (+3/-3)
charmhelpers/fetch/__init__.py (+7/-2)
charmhelpers/fetch/python/packages.py (+6/-4)
charmhelpers/fetch/snap.py (+3/-3)
charmhelpers/fetch/ubuntu.py (+341/-59)
charmhelpers/fetch/ubuntu_apt_pkg.py (+312/-0)
charmhelpers/osplatform.py (+27/-3)
config.yaml (+16/-0)
hooks/nrpe-external-master-relation-changed (+9/-0)
hooks/nrpe-external-master-relation-joined (+9/-0)
lib/callbacks/nrpe.py (+51/-0)
lib/callbacks/tests/test_nrpe.py (+36/-0)
lib/services.py (+5/-1)
lib/tests/stubs.py (+24/-0)
lib/tests/test_services.py (+9/-2)
metadata.yaml (+3/-0)
Changed in landscape-charm: | |
assignee: | nobody → Linda Guo (lihuiguo) |
status: | New → In Progress |
assignee: | Linda Guo (lihuiguo) → nobody |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This might be solved with https:/ /code.launchpad .net/~stephanpa mpel/landscape- charm/systemd- monitoring/ +merge/ 411083