GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Build Problems with Storage ACLs · Issue #716 · googleapis/google-cloud-node

Build Problems with Storage ACLs #716

New issue
Copy link
New issue
Copy link
Closed
Closed
Build Problems with Storage ACLs#716
Copy link
Assignees
stephenplusplus
Labels
api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@stephenplusplus
stephenplusplus
opened on Jul 10, 2015
Issue body actions

I saw this locally yesterday, but the builds worked in Travis. Today, Travis is reporting the same errors:

https://travis-ci.org/GoogleCloudPlatform/gcloud-node/#L2635

1) storage acls buckets should add entity to default access controls:
     Error: Not Found
      at Object.handleResp (lib/common/util.js:9:4858)
      at Request._callback (lib/common/util.js:9:20254)
      at _stream_readable.js:908:16
  2) storage acls buckets should grant an account access:
     Error: Not Found
      at Object.handleResp (lib/common/util.js:9:4858)
      at Request._callback (lib/common/util.js:9:20254)
      at _stream_readable.js:908:16
  3) storage acls buckets should update an account:
     Error: Not Found
      at Object.handleResp (lib/common/util.js:9:4858)
      at Request._callback (lib/common/util.js:9:20254)
      at _stream_readable.js:908:16
  4) storage acls files should grant an account access:
     Error: Not Found
      at Object.handleResp (lib/common/util.js:9:4858)
      at Request._callback (lib/common/util.js:9:20254)
      at _stream_readable.js:908:16
  5) storage acls files should update an account:
     Error: Not Found
      at Object.handleResp (lib/common/util.js:9:4858)
      at Request._callback (lib/common/util.js:9:20254)
      at _stream_readable.js:908:16

Activity

