dell / ansible-powerscale

PowerScale (Isilon) Ansible modules
GNU General Public License v3.0
29 stars 21 forks source link

Quotas use int type instead of float #5

Closed aerenr closed 2 years ago

aerenr commented 3 years ago

https://github.com/dell/ansible-powerscale/blob/1df42fb01e9ca1cfbf80b09a0a03c07bd80a13ff/plugins/modules/dellemc_powerscale_smartquota.py

Line: 808-810 are setting the limit_size using ints. Can we use floats instead so that we can easily implement a hard limit of 1.5 TB, for example?

                            advisory_limit_size=dict(type='int'),
                            soft_limit_size=dict(type='int'),
                            hard_limit_size=dict(type='int'),
anupamaloke commented 3 years ago

@aerenr, we are looking into this one. Meanwhile, one suggested workaround for this issue would be to set the *_limit_size argument to 1536 and cap_unit to GB.

anupamaloke commented 2 years ago

Closing the issue as it has been fixed in v1.5.0