Commit Graph
1362 Commits
Author SHA1 Message Date
Anis Eleuch 1a65176cee perf net: Do not show Err: tag if there is no error (#4700) 2023-09-28 15:59:55 -07:00
Harshavardhana 103272612a change 6->3 decimal resolution, to conserve terminal realestate 2023-09-28 10:48:30 -07:00
Armin Weißer c3c899c365 Add ART and ATP to 'support top api' command (#4699)
Average Request Time (ART) = Total Duration / Calls
Average Throughput (ATP) = (RX+TX) / Total Duration
2023-09-28 08:33:49 -07:00
Taran Pelkey 618512cc92 broaden reach of --no-color flag (#4697) 2023-09-25 23:10:43 -07:00
Klaus Post 21ee2bd432 Show heal checks performed on missing (#4692)
Add stats for objects missing on current disk, but healed.

Visualizes stats for https://github.com/minio/minio/pull/18076
2023-09-25 10:32:06 -07:00
Anis Eleuch 38b8665e9e perf net: Show the error with the bandwidth results (#4688)
An error in the result does not mean that the whole perf net test
failed, we can still show some results, with an error as well, to be
less confusing to the user.
2023-09-20 08:22:31 -07:00
Harshavardhana 79df949087 add exclude-storageclass flag for mirror (#4684)
this option exists to skip tiered objects such as

- "GLACIER"
- "DEEP_ARCHIVE"

users can use this option when migrating awss3 -> minio

```
mc mirror --exclude-storageclass GLACIER \
   --exclude-storageclass DEEP_ARCHIVE s3/bucket minio/bucket
```
2023-09-19 22:47:55 -07:00
r-sc f551d4b14d Support multiple policies in 'mc admin user policy' command (#4685) 2023-09-19 09:27:38 -07:00
Harshavardhana 3adb6c93fd hide all old deprecate heal options (#4682) 2023-09-18 23:02:58 -07:00
Harshavardhana 9dcef8825f fix: alignment issues in help for svacct sub-commands (#4676) 2023-09-07 15:48:55 -07:00
Harshavardhana e088bd45a9 fix: alignment in 'replicate status' help (#4675) 2023-09-07 01:01:36 -07:00
Aditya Manthramurthy e2056fb057 Update to minio/pkg v2 (#4674) 2023-09-02 14:28:03 -07:00
Poorna 5a5a9973c3 Change replicate status metrics to show additional info (#4582)
in `mc replicate status` for bucket replication
and `mc admin replicate status` for site replication.
2023-08-30 01:02:26 -07:00
Harshavardhana 9da0b405db support all scanner events to be reported for excessive versions (#4672) 2023-08-29 15:55:06 -07:00
Shubhendu 38d4108458 Added mc admin kms key list ALIAS command (#4663)
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-08-29 15:36:30 -07:00
Poorna acc25b8c50 fix: bandwidth displayed in mc replicate status (#4664) 2023-08-18 14:57:55 -07:00
Harshavardhana f198b23e1a fix: batch status responsiveness (#4661) 2023-08-15 14:15:45 -07:00
Anis Eleuch 469f770fe6 kms-status: Show unknown for decryption when encryption fails (#4659)
mc admin kms key status shows success for decryption when encryption is
failed, though the server does not test the decryption processs when the
encryption is failed. In such cases, this commit will show decryption with a
question mark instead of OK mark
2023-08-14 13:04:49 -07:00
Anis Eleuch 9d99cfbb7e mv: Do not error out when a bucket has an object lock config (#4654)
It appears that this code is coming from the old days when locking was
implemented before versioning; It does not make sense now to make mv
errors out when a bucket has a locking configuration.
2023-08-14 13:04:26 -07:00
Shireesh Anjal e112429e81 fix license register error in airgap mode (#4653) 2023-08-10 10:12:21 -07:00
jiuker 44ca181a93 feat: support perf client to show TX from client to server (#4645) 2023-08-10 07:16:40 -07:00
Shubhendu 01fb7c5a96 fix: provide an option for Prometheus config for node and bucket endpoints (#4652)
Earlier the command `mc admin prometheus generate ALIAS` used to
display only the scrape configuration for cluster metrics endpoint.
This change enables optionally to display scrape configuration for
node / bucket metrics endpoints.

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-08-08 10:23:59 -07:00
Harshavardhana 3cf3095253 add TTFB as part of 'mc admin trace' in pretty form (#4648) 2023-07-31 20:31:06 -07:00
Shireesh Anjal 6b8680a2f7 Do not allow registration of play cluster (#4647)
Since play is a public demo cluster, it should not be allowed to
register with subnet.
2023-07-25 20:51:50 -07:00
Shubhendu 1c17ff4c99 Enabled option to show node and bucket metrics (#4632)
Earlier the command `mc admin prometheus metrics ALIAS` used to
display only the cluster-level metrics. This change enables
optionally to list node/bucket-specific metrics.

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-07-21 13:44:27 -07:00
Krishnan Parthasarathi 057470183f admin-info: Include delete markers count (#4642) 2023-07-19 15:54:09 -07:00
Poorna c04a480dd3 fix replicate update to check for older role ARN (#4640) 2023-07-19 13:11:09 -07:00
Harshavardhana c5ea09b74d properly report bandwidth if not configured (#4641)
report bandwidth if not configured
2023-07-19 12:42:18 -07:00
jiuker 493cd196b7 fix: remove count flag and show the byteRate for support top net (#4639) 2023-07-19 08:34:35 -07:00
jiuker dd6e9c7fcd fix: Enable byHost filtering by supplying server host list (#4637) 2023-07-19 00:45:16 -07:00
Harshavardhana 216aae32b9 fix: with --purge flag ignore path validation errors (#4636) 2023-07-18 14:05:38 -07:00
jiuker 48dd25742a Support mc top net (#4626) 2023-07-18 13:11:00 -07:00
Sergey c78ff23e77 Fixing misleading usage help for mc anonymous set-json (#4621) 2023-07-18 01:07:38 -07:00
Harshavardhana 1fbd97aa04 run gofumpt -extra on all source files (#4634) 2023-07-17 13:10:20 -07:00
Shireesh Anjal e8f049cbb1 Ensure --airgap is available on all support commands (#4633)
- remove deprecated and unused flags from `support diag`
- add missing registration check-in
  - call home status
  - proxy set|show|remove
2023-07-17 09:02:50 -07:00
Poorna 09a06e2a75 Rename mc replicate diff as mc replicate backlog (#4568)
Rename `mc replicate diff` as `mc replicate backlog`

By default `mc replicate backlog` shows the most recent failures with additional
--nodes flag to filter output by node and --arn flag to filter by remote target.
This is a fast operation and provides a quick snapshot of backlog currently in failed
status.

`mc replicate backlog --full` does a full listing and reports all object versions in
 pending or failed replication status.
2023-07-13 09:06:12 -07:00
Harshavardhana 355150151f allow purge to happen on quorum lost objects (#4629) 2023-07-13 00:11:43 -07:00
Aditya Manthramurthy 1b992864ee Enhance user info output with authentication info (#4613) 2023-07-06 22:25:51 -07:00
Poorna a2c253c43b admin replicate update: rename --sync flag to --mode (#4623) 2023-07-06 22:25:27 -07:00
jiuker 72958227ad fix: miss count for 'mc support top drive' (#4624) 2023-07-06 08:46:12 -07:00
jiuker 00b68bfa16 support site perf replication (#4608) 2023-07-06 01:07:41 -07:00
Kaan Kabalak c96b42c8f2 Fix issues related to 'mc admin svcacct list --json' cmd (#4619)
- Fix table header being printed when the '--json' flag is present for
the 'mc admin svcacct list' command
- Fix sentinel date being marshaled when the '--json' flag is present
for the 'mc admin svcacct list' command
2023-06-27 22:52:26 -07:00
Harshavardhana 0ed2956757 improve user messaging in 'support perf' and 'mc rm --dry-run' (#4617)
- terminal messaging for 'mc rm --dry-run' was completely
  wrong, it was using `fmt.Println` which shouldn't be done.

- mc support perf - printing was using a mix of color.New()
  and console.Infoln() (use one)

- mc support profile - printing was using a mix of color.New()
  and console.Info() (use one)

- mc support inspect - printing was using a mix of color.New()
  and consoleInfo() (use one)
2023-06-26 09:20:51 -07:00
r-sc f8f565c2b6 fix: allow cluster bucket export to export single bucket (#4614) 2023-06-24 01:38:52 -07:00
r-sc dea3058aa1 Improve consistency in mc cmds (#4609) 2023-06-23 11:12:07 -07:00
Aditya Manthramurthy 5f39522e69 Add response details for policy attach/detach cmd (#4602)
For internal IDP.

Also updates madmin-go to v3 as part of this change

- Temporarily disable test_admin_users until minio side fix is merged
2023-06-19 12:31:19 -07:00
Poorna bf3924b583 resync status: show current status (#4604)
Also exit tea.Program when resync is canceled.
2023-06-15 08:08:26 -07:00
r-sc 2c67a3aaa7 Improve output readability for mc stat command (#4597) 2023-06-14 07:44:46 -07:00
Aditya Manthramurthy 916e05bc24 Fix unconfigured IDP output in idp info command (#4600) 2023-06-13 13:49:33 -07:00
Shubhendu 41926421f9 Set theme color for mc admin user svcacct set output (#4599)
Align with output theme for other commands like `enable`,
`disable` etc.

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-06-13 11:19:50 -07:00