Shireesh Anjal
ab2bce93ea
Move admin profile to support profile ( #3972 )
...
As part of reorganization of support related commands
2022-02-13 16:08:52 -08:00
Shireesh Anjal
7b93343803
Move admin inspect to support inspect ( #3971 )
2022-02-13 15:38:06 -08:00
Poorna
c579c0b403
Add subcommands to mc replicate resync ( #3964 )
...
This PR adds `start` and `status` subcommands for
managing replication resync
2022-02-13 15:36:24 -08:00
Harshavardhana
c595efe440
fix: some inconsistencies in 'mc support' command
2022-02-13 15:21:46 -08:00
Harshavardhana
cb1daf1567
simplify wording for mc replicate edit and default sane values ( #3980 )
2022-02-11 17:07:53 -08:00
Harshavardhana
2be75594d0
simplify wording for mc replicate add and default sane values ( #3978 )
2022-02-11 16:36:37 -08:00
Harshavardhana
ed42cdc3a8
fix: alias import comment formatting ( #3979 )
2022-02-11 13:27:48 -08:00
jinapurapu
8e3b5ebc46
Add alias import command ( #3958 )
2022-02-11 10:15:02 -08:00
Shireesh Anjal
5d50c9beb9
Error out from support diag if cluster not registered ( #3970 )
...
If user tries to run `mc support diag` for a cluster that is not yet
registered, error out asking the user to register the cluster first.
2022-02-11 09:28:15 -08:00
Poorna
9b6f6cdbb4
Add admin replicate remove command to allow removal of sites ( #3919 )
2022-02-10 18:50:11 -08:00
Sidhartha Mani
006c48c51c
add admin speedtest drive command ( #3939 )
2022-02-10 17:53:39 -08:00
Klaus Post
e71b1c80b4
Skip Shell check on Windows ( #3973 )
...
Fixes `mc: <ERROR> Failed to enable autocompletion. Cannot
determine shell-type and SHELL environment variable found: exit status 1.`
on Windows.
2022-02-10 17:52:02 -08:00
jinapurapu
548dc0fd99
Added help message if no arguments passed to mc alias set command ( #3963 )
2022-02-09 03:14:03 -08:00
Harshavardhana
3a7a724753
error out when bucket not found with proper exitcode ( #3959 )
...
fixes #3953
2022-02-08 12:23:17 -08:00
Shireesh Anjal
5960c628f3
Move admin-subnet commands to support ( #3949 )
2022-02-08 10:05:36 -08:00
Harshavardhana
dabc6c598e
set bucketName always in RemoveResult response ( #3957 )
2022-02-04 12:21:02 -08:00
Harshavardhana
cb7674133a
make sure backendType is looked up properly
2022-02-04 12:14:06 -08:00
Harshavardhana
98bc432b53
add pool id as part of 'mc admin info' output ( #3954 )
2022-02-04 12:05:16 -08:00
Klaus Post
8ad226ca83
du: Add object counts ( #3950 )
2022-02-03 09:39:15 -08:00
Poorna
a7147d221d
Change mc admin replicate status ui to have additional filters ( #3936 )
2022-02-01 15:51:09 -08:00
Shireesh Anjal
af7c550f26
Add command to configure callhome options ( #3940 )
2022-02-01 15:50:39 -08:00
Harshavardhana
f5596de2fe
ignore expiration and expires from JSON output ( #3947 )
2022-02-01 15:50:09 -08:00
apendragon
3f23cdd921
honor --bypass flag for 'mc retention' command ( #3945 )
...
Fixes #3944
2022-01-29 09:20:38 -08:00
Poorna
ccbc1ff725
Add mc admin replicate edit command ( #3908 )
2022-01-28 16:22:14 -08:00
Harshavardhana
3e28003f82
fix: admin speedtest verbose output \n ( #3943 )
2022-01-28 16:21:37 -08:00
Aditya Manthramurthy
6d12396b47
Add option to mc admin policy info to save policy JSON to file ( #3914 )
2022-01-28 16:21:28 -08:00
Villena Guillaume
9914c8187e
Allow storageclass to be specified on mc ls ( #3915 )
2022-01-28 14:42:21 -08:00
Harshavardhana
43524f7978
remove quota FIFO support ( #3942 )
2022-01-28 14:41:44 -08:00
Harshavardhana
f06a4b20a3
add missing 'mc admin inspect' examples ( #3934 )
2022-01-28 14:41:35 -08:00
Anis Elleuch
0c58d62a1f
Fix mirror with relative fs path ( #3929 )
...
mc diff <alias>/<bucket>/ ./dir/ is not calculated correctly because the
difference code relies on the format of the argument, for example,
whether it is dir/ or ./dir/ or ../my/dir/.
This commit will calculate the absolute path of the passed argument if
it is a filesystem path and uses it through the code.
2022-01-28 10:19:21 -08:00
Harshavardhana
16249f3587
add amount of time 'service restart' took ( #3935 )
2022-01-24 14:18:11 -08:00
Anis Elleuch
fd70dd59c6
heal: Add verbose flag to heal command ( #3927 )
...
For deployments which has many disks, it is annoying to list all disks
by default. Add --verbose flag to only show the status of all disks.
2022-01-21 08:51:18 -08:00
Anis Elleuch
2f9bcdf344
typo: Error out if the policy is already set in policy update cmd ( #3931 )
...
Fix a typo when checking if a policy is already set to a user or a
group.
2022-01-21 08:46:49 -08:00
Harshavardhana
dd01c71445
use actual UTF-8 characters instead of \u for readability
2022-01-16 16:57:51 -08:00
Harshavardhana
ac39184c35
make UI changes to speedtest bring a more cleaner spinner ( #3921 )
...
- Removes flickering of spinner
- Moves to a more maintained library bubbles spinner
- Adds better visual formatting for table output
2022-01-16 12:21:55 -08:00
Poorna
d2b7c3c3ac
update admin replicate info output format ( #3920 )
2022-01-14 18:53:23 -08:00
Harshavardhana
91278da28d
'decom status' progress and UI improvements
2022-01-12 21:52:33 -08:00
Harshavardhana
0ddf3e2691
implement pool decomission commands ( #3769 )
2022-01-10 22:35:35 -08:00
Harshavardhana
1264168162
sufficiently colorize svacct command outputs ( #3917 )
...
also print help when no args passed, instead of asking
for `--help`
fixes #3803
2022-01-10 08:55:23 -08:00
Poorna
aed4d3062f
Add admin replicate status command ( #3887 )
2022-01-06 13:50:28 -08:00
Harshavardhana
61db086b10
run gofumpt as part of golang-ci
2022-01-06 13:21:58 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
8b3935e24d
error out if --non-current is used without --versions ( #3910 )
2022-01-06 02:05:21 -08:00
Harshavardhana
0373840f42
turn-off auto-tuning only when --concurrent is specified ( #3909 )
2022-01-05 15:36:59 -08:00
Harshavardhana
8132c286e4
rm: fix printing when deleting content
2022-01-05 00:28:46 -08:00
Klaus Post
eef80d47cd
find: Fix --exec parsing ( #3907 )
...
Find would replace placeholders before splitting input, meaning files with spaces would be executed as separate args.
Split before replacing args, and use shell-style parsing.
Technically, this requires quotes in input to be escaped, so to specify `--exec='echo {""}'` you must escape them like this: `--exec='echo {\"\"}'`. Quoted inputs aren't documented, but it is a change.
Errors would not be displayed, like `./mc find play/test123/ --exec='unknown {}'` would just exit. Instead it now prints `exec: "unknown": executable file not found in $PATH`.
Fixes #3906
2022-01-03 23:56:55 -08:00
Harshavardhana
05c3ae8716
fix: admin heal info output for multiple pools ( #3905 )
...
locally setup multiple pools was showing incorrect
values where secondary pool was ignored, also fix
possible estimate correction if needed.
2021-12-28 22:50:11 -08:00
Harshavardhana
f06a0987a3
rm: print proper paths instead of just objectnames for S3 endpoints
2021-12-28 18:37:48 -08:00
Anis Elleuch
3391f39521
mirror: Sort bucket names with slash for site wide scenarios ( #3894 )
...
mc diff/mirror command fails to compare source & target when doing
an S3 site-wide listing.
The reason is that client-s3.List(), when doing a site-wide listing,
lists buckets first and list objects inside each bucket with the order
returned by S3 ListBuckets API.
However this can produce a non properly sorted listing output,
e.g.:
```
$ mc ls -r myminio/
[2021-12-14 15:58:27 CET] 227KiB bucketname/object1
[2021-12-14 15:58:24 CET] 227KiB bucketname-0/object2
```
Though it should be
```
$ mc ls -r myminio/
[2021-12-14 15:58:24 CET] 227KiB bucketname-0/object2
[2021-12-14 15:58:27 CET] 227KiB bucketname/object1
```
because '/' has a higher ASCII value than '-'
This commit fixes the behavior by always sorting bucket names with
a fake trailing slash when doing a site-wide recursive listing.
2021-12-28 17:49:45 -08:00
Harshavardhana
e08ded6d28
display when delete markers are created ( #3904 )
2021-12-28 17:48:54 -08:00