Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Packet API to lastest version #67

Merged
merged 9 commits into from
Mar 20, 2020
Merged

Conversation

pothos
Copy link
Member

@pothos pothos commented Mar 18, 2020

  • Update Packet API to latest version
    Porting needs a new SSH client option. Other vendored files were deleted by "make vendor".

  • Retry on provisioning timeouts

  • Improve bonding check and lower threshold
    After Kernel 4.12 breaks non-zero updelay in network bonding driver coreos/bugs#2065
    a test for "excessive bonding link status messages"
    was introduced which also is good to keep for
    Network bonding driver fails to enable interface, spams log coreos/bugs#2374.

    However, having this message printed 10 times
    does not directly relate to an error.
    The test should check if something like
    'bond0: Gained carrier' or
    'link status definitely up for interface enp0s20f0'
    is coming at the end and then continue.
    Add a second match for these messages that skips
    the test. Also lower the threshold to see if the
    logic works well.

Also needs a new SSH client option.
Other vendored files were deleted by "make vendor".
@pothos pothos force-pushed the kai/update-packngo branch from 0b20000 to 74a7382 Compare March 18, 2020 17:55
@pothos pothos force-pushed the kai/update-packngo branch from efcc830 to 45c33d0 Compare March 19, 2020 13:37
@pothos pothos force-pushed the kai/update-packngo branch from ffd052f to 4be942e Compare March 19, 2020 13:51
@pothos pothos marked this pull request as ready for review March 19, 2020 14:38
@pothos pothos force-pushed the kai/update-packngo branch 2 times, most recently from d6db5ad to 1cbb9e2 Compare March 19, 2020 16:59
@pothos pothos requested a review from t-lo March 19, 2020 17:00
@pothos pothos force-pushed the kai/update-packngo branch 2 times, most recently from 9c49a63 to 97b57fb Compare March 19, 2020 17:45
@pothos
Copy link
Member Author

pothos commented Mar 19, 2020

I need to make the loop cover the rest of the function so that if StartMachine gives an error we can try with an other machine.

pothos added 4 commits March 20, 2020 12:17
After coreos/bugs#2065
a test for "excessive bonding link status messages"
was introduced which also is good to keep for
coreos/bugs#2374.

However, having this message printed 10 times
does not directly relate to an error.
The test should check if something like
'bond0: Gained carrier' or
'link status definitely up for interface enp0s20f0'
is coming at the end and then continue.
Add a second match for these messages that skips
the test. Also lower the threshold to see if the
logic works well.
@pothos pothos force-pushed the kai/update-packngo branch from 38a274f to fcdfc46 Compare March 20, 2020 11:18
@pothos
Copy link
Member Author

pothos commented Mar 20, 2020

Done

Copy link
Member

@t-lo t-lo left a comment

Choose a reason for hiding this comment

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

Ran the whole test suite on Packet. While I did not see any provisioning errors I validated the tests run fine with this change.

LGTM.

@pothos pothos merged commit fc28784 into flatcar-master Mar 20, 2020
@pothos pothos deleted the kai/update-packngo branch March 20, 2020 13:14
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