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
diff --git a/contrib/includes/openstack.yaml b/contrib/includes/openstack.yaml
index 842977c..01317e2 100644
--- a/contrib/includes/openstack.yaml
+++ b/contrib/includes/openstack.yaml
@@ -1,108 +1,114 @@
1openstack config base: &openstack-config-base1openstack config base: &openstack-config-base
2 ceph-radosgw:2 ceph-radosgw:
3 ceph-osd-replication-count:3 ceph-osd-replication-count:
4 eq: 34 eq: 3
5 cinder-ceph:5 #NOTE(gabrielcocenza) ceph-mon config check should be temporary LP#1922602
6 ceph-osd-replication-count:6 ceph-mon:
7 eq: 37 nagios_additional_checks_critical:
8 glance:8 eq: true
9 ceph-osd-replication-count:9 nagios_additional_checks:
10 eq: 310 eq: '{"ceph_slow_requests": "slow requests"}'
11 neutron-api:11 cinder-ceph:
12 path-mtu:12 ceph-osd-replication-count:
13 eq: 900013 eq: 3
14 global-physnet-mtu:14 glance:
15 eq: 900015 ceph-osd-replication-count:
16 nova-compute:16 eq: 3
17 cpu-model:17 neutron-api:
18 neq: ""18 path-mtu:
19 ceph-osd-replication-count:19 eq: 9000
20 eq: 320 global-physnet-mtu:
21 rabbitmq-server:21 eq: 9000
22 cluster-partition-handling:22 nova-compute:
23 eq: "pause_minority"23 cpu-model:
24 queue_thresholds:24 neq: ""
25 search: "\\W\\*, \\W\\*, 25000, 27500"25 ceph-osd-replication-count:
26 keystone:26 eq: 3
27 token-expiration:27 rabbitmq-server:
28 gte: 8640028 cluster-partition-handling:
29 sysconfig:29 eq: "pause_minority"
30 governor:30 queue_thresholds:
31 eq: "performance"31 search: "\\W\\*, \\W\\*, 25000, 27500"
32 keystone:
33 token-expiration:
34 gte: 86400
35 sysconfig:
36 governor:
37 eq: "performance"
3238
33openstack config:39openstack config:
34 << : [ *openstack-config-base, *openstack-config-networking, *openstack-config-database ]40 << : [ *openstack-config-base, *openstack-config-networking, *openstack-config-database ]
3541
36openstack mandatory: &openstack-mandatory-charms42openstack mandatory: &openstack-mandatory-charms
37 - ceilometer43 - ceilometer
38 - ceilometer-agent44 - ceilometer-agent
39 - ceph-mon45 - ceph-mon
40 - ceph-osd46 - ceph-osd
41 - cinder47 - cinder
42 - cinder-ceph48 - cinder-ceph
43 - glance49 - glance
44 - heat50 - heat
45 - keystone51 - keystone
46 - neutron-api52 - neutron-api
47 - nova-cloud-controller53 - nova-cloud-controller
48 - nova-compute54 - nova-compute
49 - openstack-dashboard55 - openstack-dashboard
50 - bootstack-charmers-homer-dashboard56 - bootstack-charmers-homer-dashboard
51 - *openstack-mandatory-charms-networking57 - *openstack-mandatory-charms-networking
5258
53openstack mandatory deps base: &openstack-mandatory-deps-base59openstack mandatory deps base: &openstack-mandatory-deps-base
54 - haproxy60 - haproxy
55 - memcached61 - memcached
56 - rabbitmq-server62 - rabbitmq-server
5763
58openstack mandatory deps: &openstack-mandatory-deps64openstack mandatory deps: &openstack-mandatory-deps
59 - *openstack-mandatory-deps-base65 - *openstack-mandatory-deps-base
60 - *openstack-mandatory-deps-database66 - *openstack-mandatory-deps-database
6167
62openstack mandatory subordinates: &openstack-mandatory-subs68openstack mandatory subordinates: &openstack-mandatory-subs
63 - hacluster69 - hacluster
6470
65openstack optional charms: &openstack-optional-charms71openstack optional charms: &openstack-optional-charms
66 - aodh72 - aodh
67 - barbican73 - barbican
68 - barbican-vault74 - barbican-vault
69 - ceph-fs75 - ceph-fs
70 - ceph-radosgw76 - ceph-radosgw
71 - cinder-backup77 - cinder-backup
72 - designate78 - designate
73 - designate-bind79 - designate-bind
74 - easyrsa80 - easyrsa
75 - etcd81 - etcd
76 - glance-simplestreams-sync82 - glance-simplestreams-sync
77 - glance-sync-slave83 - glance-sync-slave
78 - gnocchi84 - gnocchi
79 - ironic-api85 - ironic-api
80 - ironic-conductor86 - ironic-conductor
81 - keystone-ldap87 - keystone-ldap
82 - manila88 - manila
83 - manila-dashboard89 - manila-dashboard
84 - manila-ganesha90 - manila-ganesha
85 - masakari91 - masakari
86 - masakari-monitors92 - masakari-monitors
87 - mongodb # Optional since Gnocchi93 - mongodb # Optional since Gnocchi
88 - neutron-gateway94 - neutron-gateway
89 - neutron-api-plugin-ironic95 - neutron-api-plugin-ironic
90 - octavia96 - octavia
91 - octavia-dashboard97 - octavia-dashboard
92 - octavia-diskimage-retrofit98 - octavia-diskimage-retrofit
93 - pacemaker-remote99 - pacemaker-remote
94 - placement100 - placement
95 - swift-proxy101 - swift-proxy
96 - swift-storage102 - swift-storage
97 - vault103 - vault
98 - cinder-lvm104 - cinder-lvm
99105
100cisco-aci-charms: &cisco-aci-charms106cisco-aci-charms: &cisco-aci-charms
101 - neutron-api-plugin-aci107 - neutron-api-plugin-aci
102 - openstack-dashboard-plugin-gbp108 - openstack-dashboard-plugin-gbp
103109
104trilio-charms: &trilio-charms110trilio-charms: &trilio-charms
105 - trilio-dm-api111 - trilio-dm-api
106 - trilio-horizon-plugin112 - trilio-horizon-plugin
107 - trilio-data-mover113 - trilio-data-mover
108 - trilio-wlm114 - trilio-wlm

Subscribers

People subscribed via source and target branches