Anis Eleuch
34be0ed96a
decom: status clearly shows that the it is about raw disk usage ( #4792 )
...
Some users are confused about the 'Capacity' wording and think this is
about the objects usage, not disk usage; Change the wording to make this
is more clear.
2023-12-14 19:00:20 -08:00
Shireesh Anjal
28f44cb9a0
Read new key license_v2 from SUBNET response ( #4788 )
...
SUBNET now has a v2 license that is returned in the new key
`license_v2`. mc will start reading and storing the same.
2023-12-13 20:46:56 -08:00
Anis Eleuch
8da737f8fd
tier: Add support of service principal auth for Azure ( #4787 )
...
Add new flags to `mc ilm tier add` command to support Azure storage
authentication using a service principal account:
--az-sp-tenant-id
--az-sp-client-id
--az-sp-client-secret
2023-12-13 16:37:41 -08:00
Anis Eleuch
1facc1eef5
support: --debug flag will print http requests for easier debugging ( #4776 )
2023-12-13 15:31:01 -08:00
Harshavardhana
f78f391f8b
fix: broken 'anonymous get-json'
2023-12-13 15:29:52 -08:00
Shireesh Anjal
bb65ba8874
Use subnet package in pkg for license validation ( #4784 )
...
Most of the code related to license validation is now available in
`minio/pkg`. So remove it from mc and use the function(s) from `pkg`.
2023-12-11 09:06:09 -08:00
Shubhendu
1ba9435365
Fix a panic for bucket heal ( #4781 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-12-07 14:13:17 -08:00
Anis Eleuch
1e2c5cec0a
ready: Do not quit when the target server is offline or any other error ( #4783 )
...
Ready makes sense to not quit in any case, until the target server is
fully initialized
2023-12-07 14:13:04 -08:00
Krishnan Parthasarathi
d920e2b34b
Add support to batch-expire jobs ( #4677 )
2023-12-02 03:24:10 -08:00
Harshavardhana
f5f7147b9e
do not auto-decompress objects with content-encoding ( #4777 )
...
fixes #4769
2023-12-01 18:03:28 -08:00
r-sc
5e6ae2172e
set-json to fail on custom policies without .json ( #4745 )
2023-11-27 03:26:13 -08:00
Harshavardhana
2178568417
make STS support for 'mc' alias specific ( #4771 )
...
currently STS specific behavior is global,
`mc` however supports multiple aliases - we
need to make sure that `mc` treats this ENV
specific to an alias.
2023-11-26 01:35:13 -08:00
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.
2023-11-20 08:30:59 -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 )
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 )
2023-11-10 13:37:17 -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 )
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 )
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
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
r-sc
75e722216a
fix: print updates/merge multiple policy for a user ( #4691 )
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
97cc12fdc5
Add average TTFB for statistics ( #4726 )
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
Anis Eleuch
d158b9a478
prom: Allow insecure TLS connections if --insecure is provided ( #4716 )
2023-10-13 18:57:03 -07:00
Sveinn
87d6cd2d4f
Validation optimization - reduce HEAD calls during cp and mv operations ( #4710 )
2023-10-12 11:30:11 -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 )
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
2023-09-29 09:41:22 -07:00