Bug 1576001
| Summary: | Openshift-on-OpenStack playbook support for external_svc_net param in kuryr-config cm | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jon Uriarte <juriarte> |
| Component: | Installer | Assignee: | Luis Tomas Bolivar <ltomasbo> |
| Status: | CLOSED ERRATA | QA Contact: | Jon Uriarte <juriarte> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, ltomasbo, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Public subnet ID is not by default accesible by OSP tenants
Consequence:
Retrieving this information may fail (unless enabled at policy.json) and thus kuryr.conf will miss information needed for creating services of LoadBalancer type
Fix:
Kuryr added support not to need public subnet ID but just public network ID, which is accesible by OSP tenants by default. It has been added support at openshift-ansible to pass this information instead of subnet ID.
Result:
Kuryr.conf is properly configured at kuryr-controller and services of LoadBalancer type can get floating ips from the public network to the OpenStack LoadBalancers VIPs
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:14:54 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
Jon Uriarte
2018-05-08 14:01:33 UTC
Verified in openshift-ansible-3.10.0-0.46.0.git.0.85c3afd.el7.noarch and openshift-ansible-playbooks-3.10.0-0.46.0.git.0.85c3afd.el7.noarch.
Verification steps:
1. Run Openshift-on-Openstack playbook setting the kuryr_openstack_public_net_id:
kuryr_openstack_public_net_id: dbba197f-d28e-49be-9905-fde1fa67cd52
2. Check the parameter in kuryr-config:
[openshift@master-0 ~]$ oc -n openshift-infra get cm kuryr-config -o yaml | grep external
external_svc_net = dbba197f-d28e-49be-9905-fde1fa67cd52
3. Check project/dc/service creation
4. Run Openshift-on-Openstack playbook setting the kuryr_openstack_public_subnet_id and kuryr_openstack_public_net_id:
kuryr_openstack_public_subnet_id: cdbd1855-0b23-4ddc-8186-e10a963156b8
kuryr_openstack_public_net_id: dbba197f-d28e-49be-9905-fde1fa67cd52
5. Check the parameters in kuryr-config:
[openshift@master-0 ~]$ oc -n openshift-infra get cm kuryr-config -o yaml | grep external
external_svc_net = dbba197f-d28e-49be-9905-fde1fa67cd52
external_svc_subnet = cdbd1855-0b23-4ddc-8186-e10a963156b8
6. Check project/dc/service creation
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/RHBA-2018:1816 |