[
https://issues.apache.org/jira/browse/JCLOUDS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123081#comment-14123081
]
Jeremy Daggett commented on JCLOUDS-341:
----------------------------------------
This specific test will not work against the Rackspace endpoint and is expected
behavior. The {{CloudFilesContainerLiveTest}} correctly skips these tests. The
Swift X-Container-Read/Write header is mapped to the Rackspace RBAC
functionality and only allows public access to users that have been configured
accordingly.
> testPublicAccess fails against openstack-swift
> ----------------------------------------------
>
> Key: JCLOUDS-341
> URL: https://issues.apache.org/jira/browse/JCLOUDS-341
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-labs-openstack
> Affects Versions: 1.7.0
> Reporter: Andrew Gaul
> Assignee: Jeremy Daggett
> Fix For: 1.8.1
>
>
> Failed tests:
> testPublicAccess(org.jclouds.openstack.swift.v1.blobstore.integration.SwiftContainerLiveTest):
> command: GET
> https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_2eb7963d-0f04-4cad-93e0-2227eab8bd7b/gaul-blobstore-5669000794005959343/hello
> HTTP/1.1 failed with response: HTTP/1.1 401 Unauthorized; content:
> [<html><h1>Unauthorized</h1><p>This server could not verify that you are
> authorized to access the document you requested.</p></html>]
> Tested with:
> mvn
> -Dtest.openstack-swift.endpoint=https://identity.api.rackspacecloud.com/v2.0/
> -Dtest.openstack-swift.identity=... -Dtest.openstack-swift.credential=...
> -Dtest.jclouds.keystone.credential-type=passwordCredentials -Plive test -pl
> openstack-swift
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)