{
  "id": 238854,
  "title": "PermissionDeniedError in case of TPU and custom TFRec dataset",
  "url": "/competitions/seti-breakthrough-listen/discussion/238854",
  "author_name": "anthony",
  "post_date": "2021-05-13T16:24:27.258000",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>All works fine inside kernel but cannot do commit.</p>\n<p><code>PermissionDeniedError: 5 root error(s) found.\n  (0) Permission denied: {{function_node __inference_train_function_50160}} Error executing an HTTP request: HTTP response code 403 with body '{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n    \"errors\": [\n      {\n        \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n        \"domain\": \"global\",\n        \"reason\": \"forbidden\"\n      }\n    ]\n  }\n}\n'\n     when reading metadata of gs://kds-770ca0d4227b5b0221b699bbcbf7b99dfbaff6417dc7b06a1a37e9e0/train_1.tfrec\n     [[{{node MultiDeviceIteratorGetNextFromShard}}]]\n     [[RemoteCall]]\n     [[IteratorGetNext]]\n     [[tpu_compile_succeeded_assert/_13939630091465749403/_3/_11]]</code></p>",
  "messages": [
    {
      "id": 1306146,
      "postDate": "2021-05-13T16:24:27.260Z",
      "content": "<p>All works fine inside kernel but cannot do commit.</p>\n<p><code>PermissionDeniedError: 5 root error(s) found.\n  (0) Permission denied: {{function_node __inference_train_function_50160}} Error executing an HTTP request: HTTP response code 403 with body '{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n    \"errors\": [\n      {\n        \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n        \"domain\": \"global\",\n        \"reason\": \"forbidden\"\n      }\n    ]\n  }\n}\n'\n     when reading metadata of gs://kds-770ca0d4227b5b0221b699bbcbf7b99dfbaff6417dc7b06a1a37e9e0/train_1.tfrec\n     [[{{node MultiDeviceIteratorGetNextFromShard}}]]\n     [[RemoteCall]]\n     [[IteratorGetNext]]\n     [[tpu_compile_succeeded_assert/_13939630091465749403/_3/_11]]</code></p>",
      "rawMarkdown": "All works fine inside kernel but cannot do commit.\n\n`PermissionDeniedError: 5 root error(s) found.\n  (0) Permission denied: {{function_node __inference_train_function_50160}} Error executing an HTTP request: HTTP response code 403 with body '{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n    \"errors\": [\n      {\n        \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n        \"domain\": \"global\",\n        \"reason\": \"forbidden\"\n      }\n    ]\n  }\n}\n'\n\t when reading metadata of gs://kds-770ca0d4227b5b0221b699bbcbf7b99dfbaff6417dc7b06a1a37e9e0/train_1.tfrec\n\t [[{{node MultiDeviceIteratorGetNextFromShard}}]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[tpu_compile_succeeded_assert/_13939630091465749403/_3/_11]]`",
      "votes": 2
    },
    {
      "id": 1306168,
      "postDate": "2021-05-13T16:39:47.220Z",
      "content": "<p>did you <strong>turn on</strong> the internet?</p>",
      "rawMarkdown": "did you **turn on** the internet?\n",
      "replies": [
        {
          "id": 1306196,
          "postDate": "2021-05-13T16:56:52.920Z",
          "content": "<p>yes, I didn't turn it off) </p>",
          "rawMarkdown": "yes, I didn't turn it off) "
        },
        {
          "id": 1306219,
          "postDate": "2021-05-13T17:09:48.120Z",
          "content": "<p>Try it again and again and seems it should work now. Hope this issue was temporal.</p>",
          "rawMarkdown": "Try it again and again and seems it should work now. Hope this issue was temporal."
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1306168,
      "author_name": "Awsaf",
      "author_url": "",
      "post_date": "2021-05-13T16:39:47.220000",
      "content": "<p>did you <strong>turn on</strong> the internet?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1306196,
          "author_name": "anthony",
          "author_url": "",
          "post_date": "2021-05-13T16:56:52.920000",
          "content": "<p>yes, I didn't turn it off) </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1306219,
          "author_name": "anthony",
          "author_url": "",
          "post_date": "2021-05-13T17:09:48.120000",
          "content": "<p>Try it again and again and seems it should work now. Hope this issue was temporal.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1306146": "All works fine inside kernel but cannot do commit.\n\n`PermissionDeniedError: 5 root error(s) found.\n  (0) Permission denied: {{function_node __inference_train_function_50160}} Error executing an HTTP request: HTTP response code 403 with body '{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n    \"errors\": [\n      {\n        \"message\": \"service-467472385656@cloud-tpu.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.\",\n        \"domain\": \"global\",\n        \"reason\": \"forbidden\"\n      }\n    ]\n  }\n}\n'\n\t when reading metadata of gs://kds-770ca0d4227b5b0221b699bbcbf7b99dfbaff6417dc7b06a1a37e9e0/train_1.tfrec\n\t [[{{node MultiDeviceIteratorGetNextFromShard}}]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[tpu_compile_succeeded_assert/_13939630091465749403/_3/_11]]`",
    "1306168": "did you **turn on** the internet?\n"
  }
}