We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can i remotely create a container?

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.