Unable to create octavia loadbalancer due to expired SSL certificate
Environment
- Red Hat Openstack Platform 13
Issue
When creating an octavia loadbalancer, the operation is failing with:
2020-04-30 22:30:54.920 25 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)
Resolution
Run the overcloud deployment to either regenerate the certs or to push through new ones if custom certs were used.
Alternatively, this upstream document walks through manually creating new certs, but this procedure has not been fully verified by us. The recommended solution is to allow Director to update the certs.
Root Cause
SSL certs have expired. When OctaviaGenerateCerts: true
the generated certs will expire after 1 year.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments