Merge ~gabrielcocenza/juju-lint:bug/1922602 into juju-lint:master

Proposed by Gabriel Cocenza
Status: Merged
Approved by: Martin Kalcok
Approved revision: a1ec2d8d74dbc7abb8329520a469c58db75e07f2
Merged at revision: bcc96ba5009a745e3226812cc7c6832b38ff33b3
Proposed branch: ~gabrielcocenza/juju-lint:bug/1922602
Merge into: juju-lint:master
Diff against target: 210 lines (+97/-91)
1 file modified
contrib/includes/openstack.yaml (+97/-91)
Reviewer Review Type Date Requested Status
Martin Kalcok (community) Approve
Eric Chen Approve
Review via email: mp+427121@code.launchpad.net

Commit message

Added ceph-mon config checks

- check nagios_additional_checks_critical == True
- check nagios_additional_checks == '{"ceph_slow_requests": "slow requests"}'
- fixed openstack.yaml indentation using 2 spaces.

Description of the change

LP #1922602 asks for those checks while the fix happens on ceph-mon charm. This is a workaround, so I didn't open a bug on cpe-foundation to have those configuration as default on ceph-mon.

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Eric Chen (eric-chen) :
review: Approve
Revision history for this message
Martin Kalcok (martin-kalcok) wrote :

