Skip to content

Commit

Permalink
feat: [google-cloud-tpu] Add UNKNOWN to TPU node state, This state wi…
Browse files Browse the repository at this point in the history
…ll 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>
  • Loading branch information
3 people authored Jan 10, 2025
1 parent b5cdea3 commit 9adc081
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.20.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.20.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ class State(proto.Enum):
TPU node has been hidden.
UNHIDING (15):
TPU node is currently unhiding.
UNKNOWN (16):
TPU node has unknown state after a failed
repair.
"""
STATE_UNSPECIFIED = 0
CREATING = 1
Expand All @@ -230,6 +233,7 @@ class State(proto.Enum):
HIDING = 13
HIDDEN = 14
UNHIDING = 15
UNKNOWN = 16

class Health(proto.Enum):
r"""Health defines the status of a TPU node as reported by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.20.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.20.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-tpu",
"version": "1.20.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-tpu",
"version": "1.20.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-tpu",
"version": "1.20.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Empty file.

0 comments on commit 9adc081

Please sign in to comment.