Azure - Report ready during preprovisioning as soon as we get the ReprovisionData
Bug #1799594 reported by
Aswin Rajamannar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When reusing a preprovisioned VM, report ready to Azure fabric as soon as we get the reprovision data and the goal state so that we are not delayed by the cloud-init stage switch, saving 2-3 seconds. Also reduce logging when polling IMDS for reprovision data.
Related branches
~chad.smith/cloud-init:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper: Approve
-
Diff: 1433 lines (+661/-139)21 files modifiedcloudinit/cmd/devel/render.py (+24/-11)
cloudinit/cmd/devel/tests/test_render.py (+44/-1)
cloudinit/cmd/query.py (+24/-12)
cloudinit/cmd/tests/test_query.py (+71/-5)
cloudinit/config/cc_disk_setup.py (+1/-1)
cloudinit/handlers/jinja_template.py (+9/-1)
cloudinit/net/dhcp.py (+32/-10)
cloudinit/sources/DataSourceAzure.py (+46/-33)
cloudinit/tests/test_url_helper.py (+24/-1)
cloudinit/tests/test_util.py (+66/-17)
cloudinit/url_helper.py (+25/-6)
cloudinit/util.py (+4/-3)
debian/changelog (+28/-0)
doc/rtd/topics/datasources/azure.rst (+46/-0)
packages/redhat/cloud-init.spec.in (+1/-0)
packages/suse/cloud-init.spec.in (+1/-0)
systemd/cloud-init.service.tmpl (+1/-2)
tests/unittests/test_builtin_handlers.py (+25/-0)
tests/unittests/test_datasource/test_azure.py (+148/-19)
tests/unittests/test_datasource/test_ec2.py (+24/-16)
udev/66-azure-ephemeral.rules (+17/-1)
~asakkurr/cloud-init:azure_report_ready
- Server Team CI bot: Approve (continuous-integration)
- Paul Meyer (community): Approve
-
Diff: 164 lines (+74/-9)3 files modifiedcloudinit/sources/DataSourceAzure.py (+12/-3)
cloudinit/url_helper.py (+11/-6)
tests/unittests/test_datasource/test_azure.py (+51/-0)
To post a comment you must log in.
This bug is fixed with commit 90739510 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=90739510
To view that commit see the following URL:
https:/