Skip to content

fix(chaos-engine): diagnose missing core under installed host receipt - #5560

Open
MohabMohie wants to merge 2 commits into
mainfrom
ChaosEngine/5556-installer-recovery
Open

fix(chaos-engine): diagnose missing core under installed host receipt#5560
MohabMohie wants to merge 2 commits into
mainfrom
ChaosEngine/5556-installer-recovery

Conversation

@MohabMohie

Copy link
Copy Markdown
Contributor

Summary

  • Detect installed host receipt + missing .chaos-engine core.
  • Surface CE_CORE_MISSING from status/doctor with recovery guidance.
  • Block install/provision while that mixed state remains, instead of opaque host-adapter drift during Provision dependencies.

Closes #5556.

Checks

  • python3 -m unittest tests.scripts.test_chaos_engine_missing_core_recovery -v

@MohabMohie MohabMohie added the bug Something isn't working label Sep 2, 2026
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 high

Alerts:
⚠ 1 issue (≤ 0 issues of at least medium severity)

Results:
1 new issue

Category Results
Security 1 high

View in Codacy

🟢 Metrics 4 complexity · 0 duplication

Metric Results
Complexity 4
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Closes #5556.

When `.chaos-engine-hosts.json` still says installed but the `.chaos-engine`
core tree is gone, status/doctor now report CE_CORE_MISSING with recovery
guidance, and install refuses to provision dependencies with an opaque drift
failure.
Avoid requiring diagnosticCode/reason/remedy on every status/doctor
payload. Report CE_CORE_MISSING under components.core and refresh the
README python-libraries inventory after install.py changes.
@MohabMohie
MohabMohie force-pushed the ChaosEngine/5556-installer-recovery branch from a5daba4 to 9488bee Compare September 2, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

[ChaosEngine installer] CE-INSTALL-FAILED

1 participant