ThinkParQ / beegfs

Public repository for the BeeGFS Parallel File System
https://www.beegfs.io
Other
67 stars 9 forks source link

quota command print message despite sysNoEnterpriseFeatureMsg = True #7

Closed garadar closed 1 month ago

garadar commented 1 month ago

Describe the bug

The get/set quota print message BeeGFS Enterprise Feature announce even if we set sysNoEnterpriseFeatureMsg to true

Describe the system A short description of the system BeeGFS is running on that covers all information relevant to the issue. For example (but not limited to):

  1. beegfs-*-7.4.4-el8.noarchs
  2. OS: rocky 4.18.0-513.24.1.el8_9.x86_64

To Reproduce

(cluster)-[root@login1 ~]$ beegfs-ctl --getquota --uid gandalf--mount=/srv/beegfs/scratch --connAuthFile=/etc/beegfs/connauthfile
--------------------------------------------------------------------------------
| BeeGFS Enterprise Feature                                                    |
|                                                                              |
| This beegfs-ctl mode configures a BeeGFS Enterprise Feature.                 |
|                                                                              |
| By downloading and/or installing BeeGFS, you have agreed to the EULA of      |
| BeeGFS: https://www.beegfs.io/docs/BeeGFS_EULA.txt                           |
|                                                                              |
| Please note that any use of Enterprise Features of BeeGFS for longer than    |
| the trial period of 60 (sixty) days requires a valid License & Support       |
| Agreement with the licensor of BeeGFS "ThinkParQ GmbH".                      |
|                                                                              |
| Contact: sales@thinkparq.com                                                 |
| Thank you for supporting BeeGFS development!                                 |
|                                                                              |
| If you are using BeeGFS in conformity with the EULA and do not wish to see   |
| this message in the future, you can set sysNoEnterpriseFeatureMsg to true in |
| beegfs-client.conf to disable it.                                            |
--------------------------------------------------------------------------------

Quota information for storage pool Default (ID: 1):

      user/group     ||           size          ||    chunk files    
     name     |  id  ||    used    |    hard    ||  used   |  hard   
--------------|------||------------|------------||---------|---------
       gandalf|76384||   80.00 KiB|   unlimited||       17| 10000000

Expected behavior No message printed

iamjoemccormick commented 1 month ago

Hi @garadar,

I confirmed this only happens as a side effect of using the --mount option to determine the configuration that applies to CTL. If you use the --cfgFile option (or don't specify either which will default to /etc/beegfs/beegfs-client.conf) you won't see the message when sysNoEnterpriseFeatureMsg=true in that config file. I have a patch for this already working on my local system so we should be able to get this fixed up in the next release.

garadar commented 1 month ago

hi @iamjoemccormick

Thank you, It sound perfect to me !