Next
  1. stephenplusplus
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: storageIssues related to the Cloud Storage API.
    on Jul 10, 2015
  2. stephenplusplus commented on Jul 10, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 10, 2015
    ContributorAuthor
    More actions

    Seems to be a problem upstream with defaultObjectAccessControls.delete. Using https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/insert to add a user works, then it cannot be deleted with https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/delete.

    @jgeewax have you already heard of this issue?

  3. jgeewax commented on Jul 10, 2015

    @jgeewax
    jgeewax
    on Jul 10, 2015
    Contributor
    More actions

    I haven't -- do we need to escalate? If so can you give the minimum explanation of what exactly is failing? If something can't be deleted I'd expect a 403.. not a 404, right?

  4. stephenplusplus commented on Jul 10, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 10, 2015
    ContributorAuthor
    More actions

    If something can't be deleted I'd expect a 403.. not a 404, right?

    Yeah, it's weird, since doing a GET returns the object and a 200.

    It probably couldn't hurt to have someone look at it.

    To reproduce:

    1. Create a new bucket in the dev console (ex. name: "unique-bucket-name-stephen") https://console.developers.google.com/project/nth-circlet-705/storage/browser
    2. Use the API explorer to insert a default object acl https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/insert
      • bucket: bucket name created in step 1
      • fields: Leave blank
      • request body:
        • entity: user-[emailaddress]
        • role: READER
    3. Confirm 200 response (expected)
    4. Use the API explorer to delete that default object acl https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/delete
      • bucket: bucket name created in step 1
      • entity: entity used in step 2
    5. Confirm 404 response (unexpected)

    This was previously working, but we started getting the 404 yesterday.

  5. jgeewax commented on Jul 10, 2015

    @jgeewax
    jgeewax
    on Jul 10, 2015 via email
    Contributor
    More actions
    /cc @Capstan
  6. stephenplusplus commented on Jul 15, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 15, 2015
    ContributorAuthor
    More actions

    I found something interesting. After I insert "user-[emailaddress]", then list the defaultObjectAcls, it comes back like this:

    {
      "kind": "storage#objectAccessControl",
      "entity": "user-00b4903a970617830a8fbdf72fc0df7976b1dd9624224cf3c6053d64383e6851",
      "role": "READER",
      "entityId": "00b4903a970617830a8fbdf72fc0df7976b1dd9624224cf3c6053d64383e6851",
      "etag": "CAY="
    }

    I can get the defaultObjectAcl by user-[emailaddress], but I can only delete it with its encoded name. Should we be getting back the encoded version at all?

  7. jgeewax commented on Jul 16, 2015

    @jgeewax
    jgeewax
    on Jul 16, 2015
    Contributor
    More actions

    /cc @hurstdog who can probably comment on what the intended behavior is and why.

  8. callmehiphop commented on Jul 21, 2015

    @callmehiphop
    callmehiphop
    on Jul 21, 2015
    Contributor
    More actions

    related to googleapis/google-cloud-go#147

  9. stephenplusplus commented on Jul 21, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 21, 2015
    ContributorAuthor
    More actions

    @jgeewax Since this breaks our tests, we're blocked on getting a new release out as well as our various doc fixes for the last 2 weeks. Is this being looked at?

  10. jgeewax commented on Jul 21, 2015

    @jgeewax
    jgeewax
    on Jul 21, 2015
    Contributor
    More actions

    Sounds like GCS is going to send back some magical hash...

    I'm asking @hurstdog and @Capstan about how we can now tell GCS to delete the ACL for user-<email> given that they're storing it as user-<magical hash>

  11. stephenplusplus commented on Jul 21, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 21, 2015
    ContributorAuthor
    More actions

    Great, thanks!

  12. stephenplusplus commented on Jul 27, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 27, 2015
    ContributorAuthor
    More actions

    My current plan is to give it until Wednesday, then skip these tests from the build so we can get a release. Let me know if that doesn't work.

    The releases we have out now (< 0.16.0) will fail under the same test, since this was a change in the upstream API, not ours. If we wait much longer before a release, our bug reports (should we get any) will increase in difficulty to track down due to the scope of things we've changed.

  13. royalpeasantry commented on Jul 27, 2015

    @royalpeasantry
    royalpeasantry
    on Jul 27, 2015
    More actions

    I tracked down the issue, and it should be fixed with our release next week.

  14. stephenplusplus commented on Jul 27, 2015

    @stephenplusplus
    stephenplusplus
    on Jul 27, 2015
    ContributorAuthor
    More actions

    Awesome, thanks @royalpeasantry!

  15. 20 remaining items

  16. sofisl
    added a commit that references this issue on Jan 29, 2026

    chore(deps): update dependency js-green-licenses to v3 (#716)

    546fb6e
  17. GautamSharda
    added 2 commits that reference this issue on Feb 2, 2026

    build(node): add new jsteam + enforce branches up-to-date (#1451) (#716)

    27e689f

    build(node): add new jsteam + enforce branches up-to-date (#1451) (#716)

    506af55
  18. sofisl
    added 2 commits that reference this issue on Feb 4, 2026

    migrate code from googleapis/cloud-profiler-nodejs (#7087)

    288deb4

    build: --credential-file-override is no longer required (#716)

    6b9756f
  19. sofisl
    added a commit that references this issue on Feb 17, 2026

    build: --credential-file-override is no longer required (#716)

    5ff76ab
  20. sofisl
    added a commit that references this issue on Feb 24, 2026

    Tests: Fix flaky system test (#716)

    9c3a65c
  21. GautamSharda
    added 3 commits that reference this issue on Mar 5, 2026

    chore: release 7.2.1 (#716)

    a5ec720

    feat: ordered messaging (#716)

    09fdbbf

    chore: add api_shortname and library_type to repo metadata (#716)

    71d90e2
  22. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    build: use codecov's action, now that it's authless (#716)

    8c6c997

    build: use codecov's action, now that it's authless (#716)

    5cd4aaa
  23. feywind
    added a commit that references this issue on Mar 27, 2026

    feat: ordered messaging (#716)

    845ab86
  24. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    build: use codecov's action, now that it's authless (#716)

    8b53242
  25. thiyaguk09
    added a commit that references this issue on May 5, 2026

    build: use codecov's action, now that it's authless (googleapis#716)

    63f81d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.