Anis Elleuch
a17153cf9e
admin: Implement a better restart command UX ( #3618 )
...
mc admin restart service clearly indicates to the user that restarting
the process is started and also shows progress using:
`.` in red to indicate the cluster is still offline
`!` in yellow to indicate the cluster is up but still initializing
2021-04-21 14:05:06 -07:00
Anis Elleuch
c00c7e3a35
admin: Add policy subcommand to user ( #3648 )
...
mc admin user policy will download all
policies JSON linked to a user and
merge them into one.
2021-04-19 07:35:52 -07:00
Harshavardhana
d8393a365e
fix: mirror monitoring cli to be --monitoring-address ( #3695 )
...
fixes #3693
fixes #3694
2021-04-18 09:11:45 -07:00
Anis Elleuch
78e3c94f5a
trace: Make evaluation filters more user friendly ( #3642 )
...
Currently trace filters are like OR operations, but I think in debugging
we want AND instead.
Currently, --status-code 503 --path 'bucket/path' will show 503 requests or
requests with 'bucket/path', this PR will require having both conditions
in the requests in order to be shown in the trace.
2021-04-16 08:56:26 -07:00
ebozduman
ef59238007
Adds error exit codes for SIGINT, SIGTERM and SIGKILL ( #3662 )
2021-04-15 16:58:49 -07:00
Poorna Krishnamoorthy
b537ee408b
report bandwidth limit in --json mode ( #3688 )
...
for `mc admin bucket remote ls`
This PR also removes label for a remote target
2021-04-15 16:58:13 -07:00
Anis Elleuch
4380288249
trace: Add support of older admin tarce API ( #3683 )
2021-04-07 12:25:53 -07:00
Shireesh Anjal
1ac898c382
Fix net perf spinner not finishing in subnet health ( #3676 )
...
In case of single server setups, the network performance data is empty.
Because of this, the condition that indicates that the network test step
is over never evaluates to true and hence the spinner doesn't finish
(doesn't show the tickmark indicating the step has completed).
While this is a nigligible issue in normal execution of the subnet
health command, it has a weird side effect when the `--license` flag is
passed. In such cases, the network test spinner finishes _after_ the
message about succesful generation of the report is printed.
Ensuring that all the spinners are stopped explicitly after the api call
returns resolves this issue.
2021-04-07 12:14:25 -07:00
Anis Elleuch
a093f822e2
Avoid automatic copy of storage class ( #3681 )
2021-04-06 10:24:34 -07:00
Klaus Post
9f9f7ec542
trace: Add goroutines by default ( #3664 )
...
Goroutines are very often useful. Include them by default.
2021-04-06 09:23:01 -07:00
Harshavardhana
e513a4f68f
improve bandwidth monitor UI ( #3680 )
...
make the reporting UI more succint as below
```
┌──────────────────┬──────────────────────────┬───────────────────┐
│ Bucket │ Configured Max Bandwidth │ Current Bandwidth │
├──────────────────┼──────────────────────────┼───────────────────┤
│ testbucket │ N/A │ 4.4 kb/sec │
└──────────────────┴──────────────────────────┴───────────────────┘
```
2021-04-05 16:07:00 -07:00
Harshavardhana
6074aa43ff
add nodeName and path properly for os/storage calls ( #3670 )
2021-03-28 08:07:34 -07:00
Anis Elleuch
9914d28527
trace: Add support of Storage & OS tracing ( #3663 )
2021-03-27 05:38:57 -07:00
Poorna Krishnamoorthy
0ee9471197
trace: fix missing client info for ipv6 ( #3661 )
...
fixes: https://github.com/minio/minio/issues/11833
2021-03-24 03:50:02 -07:00
Anis Elleuch
c3cae160b3
mirror: Add total_s3uploaded_bytes metric ( #3646 )
...
The new metric will track the total bytes of copied objects in the
target during mirroring.
RELEASE.2021-03-23T05-46-11Z
2021-03-22 13:27:01 -07:00
Shireesh Anjal
1f71fdc03a
Add option to upload health report to Subnet ( #3641 )
...
Add an optional text flag `license` to the `subnet health`
command. If this flag is passed, upload the generated health report to
Subnet by passing the license key as auth.
2021-03-22 09:26:09 -07:00
Harshavardhana
49e85e9109
reduce default part size upto 16MiB ( #3654 )
2021-03-19 09:10:36 -07:00
Anis Elleuch
bac257a6e0
dep: Update minio/minio dependency for disk metrics ( #3649 )
...
After updating minio/minio dependency, mc admin info --json shows the
latency and the number of calls of each API in the POSIX layer.
2021-03-17 23:28:01 -07:00
Anis Elleuch
e10c82f9ad
cp: Add --tags to tag uploaded objects ( #3644 )
...
Applying tagging to objects copied in an S3 object using --tags flag.
2021-03-16 08:46:28 -07:00
ebozduman
501b791408
Fixes conflicting Failure&Successful msgs in 'mc rb' output ( #3616 )
RELEASE.2021-03-12T03-36-59Z
2021-03-10 23:13:55 -08:00
Anis Elleuch
ccb35f1672
mv: Fix panic and simply the code a little bit ( #3640 )
...
Also, mv did not consider --fake flag, fix it as well.
2021-03-10 23:12:04 -08:00
Ritesh H Shukla
faa895dd75
Track remote replication bandwidth consumption ( #3609 )
2021-03-10 17:30:36 -08:00
Harshavardhana
dde89f7604
add release build-arg for multiarch builds
2021-03-10 00:10:53 -08:00
Anis Elleuch and Anis Elleuch
28d8677578
mirror: Add monitoring endpoint for mirroring operations ( #3636 )
...
* mirror: Add monitoring endpoint for mirroring operations
The following are the added metrics:
mc_mirror_failed_s3ops 3
mc_mirror_time_last_activity 9
mc_mirror_total_restarts 3
mc_mirror_total_s3ops 199920
Also, --watch automatically restarted if an error is detected
Co-authored-by: Anis Elleuch <anis@min.io >
RELEASE.2021-03-10T05-59-20Z
2021-03-09 09:38:35 +05:30
Anis Elleuch
1d9873c512
admin policy: Add unset & update command ( #3638 )
...
`unset` will remove policies from a user or a group
`update` will add new policies to a user or a group
RELEASE.2021-03-06T22-16-44Z
2021-03-06 13:14:49 -08:00
Harshavardhana
a8c6f751a7
update to latest minio master with healing struct changes
2021-03-04 17:09:55 -08:00
Harshavardhana
13cf091af6
update to latest minio master
2021-03-02 18:00:29 -08:00
Jackson Borchardt
cb577322fd
fix typo ( #3631 )
2021-03-02 09:53:28 -08:00
Shireesh Anjal
f9d36f9b52
Update minio dependency to latest master branch ( #3628 )
2021-03-01 08:22:50 -08:00
Harshavardhana
56ea65a78e
update go CREDITS
2021-03-01 00:21:17 -08:00
Harshavardhana
8bbd07802e
update 'madmin' deps to latest master
2021-03-01 00:17:22 -08:00
Anis Elleuch
e3b84c39df
ilm: Fix edit ILM versioning parameters ( #3626 )
...
After the introduction of versioning parameter in mc ilm document, we
didn't test mc ilm edit. This PR fixes this behavior and add more
lifecycle validation for versioning parameters
2021-02-27 09:08:28 -08:00
ebozduman
cb909f5ce5
Stops 'mc cp --attr' preserve file attributes without '--preserve' ( #3625 )
2021-02-25 09:32:44 -08:00
Anis Elleuch
18da584d5a
session: Fix resuming cp/mv session ( #3580 )
...
Session files contained a colored json which leaded a problem with
unparsing it, use jsoniter instead of the colorjson when marshal
unmarshal session data.
2021-02-19 10:51:48 -08:00
Shireesh Anjal
b3c692d6eb
Ignore parallel net perf data when its empty ( #3607 )
...
When parallel net perf tests are not performed, for example in FS mode,
the server response contains an empty node for the net pef data with
value of `addr` as empty string (`""`).
This data should be ignored when mapping the server response to the
health report format. Otherwise we end up with a health report with an
empty server node under `hardware` section.
RELEASE.2021-02-19T05-34-40Z
2021-02-16 19:35:39 -08:00
Anis Elleuch
0053d58648
rm: Better messages when buckets are empty ( #3606 )
2021-02-16 13:53:04 -08:00
Harshavardhana
97482653ac
update go mod for latest changes in pkg/iam
2021-02-16 12:05:04 -08:00
Harshavardhana
7672841f8c
update go mod for latest changes in pkg/iam
RELEASE.2021-02-14T04-28-06Z
2021-02-13 00:45:25 -08:00
Anis Elleuch
d759f195f2
trace: Add source IP in verbose mode ( #3612 )
...
Add the source IP information in the REQUEST trace line when the verbose
mode is enabled.
2021-02-12 21:32:08 -08:00
Anis Elleuch
006cb0c0cf
mirror: Fix behavior under Windows when source url is S3 ( #3611 )
...
Removed one block of code which seems to be useless and no comment with
it. This was causing issue doing mirroring under Windows.
2021-02-12 21:31:34 -08:00
Aditya Manthramurthy
4eb6f999a6
fix: crash on invalid input to policy set ( #3610 )
2021-02-12 11:22:02 -08:00
Aditya Manthramurthy
7c0fb6a99e
Fix user/group argument parsing ( #3602 )
RELEASE.2021-02-10T07-32-57Z
2021-02-09 14:25:11 -08:00
Ritesh H Shukla
f782b462c6
Do not print v2 prometheus metrics for older releases ( #3600 )
2021-02-09 10:34:39 -08:00
Shireesh Anjal
4942cffc2c
Update minio dependency to latest master branch ( #3601 )
2021-02-09 09:50:40 -08:00
Poorna Krishnamoorthy
c44387cb32
Add --sync flag to admin bucket remote add command ( #3549 )
RELEASE.2021-02-07T02-02-05Z
2021-02-05 15:21:31 -08:00
Anis Elleuch
e93ec078dc
ilm: Fix adding ExpiredObjectDeleteMarker alone ( #3596 )
...
It is not possible to add rule with only ExpiredObjectDeleteMarker
activated. This commit fixes the issue.
2021-02-04 21:13:53 -08:00
Anis Elleuch
650a4b8d66
cp: Fix crash with recursive copy with non existant resource ( #3592 )
...
Fixing a recent regression introduced when copying a non
existent bucket or prefix when --recursive flag is passed.
2021-02-02 08:37:30 -08:00
Harshavardhana
ade302d969
fix: suggestion format with 'mc admin config set'
RELEASE.2021-01-30T00-50-42Z
2021-01-27 18:27:58 -08:00
Ritesh H Shukla
169aa24ae0
Update the URL for metrics ( #3584 )
2021-01-25 17:32:58 -08:00
Harshavardhana
24ebcf13cf
fix: make listing consistent with top level delete marker ( #3587 )
...
```
~ mc ls s3/tbucket13/x.txt
[2021-01-25 13:24:09 PST] 525B z.txt
```
```
~ mc ls s3/tbucket132/x.txt
[2021-01-25 13:31:41 PST] 525B x.txt/z.txt
```
2021-01-25 14:39:16 -08:00