Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-LAB-HELP
-
Labels:
-
HD-Node:Spain
Description
Created question in FIWARE Q/A platform on 04-02-2016 at 13:02
Please, ANSWER this question AT https://ask.fiware.org/question/374/how-can-i-remotely-create-a-container/
Question:
How can i remotely create a container?
Description:
I'm in Spain2 region and trying to create a container from terminal using:
curl -v \
-X PUT \
-H 'X-Auth-Token: $Auth-Token' \
-H 'Content-Type: application/cdmi-container' \
-H 'Accept: application/cdmi-container' \
-H 'X-VDMI-Specification-Version: 1.0.1' \
http://130.206.82.9:8080/cdmi/$ID/example_curl/
I can get the capabilities correctly but when i try to list the containers, create a new one or download/upload content i get error 403 forbidden:
403 Forbidden
Access was denied to this resource.
*Connection #0 to host 130.206.82.9 left intact
Here's an example of capabilities.sh, which works well:
curl -v \
-X GET \
-H 'X-Auth-Token: $Auth-Token' \
-H 'Accept: application/cdmi-capabilities' \
-H 'X-VDMI-Specification-Version: 1.0.1' \
http://130.206.82.9:8080/cdmi/$ID/cdmi_capabilities/
Any idea why i cant create/interact with the containers?
Thanks.
2016-02-04 17:05|CREATED monitor | # answers= 0, accepted answer= False