mc support upload
mc support upload copies a file from the local file system to a SUBNET ticket.
Syntax
The command has the following syntax:
mc [GLOBALFLAGS] support profile \
ALIAS \
FILE \
[--comment "string"] \
[--enc] \
[--issue integer]
Parameters
ALIAS
Required
The alias of the AIStor deployment.
FILE
Required
The path to the file to upload to SUBNET.
--comment
Optional
Include a message to the issue when uploading the file.
--enc
Optional
Encrypt contents of the upload. The key used for the encryption is only accessible to AIStor.
--issue
Optional
Specify the issue number to which to add the file.
If not specified, the file uploads to the generic issue number 0.
Global flags
This command supports any of the global flags.
Examples
Upload a file to an issue
This command uploads the file ./trace.log from the local file system to the SUBNET issue number 10001 for the deployment with alias myaistor.
mc support upload --issue 10001 myaistor ./trace.log
Upload a file to an issue with a comment for AIStor Engineers
This command uploads the file ./trace.log from the local file system to the SUBNET issue number 10001 for the deployment with alias myaistor.
The command also includes a comment available to AIStor Engineers about the file.
mc support upload --issue 10001 --comment "here is the requested trace log" myaistor ./trace.log