Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmlicense: do not check against "requiredLicense" field #2

Merged
merged 1 commit into from
May 30, 2024

Conversation

tazend
Copy link
Contributor

@tazend tazend commented May 29, 2024

When a new node is added for the first time to GPFS (without specifying a license on mmaddnode), the Host probably gets assigned the "client" license by default.
Now if you want to designate the Host as a server afterwards, this check would prevent you to do so, since by default the "requiredLicense" is set to "client".
This check isn't really needed anyway, because I assume one can just treat the "requiredLicense" field in mmlslicense as a "hint". The only thing that matters is the designatedLicense.

Additionally, GPFS will somehow anyway rewrite this internally at some point. Recently added a new node and designated it as "server". mmslicense shows "client" for "requiredLicense" and "server" for "designatedLicense" as expected. Some time later, mmlslicense showed "server" as "requiredLicense", and "fpo-server" for "designatedLicense".

/cc @wookietreiber

When a new node is added for the first time to GPFS (without specifying
a license on mmaddnode), the Host probably gets assigned the "client"
license by default.
Now if you want to designate the Host as a server afterwards, this check
would prevent you to do so, since by default the "requiredLicense" is
set to "client".
This check isn't really needed anyway, because I assume one can just
treat the "requiredLicense" field in mmlslicense as a "hint". The only
thing that matters is the designatedLicense.

Additionally, GPFS will somehow anyway rewrite this internally at some
point. Recently added a new node and designated it as "server".
mmslicense shows "client" for "requiredLicense" and "server" for
"designatedLicense" as expected. Some time later, mmlslicense showed
"server" as "requiredLicense", and "fpo-server" for "designatedLicense".
@wookietreiber wookietreiber merged commit c807817 into idiv-biodiversity:main May 30, 2024
2 checks passed
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.

None yet

2 participants