Skip to content

dcache cli: fix issue with printing pool size when max diskspace is s…#8017

Open
DmitryLitvintsev wants to merge 1 commit into11.1from
fix/11.1/8014
Open

dcache cli: fix issue with printing pool size when max diskspace is s…#8017
DmitryLitvintsev wants to merge 1 commit into11.1from
fix/11.1/8014

Conversation

@DmitryLitvintsev
Copy link
Member

…et in percentage

Motivation:

patch 8c71927 introduced ability to specify max disk space in percentage of partition space like so:

set max diskspace 98%

unfortunately it breaks dcache pool ls command like so:

98% is not an integer.

Modification:

Calculate pool size based on partition size and percentage

Result:

No error when running "dcache pool ls" and pool size properly reported

Ticket: #8014
Patch: https://rb.dcache.org/r/14618/

Acked-by: Marina
Request: trunk
Target: 11.x
Require-book: no
Require-notes: yes

…et in percentage

Motivation:
-----------

patch 8c71927 introduced ability to specify max disk space in percentage of partition space like so:

set max diskspace 98%

unfortunately it breaks dcache pool ls command like so:

   98% is not an integer.

Modification:
------------

Calculate pool size based on partition size and percentage

Result:
------

No error when running "dcache pool ls" and pool size properly reported

Ticket: #8014
Patch: https://rb.dcache.org/r/14618/

Acked-by: Marina
Request: trunk
Target: 11.x
Require-book: no
Require-notes: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant