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

windows server2022 create bond success but set_static_network_config failed #122

Open
sheepcat opened this issue Sep 4, 2023 · 1 comment

Comments

@sheepcat
Copy link

sheepcat commented Sep 4, 2023

cloudbase-init 1.1.5dev
win server2022 H1
rpc and wmi service is running
firewall is disabled

i want to create bond lacp and set a static ip address, bond is created successfully ,but ip config is failed

when i execute the network plugin in cloudbase-init.conf raise:
RPC se'rservice is unavailable

image

i think the error is raised by the conn.MSFT_NetIPAddress.create() function
which is in cloudbase-init/cloudbaseinit/osutils/windows.py def _set_static_network_config()

image

any idea?
with great appreciated

@ader1990
Copy link
Member

ader1990 commented Oct 9, 2023

Hello,

@sheepcat if you use the PowerShell cmdlets, does this issue reproduce? would be interesting to share the equivalent PowerShell cmdlets to see if it is a problem of maybe concurency -- the netlbfo API is implemented in such a way that it needs some retries. For example, if a bond is created, and the netlbfo returns true / created, it takes some time until an IP on that bond can be configured.

Thank you,
Adrian Vladu

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

No branches or pull requests

2 participants