bh4t
28073441c0
change example bucket names to simple names ( #4308 )
2022-10-18 11:53:33 -07:00
Anis Elleuch
42c16b288c
Add number of offline disks in heal info summary ( #4305 )
2022-10-18 09:01:01 -07:00
Harshavardhana
839e44595c
avoid unnecessary tea program for 'license info' ( #4306 )
2022-10-18 02:06:57 -07:00
Shireesh Anjal
81c04723f9
Print license info table with solid lines ( #4301 )
2022-10-17 09:44:34 -07:00
Harshavardhana
3fe6778ee7
list jobTypes currently supported ( #4298 )
2022-10-12 11:12:50 -07:00
Harshavardhana
318569a861
use showAppAndExit() for pager help ( #4292 )
2022-10-12 09:39:40 -07:00
Harshavardhana
27322636ae
feat: Introduce 'mc batch' command ( #4225 )
2022-10-09 14:10:59 -07:00
Shireesh Anjal
02da50b05e
Support --dev flag in license info|update ( #4281 )
2022-10-09 12:48:40 -07:00
Anis Elleuch
be2e66c37c
Keep help output after quitting ( #4289 )
2022-10-09 12:09:37 -07:00
Shireesh Anjal
d673ca79ea
Show airgapped registration link in different color ( #4282 )
2022-10-06 07:41:05 -07:00
Harshavardhana
a7dd2810ae
fix: updateURL when customURL is not passed ( #4279 )
2022-10-03 15:00:41 -07:00
Harshavardhana
fa344d5cc0
remove 'mc policy' command ( #4276 )
2022-09-30 13:25:25 -07:00
Shireesh Anjal
99bfdfed4c
Remove perf tests from support diagnostics ( #4277 )
2022-09-30 12:43:41 -07:00
Harshavardhana
2f1d44eee2
convert tabs to spaces in all commands ( #4275 )
2022-09-29 11:14:57 -07:00
Shireesh Anjal
d0e71b13a8
Save API key if present in the license ( #4266 )
2022-09-29 00:30:40 -07:00
Harshavardhana
cd0c81165b
re-order the support perf UI ( #4268 )
2022-09-29 00:30:18 -07:00
Shireesh Anjal
e917b9513d
error out from support commands if not registered ( #4271 )
2022-09-28 14:52:11 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Harshavardhana
2f08ccf0d5
avoid expensive threads profile by default ( #4270 )
2022-09-28 00:45:26 -07:00
Shireesh Anjal
ba5f9ac373
Upload results of perf tests to SUBNET ( #4254 )
2022-09-27 02:56:43 -07:00
Klaus Post
efdda726bd
Fix mc admin scanner info --json ( #4264 )
2022-09-26 09:02:26 -07:00
Daryl White
37e726f100
Update documentation links with new URLs ( #4261 )
2022-09-22 14:05:27 -07:00
Anis Elleuch
f151b8ab42
Print supported flags only if there is at least one flag defined ( #4259 )
2022-09-19 07:03:22 -07:00
Harshavardhana
388ebe127f
rename disks -> drives almost everywhere ( #4257 )
2022-09-19 07:01:40 -07:00
Harshavardhana
ad4441ef2b
disks must be renamed to drives everywhere for display ( #4255 )
...
use helper for couple of functions
2022-09-16 02:16:47 -07:00
Shireesh Anjal
cdb6b179d3
Upload profile zip to SUBNET ( #4226 )
...
When the `--airgap` flag is not passed, the generated profile zip will
be uploaded to SUBNET.
2022-09-15 22:18:14 -07:00
Shireesh Anjal
6347b436ff
Export perf test result related types ( #4246 )
...
So that they can be used by `health-analyzer` when parsing the
performance test results data.
2022-09-15 01:22:42 -07:00
Krishnan Parthasarathi
1009a897d8
ilm-add: update flags related to tiering ( #4250 )
2022-09-14 13:53:00 -07:00
Harshavardhana
b34681d662
fix: use deadlineconn properly ( #4249 )
...
PR #4164 didn't use the set deadlines properly
2022-09-14 08:15:37 -07:00
Harshavardhana
acd390f261
allow support for airgapped 'mc update' URL ( #4244 )
...
support airgapped environments to update `mc`
via a URL, similar to `minio server`
2022-09-12 12:51:52 -07:00
Anis Elleuch
145da32419
Add --request-header to trace cmd to filter http requests ( #4238 )
...
e.g:
`mc admin trace --request-header "User-Agent: *hadoop*" <alias>`
to print all S3 requests sent by Hadoop
`mc admin trace --request-header "!X-Minio-Source*" <alias>`
to avoid printing S3 requests related to replication
2022-09-12 10:12:06 -07:00
Harshavardhana
ea96e2b2c8
allow terminal control back for 'top api/disk' ( #4239 )
...
similar to #4237 fix other command TUI's as well,
also no locking is needed to protect maps.
Update()/View() are serial so need to add mutexes.
2022-09-09 03:48:39 -07:00
Anis Elleuch
3142b54cc1
Avoid cutting policy name in admin policy list command ( #4241 )
...
`mc admin policy list` only shows policy names, it does not need
to cut the policy name to 20 characters when showing it.
2022-09-09 03:47:41 -07:00
Harshavardhana
30a9bb8b05
allow terminal control back after bubbletea UI ( #4237 )
...
terminal control was not relinquished since ui.Start()
must not be run in a go-routine as it is expected
to be a blocking call, and must be serialized with when
an application exits.
refactor the 'scanner info/status' to ensure we have
correct behavior.
This PR also renames 'info-> status', keeps the older
one as alias for now.
2022-09-08 08:18:07 -07:00
Ashish Kumar Sinha
f73e036b80
fix: alignment issue in mc ping. ( #4218 )
2022-09-07 15:27:40 -07:00
Anis Elleuch
5bb0e38f94
Add objects sizes histogram to bucket info ( #4236 )
...
mc admin bucket info shows the object size histogram
2022-09-07 15:25:35 -07:00
Anis Elleuch
b3e1ac34c7
ls: Fix ls exit code related to some errors in FS ( #4233 )
...
The code that is being modified is from 2016. Currently, it does not set
an exit code status in the following cases, all of them are returned by
the FS layer:
BrokenSymlink
TooManyLevelsSymlink
PathNotFound
PathInsufficientPermission
There is no reason to avoid setting an exit code in this case. The only
functional change of this PR is by setting an exit code
2022-09-06 09:54:46 -07:00
Harshavardhana
5cd7ff8876
cleanup commands to use Go 'err' as 'e' ( #4232 )
...
many commands seem to have sort of had
stopped following the expected convention
in `mc` to differentiate *probe.Error.
To keep things readable this PR is the
first attempt at such a cleanup.
2022-09-06 08:03:25 -07:00
Klaus Post
2c9a733cae
Add mc admin trace --call=healing ( #4229 )
...
Provide healing operation traces.
See https://github.com/minio/minio/pull/15616 for basic implementation.
2022-08-31 08:17:02 -07:00
Harshavardhana
41e6cc5626
fix: use DurationFlag to response-threshold ( #4227 )
...
Also add missing flags from 'mc admin scanner trace'
2022-08-30 08:15:54 -07:00
Shireesh Anjal
a64491e101
Fix support callhome status command ( #4222 )
...
Because of recent changes in the way config is parsed in `mc`, we need
to pass `madmin.Default` as the target when looking for the callhome
config.
2022-08-28 13:08:11 -07:00
Harshavardhana
af1d0ee6da
change progress unicode style, simplify progress bar init() ( #4224 )
2022-08-26 12:45:12 -07:00
Klaus Post
55c5b96323
Fix mb with-versioning ( #4223 )
...
`mc mb --with-versioning` no longer works after https://github.com/minio/mc/commit/f70b7e537c908e2c426f87218d5a44f807588074 (no PR)
Use long param name.
2022-08-26 06:40:33 -07:00
Shireesh Anjal
85a50dbf91
Fix support logs status command ( #4221 )
...
Earlier, the parsed config contained the `target` of the form
`subsystem:target` e.g. `logger_webhook:subnet`. Now it contains only
the target e.g. `subnet`.
Updating the `support logs status` command code accordingly to ensure
that it prints correct output.
2022-08-25 08:03:03 -07:00
Harshavardhana
f022a57088
feat: support head with --zip ( #4219 )
2022-08-24 23:10:03 -07:00
Ashish Kumar Sinha
236b50d6db
trim response to two-decimal places in ping command ( #4214 )
2022-08-24 21:09:32 -07:00
Shireesh Anjal
07fffc3bc8
Enhancements in registration and diagnostics ( #4200 )
...
- When the cluster is registered but either license or api-key
are available in the config, and when `--airgap` is not passed
to the command, try to automatically fetch and store the other
both.
- Add `--api-key` flag to `mc support diag`
- Use header-based auth with subnet
- Introduce a common function to initialize/check connectivity with subnet
- Make the health report upload function generic so that it can be used
by other commands like profile in future
- Add a global variable for airgapped mode
- Add more examples to `mc license register`
2022-08-22 22:45:20 -07:00
Harshavardhana
f70b7e537c
remove 'mc mb' short flag to avoid confusion
...
Bonus: fix `od` build issues since removal of madmin.KVS
instead keep a `mc` version of `argKVS` for future use.
2022-08-22 22:10:41 -07:00
Taran Pelkey
68a36788aa
Add od command ( #4180 )
2022-08-22 22:02:23 -07:00
Harshavardhana
488b277e36
feat: --with-versioning flag to create bucket as versioned ( #4216 )
2022-08-22 10:52:19 -07:00