ceph-fs charm shouldn't install ntp package unconditionally
Bug #1935013 reported by
Yoshi Kadokawa
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph-FS Charm |
Fix Released
|
High
|
Eric Chen |
Bug Description
According to this[0], ceph-fs charm will install ntp package,
and with the following condition, nrpe check script will fail to run.
- when ceph-fs is deployed in an LXD container
- when the host machine, where ceph-fs is running in an LXD container, has a relation with ntp and nrpe charm
Here is the related bug[1].
First of all, I believe this ntp package is not necessary for ceph-fs to deploy.
Changed in charm-ceph-fs: | |
assignee: | nobody → YenHung (Eric) Chen (eric-chen) |
Changed in charm-ceph-fs: | |
status: | Triaged → In Progress |
Changed in charm-ceph-fs: | |
milestone: | none → 21.10 |
status: | In Progress → Fix Committed |
Changed in charm-ceph-fs: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think there are two issues here:
1. charm always installs "ntp" for both bionic and focal, "ntp" is in universe with focal it should be "chrony" on focal instead
2. charm installs (and activate) ntp servers even inside LXD container.
Like ceph-mon charm, we shouldn't install ntp in LXD, but relies on baremetal. /bugs.launchpad .net/charm- ceph-mon/ +bug/1852441 /opendev. org/openstack/ charm-ceph- mon/commit/ 60a9a4f27aa1cdd d717431abae7a26 c46f5f8bd5
https:/
https:/