Bug 1546106
| Summary: | The kuryr controller fails to retrieve a floating IP for loadbalancer service type due to policy.json | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Antoni Segura Puimedon <asegurap> |
| Component: | openstack-kuryr-kubernetes | Assignee: | Yossi Boaron <yboaron> |
| Status: | CLOSED ERRATA | QA Contact: | Jon Uriarte <juriarte> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 13.0 (Queens) | CC: | asegurap, jschluet, juriarte, tsedovic |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-kuryr-kubernetes-0.4.1-0.20180223165132.2aaffdf.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-27 13:44:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Antoni Segura Puimedon
2018-02-16 10:39:57 UTC
This is fixed upstream, setting to POST. Verified in version openstack-kuryr-kubernetes-controller-0.4.3-1.el7ost.noarch from puddle 20180502.1.
Verification steps (with openshift):
1.- Make sure external_svc_net param is set with external network id in kuryr-config configmap (oc -n openshift-infra edit cm kuryr-config).
2.- oc new-project test
3.- oc run --image kuryr/demo demo
4.- oc scale dc/demo --replicas=2
5.- oc expose dc/demo --port 80 --target-port 8080 --type LoadBalancer
service "demo" exposed
6.- oc get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
demo LoadBalancer 172.30.230.80 172.29.117.222,172.29.117.222 80:32440/TCP 19s
7.- Check a floating IP has been asigned for the load balancer:
(overcloud) [root@undercloud stack]# openstack floating ip list | grep 172.30.230.80
| 03e9b5db-1792-4e57-9ece-f79cf8b5ad0c | 172.20.0.218 | 172.30.230.80 | 9d604dbe-e7e0-4e57-a85e-9dd0b4c9d49c | dbba197f-d28e-49be-9905-fde1fa67cd52 | 6c07532860e641989bacc5583275080a |
8. Check the floating IP is reachable:
(overcloud) [root@undercloud stack]# curl 172.20.0.218
demo-1-5pn86: HELLO! I AM ALIVE!!!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086 |