Harshavardhana
b46cf3c417
simplify histograms, make it based on the server return ( #4935 )
2024-05-13 09:31:11 -07:00
Harshavardhana
900235c14b
keep pool display order and also pretty it ( #4931 )
...
```
mc admin info play/
● play.min.io
Uptime: 4 minutes
Version: 2024-05-10T08:24:14Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
┌──────┬───────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Raw Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 8.5% (total: 120 GiB) │ 4 │ 1 │
└──────┴───────────────────────┴─────────────────────┴──────────────┘
8.4 GiB Used, 479 Buckets, 3,585 Objects, 210 Versions, 27 Delete Markers
4 drives online, 0 drives offline, EC:1
```
2024-05-10 11:56:40 -07:00
jiuker
1b890948e8
fix: mirror --summary should work like -q ( #4923 )
2024-05-10 11:47:20 -07:00
Harshavardhana
fdb36acbb1
fix: test regression since #4920 ( #4928 )
...
use mc_cmd always inside `functional-tests.sh`
Bonus: run shell formatting
RELEASE.2024-05-09T17-04-24Z
2024-05-09 10:04:24 -07:00
jiuker
0d8c4f8aa8
fix: mc find --metadata work without prefix ( #4926 )
2024-05-09 07:13:21 -07:00
Sveinn
a96123be2e
showing disable-pager flag as an option ( #4929 )
2024-05-09 07:13:07 -07:00
jiuker
5378c957f5
fix: mc rb --force return ok with bucketNotExists ( #4927 )
2024-05-09 03:32:30 -07:00
Kanagaraj M
45ae31533d
fix replication bandwidth unit conversion ( #4922 )
2024-05-09 03:04:18 -07:00
Shubhendu
62b110408f
Correct spelling in message ( #4924 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:41:56 -07:00
Shubhendu
2fb9e21122
Added test for bucket replication ( #4920 )
...
Make sure proxying of DEL markers doesnt happen to remote site
while stat calls.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:40:35 -07:00
Shubhendu
646712d5e5
Fix panic in mc admin health command ( #4921 )
...
The globalFlags were getting added twice and so causing duplicate
error andso a panic.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-07 08:20:21 -07:00
Klaus Post
b471de8d18
Add standard EC setting to admin info ( #4918 )
...
Discretely adds the standard EC setting to regular `mc admin info`.
```
λ mc admin info play
● play.min.io
Uptime: 1 hour
Version: 2024-04-15T10:03:01Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
Pools:
1st, Erasure sets: 1, Drives per erasure set: 4
945 MiB Used, 409 Buckets, 5,498 Objects, 52 Versions, 4 Delete Markers
4 drives online, 0 drives offline, EC:2
```
Will save many deep dives into JSON.
RELEASE.2024-05-03T11-21-07Z
2024-05-03 04:21:07 -07:00
Harshavardhana
b317d0d63d
fix: honor S3v2 if configured ( #4917 )
...
fixes #4915
A regression was introduced in #4755 , we hardly test
with v2 anymore so this has never been covered.
2024-05-03 04:17:42 -07:00
Harshavardhana
dcb911bed9
make s3Config Transport a roundTripper ( #4914 )
2024-04-30 10:44:48 -07:00
Sveinn
9fad66d824
updating prefix validation and adding some tests ( #4907 )
2024-04-30 10:29:33 -07:00
jiuker
5b7b222371
fix: divde by zero for decom status ( #4908 )
RELEASE.2024-04-29T09-56-05Z
2024-04-29 02:56:05 -07:00
Sveinn
4a3f5899c6
enabling MC_DISABLE_PAGER and --dp ( #4909 )
2024-04-29 02:55:40 -07:00
Ziyi Fan
770097b64f
Fix the percent of pool used ( #4910 )
...
Fix a the percent of pool used in rebalance status
2024-04-29 02:55:22 -07:00
Harshavardhana
afd408284e
scanner token buffer can overflow use bufio.NewReader() ( #4912 )
...
To avoid the following error on binary objects
```
bufio.Scanner: token too long.
```
2024-04-29 02:48:39 -07:00
Harshavardhana
5dfaa31d67
move to crypto/sha256 instead of sha256-simd ( #4911 )
2024-04-25 15:35:12 -07:00
Harshavardhana
2ed4cd91a7
fix: docker hotfix binaries
2024-04-19 09:41:02 -07:00
Harshavardhana
e59e453a14
fix: docker hotfix container builds
2024-04-19 09:33:18 -07:00
Shubhendu
bc47cebd91
Show ILM Expiry Replication status only if enabled ( #4900 )
...
In case Replication of ILM Expiry rules is disabled, mention the same
in `mc admin replicate status ALIAS` output.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-04-19 01:52:20 -07:00
Anis Eleuch
3ec030eb26
cosmetic: Hide mc admin bucket and its subcommands visible ( #4905 )
...
Current mc admin bucket is visible under 'mc admin' however, mc admin
bucket will not show sub-commands, which is confusing.
Hide mc admin bucket and make mc admin bucket subcommands visible for
now, until removed later.
RELEASE.2024-04-18T16-45-29Z
2024-04-18 09:45:29 -07:00
Harshavardhana
58a9cb37ec
upgrade deps to latest releases ( #4904 )
2024-04-18 07:46:46 -07:00
Sveinn
fe58afcd39
Large MC Update (new encryption flags, functional test suite, removal of session code, minor cleanup, vuln. updates ) ( #4882 )
2024-04-15 08:10:25 -07:00
Taran Pelkey
e701bce12c
Move mc idp ldap accesskey create --login to mc idp ldap accesskey create-with-login ( #4894 )
2024-04-12 00:00:53 -07:00
Aditya Manthramurthy
76c3674200
fix: build on linux/mips64 ( #4899 )
...
Also, add cross-compilation to CI. This includes all the archs we intend
to publish production binaries for.
`linux/mips64` was broken previously, and this is fixed by updating
github.com/shirou/gopsutil/v3 to the latest version.
2024-04-11 17:36:42 -07:00
Aditya Manthramurthy
6bac84d281
Update version for govulncheck ( #4898 )
2024-04-11 16:47:52 -07:00
Krishnan Parthasarathi
0b13328b3a
Move ilm-tier-info to use lipgloss/table ( #4892 )
2024-04-02 15:58:53 -07:00
Krishnan Parthasarathi
0e3d1d50bf
Use lipgloss's table package for ilm-tier-ls ( #4890 )
2024-04-02 02:14:13 -07:00
dorman
9f8147bf0e
doc update ( #4867 )
RELEASE.2024-03-30T15-29-52Z
2024-03-30 08:29:52 -07:00
David Legrand
f740a6d40b
Functional tests: add a parameter for the full site cleaning test ( #4877 )
...
fixes #4876
The latest `mc rb` test cleans all the site data, and on the demo site,
there are sometimes WORM files put in by some users, which leads to
a failure. This test should only be run on sites where the user knows he can
clean everything without errors.
2024-03-30 08:29:28 -07:00
Shireesh Anjal
206d017878
Expose health diagnostics related functions ( #4885 )
...
So that dependent projects (e.g. console) can make use of them instead
of duplicating the logic.
2024-03-30 08:28:09 -07:00
Klaus Post
89d742a76d
Update madmin to existing master ( #4888 )
...
Proposed branch no longer exists.
2024-03-28 08:12:19 -07:00
Praveen raj Mani
7bac47fe04
fix resync to find peers by deployment ID instead of site names ( #4884 )
...
The site names may vary if configured on UI. The Deployment ID
is immutable and can be used instead in replicate resync commands.
RELEASE.2024-03-25T16-41-14Z
2024-03-25 09:41:14 -07:00
Shireesh Anjal
9043bbf545
Expose getClusterRegInfo ( #4881 )
...
so that it can be used by other projects (e.g. console) instead of
duplicating the logic.
RELEASE.2024-03-20T21-07-29Z
2024-03-20 14:07:29 -07:00
David Legrand
795ed1eb49
Fix functional-tests.sh file generation under macOS ( #4875 )
...
Fixes #4874
`head -c 0` leads to an `head: illegal byte count -- 0` error under macOS. We should also provide the input with `-i` parameter (it's ok under GNU/Linux too)
2024-03-16 03:01:31 -07:00
dependabot[bot]
2508db9c56
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 ( #4872 )
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
RELEASE.2024-03-13T23-51-57Z
2024-03-13 16:51:57 -07:00
Harshavardhana
53f59667f6
support node being part of multiple pools pick the actual number ( #4870 )
2024-03-13 12:22:53 -07:00
Harshavardhana
1ec55a5178
avoid stat and listing with --purge ( #4869 )
RELEASE.2024-03-09T06-43-06Z
2024-03-08 22:43:06 -08:00
dependabot[bot]
6302f888a5
Bump github.com/lestrrat-go/jwx from 1.2.28 to 1.2.29 ( #4868 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.28 to 1.2.29.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v1.2.29/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.28...v1.2.29 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 14:29:25 -08:00
Harshavardhana
33a43e9c6e
update go to v1.21.8 for vulncheck
RELEASE.2024-03-07T00-31-49Z
2024-03-06 16:31:49 -08:00
Shireesh Anjal
daf5b18e18
Add command for uploading file to SUBNET issue ( #4854 )
...
mc support upload --issue <issueNum> --comment <msg> <alias> </path/to/file>
Will upload the given file to the given SUBNET issue
2024-03-06 16:29:26 -08:00
Harshavardhana
98af07b69c
bring back the original progress bar ( #4866 )
...
also cleanup 'mc put/get' behavior
RELEASE.2024-03-03T00-13-08Z
2024-03-02 16:13:08 -08:00
Shireesh Anjal
66daa906eb
mc support commands: allow --json in online mode ( #4859 )
...
There was a validation that said `--json` is supported only when
`--airgap` is also passed for SUBNET related `mc support` commands.
Remove this validation to allow `--json` to be passed even in online
mode. In this scenario, print a status JSON after upload to SUBNET.
2024-03-02 11:55:14 -08:00
dorman
c2bf38f647
mirror: add bucket exclusions ( #4861 )
2024-03-02 11:54:51 -08:00
dorman
94cf5edf7a
replicate: support alias ( #4864 )
2024-03-02 01:24:46 -08:00
jiuker
f17313e7ab
fix: emtpy progrese_bar and add change the color style white into green after upload success. ( #4857 )
RELEASE.2024-02-24T01-33-20Z
2024-02-23 17:33:20 -08:00
Shireesh Anjal
744dc910d8
Do not validate deployment id from license if nil uuid ( #4856 )
...
In some very rare cases the license can contain a nil uuid
(00000000-0000-0000-0000-000000000000). Do not validate it against the
cluster's deployment id during registration.
2024-02-23 16:44:28 -08:00