Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Cloud
-
HD-Enabler:Object Storage
Description
Hello,
I'm building up a prototype to use the Object Storage GE.
I'm currently using the python code from
https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#Example_Python
The script works ok apparently, but it is using the wrong region.
I'm based in Spain, but the script accesses the French cloud.
And my containers are not affected by the script (although the script
returns a 2xx code, which is ok).
To reproduce: I removed the part of the script which deletes the file
and the container.
I would assume that the cloud instance that is accessed should be in my
region.
Thank you for your feedback,
Best regards,
Philippe
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
[Created via e-mail received from: Philippe - Syneidis <philippe@syneidis.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions
When receiving your token, you actually receive back a list of all your swift (object storage) instances. The script picks one of them, but you can pick any of them. I don't know how to automate and figure out which instance is your particular region. Once you have identified the url for your particular region, you no longer need to extract it from the response you received. You will only have to extract the valid token.