mgr/dashboard: Block >> Images: images in pools without "rbd" label not shown
Page "Block >> Images" is not listing
images for pools without "rbd" application label
As per previous conversation in IRC ceph-dashboard channel,
this page should list all images.
#2 Updated by Alfonso MH 10 months ago
Jason Dillaman wrote:
The purpose for the application tags were to enable optimizations like this (i.e. we don't need to scan >>all the pools for an "rbd_directory" file). Your cluster should be in a health warn state if it has >>populated pools without an application tag associated with it. Also, at least the latest version of the >>dashboard allows you to manipulate the application tags. Therefore, if there is some confusion, perhaps >>we just need to add a pool drop-down selector to the table? The RBD pool drop-down already filters out >>non-RBD pools.
#4 Updated by Ernesto Puerta 10 months ago
Why allowing dashboard users to take the wrong way? If pool app tags were created exactly for this purpose, the only thing a user has to do is properly tagging their pools as rbd (something that can be done from the dashboard itself).
By providing any 'tricky' checkbox, we are accustoming dashboard users to keep up with poor operating practices and overriding intended behaviours. If we fear most rbd users don't know about the need of tagging their rbd pools, let's add some warning message in case no rbd/rgw/cephfs is found due to missing tags.
#7 Updated by Lenz Grimmer 10 months ago
I think the actual problem is that it's possible to add RBDs on the command line on pools that don't have the "rbd" application tag. The Dashboard already prevents that from happening by only offering Pools that have the appropriate tag. Maybe the CLI should abort with an error or print at least a warning message that the pool is missing the tag?
#8 Updated by Lenz Grimmer 10 months ago
Related background information: https://ceph.com/community/new-luminous-pool-tags/
#10 Updated by Lenz Grimmer 3 months ago
- Tags set to usability
- Status changed from In Progress to Won't Fix
- Assignee deleted (
- Target version deleted (
Resolving this as "won't fix" for now. Ceph issues a health warning if RBDs are created in an unlabeled pool already. As soon as the "rbd" label is added, the RBDs in that pool will appear in the list.