sources/azure: remove lease file parsing#1302
Conversation
TheRealFalcon
left a comment
There was a problem hiding this comment.
LGTM! I'm going to close/re-open to re-trigger CI
TheRealFalcon
left a comment
There was a problem hiding this comment.
Looks like there's still some broken tests.
6ab8f29 to
0af26e1
Compare
|
Fixed tests & rebased |
0af26e1 to
079222f
Compare
|
There seems to be an unrelated failure in the tests: |
This is the second time I've seen that failure in the last this week. I think this is a flaky test that should be removed from CI. This depends on multiple keyservers so remote failure is likely cause, not your changes. A no-op push should get tests passing. I am proposing a separate PR to remove that test from CI runs. |
Already restarted them |
|
It failed twice this morning so I had just pushed -vv to the tests for better visibility. |
|
We're putting up a PR to (re)move the test. It's failing because ssh-import-id is failing, which would be due to the Launchpad or Github service being down and unrelated to cloud-init. |
3934889 to
079222f
Compare
|
I see that it failed again which indicates a different problem, but it is still a problem with ssh-import-id and not cloud-init, so I still moved the test out of CI. If you rebase, we should be able to pass now. |
079222f to
bf49885
Compare
With reporting ready now happening in local phase, we have access to ephemeral DHCP lease options and no longer need to parse DHCP lease files. - Switch from tracking wireserver endpoint in its encoded form to the IP string, parsing it only when read from lease options. - Drop fallback_lease_file and dhcp_options parameters in favor of processed endpoint string. - Add some minor type information for mypy. - Update various tests. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
|
Done |
With reporting ready now happening in local phase, we have access
to ephemeral DHCP lease options and no longer need to parse DHCP
lease files.
Switch from tracking wireserver endpoint in its encoded form to the
IP string, parsing it only when read from lease options.
Drop fallback_lease_file and dhcp_options parameters in favor of
processed endpoint string.
Add some minor type information for mypy.
Signed-off-by: Chris Patterson cpatterson@microsoft.com