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

network: add retries for get network adapter name by MAC's address #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noliaoliao
Copy link

Add more retries for get network adapter name by MAC's address.

Add more retries for get network adapter name by MAC's address.
@@ -799,6 +799,8 @@ def set_ntp_client_config(self, ntp_hosts):
'w32tm failed to configure NTP.\nOutput: %(out)s\nError:'
' %(err)s' % {'out': out, 'err': err})

@retry_decorator.retry_decorator(
Copy link
Member

Choose a reason for hiding this comment

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

I would advise to set the service to automatic delayed start in these cases. If the OS does not see the adapter, there is a problem with the nic drivers or a concurrency issue between the cloudbase-init service and the networking service.

@ader1990
Copy link
Member

ader1990 commented Dec 9, 2022

Hello,

I think this fix has been addressed by multiple patches that were merged recently, both in the installer and the cloudbase-init code. @noliaoliao can you please confirm the issue is no longer present?

Thank you,
Adrian.

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