Harshavardhana
19c49468b7
handle admin info output for offline nodes properly ( #3397 )
...
```
● localhost:9002
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
● localhost:9003
Uptime: offline
Drives: 0/1 OK
● localhost:9005
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
● localhost:9004
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
3 drives online, 1 drive offline
```
2020-09-04 14:33:41 -07:00
Harshavardhana
b7e4a633d8
rename all 'cannot' messages to 'unable to' ( #3388 )
2020-09-01 15:40:31 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
Anis Elleuch
712ff33319
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
2020-07-01 17:28:43 -07:00
Sidhartha Mani
eeeca2332d
Onboard Diagnostics ( #3114 )
...
Also colorize JSON output in all admin commands
2020-04-01 01:35:46 -07:00
Anis Elleuch
64a78e7811
Add global context and adapt context change in admin API ( #3125 )
...
This commit adds a new global context, monitors os signals
and cancels the global context in such cases to exit
on going process gracefully.
It will also update minio-go and adapts the code with
the new context changes in the admin API.
2020-03-21 13:42:41 -07:00
Anis Elleuch
fc04dc6463
info: Add missing new lines in the output ( #3119 )
2020-03-17 15:28:21 -07:00
Anis Elleuch
5b5d65a142
info: Fix showing offline nodes in the pretty output ( #3112 )
...
Also do some simplification in the code.
2020-03-13 18:16:17 -07:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
Harshavardhana
7c9ea88742
Update to latest minio/minio ( #3020 )
2019-12-24 05:46:13 -08:00
ebozduman
64e0c36e3b
Extraneous line in 'mc admin info' output ( #3010 )
2019-12-12 12:01:22 -08:00
ebozduman
85f814eb44
Stops showing usage info if Bucket#=0 ( #3007 )
2019-12-11 20:46:30 -08:00
ebozduman
2616a1d051
New admin info ( #2982 )
2019-12-11 18:25:55 -08:00
Harshavardhana
bd7564a2d4
Add 'mc admin update' command ( #2857 )
...
Also this PR deprecates `service status` command
2019-08-28 15:57:25 -07:00
Ashish Kumar Sinha
3acbeda9c2
Merge mc monitor to mc info ( #2838 )
2019-08-23 00:26:51 +05:30
Praveen raj Mani
89d30e9aa2
Recognise dot prefixed endpoints in admin info ( #2868 )
...
Fixes #2867
2019-08-18 10:25:03 +05:30
Harshavardhana
ae098462c9
Fix admin info dot coloring ( #2830 )
2019-07-19 08:20:14 +01:00
Harshavardhana
e978c71b7c
Add staticcheck based builds ( #2788 )
...
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Sidhartha Mani
cfb25fe81b
mc admin info changes ( #2712 )
2019-03-14 18:20:29 +05:30
Sidhartha Mani
c75abbb3f9
use colorjson for all other mc outputs ( #2683 )
...
- Update to MarshalIndent instead of Marshal
- Allow unmarshalling
2019-02-28 14:33:13 -08:00
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
2d4346bfe1
Add 'mc admin' complete guide ( #2456 )
...
Fixes #2428
2018-06-01 09:16:01 +05:30
Harshavardhana
961c4b5dae
Add total used support for mc admin info ( #2449 )
2018-05-23 17:44:50 -07:00
Harshavardhana
2dc48e9dd3
Simplified build system and move to go1.10.1 ( #2431 )
...
minio server simplified its build system, this
change borrows the same technique to `mc` as well.
This PR fixes build messages and overall behavior
of our builds on travis and appveyor.
2018-04-13 13:57:07 -07:00
Harshavardhana
97c7984bca
Large bucket support admin API Changes ( #2372 )
2018-02-15 18:35:05 -08:00
Krishnan Parthasarathi
e1056aa50d
Fix admin-info, admin-status json status field ( #2293 )
2018-02-05 10:09:12 -08:00
Aditya Manthramurthy
ca96cfc6e6
Move pkg/probe from vendor dir to package dir ( #2236 )
...
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Anis Elleuch
320e29e03f
info: Show info of all cluster servers ( #2149 )
2017-05-22 00:13:35 -07:00
Harshavardhana
018bcbf629
cli/docs: Fix all cli docs to be consistent in terms of usage. ( #2119 )
...
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Anis Elleuch
7fda78af40
info: Add sqs ARNs to the output ( #2063 )
2017-03-07 03:13:49 -08:00
Anis Elleuch
7673ef084d
admin: Add info cmd and simplify service status ( #2036 )
2017-02-27 12:29:12 -08:00