diff options
author | Joshua Chan <jocha@microsoft.com> | 2018-05-03 14:50:16 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-05-03 14:50:16 -0600 |
commit | aae494c39f4c6f625e7409ca262e657d085dd5d1 (patch) | |
tree | 05399fdf56c57fde998c58a85e9358b0f8754a1a /tests/unittests/test_handler/test_handler_ntp.py | |
parent | d24057adbc70e7b034b8aca36c5351938b5de74a (diff) | |
download | vyos-cloud-init-aae494c39f4c6f625e7409ca262e657d085dd5d1.tar.gz vyos-cloud-init-aae494c39f4c6f625e7409ca262e657d085dd5d1.zip |
azure: Add reported ready marker file.
This change is for Azure VM Preprovisioning. A bug was found when after
azure VMs report ready the first time, during the time when VM is polling
indefinitely for the new ovf-env.xml from Instance Metadata Service
(IMDS), if a reboot happens, we send another report ready signal to the
fabric, which deletes the reprovisioning data on the node.
This marker file is used to fix this issue so that we will only send a
report ready signal to the fabric when no marker file is present. Then,
create a marker file so that when a reboot does occur, we check if a
marker file has been created and decide whether we would like to send the
repot ready signal.
LP: #1765214
Diffstat (limited to 'tests/unittests/test_handler/test_handler_ntp.py')
0 files changed, 0 insertions, 0 deletions