Openstack deployed with kolla-ansible. Skyline-apiserver is in unhealthy state with the following error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
skyline apiserver |
New
|
Undecided
|
Unassigned |
Bug Description
Openstack deployed with kolla-ansible. Skyline-apiserver is in unhealthy state with the following error.
h11._util.
[2023-09-22 17:38:46 +0530].017 1015 WARNING [-] Invalid HTTP request received.
Traceback (most recent call last):
File "/var/lib/
event = self.conn.
File "/var/lib/
exc.
File "/var/lib/
raise self
File "/var/lib/
event = self._extract_
File "/var/lib/
event = self._reader(
File "/var/lib/
raise LocalProtocolEr
Deployment backend is exposed via HTTPs with self-signed certs and clients are exposed via trusted certs from letsencrypt. How can I solve the issue?
this is a bug of release-2023.1 in kolla-ansible, so if you deploy other versions, you wouldn't hit this.
and the tmp solutions for the issue is as following:
1. add the following 2 lines into /etc/kolla/ skyline- apiserver/ gunicorn. py certs/skyline- key.pem" certs/skyline- cert.pem"
(these two files should be in skyline_apiserver container, generated by kolla-ansible.)
```
keyfile = "/etc/skyline/
certfile = "/etc/skyline/
```
then /etc/kolla/ skyline- apiserver/ gunicorn. py is like 150.185: 9998" workers. UvicornWorker" certs/skyline- key.pem" certs/skyline- cert.pem"
# something
bind = "172.16.
workers = 5
worker_class = "uvicorn.
timeout = 300
keepalive = 5
reuse_port = True
proc_name = "skyline"
keyfile = "/etc/skyline/
certfile = "/etc/skyline/
# something
2. restart skyline-apiserver container.