Skip to content

fix(sos): add all missing cloud-init systemd service units#17144

Open
jonathanbrenes wants to merge 1 commit into
microsoft:tomls/base/mainfrom
jonathanbrenes:fix/sos-cloud-init-services
Open

fix(sos): add all missing cloud-init systemd service units#17144
jonathanbrenes wants to merge 1 commit into
microsoft:tomls/base/mainfrom
jonathanbrenes:fix/sos-cloud-init-services

Conversation

@jonathanbrenes
Copy link
Copy Markdown

Summary

Update the sos cloud_init plugin patch to add all missing systemd service units
introduced by cloud-init 24.3's single-process optimization.

Services added

  • cloud-init-local — Local stage
  • cloud-config — Config stage
  • cloud-final — Final stage

These join the existing cloud-init, cloud-init-main, and cloud-init-network
entries, so sos report now captures status for all six cloud-init service units.

Related

Testing

  • azldev comp build -p sos — succeeded, produced sos-4.11.0-4.azl4.noarch.rpm
  • Smoke-tested in mock chroot:
    • rpm -q sossos-4.11.0-4.azl4.noarch
    • Verified services tuple: ('cloud-init', 'cloud-init-local', 'cloud-init-network', 'cloud-init-main', 'cloud-config', 'cloud-final')

Copilot AI review requested due to automatic review settings May 11, 2026 23:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Azure Linux sos component overlay patch for the cloud_init plugin so sos report captures systemd status for all cloud-init service units used with cloud-init 24.3+ (single-process optimization).

Changes:

  • Extend the cloud_init plugin services tuple to include cloud-init-local, cloud-config, and cloud-final (in addition to the previously added cloud-init-main and cloud-init-network).
  • Update the sos component overlay description and refresh rendered spec output (rpmautospec release/changelog).
  • Refresh the sos lock input fingerprint.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
specs/s/sos/sos.spec Rendered spec release/changelog update reflecting the component change.
specs/s/sos/cloud_init-add-cloud-init-main-and-network-services.patch Updated rendered patch to include additional cloud-init systemd units in the plugin.
locks/sos.lock Updated input-fingerprint after component input changes.
base/comps/sos/sos.comp.toml Updated overlay description referencing the newer upstream PR.
base/comps/sos/cloud_init-add-cloud-init-main-and-network-services.patch Source patch updated to include cloud-init-local, cloud-config, and cloud-final.

Comment thread base/comps/sos/sos.comp.toml Outdated
Update the cloud_init plugin patch to add cloud-init-local,
cloud-config, and cloud-final to the services tuple, matching
upstream sosreport/sos#4318 (now merged).

Previously only cloud-init, cloud-init-main, and cloud-init-network
were listed.
@jonathanbrenes jonathanbrenes force-pushed the fix/sos-cloud-init-services branch from 256f747 to cc3c5cf Compare May 12, 2026 00:32
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