Bug 1836098 - [OpenStack ] Error associating floating_ip with port
Summary: [OpenStack ] Error associating floating_ip with port
Keywords:
Status: CLOSED DUPLICATE of bug 1734460
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.6.0
Assignee: Mike Fedosin
QA Contact: David Sanz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-15 07:25 UTC by Filip Brychta
Modified: 2020-06-08 16:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-08 16:23:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
installer log (66.64 KB, text/plain)
2020-05-15 07:25 UTC, Filip Brychta
no flags Details
install config yaml (678 bytes, text/plain)
2020-05-15 07:26 UTC, Filip Brychta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github terraform-providers terraform-provider-openstack issues 1012 0 None closed OpenStack Port creation sometimes succeeds too early 2020-09-15 10:33:05 UTC

Description Filip Brychta 2020-05-15 07:25:30 UTC
Created attachment 1688801 [details]
installer log

Description of problem:
Sometimes the IPI installer fails with:
level=error msg="Error: Error associating openstack_networking_floatingip_associate_v2 floating_ip f9c0533c-6069-4948-a3de-b8e09b9b79d4 with port 58a25d7a-e443-4901-8b48-3d6c505fe247: Resource not found"

But both floating ip and port exist:
FIP:
 f9c0533c-6069-4948-a3de-b8e09b9b79d4 | 10.0.105.110        | None             | None                                 | d655dcd0-b593-439c-997b-aa5bc8c03a3a | 0d9514d7da8441a199c33a296e541a7a |
Port:
| 58a25d7a-e443-4901-8b48-3d6c505fe247 | fbr-43-s9pjg-api-port            | fa:16:3e:6d:5b:ab | ip_address='192.168.0.5', subnet_id='2008a184-6073-43f8-b70c-1e2b35841aa8'  | DOWN   |

Version-Release number of the following components:
OCP 4.3.z
OCP 4.4.z

How reproducible:
Sometimes. It seems it happens when the OpenStack is under heavy load

Steps to Reproduce:
1. get installer
2. create FIP for API: openstack --os-cloud rhos_cloud floating ip create --description fbr-43-api -f value -c floating_ip_address provider_net_cci_9
3. edit install-config.yaml (attached)
4. run installer: ./openshift-install --log-level debug create cluster --dir /home/jenkins/agent/workspace/install-ocp-ipi/openshift/cluster-installation/psi/fbr-43

Actual results:
level=error msg="Error: Error associating openstack_networking_floatingip_associate_v2 floating_ip f9c0533c-6069-4948-a3de-b8e09b9b79d4 with port 58a25d7a-e443-4901-8b48-3d6c505fe247: Resource not found"


Expected results:
No errors.

Additional info:
install-config.yaml and installer log attached.
Both FIP and port exist when checked after the failure.

Comment 1 Filip Brychta 2020-05-15 07:26:17 UTC
Created attachment 1688802 [details]
install config yaml

Comment 2 Martin André 2020-05-19 13:01:47 UTC
Could it be that your OpenStack cloud is a bit light on the specs? In that case it could be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1734460.

Comment 3 Filip Brychta 2020-05-20 10:46:53 UTC
This issue is visible in RH PSI OpenStack which I don't control. It's used by many RH teams and sometimes gets overloaded. It would be nice to follow up with PSI OpenStack admins if the cause is on the OpenStack side.

Comment 4 Wei Sun 2020-05-27 06:26:03 UTC
Adding the testblocker , since failed to set up the clusters for IPI on OSP with kuryr test due to this issue.

Comment 5 Wei Sun 2020-05-27 07:34:34 UTC
Also failed on UPI on OSP with kuryr

Comment 7 Pierre Prinetti 2020-06-08 16:23:41 UTC

*** This bug has been marked as a duplicate of bug 1734460 ***


Note You need to log in before you can comment on or make changes to this bug.