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

Renew license online if license file not passed #4429

Merged
merged 2 commits into from Jan 9, 2023

Conversation

anjalshireesh
Copy link
Contributor

Description

If the license key file is not passed as argument to the license update command, and if the cluster is registered, automatically renew the license and update it.

Motivation and Context

Ability to pull latest (renewed) license from mc

How to test this PR?

  • Create a custom account on subnet with the subscription end date set to 1 month from now
  • Register a cluster in this account using mc license register {alias}
  • Check license info using mc license info {alias} and note that the license expiry is same as subscription end date on subnet
  • Extend the subscription of the account on subnet to 2 months from now
  • Run mc license update {alias}
  • Check license info using mc license info {alias} and verify that the license expiry has got extended correctly

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

If the license key file is not passed as argument to the license update
command, and if the cluster is registered, automatically renew the
license and update it.
@anjalshireesh anjalshireesh marked this pull request as ready for review January 4, 2023 17:49
@harshavardhana harshavardhana merged commit 7c6499b into minio:master Jan 9, 2023
djwfyi added a commit to minio/docs that referenced this pull request Jan 17, 2023
- Adds info on `mc mirror` continuing after a failed object sync [PR
4427](minio/mc#4427)
- Adds addition call type to `mc admin trace` [PR
4416](minio/mc#4416)
- Adds info about changed default file behavior for `mc support inspect`
[PR 4420](minio/mc#4420)
- Concurrent upload support for `mc pipe` [PR
4435](minio/mc#4435)
- Renames two `mc admin replicate` subcommands [PR
4383](minio/mc#4383)
- Updates behavior of `mc license update` to no longer require license
file [PR 4429](minio/mc#4429)
- New flag for `mc admin update` to bypass confirmation prompt [PR
4439](minio/mc#4427)

There is no doc issue to track this update.
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

3 participants