Closed cunlifs closed 2 years ago
Can anyone comment on this please?
@cunlifs this command is from the pi
plug-in and not the actual CLI. I am reaching out to this team to assist you.
FYI, we will get back to you soon.
The backend development team said to change s3.eu-gb.cloud-object-storage.appdomain.cloud to s3.private.eu-gb.cloud-object-storage.appdomain.cloud I don't have an explanation from them yet on what changed but at least hopefully this will get you working.
@cunlifs did this resolve the issue for you?
Hi, @steveclay the latest version of the plugin appears to have fixed it.
Hi, my Ansible playbook command to import an image into my PowerVS catalogue is no longer working. I've used the exact same parameters in the GUI and it works fine. I've also checked my logs from a few weeks ago and the syntax is exactly the same.
Login is OK: **$ ibmcloud login --apikey xxxx -r eu-gb API endpoint: https://cloud.ibm.com Authenticating... OK
Targeted account xxxx's Account (xxxx) <-> xxxx
Targeted region eu-gb
API endpoint: https://cloud.ibm.com
Region: eu-gb
User: xxxx@uk.ibm.com
Account: xxxx's Account (xxxx) <-> xxxx
Resource group: No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
CF API endpoint:
Org:
Space:**
And I set the correct PowerVS service: $ ibmcloud pi service-target crn:v1:bluemix:public:power-iaas:lon04:a/xxxx:: Targeting service crn:v1:bluemix:public:power-iaas:lon04:a/xxxx::...
But when I try and import the image from COS it fails: **$ ibmcloud pi image-import app-2-image-awx --image-path s3.eu-gb.cloud-object-storage.appdomain.cloud/eu-gb-bucket1/app-1-image-awx.ova.gz --disk-type tier3 --access-key xxx --secret-key xxx
Importing image from s3.eu-gb.cloud-object-storage.appdomain.cloud/eu-gb-bucket1/app-1-image-awx.ova.gz into account xxx's Account as user xxx@uk.ibm.com... FAILED Failed to import image.
FAILED [POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][400] pcloudCloudinstancesImagesPostBadRequest &{Code:0 Description:bad request: import image from cloud storage failed: cloud storage access failed, image import requires the cloud storage image filename to be specified Error:bad request Message:}**
This is the correct bucket, path location for file name etc.