Description of problem: OpenStack cloud provider cannot create an LB service with octavia Version-Release number of selected component (if applicable): 3.11.16-1 openshit openstack 13 How reproducible: Create application and the expose service as a load balancer Steps to Reproduce: 1. oc new-project bz 2. oc new-app centos/ruby-25-centos7~https://github.com/sclorg/ruby-ex.git 3. oc expose dc ruby-ex --name='ruby-ex-external' --type='LoadBalancer' Actual results: 37s 4 ruby-ex-external.15666ad273d44085 Service Warning CreatingLoadBalancerFailed service-controller Error creating load balancer (will retry): failed to ensure load balancer for service bz/ruby-ex-external: error creating loadbalancer a9dbc5b34e69111e8bc0dfa163e5d33b: error creating loadbalancer {a9dbc5b34e69111e8bc0dfa163e5d33b Kubernetes external service a9dbc5b34e69111e8bc0dfa163e5d33b 4b398208-529e-4fe6-a0cb-8303bb8a0524 <nil> }: Resource not found Expected results: load balancer created with octavia Additional info: cloud provider does not create load balancers in the same way that aws, azure, gce do
we are using the standard OpenShift SDN rather than kuryr
The following options should be added to the OSP cloud provider configuration if a customer would like to be able to use a load balancer from within OSP <values have been modified to not reflect current deployment values> [LoadBalancer] subnet-id = 4b398208-529e-4fe6-a0cb-8606cc8a0524 use-octavia = true subnet-id = 4b398208-529e-4fe6-a0cb-86068cca0524 floating-network-id = 56d2e900-c328-33ab-928e-43503b3f4187
> The following options should be added to the OSP cloud provider configuration if a customer would like to be able to use a load balancer from within OSP Ryan, are you saying we need to extend the code and introduce new configuration option? Or, the option is already there and only OpenStack cloud config file needs to be updated?
(In reply to Jan Chaloupka from comment #8) > Ryan, are you saying we need to extend the code and introduce new > configuration option? Or, the option is already there and only OpenStack > cloud config file needs to be updated? The openstack cloud provider config does support these options that we had to add in order for LoadBalancer type services to work, but the installer only manages the subnet-id option. Here's a proposed PR to add use-octavia and floating-network-id as additional options: https://github.com/openshift/openshift-ansible/pull/10758 I guess we should move this bz to the installer component, right?
Thanks for clarification. Yes, this needs to be fixed in the installer. Moving to the component.
OCP qe side have no OSP with octavia enable for testing, so change qa contact to others
Verified on OCP_98
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-2019:1753