Connecting to Object Storage on Node-Red - ibm-cloud

I am trying to retrieve an image from my Object Storage service using Node-Red.
I imported the Object Storage nodes in my Node-Red instance running on IBM Bluemix and I am trying to use the "get" node but I cannot figure out how to correctly connect it to the Object Storage service.
I set the option to get the configuration details from the Bluemix Service, but when deploying I would always get an error saying "Object Storage Put (err): No object storage configuration found!".
If instead I use the option for API based configuration information, I need to fill out fields which I cannot find on my VCAP_SERVICES or the Object Storage service credentials. The fields that need to be filled in are shown
but my service credentials only include:
"apikey"
"endpoints"
"iam_apikey_description"
"iam_apikey_name"
"iam_role_crn"
"iam_serviceid_crn"
"resource_instance_id"
Can anyone point me in the right direction?

The node-red object storage contribution available in this link:
https://flows.nodered.org/node/node-red-contrib-objectstore
was designed to be integrated with the Swift Object Storage in Bluemix (IBM Cloud Platform).
If you go the Catalog link below:
https://console.bluemix.net/catalog/infrastructure/object-storage-group
there are 4 options, the one you previously selected and is trying to connect is probably the first on the left side and will not integrate with node-red-contrib-objectstorage. T
To integrate with node-red you need to create an instance of the Object Storage service on the far right: Object Storage OpenStack Swift for Bluemix

Related

Why am I seeing a "Reseller channel 2c95500b-ea86-4b13-8bb5-b2f0c2fa8200 is invalid" error when attempting to create storage

I am attempting to create Cloud Object Storage to work in conjunction with a Watson Studio service instance. However, when I attempt to create it, the following error message is displayed:
“Reseller channel 2c95500b-ea86-4b13-8bb5-b2f0c2fa8200 is invalid.”
How can I create the storage that I need?
When you attempt to create the cloud object storage instance through the Watson Studio service, a link sends you to a storage provisioning page. However, you are unable to provision the storage instance. As a workaround, you can create the Cloud Object Storage service manually through the IBM Cloud Catalog at the following URL: https://cloud.ibm.com/catalog/services/cloud-object-storage
I had this issue as well. Turns out when you create the new account it will ask you for a location for services and by default it's set to "Dallas". However changing that to London/Tokyo fixed this issue for me. I needed it for IBM Course on Coursera. I would recommend making a new account with services location set to London / Tokyo. It'll instantly fix this problem.
I managed to solve this by first creating the object storage before creating the Watson Studio service.
After you have created a cloud object storage service with the direct link to the service
While creating a new project On Watson Studio, you will see an option to Add a cloud Object Storage service under Define storage to your project in the project creation page. Once you click Add, you can either use an existing Service as you have now or create a new COS service.
For more details instructions check this section of the solution tutorial

How to take Backup of the Object Storage created in IBM Bluemix (IBM Cloud)?

I have a Cloud Object storage created from bluemix (IBM Cloud) console. Now for some reason, I need to backup all the data present in the existing object storage into another object storage.
I'm not able to find anything proper on this. Any help on this would be much appreciated.
You can use a tool like rclone or s3cmd to sync the Cloud Object Storage buckets to a linux server and then use those same tools to send them to the new Cloud Object Storage account.
https://mpcarl.github.io/rclone-cos
https://knowledgelayer.softlayer.com/procedure/connecting-cos-s3-using-s3cmd

How can I see IBM Bluemix object storage credentials?

For one process I need this credentials that be in Object Storage in IBM Bluemix, so, How can I get this credentials? Where can I see that?
Thank you very much!
credentials_1 = {
'auth_url':'',
'project':'',
'project_id':'',
'region':'',
'user_id':'',
'domain_id':'',
'domain_name':'',
'username':'',
'password':"",
'container':'',
'filename':''
}
There are a few different Object Storage services on the IBM Cloud. Here is a comparison.
Below is a project with Object Storage. The credentials can be found in the Credentials section and/or Service Credentials of the service instance.
You can create a project with the Object Storage service using the App Service console: https://console.bluemix.net/developer/appservice/create-project?services=Object-Storage
You could also use the cf CLI and run the command cf service-key serviceInstanceName serviceKeyName to get the credentials. You would have to run cf service-keys serviceInstanceName to get a list of the service keys beforehand.

Having issue determining credentials used when connecting to SoftLayer ObjectStorage using SFTP

I'm having trouble connecting to the Bluemix Object Store using the instructions presented by this link: https://knowledgelayer.softlayer.com/procedure/connect-object-storage-using-sftp
It's unclear to me what the username and account ID are so I would appreciate it if someone can clarify
The instructions are valid
Where I can find the values for SLOS/IBMOS etc?
I do not have access to the Softlayer customer portal as this service as created in Bluemix.
I can confirm that an sftp server is listening at the appropriate region endpoint.
Brien, it is not possible to use SFTP to access the Bluemix Object Storage if you create it from the Services catalog area of the Bluemix UI:
https://console.ng.bluemix.net/catalog/services/object-storage
This one can be accessed via swift cli or REST API.
To use SFTP to access your Object Storage you need to create it from the Infrastructure are of the Bluemix UI - that is the legacy Softayer that is now integrated with Bluemix.
https://console.ng.bluemix.net/catalog/infrastructure/object_storage/
Also, to create the Object Storage from the Infrastructure catalog you need to first link your Bluemix and Softlayer accounts:
https://console.ng.bluemix.net/docs/admin/softlayerlink.html

How to connect dashDB (on Bluemix) with Object Storage (on Bluemix)?

I am using Public Bluemix. I have provisioned a dashDB service instance using my IBM ID in Bluemix. I have also provisioned a Object Storage service. I would like to load files from Object Storage into dashDB.
When I try to define a load job in dashDB to get a file from Object Storage, I face a problem.
dashDB allows me to choose either Amazon S3 or Swift Object Store as the data source. I chose "Swift" and then provided the following Bluemix Object Store service credentials.
Public authentication endpoint : https://identity.open.softlayer.com
User name: as found in my my Bluemix Object Store credentials 'username'
API access key: as found in my my Bluemix Object Store credentials 'password'
Then, I clicked "Browse swift files", expecting to see the files which exist in my Bluemix Object Store's container. But, it shows me just a blank folder and no files.
I need to understand the method to connect Bluemix dashDB to Bluemix Object Store. Please help.
I'm having trouble getting this to work too.
At first, I found an answer on dWAnswers that said this may not be supported.
https://developer.ibm.com/answers/questions/166630/dataworks-integration-between-object-storage-and-d.html
Edit:
The Bluemix support team got back to me with the following message:
For loading from Swift, Bluemix Object Storage is not supported
and only object storage on SoftLayer is supported at this time.
Thanks.