Skip to content

Commit 9adc081

Browse files
feat: [google-cloud-tpu] Add UNKNOWN to TPU node state, This state will be used to prevent a node from being marked as READY during diagnose after it has failed repair (#13429)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 714068635 Source-Link: googleapis/googleapis@c3556b4 Source-Link: googleapis/googleapis-gen@651e1ce Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiNjUxZTFjZTRjMmI3MGNiMTQ1MDQ4ZTFmM2RlMmZiOGVlMTgwMDYwMSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
1 parent b5cdea3 commit 9adc081

9 files changed

Lines changed: 11 additions & 7 deletions

File tree

packages/google-cloud-tpu/google/cloud/tpu/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.20.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.20.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v1/types/cloud_tpu.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ class State(proto.Enum):
214214
TPU node has been hidden.
215215
UNHIDING (15):
216216
TPU node is currently unhiding.
217+
UNKNOWN (16):
218+
TPU node has unknown state after a failed
219+
repair.
217220
"""
218221
STATE_UNSPECIFIED = 0
219222
CREATING = 1
@@ -230,6 +233,7 @@ class State(proto.Enum):
230233
HIDING = 13
231234
HIDDEN = 14
232235
UNHIDING = 15
236+
UNKNOWN = 16
233237

234238
class Health(proto.Enum):
235239
r"""Health defines the status of a TPU node as reported by

packages/google-cloud-tpu/google/cloud/tpu_v2/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.20.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v2alpha1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.20.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.20.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.20.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v2alpha1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.20.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tpu/tpu-v1-py.tar.gz

Whitespace-only changes.

0 commit comments

Comments
 (0)