GithubHelp home page GithubHelp logo

swift container ACL set failing about goose HOT 5 OPEN

go-goose avatar go-goose commented on August 22, 2024
swift container ACL set failing

from goose.

Comments (5)

hmlanigan avatar hmlanigan commented on August 22, 2024

This does not occur with the local test:

heather@mitaka:/work/src/gopkg.in/goose.v1/swift$ go test -check.v ./... > results-local.out 2>&1
heather@mitaka:
/work/src/gopkg.in/goose.v1/swift$ cat results-local.out
PASS: :5: localLiveSuite.TestHeadObject 0.002s
PASS: :3: localLiveSuite.TestList 0.004s
PASS: :1: localLiveSuite.TestObject 0.004s
PASS: :2: localLiveSuite.TestObjectReader 0.002s
PASS: :7: localLiveSuite.TestPublicList 0.004s
PASS: :6: localLiveSuite.TestPublicObjectReader 0.001s
PASS: :8: localLiveSuite.TestPublicURL 0.002s
PASS: :4: localLiveSuite.TestURL 0.002s
OK: 8 passed
PASS
ok gopkg.in/goose.v1/swift 0.080s

from goose.

axw avatar axw commented on August 22, 2024

I get a different error, but it also fails for me:

START: live_test.go:154: LiveTestsPublicContainer.SetUpSuite
PASS: live_test.go:154: LiveTestsPublicContainer.SetUpSuite     0.000s

START: live_test.go:195: LiveTestsPublicContainer.TestPublicList
START: live_test.go:164: LiveTestsPublicContainer.SetUpTest
live_test.go:171:
    assertCreateContainer(c, s.containerName, s.swift, swift.PublicRead)
live_test.go:71:
    c.Assert(err, gc.IsNil)
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc4203ca110), errcode:"Unspecified", cause:(*errors.gooseError)(0xc42034c090)} ("failed to create container: test_containera185cc42ea974fda\ncaused by: Resource at https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda not found\ncaused by: request (https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda) returned unexpected status: 404; error info: 404 Not Found\n\nThe resource could not be found.\n\n   ")

FAIL: live_test.go:164: LiveTestsPublicContainer.SetUpTest

START: live_test.go:174: LiveTestsPublicContainer.TearDownTest
live_test.go:176:
    c.Check(err, gc.IsNil)
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc4203851b0), errcode:"Unspecified", cause:(*errors.gooseError)(0xc4202f7830)} ("failed to delete container: test_containera185cc42ea974fda\ncaused by: Resource at https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda not found\ncaused by: request (https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda) returned unexpected status: 404; error info: 404 Not Found\n\nThe resource could not be found.\n\n   ")

FAIL: live_test.go:174: LiveTestsPublicContainer.TearDownTest

... Panic: Fixture has panicked (see related PANIC)
PANIC: live_test.go:195: LiveTestsPublicContainer.TestPublicList

START: live_test.go:162: LiveTestsPublicContainer.TearDownSuite
PASS: live_test.go:162: LiveTestsPublicContainer.TearDownSuite  0.000s

OOPS: 0 passed, 2 FAILED, 1 MISSED
--- FAIL: Test (6.93s)

from goose.

axw avatar axw commented on August 22, 2024

And a different error again when run against Rackspace:

... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc420397770), errcode:"Unspecified", cause:(*errors.gooseError)(0xc420305590)} ("failed to list contents of container: test_container6d85582b6e650244\ncaused by: Unauthorised URL https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=\ncaused by: request (https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=) returned unexpected status: 401; error info: <html><h1>Unauthorized</h1><p>This server could not verify that you are authorized to access the document you requested.</p></html>")

from goose.

hmlanigan avatar hmlanigan commented on August 22, 2024

This one looks more similar to the one I got for this bug.

Is there a rackspace utility to do the equivalent of a “swift stat” on the container listed, look at the ACL info? In my case, the containers were left behind.

-Heather

On Oct 4, 2016, at 6:55 PM, Andrew Wilkins <[email protected]mailto:[email protected]> wrote:

And a different error again when run against Rackspace:

... value _errors.gooseError = &errors.gooseError{error:(_errors.errorString)(0xc420397770), errcode:"Unspecified", cause:(*errors.gooseError)(0xc420305590)} ("failed to list contents of container: test_container6d85582b6e650244\ncaused by: Unauthorised URL https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=\ncaused by: request (https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=) returned unexpected status: 401; error info:

Unauthorized

This server could not verify that you are authorized to access the document you requested.

")


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/24#issuecomment-251537254, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARbClJPoF9V8_pGabmzrLw8dr5BOIOtWks5qwtlrgaJpZM4KN-nm.

from goose.

axw avatar axw commented on August 22, 2024

rackspace is an openstack, so the swift CLI works. In my case, I get:

$ swift stat
                        Account: MossoCloudFS_945896
                     Containers: 0
                        Objects: 0
                          Bytes: 0
Containers in policy "policy-0": 0
   Objects in policy "policy-0": 0
     Bytes in policy "policy-0": 0
              Meta Temp-Url-Key: <redacted>
                    X-Timestamp: 1462379841.47633
                     X-Trans-Id: tx27c3c2788b6546caa31f9-0057f43b47syd2
                   Content-Type: text/plain; charset=utf-8
                  Accept-Ranges: bytes

from goose.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.