Skip to content

fix: remove terminated extension services from instance config#620

Merged
hanyux-nv merged 1 commit intoNVIDIA:mainfrom
hanyux-nv:fix_es_terminated_not_removed
Mar 20, 2026
Merged

fix: remove terminated extension services from instance config#620
hanyux-nv merged 1 commit intoNVIDIA:mainfrom
hanyux-nv:fix_es_terminated_not_removed

Conversation

@hanyux-nv
Copy link
Contributor

Description

Fixes a gap where extension services marked for removal were not cleaned up from instance config even after all DPUs reported successful termination.

Previously, terminated extension service cleanup was only executed in the WaitingForExtensionServicesConfig instance state; however, extension service config updates do not transition the machine out of Ready (only tenant state moves to Configuring). This change adds instance extension service config cleanup in the Ready state so terminated services can be cleaned up.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

@hanyux-nv hanyux-nv requested a review from a team as a code owner March 18, 2026 17:50
@github-actions
Copy link

🔐 TruffleHog Secret Scan

No secrets or credentials found!

Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉

🔗 View scan details

🕐 Last updated: 2026-03-18 17:51:09 UTC | Commit: 08d2549

@github-actions
Copy link

🛡️ Vulnerability Scan

🚨 Found 72 vulnerability(ies)
📊 vs main: 72 (no change)

Severity Breakdown:

  • 🔴 Critical/High: 72
  • 🟡 Medium: 0
  • 🔵 Low/Info: 0

🔗 View full details in Security tab

🕐 Last updated: 2026-03-18 17:51:11 UTC | Commit: 08d2549

@hanyux-nv hanyux-nv force-pushed the fix_es_terminated_not_removed branch 3 times, most recently from 8211e06 to 56acaf4 Compare March 18, 2026 21:10
@hanyux-nv hanyux-nv requested a review from bcavnvidia March 18, 2026 21:12
Signed-off-by: Felicity Xu <hanyux@nvidia.com>
@hanyux-nv hanyux-nv force-pushed the fix_es_terminated_not_removed branch from 56acaf4 to 7cbe17d Compare March 19, 2026 19:53
@hanyux-nv hanyux-nv merged commit 7faa3a8 into NVIDIA:main Mar 20, 2026
36 checks passed
srinivasadmurthy pushed a commit to srinivasadmurthy/bare-metal-manager-core that referenced this pull request Mar 20, 2026
…A#620)

## Description
Fixes a gap where extension services marked for removal were not cleaned
up from instance config even after all DPUs reported successful
termination.

Previously, terminated extension service cleanup was only executed in
the `WaitingForExtensionServicesConfig` instance state; however,
extension service config updates do not transition the machine out of
Ready (only tenant state moves to `Configuring`). This change adds
instance extension service config cleanup in the `Ready` state so
terminated services can be cleaned up.

## Type of Change
<!-- Check one that best describes this PR -->
- [ ] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality
- [x] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)

## Related Issues (Optional)
<!-- If applicable, provide GitHub Issue. -->

## Breaking Changes
- [ ] This PR contains breaking changes

<!-- If checked above, describe the breaking changes and migration steps
-->

## Testing
<!-- How was this tested? Check all that apply -->
- [x] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] No testing required (docs, internal refactor, etc.)

Signed-off-by: Felicity Xu <hanyux@nvidia.com>
Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
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.

3 participants