Broken deployment; no apache configuration

Bug #1784169 reported by C.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Invalid
Undecided
Unassigned

Bug Description

I'm trying to deploy a basic Openstack deployment with the help of Juju and MAAS. I've taken the base Openstack bundle and modified it. All applications are bound to the same `"": default` space in MAAS for networking and have the bare minimum of configuration set (for the dashboard charm, only the os-public-hostname that I want it to take). However, it seem the Openstack Dashboard charm is somewhat broken. The charm is deployed in an LXD container of one of my MAAS machines and deploys entirely successfully, showing "Unit is ready" on all parts.

However, the website presented on :80 on the public IP is folder browser going to the html folder, which then only contains the default Apache2 information page.
SSHing into the unit shows as far as I can see many of the required files with no errors in the juju charm log. I see only one warning; "juju-log identity relation is missing and must be related for functionality". I'm not too sure how to interpret that, the only relation in the bundle is the one between keystone and the dashboard: identity service. As far as I can see the identity service is function, at least I get auth version response when curling that unit.

The /etc/openstack-dash board exist, as well as the HA-proxy configuration. Going into the /etc/apache2 folder, I only see 000-default config files, with no mention/config files relation to the Openstack dashboard folder/files.

I've tried the bundle with openstack-dashboard version 259 and 261. I'm not too sure if I've missed a crucial configuration point or if the charm is bugged.

Revision history for this message
C. (sidiox) wrote :

I fixed this by manually following the steps in https://docs.openstack.org/horizon/ocata/topics/install.html . This completed the apache configuration. I see nothing in the logs that indicates that this failed on the machine during the juju setup.

Revision history for this message
Frode Nordahl (fnordahl) wrote :

By default the charm configures the OpenStack Dashboard to be available on the /horizon/ URL.

This can be changed by modifying the `webroot` configuration option on the `openstack-dashboard` charm.

    juju config openstack-dashboard webroot="/some-where"

Changed in charm-openstack-dashboard:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.