[pve-devel] [PATCH manager] ui: ceph: pool: add pool number as column

Aaron Lauterer a.lauterer at proxmox.com
Fri May 26 10:34:54 CEST 2023


ping?

On 3/22/23 10:23, Aaron Lauterer wrote:
> The pool number is shown in a few places, having it easily accessible
> can help to understand which pool a warning/error refers to.
> 
> For example, the PG ID consists of '{pool nr}.{pg nr}' and is shown in
> every warning concerning that PG.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> 
> this is just a small quality of live patch as I wanted to quickly know
> the pool nr after looking at some warnings.
> 
>   www/manager6/ceph/Pool.js | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
> index 301a3f91..8de23ecf 100644
> --- a/www/manager6/ceph/Pool.js
> +++ b/www/manager6/ceph/Pool.js
> @@ -234,6 +234,14 @@ Ext.define('PVE.node.Ceph.PoolList', {
>       features: [{ ftype: 'summary' }],
>   
>       columns: [
> +	{
> +	    text: gettext('Pool #'),
> +	    minWidth: 70,
> +	    flex: 1,
> +	    align: 'right',
> +	    sortable: true,
> +	    dataIndex: 'pool',
> +	},
>   	{
>   	    text: gettext('Name'),
>   	    minWidth: 120,





More information about the pve-devel mailing list