Skip to content

feat(azure): introduce experimental skip_ready_report for Azure#6771

Merged
holmanb merged 2 commits into
canonical:mainfrom
cjp256:experimental-skip-health-report
Mar 11, 2026
Merged

feat(azure): introduce experimental skip_ready_report for Azure#6771
holmanb merged 2 commits into
canonical:mainfrom
cjp256:experimental-skip-health-report

Conversation

@cjp256
Copy link
Copy Markdown
Contributor

@cjp256 cjp256 commented Feb 27, 2026

There are some scenarios where we wish to skip cloud-init's health ready reporting for Azure when it completes init-local phase.

Prefix it with experimental_ so it's clear it's not supported. We can rename and document it in the future if we want to keep it. There are also some edge cases that aren't fully supported as-is as this process skips fetching ssh keys from wireserver in the cases that require it (e.g. CRLF or x509 certs).

To test, configure this flag in VM/image:

datasource:
  Azure:
    experimental_skip_ready_report: true

Verify behavior in logs:

$ grep ready_report /var/log/cloud-init.log
2026-02-27 17:57:53,058 - DataSourceAzure.py[DEBUG]: Skipping final health report as experimental_skip_ready_report is enabled.

There are some scenarios where we wish to skip cloud-init's health
ready reporting for Azure when it completes init-local phase.

Prefix it with experimental_ so it's clear it's not supported. We
can rename and document it in the future if we want to keep it.
There are also some edge cases that aren't fully supported as-is
as this process skips fetching ssh keys from wireserver in the cases
that require it (e.g. CRLF or x509 certs).

To test, configure this flag in VM/image:
```yaml
datasource:
  Azure:
    experimental_skip_ready_report: true
```

Verify behavior in logs:
```bash
$ grep ready_report /var/log/cloud-init.log
2026-02-27 17:57:53,058 - DataSourceAzure.py[DEBUG]: Skipping final health report as experimental_skip_ready_report is enabled.
```

Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
@cjp256
Copy link
Copy Markdown
Contributor Author

cjp256 commented Mar 10, 2026

@holmanb @blackboxsw now that the tag cleared, any chance we can merge this? thanks!

awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 10, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@holmanb holmanb merged commit 4db78c9 into canonical:main Mar 11, 2026
22 checks passed
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 11, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 12, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 23, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 24, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 24, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
awesomenix added a commit to Azure/AgentBaker that referenced this pull request Mar 24, 2026
…ript

   Bake experimental_skip_ready_report into VHD via cloud.cfg.d to skip
   cloud-init's built-in health ready report to Azure fabric. Add a
   standalone Python script (report_ready.py) that can be invoked from
   CSE to report ready at the appropriate time during node provisioning.

   Depends on canonical/cloud-init#6771.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
blackboxsw pushed a commit to blackboxsw/cloud-init that referenced this pull request Apr 13, 2026
…nical#6771)

There are some scenarios where we wish to skip cloud-init's health
ready reporting for Azure when it completes init-local phase.

Prefix it with experimental_ so it's clear it's not supported. We
can rename and document it in the future if we want to keep it.
There are also some edge cases that aren't fully supported as-is
as this process skips fetching ssh keys from wireserver in the cases
that require it (e.g. CRLF or x509 certs).

To test, configure this flag in VM/image:
```yaml
datasource:
  Azure:
    experimental_skip_ready_report: true
```

Verify behavior in logs:
```bash
$ grep ready_report /var/log/cloud-init.log
2026-02-27 17:57:53,058 - DataSourceAzure.py[DEBUG]: Skipping final health report as experimental_skip_ready_report is enabled.
```

Signed-off-by: Chris Patterson <cpatterson@microsoft.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