Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: offboard nodes in GE1 DC #1225

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

sasa-tomic
Copy link
Member

Summary

  • Cordoned Features Update:

    • Added multiple node_id entries in cordoned_features.yaml for offboarding the second rack of nodes in the GE1 DC, linking to relevant forum proposals for reference.
  • Code Enhancements in rs/ic-management-types:

    • Added NodeFeature::NodeId to the node features serialization list to ensure inclusion.
    • Updated the ordering in NodeFeature enum and adjusted related logic to filter out node_id from specific processes.

### Summary

- Adds new entries for `node_id` under `cordoned_features.yaml` to document offboarding of nodes in the GE1 data center.

- Rearranges enum variants in `NodeFeature` within `rs/ic-management-types/src/lib.rs`, specifically adding `NodeId` and reordering `NodeProvider` and `NodeOperator`.

### Changes

- **cordoned_features.yaml:**
  - Introduced several `node_id` entries, each detailing the offboarding of nodes based on forum discussion references.

- **lib.rs**
  - Added `NodeId` to the key-value pairs for `Node` feature mapping.
  - Updated the `NodeFeature` enum to include `NodeId` and adjusted the enum variant order.
  - Modified the feature filtering method to exclude `node_id` entries along with existing exclusions.

### Additional notes

- Adjustments address feature alignment and documentation consistency for node management.
@sasa-tomic sasa-tomic requested a review from a team as a code owner January 17, 2025 17:45
@sasa-tomic sasa-tomic self-assigned this Jan 17, 2025
Copy link
Contributor

@NikolaMilosa NikolaMilosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice in the future to add some unit tests for the cordoning functionalities.

@sasa-tomic sasa-tomic enabled auto-merge (squash) January 17, 2025 18:10
@sasa-tomic sasa-tomic merged commit cbace21 into main Jan 17, 2025
5 checks passed
@sasa-tomic sasa-tomic deleted the feature/sync-ic-cordoned-nodes branch January 17, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants