Repository navigation
Build Problems with Storage ACLs #716
Description
Activity
- addedtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Jul 10, 2015 stephenplusplus commented
on Jul 10, 2015 ContributorAuthorMore actionsSeems 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?
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?
stephenplusplus commented
on Jul 10, 2015 ContributorAuthorMore actionsIf 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:
- 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
- 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 1fields: Leave blank- request body:
entity: user-[emailaddress]role: READER
- Confirm 200 response (expected)
- 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 1entity: entity used in step 2
- Confirm 404 response (unexpected)
This was previously working, but we started getting the 404 yesterday.
- /cc @Capstan
stephenplusplus commented
on Jul 15, 2015 ContributorAuthorMore actionsI 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?/cc @hurstdog who can probably comment on what the intended behavior is and why.
related to googleapis/google-cloud-go#147
stephenplusplus commented
on Jul 21, 2015 ContributorAuthorMore 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?
stephenplusplus commented
on Jul 21, 2015 ContributorAuthorMore actionsGreat, thanks!
stephenplusplus commented
on Jul 27, 2015 ContributorAuthorMore actionsMy 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.
I tracked down the issue, and it should be fixed with our release next week.
stephenplusplus commented
on Jul 27, 2015 ContributorAuthorMore actionsAwesome, thanks @royalpeasantry!
20 remaining items
- added a commit that references this issue
on Jan 29, 2026 - added a commit that references this issue
on Feb 17, 2026 - added a commit that references this issue
on Feb 24, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on Mar 27, 2026
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