Hi Martin,
In STX 1.0, we ran bare-metal openstack services for which we created and managed specific ceph storage pools for glance, cinder, nova, and swift. In this environment, we managed their creation and parameters (PGs and quotas) as the cluster
scaled up.
With the move to containerizing the openstack services in STX 2.0, pool creation is now driven mostly by helm charts packaged into an application (radosgw pools are the exception). Since we don’t know what additional application(s) will
be deployed and what pools may be created, we are currently longer managing pools as in STX 1.0.
These related functions in sysinv/conductor/ceph.py are remaining from STX 1.0 and need to be removed and/or repurposed to meet any new requirements.
I took a look at the LP logs and it looks like we only have a single application applied: platform-integ-apps. This currently results in a single pool for 6 OSDs
cluster:
id: 6231df84-33be-4aa4-82ea-7408e0f2421c
health: HEALTH_WARN
too few PGs per OSD (21 < min 30)
services:
mon: 3 daemons, quorum controller-0,controller-1,storage-0
mgr: controller-0(active), standbys: controller-1
osd: 6 osds: 6 up, 6 in
data:
pools: 1 pools, 64 pgs
objects: 0 objects, 0 B
usage: 645 MiB used, 5.4 TiB / 5.4 TiB avail
pgs: 64 active+clean
Since every installation will install platform-integ-apps, I think we should do the following:
Regards,
Bob
From: "Chen, Haochuan Z" <haochuan.z.chen@intel.com>
Date: Monday, December 2, 2019 at 1:15 AM
To: Robert Church <Robert.Church@windriver.com>
Cc: "'starlingx-discuss@lists.starlingx.io'" <starlingx-discuss@lists.starlingx.io>, Ovidiu Poncea <Ovidiu.Poncea@windriver.com>
Subject: ceph ops enabling in sysinv-conductor
Hi Bob
I find some many function in sysinv-conductor/ceph.py, which could manage ceph cluster, such as create/delete/configure pool, audit pg etc.
But why these function is not enabled? Or plan to request user to manage ceph cluster, such as create pool and configure pg num?
Now I checked this issue, pg too few, as user maybe deploy few osd, which make alarm. So for such issue, request user to decide correct pg num or user could ignore?
https://bugs.launchpad.net/starlingx/+bug/1844164
BR!
Martin, Chen
SSP, Software Engineer
021-61164330