Services not running that should be: apache2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph RADOS Gateway Charm |
New
|
Undecided
|
Unassigned | ||
Charm Helpers |
New
|
Undecided
|
Unassigned | ||
Gnocchi Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Cinder Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Dashboard Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Glance Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Heat Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Neutron API Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Swift Proxy Charm |
New
|
Undecided
|
Unassigned |
Bug Description
We have been seeing this in various charm gates since the beginning of November 2021.
For example on Focal-Victoria in a 21.10 backport on the neutron-api charm in the octavia gate:
https:/
https:/
For example on Bionic-Queens on `master` on the neutron-api charm in a trilio gate:
https:/
https:/
For example on Bionic-Queens on `master` on the nova-cloud-
https:/
https:/
For example on Bionic-Train on `master` on the swift-proxy charm in the gnocchi gate: (juju crashdump attached)
https:/
https:/
Maybe caused by lp:1795918
tags: | added: cdo-qa |
this is not looking right, I'm troubleshooting a ci job failure https:/ /openstack- ci-reports. ubuntu. com/artifacts/ 5d4/819438/ 2/check/ bionic- ussuri- ha-ovn/ 5d44828/
```
2021-11-26 17:04:54.656762 | focal-medium | 2021-11-26 17:04:54 [INFO] Timed out waiting for 'neutron-api/0'. The workload status message is 'Services not running that should be: apache2' which is not one of '['ready', 'Ready', 'Unit is ready']'
```
```
neutron-api/0* blocked idle 4 172.16.0.254 9696/tcp Services not running that should be: apache2
```
Looking at it closer I found this:
In syslog: zaza-4d85c92c4d 57-4 systemd[1]: Starting The Apache HTTP Server... zaza-4d85c92c4d 57-4 apachectl[5947]: AH00526: Syntax error on line 13 of /etc/apache2/ sites-enabled/ openstack_ https_frontend. conf: zaza-4d85c92c4d 57-4 apachectl[5947]: SSLCertificateFile: file '/etc/apache2/ ssl/neutron/ cert_172. 16.0.254' does not exist or is empty zaza-4d85c92c4d 57-4 apachectl[5947]: Action 'start' failed. zaza-4d85c92c4d 57-4 apachectl[5947]: The Apache error log may have more information. zaza-4d85c92c4d 57-4 systemd[1]: apache2.service: Control process exited, code=exited status=1 zaza-4d85c92c4d 57-4 systemd[1]: apache2.service: Failed with result 'exit-code'. zaza-4d85c92c4d 57-4 systemd[1]: Failed to start The Apache HTTP Server.
```
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
Nov 26 16:38:34 juju-98a11d-
```
Then in the apache config `/etc/apache2/ sites-enabled/ openstack_ https_frontend. conf`: ateFile /etc/apache2/ ssl/neutron/ cert_172. 16.0.254 ateChainFile /etc/apache2/ ssl/neutron/ cert_172. 16.0.254 ateKeyFile /etc/apache2/ ssl/neutron/ key_172. 16.0.254
```
SSLCertific
# See LP 1484489 - this is to support <= 2.4.7 and >= 2.4.8
SSLCertific
SSLCertific
```
Then in `/var/log/ juju/unit- neutron- api-0.log` :
``` share/ca- certificates/ vault_juju_ ca_cert. crt root:root 444 relation- changed Clearing symlinks in /etc/ssl/certs... relation- changed done. relation- changed Updating certificates in /etc/ssl/certs... relation- changed 129 added, 0 removed; done. relation- changed Running hooks in /etc/ca- certificates/ update. d... relation- changed done. api/0-certifica tes-relation- changed- 481557209193549 4528 ssl/neutron/ cert_host- 172-16- 0-254.project. serverstack root:root 640 api/0-certifica tes-relation- changed- 481557209193549 4528 ssl/neutron/ key_host- 172-16- 0-254.project. serverstack roo...
2021-11-26 15:56:29 DEBUG juju-log certificates:41: Writing file /usr/local/
2021-11-26 15:56:29 DEBUG certificates-
2021-11-26 15:56:29 DEBUG certificates-
2021-11-26 15:56:29 DEBUG certificates-
2021-11-26 15:56:30 DEBUG certificates-
2021-11-26 15:56:30 DEBUG certificates-
2021-11-26 15:56:30 DEBUG certificates-
2021-11-26 15:56:30 DEBUG jujuc server.go:211 running hook tool "juju-log" for neutron-
2021-11-26 15:56:30 DEBUG juju-log certificates:41: Writing file /etc/apache2/
2021-11-26 15:56:31 DEBUG jujuc server.go:211 running hook tool "juju-log" for neutron-
2021-11-26 15:56:31 DEBUG juju-log certificates:41: Writing file /etc/apache2/