)]}'
{"nodepool/driver/aws/adapter.py":[{"author":{"_account_id":27582,"name":"Simon Westphahl","email":"simon.westphahl@bmw.de","username":"simon.westphahl"},"change_message_id":"c57a1528c0fe949bc8ef02238bd251867c049992","unresolved":true,"context_lines":[{"line_number":103,"context_line":"        super().__init__()"},{"line_number":104,"context_line":"        self.external_id \u003d instance[\u0027InstanceId\u0027]"},{"line_number":105,"context_line":"        self.metadata \u003d tag_list_to_dict(instance.get(\u0027Tags\u0027))"},{"line_number":106,"context_line":"        self.private_ipv4 \u003d instance[\u0027PrivateIpAddress\u0027]"},{"line_number":107,"context_line":"        self.private_ipv6 \u003d None"},{"line_number":108,"context_line":"        self.public_ipv4 \u003d instance.get(\u0027PublicIpAddress\u0027)"},{"line_number":109,"context_line":"        self.public_ipv6 \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"f1ec4136_4f2b3142","line":106,"updated":"2023-10-17 10:26:10.000000000","message":"Looks like we need a `get()` here.\n\n\tTraceback (most recent call last):\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/launcher.py\", line 491, in run\n\t    for chunk in self._assignHandlers():\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/launcher.py\", line 242, in _assignHandlers\n\t    reasons_to_decline \u003d rh.getDeclinedReasons()\n\t\t                 ^^^^^^^^^^^^^^^^^^^^^^^\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/__init__.py\", line 600, in getDeclinedReasons\n\t    elif not self.hasProviderQuota(self.request.node_types):\n\t\t     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/statemachine.py\", line 520, in hasProviderQuota\n\t    cloud_quota \u003d self.manager.estimatedNodepoolQuota()\n\t\t          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/utils.py\", line 325, in estimatedNodepoolQuota\n\t    nodepool_quota.subtract(self.unmanagedQuotaUsed())\n\t\t                    ^^^^^^^^^^^^^^^^^^^^^^^^^\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/statemachine.py\", line 836, in unmanagedQuotaUsed\n\t    for instance in self.adapter.listInstances():\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/aws/adapter.py\", line 425, in listInstances\n\t    yield AwsInstance(self.provider, instance, quota)\n\t\t  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t  File \"/opt/nodepool/lib/python3.11/site-packages/nodepool/driver/aws/adapter.py\", line 110, in __init__\n\t    self.private_ipv4 \u003d instance[\u0027PrivateIpAddress\u0027]\n\t\t                ~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n\tKeyError: \u0027PrivateIpAddress\u0027","commit_id":"bec0b733231d72fb14a78766d2e82dfe4d48b09a"},{"author":{"_account_id":27582,"name":"Simon Westphahl","email":"simon.westphahl@bmw.de","username":"simon.westphahl"},"change_message_id":"d906c4857e07773396ece1d214398e62b48c3cba","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        super().__init__()"},{"line_number":104,"context_line":"        self.external_id \u003d instance[\u0027InstanceId\u0027]"},{"line_number":105,"context_line":"        self.metadata \u003d tag_list_to_dict(instance.get(\u0027Tags\u0027))"},{"line_number":106,"context_line":"        self.private_ipv4 \u003d instance[\u0027PrivateIpAddress\u0027]"},{"line_number":107,"context_line":"        self.private_ipv6 \u003d None"},{"line_number":108,"context_line":"        self.public_ipv4 \u003d instance.get(\u0027PublicIpAddress\u0027)"},{"line_number":109,"context_line":"        self.public_ipv6 \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"ec91044b_e57ae853","line":106,"in_reply_to":"f1ec4136_4f2b3142","updated":"2023-10-18 04:57:23.000000000","message":"Done","commit_id":"bec0b733231d72fb14a78766d2e82dfe4d48b09a"}]}