LGTM, Thanks.

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Failed to merge change (unable to merge source repository due to conflicts), setting status to needs review.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision bcc96ba5009a745e3226812cc7c6832b38ff33b3

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/contrib/includes/openstack.yaml b/contrib/includes/openstack.yaml
2index 842977c..01317e2 100644
3--- a/contrib/includes/openstack.yaml
4+++ b/contrib/includes/openstack.yaml
5@@ -1,108 +1,114 @@
6 openstack config base: &openstack-config-base
7- ceph-radosgw:
8- ceph-osd-replication-count:
9- eq: 3
10- cinder-ceph:
11- ceph-osd-replication-count:
12- eq: 3
13- glance:
14- ceph-osd-replication-count:
15- eq: 3
16- neutron-api:
17- path-mtu:
18- eq: 9000
19- global-physnet-mtu:
20- eq: 9000
21- nova-compute:
22- cpu-model:
23- neq: ""
24- ceph-osd-replication-count:
25- eq: 3
26- rabbitmq-server:
27- cluster-partition-handling:
28- eq: "pause_minority"
29- queue_thresholds:
30- search: "\\W\\*, \\W\\*, 25000, 27500"
31- keystone:
32- token-expiration:
33- gte: 86400
34- sysconfig:
35- governor:
36- eq: "performance"
37+ ceph-radosgw:
38+ ceph-osd-replication-count:
39+ eq: 3
40+ #NOTE(gabrielcocenza) ceph-mon config check should be temporary LP#1922602
41+ ceph-mon:
42+ nagios_additional_checks_critical:
43+ eq: true
44+ nagios_additional_checks:
45+ eq: '{"ceph_slow_requests": "slow requests"}'
46+ cinder-ceph:
47+ ceph-osd-replication-count:
48+ eq: 3
49+ glance:
50+ ceph-osd-replication-count:
51+ eq: 3
52+ neutron-api:
53+ path-mtu:
54+ eq: 9000
55+ global-physnet-mtu:
56+ eq: 9000
57+ nova-compute:
58+ cpu-model:
59+ neq: ""
60+ ceph-osd-replication-count:
61+ eq: 3
62+ rabbitmq-server:
63+ cluster-partition-handling:
64+ eq: "pause_minority"
65+ queue_thresholds:
66+ search: "\\W\\*, \\W\\*, 25000, 27500"
67+ keystone:
68+ token-expiration:
69+ gte: 86400
70+ sysconfig:
71+ governor:
72+ eq: "performance"
73
74 openstack config:
75- << : [ *openstack-config-base, *openstack-config-networking, *openstack-config-database ]
76+ << : [ *openstack-config-base, *openstack-config-networking, *openstack-config-database ]
77
78 openstack mandatory: &openstack-mandatory-charms
79- - ceilometer
80- - ceilometer-agent
81- - ceph-mon
82- - ceph-osd
83- - cinder
84- - cinder-ceph
85- - glance
86- - heat
87- - keystone
88- - neutron-api
89- - nova-cloud-controller
90- - nova-compute
91- - openstack-dashboard
92- - bootstack-charmers-homer-dashboard
93- - *openstack-mandatory-charms-networking
94+ - ceilometer
95+ - ceilometer-agent
96+ - ceph-mon
97+ - ceph-osd
98+ - cinder
99+ - cinder-ceph
100+ - glance
101+ - heat
102+ - keystone
103+ - neutron-api
104+ - nova-cloud-controller
105+ - nova-compute
106+ - openstack-dashboard
107+ - bootstack-charmers-homer-dashboard
108+ - *openstack-mandatory-charms-networking
109
110 openstack mandatory deps base: &openstack-mandatory-deps-base
111- - haproxy
112- - memcached
113- - rabbitmq-server
114+ - haproxy
115+ - memcached
116+ - rabbitmq-server
117
118 openstack mandatory deps: &openstack-mandatory-deps
119- - *openstack-mandatory-deps-base
120- - *openstack-mandatory-deps-database
121+ - *openstack-mandatory-deps-base
122+ - *openstack-mandatory-deps-database
123
124 openstack mandatory subordinates: &openstack-mandatory-subs
125- - hacluster
126+ - hacluster
127
128 openstack optional charms: &openstack-optional-charms
129- - aodh
130- - barbican
131- - barbican-vault
132- - ceph-fs
133- - ceph-radosgw
134- - cinder-backup
135- - designate
136- - designate-bind
137- - easyrsa
138- - etcd
139- - glance-simplestreams-sync
140- - glance-sync-slave
141- - gnocchi
142- - ironic-api
143- - ironic-conductor
144- - keystone-ldap
145- - manila
146- - manila-dashboard
147- - manila-ganesha
148- - masakari
149- - masakari-monitors
150- - mongodb # Optional since Gnocchi
151- - neutron-gateway
152- - neutron-api-plugin-ironic
153- - octavia
154- - octavia-dashboard
155- - octavia-diskimage-retrofit
156- - pacemaker-remote
157- - placement
158- - swift-proxy
159- - swift-storage
160- - vault
161- - cinder-lvm
162+ - aodh
163+ - barbican
164+ - barbican-vault
165+ - ceph-fs
166+ - ceph-radosgw
167+ - cinder-backup
168+ - designate
169+ - designate-bind
170+ - easyrsa
171+ - etcd
172+ - glance-simplestreams-sync
173+ - glance-sync-slave
174+ - gnocchi
175+ - ironic-api
176+ - ironic-conductor
177+ - keystone-ldap
178+ - manila
179+ - manila-dashboard
180+ - manila-ganesha
181+ - masakari
182+ - masakari-monitors
183+ - mongodb # Optional since Gnocchi
184+ - neutron-gateway
185+ - neutron-api-plugin-ironic
186+ - octavia
187+ - octavia-dashboard
188+ - octavia-diskimage-retrofit
189+ - pacemaker-remote
190+ - placement
191+ - swift-proxy
192+ - swift-storage
193+ - vault
194+ - cinder-lvm
195
196 cisco-aci-charms: &cisco-aci-charms
197- - neutron-api-plugin-aci
198- - openstack-dashboard-plugin-gbp
199+ - neutron-api-plugin-aci
200+ - openstack-dashboard-plugin-gbp
201
202 trilio-charms: &trilio-charms
203- - trilio-dm-api
204- - trilio-horizon-plugin
205- - trilio-data-mover
206- - trilio-wlm
207+ - trilio-dm-api
208+ - trilio-horizon-plugin
209+ - trilio-data-mover
210+ - trilio-wlm

Subscribers

People subscribed via source and target branches