Skip to content

unable to create (upload) an ISO #544

Description

@gregorybrzeski
mbp:~ gregory$ ./h1 storage iso create --project 5a5754bfcb15430708e927d9 --name "core linux" --source file://./Users/gregory/Downloads/Core-current.iso  --verbose
Access token is fresh. Valid until 2021-01-30T19:40:31.000Z. Re-use.
HTTP request
request post https://api.hyperone.com/v2/storage/pl-waw-1/project/5a5754bfcb15430708e927d9/bucket/5fbfd4c073dc5e138e2b0cfb/actions/upload
request headers {"Authorization":"Bearer eyJhbGciOiJSUzI1NiI.....","Prefer":"respond-async,wait=86400","User-Agent":"@hyperone/cli-device-node/2.0.16 for Darwin 20.2.0; darwin; x64) node/12.18.1","Content-Type":"application/json"}
request json {
  "name": "Core-current.iso"
}
request body {"name":"Core-current.iso"}
response status 200
response headers {
  "connection": "close",
  "content-language": "en",
  "content-length": "868",
  "content-type": "application/json; charset=utf-8",
  "date": "Sat, 30 Jan 2021 19:34:30 GMT",
  "etag": "W/\"364-bXEH5YFT/gLg8T1K+xUx9Pq8Fm0\"",
  "vary": "Accept-Encoding"
}
response time 956 ms
response json {
  accessKeyId: 'D772R5A8K5I0MBEGTO2W',
  sessionToken: 'eyJhbGciOiJIUzUxMiIsInR5c.....',
  secretAccessKey: 'zJsJ+HaUtivg+3Y3AXe7RVpt1Tdnqc+O+5VmYNHR',
  endpoint: 'https://minio.hyperone.cloud/',
  region: 'pl-waw-1',
  location: 'https://minio.hyperone.cloud/5a5754bfcb15430708e927d9/Core-current.iso',
  bucket: '5a5754bfcb15430708e927d9',
  key: 'Core-current.iso'
}
InvalidEndpoint: An endpoint must be provided when configuring `s3BucketEndpoint` to true.
    at features.constructor.validateService (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/services/s3.js?:95:28)
    at features.constructor.initialize (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/service.js?:52:10)
    at features.constructor.Service [as constructor] (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/service.js?:40:10)
    at features.constructor (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/util.js?:624:24)
    at new features.constructor (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/util.js?:624:24)
    at features.constructor.Service [as constructor] (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/service.js?:31:17)
    at new features.constructor (webpack:////home/runner/work/h1-cli/h1-cli/node_modules/aws-sdk/lib/util.js?:624:24)
    at Object.beforeRequest (webpack:////home/runner/work/h1-cli/h1-cli/extensions/cli-ext-root-openapi-generator/middlewares/uri-upload.js?:52:30)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Command.handler (webpack:////home/runner/work/h1-cli/h1-cli/extensions/cli-ext-root-openapi-generator/index.js?:88:27) {
  code: 'InvalidEndpoint',
  time: 2021-01-30T19:34:30.589Z
}
mbp:~ gregory$ ./h1 --version
h1 version 2.0.16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions