Krishnan Parthasarathi
16709e4bbc
ilm: Add support for size based filters ( #4770 )
2023-11-22 23:59:19 -08:00
Shubhendu
56d84e64b1
Option to enable disable ILM expiry for site replication ( #4698 )
...
Added options `replicate-ilm-expiry` and `disable-ilm-expiry-replication`
for `mc admin replicate add` and `mc admin replicate update` commands
respectively.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-11-21 22:17:38 -08:00
Shireesh Anjal
937b34616f
Do not fail if deployment id not found in license ( #4767 )
...
SUBNET is being enhanced to generate account-level licenses instead of
deployment-level. So newer licenses may not contain the deployment id.
So validate the deployment id against the cluster only if present in the
license.
RELEASE.2023-11-20T16-30-59Z
2023-11-20 08:30:59 -08:00
Harshavardhana
d8342b68a0
fix: docker container builds with proper container name
2023-11-16 19:34:18 -08:00
Harshavardhana
fe05b5bb42
fix: avoid crash with --stats -a ( #4765 )
2023-11-16 16:43:30 -08:00
Harshavardhana
4724c024c6
support missing role-arn and role-session-name ( #4763 )
RELEASE.2023-11-15T22-45-58Z
2023-11-15 14:45:58 -08:00
Pedro Juarez
6c9cdc27bc
Refactor methods that initialize client to reuse code blocks ( #4755 )
2023-11-15 13:20:52 -08:00
jiuker
c3ebf165ee
fix: Incorrect batch status Throughput entry ( #4758 )
...
fixes https://github.com/minio/mc/issues/4756
2023-11-13 10:10:39 -08:00
Harshavardhana
5124a01ae7
add 'alias export' command ( #4759 )
2023-11-13 03:20:16 -08:00
Harshavardhana
8c8e625217
trace statistics add MaxTTFB column ( #4757 )
2023-11-13 02:26:37 -08:00
Pedro Juarez
b1d4341fcb
add STS support for mc admin command ( #4754 )
2023-11-11 23:08:33 -08:00
Krishnan Parthasarathi
d3773744a6
Transition doesn't support NewerNoncurrentVersions ( #4750 )
...
hiding --noncurrent-transition-newer flag to avoid confusion to MinIO
users.
2023-11-11 12:58:33 -08:00
Daryl White
56803d2167
Updating example with correct flag ( #4751 )
RELEASE.2023-11-10T21-37-17Z
2023-11-10 13:37:17 -08:00
Shubhendu
6829c3fabc
Change go version to 1.21.4 to fix vulncheck failures ( #4749 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-11-09 14:43:59 -08:00
Harshavardhana
7db80b6ad9
fix: broken docker builds for microdnf command ( #4746 )
2023-11-08 13:00:21 -08:00
Shireesh Anjal
a5adf14769
Add anonymize flag to support-diag ( #4742 )
2023-11-08 01:36:09 -08:00
Daniel Valdivia
011c61b254
Add support for STS credentials ( #4744 )
RELEASE.2023-11-06T04-19-23Z
2023-11-05 20:19:23 -08:00
Shireesh Anjal
b7dc9cc724
Show net info spinner in health diagnostics ( #4741 )
2023-11-02 09:52:34 -07:00
Harshavardhana
9f2fb2b6a9
upgrade madmin-go/v3 ( #4738 )
RELEASE.2023-10-30T18-43-32Z
2023-10-30 11:43:32 -07:00
Sveinn
b82f6c60b2
Removing un-used variables and fixing an error condition ( #4737 )
2023-10-30 08:43:44 -07:00
Harshavardhana
01df0ff497
upgrade madmin-go/v3 ( #4735 )
2023-10-28 14:24:39 -07:00
Taran Pelkey
c1f61a1e06
Add idp ldap accesskey ( #4686 )
2023-10-26 14:23:45 -07:00
dependabot[bot]
dae819544b
Bump google.golang.org/grpc from 1.58.0 to 1.58.3 ( #4731 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.58.0 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.0...v1.58.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 10:53:29 -07:00
Harshavardhana
1bcbe9019d
add top locks owner as well ( #4733 )
...
```
Since Type Owner Resource
13 hours ago WRITE 10.68.100.18:9000 .minio.sys/leader.lock
13 hours ago WRITE 10.68.100.18:9000 .minio.sys/callhome/runCallhome.lock
13 hours ago WRITE 10.68.100.23:9000 .minio.sys/new-drive-healing/0/0
...
...
```
2023-10-26 07:52:18 -07:00
Andreas Auernhammer
b798764785
update container base image to ubi9 ( #4730 )
...
This commit updates the container base image
to ubi9/ubi-9.2. It is ~4 MB smaller than ubi-8.
Signed-off-by: Andreas Auernhammer <github@aead.dev >
2023-10-25 08:31:38 -07:00
r-sc
75e722216a
fix: print updates/merge multiple policy for a user ( #4691 )
RELEASE.2023-10-24T21-42-22Z
2023-10-24 14:42:22 -07:00
Shireesh Anjal
39a57a14b8
revamp spinner in mc support diag ( #4727 )
...
The current spinner mechanism looks for the data categories (CPU,
drives, memory, etc) sequentially. If any of the category's data is not
received, it gets stuck there.
If a new data category is introduced without changing the version of the
HealthInfo struct, then `mc support diag` can get stuck for the new
category when talking to an older version of minio.
So instead of looking for the categories one by one, start a spinner for
each category at the beginning, and mark it as done as soon as the
corresponding data is received. When the last category (admin info) is
received, mark any pending category as done so that the command
continues with the rest of the processing.
2023-10-24 00:17:17 -07:00
Harshavardhana
2678c2c8e5
use Dockerfile ADD feature deprecate curl ( #4728 )
2023-10-23 23:32:21 -07:00
Harshavardhana
97cc12fdc5
Add average TTFB for statistics ( #4726 )
RELEASE.2023-10-24T05-18-28Z
2023-10-23 22:18:28 -07:00
Andreas Auernhammer
0440badc41
use ubi-micro instead of ubi-minimal ( #4725 )
...
This commit replaces the UBI minimal with the
small and less bloated UBI micro image.
This reduces noise from security scanners flagging
components not used by mc and reduces the overall
size of the container.
Signed-off-by: Andreas Auernhammer <github@aead.dev >
2023-10-23 21:51:09 -07:00
Poorna
2c6ae7d1f7
Add --bucket-bandwidth flag to mc admin replicate update ( #4687 )
...
to allow default bucket bandwidth to be set in site replication
2023-10-23 15:46:02 -07:00
Sveinn
eb6f304e2e
Created a retry mechanism and added a --retry flag to mc mirror ( #4715 )
2023-10-20 02:03:26 -07:00
Klaus Post
d2a2bdb07b
Fix missing colours on windows ( #4721 )
2023-10-19 11:31:34 -07:00
Harshavardhana
903a1f202c
add support for min/max time in 'trace --stats' ( #4723 )
...
also change the UI to match a k8s'isk style
output.
```
mc admin trace play/ --stats
Duration: 12s ●∙∙
Call Count RPM Avg Time Min Time Max Time Errors RX Avg TX Avg
s3.GetBucketLocation 22 (48.9%) 107.8 431µs 205.196µs 1.360389ms 0 135 B 137 B
s3.ListObjectsV2 22 (48.9%) 107.8 1.615ms 520.96µs 6.821432ms 0 135 B 2.3 KiB
s3.ListBuckets 1 (2.2%) 4.9 2.302ms 2.301694ms 2.301694ms 0 135 B 29 KiB
```
2023-10-18 11:09:29 -07:00
Harshavardhana
062f28c9cc
allow 'mc' flags to have ENV equivalent ( #4720 )
...
it simplifies the codebase a bit and also
allows for `mc` to easily be configured in
containerized environments.
2023-10-16 22:51:25 -07:00
Sveinn
377b71641b
Preventing duplicate transfers during cp and mv when prefixes overlap ( #4719 )
2023-10-16 09:56:30 -07:00
Shubham Vernekar
fb8a20a780
chore: update docs to indicate where is present ( #4718 )
2023-10-16 08:44:12 -07:00
Anis Eleuch
d158b9a478
prom: Allow insecure TLS connections if --insecure is provided ( #4716 )
RELEASE.2023-10-14T01-57-03Z
2023-10-13 18:57:03 -07:00
dependabot[bot] and Harshavardhana
54d12e95bd
Bump golang.org/x/net from 0.15.0 to 0.17.0 ( #4713 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Harshavardhana <harsha@minio.io >
2023-10-12 12:06:14 -07:00
Sveinn
87d6cd2d4f
Validation optimization - reduce HEAD calls during cp and mv operations ( #4710 )
2023-10-12 11:30:11 -07:00
Shubhendu
32311bb933
Use the new golang version 1.21.3 ( #4714 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-10-12 06:14:15 -07:00
Klaus Post
0793ce767b
Add --stats to traces ( #4669 )
...
Allows collecting live stats of all traced subsystems.
Examples:
```
λ mc admin trace --stats play
+----------------------------+-------------+------+-----------+--------+---------+---------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| s3.GetObject | 247 (63.3%) | 82.5 | 2.391ms | 0 | 133 B | 179 KiB |
| s3.HeadBucket | 102 (26.2%) | 34.1 | 1.114ms | 0 | 147 B | 0 B |
| s3.GetBucketLocation | 18 (4.6%) | 6.0 | 1.942ms | 0 | 147 B | 149 B |
| s3.PutBucket | 6 (1.5%) | 2.0 | 4.146ms | 0 | 151 B | 0 B |
| s3.ListObjectsV1 | 4 (1.0%) | 1.3 | 4.276ms | 0 | 124 B | 577 B |
| s3.ListBuckets | 3 (0.8%) | 1.0 | 15.312ms | 0 | 135 B | 82 KiB |
| s3.PutObject | 3 (0.8%) | 1.0 | 4.304ms | 0 | 14 KiB | 0 B |
| s3.DeleteObject | 2 (0.5%) | 0.7 | 407µs | 0 | 88 B | 0 B |
| s3.HeadObject | 2 (0.5%) | 0.7 | 1.36ms | 0 | 108 B | 0 B |
| s3.CompleteMultipartUpload | 1 (0.3%) | 0.3 | 7.943ms | 0 | 301 B | 449 B |
| s3.NewMultipartUpload | 1 (0.3%) | 0.3 | 4.895ms | 0 | 160 B | 383 B |
| s3.PutObjectPart | 1 (0.3%) | 0.3 | 103.782ms | 0 | 8.8 MiB | 0 B |
+----------------------------+-------------+------+-----------+--------+---------+---------+
λ mc admin trace --stats -call=storage play
+------------------------------+---------------+----------+----------+--------+--------+--------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| storage.ReadXL | 70780 (33.3%) | 174700.3 | 43µs | 200 | - | - |
| storage.RenameData | 70633 (33.2%) | 174337.5 | 1.165ms | 0 | - | - |
| storage.DiskInfo | 70540 (33.1%) | 174107.9 | 1µs | 0 | - | - |
| storage.ReadVersion | 280 (0.1%) | 691.1 | 70µs | 0 | - | - |
| storage.StatVol | 236 (0.1%) | 582.5 | 13µs | 0 | - | - |
| storage.DeleteAbandonedParts | 140 (0.1%) | 345.6 | 149µs | 0 | - | - |
| storage.CreateFile | 88 (0.0%) | 217.2 | 4.169ms | 0 | - | - |
| storage.ListVols | 88 (0.0%) | 217.2 | 426µs | 0 | - | - |
| storage.ReadFileStream | 18 (0.0%) | 44.4 | 28µs | 0 | - | - |
| storage.VerifyFile | 16 (0.0%) | 39.5 | 2.166ms | 0 | - | - |
+------------------------------+---------------+----------+----------+--------+--------+--------+
```
2023-10-10 10:12:06 -07:00
Shireesh Anjal
eca8310ac8
Add support for resource metrics ( #4689 )
RELEASE.2023-10-04T06-52-56Z
2023-10-03 23:52:56 -07:00
Anis Eleuch
4be483de6d
scanner: Limit the active disks if no enough term space ( #4705 )
...
If the terminal height is not enough to show the number of active disks,
which is likely the case in a large deployment, print only a few entries
until the number of lines reaches the terminal height.
2023-10-03 08:31:31 -07:00
Anis Eleuch
67fa4aa7a3
Fix mirror stats with --quiet flag ( #4703 )
2023-10-02 08:03:54 -06:00
Harshavardhana
d8ace59107
add 'mc admin trace' filtering based on request queries ( #4704 )
2023-10-02 00:40:19 -07:00
Armin Weißer
d47a2ba53a
Add min, max and total request time to top api command ( #4702 )
...
Add min and max request time to top api command
RELEASE.2023-09-29T16-41-22Z
2023-09-29 09:41:22 -07:00
Shireesh Anjal
86d5b64ffa
Use latest madmin-go (v3.0.21) ( #4701 )
...
This ensures that drive model is included in the partition data inside
the health diagnostics report.
2023-09-29 01:07:54 -07:00
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
RELEASE.2023-09-28T17-48-30Z
2023-09-28 10:48:30 -07:00