7 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
1c4862b9ef Implement TLS backend coverage for Skyline
While most of services already have TLS encryption with backend
implemented, Skyline implementation was missed.
Now, with migration to the common role, it's way easier to add
TLS coverage for backends.

Change-Id: I7c17d36212891108674240ddb8ac4c1fd637532c
2025-01-15 17:22:06 +00:00
Dmitriy Rabotyagov
71f2556682 Use standalone httpd role
In order to unify approach for managing Apache Web server, we migrate
to usage of standalone `httpd` role instead of managing apache
separately inside service roles.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/939307
Change-Id: Iea11943229aa432704868ed008ae2470b08d6588
2025-01-15 08:10:47 +00:00
Andrew Bonney
a47864b787 Ensure that first/last host detection is deterministic
With ansible-core 2.16 a breaking changes landed [1] to some filters
making their result returned in arbitrary order. With that, we were
relying on them to always return exactly same ordered lists.

With that we need to ensure that we still have determenistic behaviour
where this is important.

[1] https://github.com/ansible/ansible/issues/82554

Change-Id: Ic54eede6fa7de1fd7f03c9519a6239aa11489b5d
2024-11-15 10:38:48 +00:00
Dmitriy Rabotyagov
9bcc8da84d Add designate and masakari to service mapping
Support for these services were added with [1]

[1] https://review.opendev.org/c/openstack/skyline-apiserver/+/899237

Change-Id: I08b17319f5bfa051d6b230563d814b03a1337dbd
2024-05-13 15:57:38 +02:00
Dmitriy Rabotyagov
966329644d Re-add Zuul testing to the project
Zuul configuration file has been dropped from the project [1] during
import to opendev as a pre-requisite.

We re-add it now to be able to merge changes to the role.

[1] https://github.com/jrosser/openstack-ansible-os_skyline/pull/2

Change-Id: I0f5a4de5d273014951e48b82703a042e74118ab1
2024-03-16 09:38:03 +00:00
Kevin Carter
b800433ab5 Update skyline
This change updates the skyline role to work with the default nginx setup.

Signed-off-by: Kevin Carter <kevin@cloudnull.com>
2022-09-08 19:53:12 -05:00
Jonathan Rosser
82b1f5a5e6 Initial Commit
Enough code to install skyline-apiserver and make a non functional
dashboard viewable in a browser.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/841154

NOTE:

Only works in an AIO

Only works with LXC deployment

Manually copy files/skyline_env_d.yml and files/skyline_conf.d to
the proper directories in /etc/openstack_deploy to add skyline to
the inventory.

Boostrap / create containers, run whole openstack deployment.

Copy files/os-skyline-install.yml to /opt/openstack-ansible/playbooks

Run openstack-ansible playbooks/os-skyline-install.yml

Manually adjust haproxy config so that the skyline container is the
backend for the dashboard, just hack horizon-back config, reload
haproxy config with systemctl.

The apache config this ansible role installs is not working.

Attach to the skyline container, then:

* Stop the apache service
* Install nginx with apt
* Copy files/nginx.conf to /etc/nginx/nginx.conf
* Restart nginx

Should be possible to visit the dashboard now.

TODO:

Figure out a working apache reverse proxy config
or better....
Figure out how to do the same reverse proxying at haproxy

Work out what all the skyline.conf fields are about (where are the docs?)

Figure out why the nginx config generator binary in the skyline
venv has broken python imports (markupsafe/jinja2) - Do we need a newer
version of pip to install this all properly?

Why are certain parts of the dashboard broken with "not authorised to..."

Make the npm install parts idempotent, check we are using native ansible
modules where possible.
2022-05-11 09:25:15 +01:00