$ ll /etc/apache2/ssl/horizon/
total 16
dr-xr-xr-x 2 root root 4096 Jun 22 03:45 ./
drwxr-xr-x 3 root root 4096 Jun 22 03:29 ../
-rw-r----- 1 root root 1492 Jun 22 03:45 cert_juju-31eb60-1-lxd-5.maas
-rw-r----- 1 root root 1678 Jun 22 03:45 key_juju-31eb60-1-lxd-5.maas
$ journalctl -u apache2 -n 30 --no-pager
-- Logs begin at Wed 2022-06-22 03:08:02 UTC, end at Wed 2022-06-22 04:24:33 UTC. --
Jun 22 03:37:32 juju-31eb60-1-lxd-5 systemd[1]: Stopped The Apache HTTP Server.
Jun 22 03:37:38 juju-31eb60-1-lxd-5 systemd[1]: Starting The Apache HTTP Server...
Jun 22 03:37:39 juju-31eb60-1-lxd-5 apachectl[30701]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.151.123. Set the 'ServerName' directive globally to suppress this message
Jun 22 03:37:39 juju-31eb60-1-lxd-5 systemd[1]: Started The Apache HTTP Server.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: Reloading The Apache HTTP Server.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/default-ssl.conf:3
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/default-ssl.conf:
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: SSLCertificateFile: file '/etc/apache2/ssl/horizon/cert_192.168.151.123' does not exist or is empty
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34510]: Action 'graceful' failed.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34510]: The Apache error log may have more information.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: Reload failed for The Apache HTTP Server.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: Stopping The Apache HTTP Server...
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/default-ssl.conf:3
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/default-ssl.conf:
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: SSLCertificateFile: file '/etc/apache2/ssl/horizon/cert_192.168.151.123' does not exist or is empty
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36529]: Action 'stop' failed.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36529]: The Apache error log may have more information.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: Stopped The Apache HTTP Server.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: Starting The Apache HTTP Server...
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/default-ssl.conf:3
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/default-ssl.conf:
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: SSLCertificateFile: file '/etc/apache2/ssl/horizon/cert_192.168.151.123' does not exist or is empty
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36542]: Action 'start' failed.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36542]: The Apache error log may have more information.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: Failed to start The Apache HTTP Server.
$ juju status openstack-dashboard
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-controller maas/default 2.9.31 unsupported 04:32:33Z
App Version Status Scale Charm Channel Rev Exposed Message
dashboard-mysql-router 8.0.29 active 1 mysql-router 8.0/stable 30 no Unit is ready
octavia-dashboard 9.0.0 active 1 octavia-dashboard edge 45 no Unit is ready
openstack-dashboard 22.1.0 blocked 1 openstack-dashboard yoga/stable 541 no Services not running that should be: apache2
Unit Workload Agent Machine Public address Ports Message
openstack-dashboard/0* blocked idle 1/lxd/5 192.168.151.123 80/tcp,443/tcp Services not running that should be: apache2
dashboard-mysql-router/0* active idle 192.168.151.123 Unit is ready
octavia-dashboard/0* active idle 192.168.151.123 Unit is ready
Machine State DNS Inst id Series AZ Message
1 started 192.168.151.104 worthy-tahr focal default Deployed
1/lxd/5 started 192.168.151.123 juju-31eb60-1-lxd-5 focal default Container started
$ grep get_network_addresses /var/log/juju/unit-openstack-dashboard-0.log
2022-06-22 03:46:00 INFO unit.openstack-dashboard/0.juju-log server.go:319 certificates:72: get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:46:01 INFO unit.openstack-dashboard/0.juju-log server.go:319 certificates:72: get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:46:09 INFO unit.openstack-dashboard/0.juju-log server.go:319 get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:46:10 INFO unit.openstack-dashboard/0.juju-log server.go:319 get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:50:28 INFO unit.openstack-dashboard/0.juju-log server.go:319 identity-service:28: get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:50:30 INFO unit.openstack-dashboard/0.juju-log server.go:319 identity-service:28: get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:50:59 INFO unit.openstack-dashboard/0.juju-log server.go:319 get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:51:00 INFO unit.openstack-dashboard/0.juju-log server.go:319 get_network_addresses: [('192.168.151.123', '192.168.151.123')]
2022-06-22 03:56:43 INFO unit.openstack-dashboard/0.juju-log server.go:319 get_network_addresses: [('192.168.151.123', '192.168.151.123')]
> we need to grep for "get_network_ addresses" in /var/log/ juju/unit- *.log
> to confirm or discard my hypothesis in comment #3 .
Hope this helps:
"get_network_ addresses: [('192. 168.151. 123', '192.168. 151.123' )]"
$ ll /etc/apache2/ ssl/horizon/ 31eb60- 1-lxd-5. maas 31eb60- 1-lxd-5. maas
total 16
dr-xr-xr-x 2 root root 4096 Jun 22 03:45 ./
drwxr-xr-x 3 root root 4096 Jun 22 03:29 ../
-rw-r----- 1 root root 1492 Jun 22 03:45 cert_juju-
-rw-r----- 1 root root 1678 Jun 22 03:45 key_juju-
$ journalctl -u apache2 -n 30 --no-pager sites-enabled/ default- ssl.conf: 3 sites-enabled/ default- ssl.conf: ssl/horizon/ cert_192. 168.151. 123' does not exist or is empty sites-enabled/ default- ssl.conf: 3 sites-enabled/ default- ssl.conf: ssl/horizon/ cert_192. 168.151. 123' does not exist or is empty sites-enabled/ default- ssl.conf: 3 sites-enabled/ default- ssl.conf: ssl/horizon/ cert_192. 168.151. 123' does not exist or is empty
-- Logs begin at Wed 2022-06-22 03:08:02 UTC, end at Wed 2022-06-22 04:24:33 UTC. --
Jun 22 03:37:32 juju-31eb60-1-lxd-5 systemd[1]: Stopped The Apache HTTP Server.
Jun 22 03:37:38 juju-31eb60-1-lxd-5 systemd[1]: Starting The Apache HTTP Server...
Jun 22 03:37:39 juju-31eb60-1-lxd-5 apachectl[30701]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.151.123. Set the 'ServerName' directive globally to suppress this message
Jun 22 03:37:39 juju-31eb60-1-lxd-5 systemd[1]: Started The Apache HTTP Server.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: Reloading The Apache HTTP Server.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: AH00526: Syntax error on line 43 of /etc/apache2/
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34513]: SSLCertificateFile: file '/etc/apache2/
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34510]: Action 'graceful' failed.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 apachectl[34510]: The Apache error log may have more information.
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:46:02 juju-31eb60-1-lxd-5 systemd[1]: Reload failed for The Apache HTTP Server.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: Stopping The Apache HTTP Server...
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: AH00526: Syntax error on line 43 of /etc/apache2/
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36531]: SSLCertificateFile: file '/etc/apache2/
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36529]: Action 'stop' failed.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 apachectl[36529]: The Apache error log may have more information.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 22 03:50:30 juju-31eb60-1-lxd-5 systemd[1]: Stopped The Apache HTTP Server.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: Starting The Apache HTTP Server...
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: AH00526: Syntax error on line 43 of /etc/apache2/
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36545]: SSLCertificateFile: file '/etc/apache2/
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36542]: Action 'start' failed.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 apachectl[36542]: The Apache error log may have more information.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 22 03:50:37 juju-31eb60-1-lxd-5 systemd[1]: Failed to start The Apache HTTP Server.
$ juju status openstack-dashboard
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-controller maas/default 2.9.31 unsupported 04:32:33Z
App Version Status Scale Charm Channel Rev Exposed Message mysql-router 8.0.29 active 1 mysql-router 8.0/stable 30 no Unit is ready
dashboard-
octavia-dashboard 9.0.0 active 1 octavia-dashboard edge 45 no Unit is ready
openstack-dashboard 22.1.0 blocked 1 openstack-dashboard yoga/stable 541 no Services not running that should be: apache2
Unit Workload Agent Machine Public address Ports Message dashboard/ 0* blocked idle 1/lxd/5 192.168.151.123 80/tcp,443/tcp Services not running that should be: apache2 mysql-router/ 0* active idle 192.168.151.123 Unit is ready dashboard/ 0* active idle 192.168.151.123 Unit is ready
openstack-
dashboard-
octavia-
Machine State DNS Inst id Series AZ Message
1 started 192.168.151.104 worthy-tahr focal default Deployed
1/lxd/5 started 192.168.151.123 juju-31eb60-1-lxd-5 focal default Container started
$ grep get_network_ addresses /var/log/ juju/unit- openstack- dashboard- 0.log dashboard/ 0.juju- log server.go:319 certificates:72: get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 certificates:72: get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 identity- service: 28: get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 identity- service: 28: get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')] dashboard/ 0.juju- log server.go:319 get_network_ addresses: [('192. 168.151. 123', '192.168.151.123')]
2022-06-22 03:46:00 INFO unit.openstack-
2022-06-22 03:46:01 INFO unit.openstack-
2022-06-22 03:46:09 INFO unit.openstack-
2022-06-22 03:46:10 INFO unit.openstack-
2022-06-22 03:50:28 INFO unit.openstack-
2022-06-22 03:50:30 INFO unit.openstack-
2022-06-22 03:50:59 INFO unit.openstack-
2022-06-22 03:51:00 INFO unit.openstack-
2022-06-22 03:56:43 INFO unit.openstack-