ochami smd restries added after cloud-int service restart#4364
Merged
Conversation
- Extract service readiness checks into separate block/rescue pattern - Add SMD API health check before discovery attempt - Implement automatic retry on discovery failure with service restart - Increase service check timeout from 2 to 2 minutes (12 retries × 10s delay) - Prevent connection refused errors by ensuring SMD endpoint is ready This addresses the race condition where systemd marks smd service as "started" but the HTTP endpoint at oimcp.oim.test:8443 isn't accepting connections yet.
priti-parate
approved these changes
May 5, 2026
abhishek-sa1
reviewed
May 5, 2026
abhishek-sa1
reviewed
May 5, 2026
| 1. Check target status: systemctl status openchami.target | ||
| 2. View logs: journalctl -u openchami.target -n 50 | ||
| 3. Check individual services: systemctl status smd bss cloud-init | ||
| 4. Restart target: systemctl restart openchami.target |
Collaborator
There was a problem hiding this comment.
can we mention next step of each failure to rerun provision.yml also
abhishek-sa1
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues Resolved by this Pull Request
Please be sure to associate your pull request with one or more open issues. Use the word Fixes as well as a hashtag (#) prior to the issue number in order to automatically resolve associated issues (e.g., Fixes #100).
Fixes #
Description of the Solution
Please describe the solution provided and how it resolves the associated issues.
Suggested Reviewers
If you wish to suggest specific reviewers for this solution, please include them in this section. Be sure to include the @ before the GitHub username.