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

Error: EIP was not attached to instance #878

Closed
Jason-Zhang9309 opened this issue Jan 28, 2021 · 1 comment · Fixed by #879
Closed

Error: EIP was not attached to instance #878

Jason-Zhang9309 opened this issue Jan 28, 2021 · 1 comment · Fixed by #879

Comments

@Jason-Zhang9309
Copy link
Collaborator

Hi there,

Sometimes when running acctest, there will be an err like "EIP was not attached to instance".
It seems because the api returns stat code 202, which means "The task is submitted successfully, the current system is busy, and the issued task will be delayed". But we don't have a stat check func in the code to wait for right stat before finishing the creation.
This problem may affect following operations. Need someone to fix it.

BTW, the api that resource_huaweicloud_compute_eip_associate is using has been deprecated. It's better to use new api(openstack neutron v2.0) for long-term support.

@ShiChangkuo
Copy link
Collaborator

Hi, @Jason-Zhang9309 @niuzhenguo ,

can we merge huaweicloud_compute_eip_associate and huaweicloud_networking_eip_associate into one resource?

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 a pull request may close this issue.

2 participants