Just realized, that 'static: no' ignores the include of the
translation update playbook. Without that and the explicit
tag brings the function back in service.
Change-Id: If45599b25c2be682662150b7d3a4b05e852e436d
Distributions provide packages for the OpenStack services so we add
support for using these instead of the pip ones.
Implements: blueprint openstack-distribution-packages
Change-Id: Ie6eeff541a319967715e619dcdc26177aec5be72
Set to False if you don't want router support in Horizon or if you don't
have Neutron L3 agent deployed.
Change-Id: I72eaa7829372b91c286efa06263e3f78b86ef35c
A local_settings.py may already exist as a regular file so in that case
we need to use the 'force' parameter to force the symlink creation.
Change-Id: I05eb9026707639aa12ea1c3ae93b872191528069
The operation needs to be performed as the horizon user since our user
may or may not have access to the horizon directory.
Change-Id: I2fb11b6874256ef3ee26e1e255cb25c3087fbc07
During the DB migration step, the horizon user needs full access to the
directory so we need to ensure that all the permissions are set
correctly before we reach that point.
Change-Id: I52933cf52b33bf81a2cee2f18665a1760760b08f
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.
This should fix it.
Change-Id: Id1763360f4d9c270c1d0b98d6ee4bb05920e6e74
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.
The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.
With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.
Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Depends-On: https://review.openstack.org/580156
Change-Id: Ic3c0bb31c12a83fe8fe475091e97e5d5537fab6f
This variable was introduced in Newton and allows you to specify a
list of default DNS servers populated when creating a tenant subnet.
Change-Id: I7c6767bb883296c55b7a7302d7af8a8721fd2844
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.
This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!
The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.
Depends-On: https://review.openstack.org/579208
Change-Id: Ic21746968da2f0a091ed2d343561a4e98b8499c0
horizon_server_name setting in apache config file must be a FQDN
otherwise when debug mode is enabled, HTTP requests without a
host: header (such as haproxy health checks) fail with a message
about invaid domain name.
Change-Id: I8672593019e4cc5cf6144c40359ecb9d64bc9224
Closes-Bug: #1778085
The horizon deploys are failing due to missing packages required to
install the mysql-python pip package. This PR adds those in.
Depends-On: I3df2c670beeb78baaa1515bcd27e8f2b0d95b3a9
Change-Id: I20abe34118014f9bca03daadf5d1f14b7f9fd0ff
Now that the v2.0 API has been removed, we don't have a reason to
include deployment instructions for two separate applications on
different ports.
Depends-On: I3df2c670beeb78baaa1515bcd27e8f2b0d95b3a9
Change-Id: I495f7649ee0200ac5e62dd4d62840a74fe1a8ef8
In order to have more centralized configuration, switch the role
to use the project-template instead.
Change-Id: Id2d97bfbeb39c3ee58a8ea726cb30fdf9cc5026e
This PR adds the openstack_auth directory to the list of directories
that are being updated when we run a translations update.
Change-Id: I332af52b0aea589d966d0d12b9eea6431828d02e
Depends-On: https://review.openstack.org/576891
Closes-Bug: #1776944
There is no record for why we implement the database creation outside
of the role in the playbook, when we could do it inside the role.
Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.
In this patch we implement a new variable called 'horizon_db_setup_host'
which is used in the role to allow delegation of the database setup
task to any host, but defaults to the first member of the galera_all
host group. We also document the variable horizon_galera_address which
has been used for a long time, but never documented.
Change-Id: I7946c325d87c74e2bd9b1dcc1f92ea09a5386729
upstream neutron-fwaas-dashboard has added/renamed files, update
osa horizon role to account for this
Change-Id: Iee185167fefdcb4c85006df07992ccbd1c501420
This is required after duplicate argument settings, fixed in
https://review.openstack.org/#/c/559071/
The branch must be overridable per item, and should default
to the master branch, and be the same for all the items
by default.
Change-Id: I656c8793714b5dc764d7aa0cef28e5eca65d927a
Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
We reinitialize the venv to ensure that the right version of
python is in the venv, but we do not want virtualenv to also
replace pip, setuptools and wheel so we tell it not to. If we
don't do this then virtualenv will install the latest available
version, which is not what we want.
Change-Id: Ic69473a9723df59d0a3a93fb3a8209d59fe1c6b6
Partial-Bug: #1764470
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.
Change-Id: I14d165dd9cb14eddd79e3a09715bcc8b8a41fa2e
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.
Change-Id: I36d113ed00c9b270915707499c64c22eb25beb03
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.
Change-Id: Ia18ed3c3440b4de04e3e034303e1fc84ceede442
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>