When trying to execute an upgrade the removal fails
if packages in the list are included that cannot be
found in one of the repositories configured.
This patch endeavours to only remove packages that
will be found.
Change-Id: I67cc225b25fca005cdba3bf67793b4f23d6ae82a
The file vars/main.yml is automatically loaded
so by using this file name we're able to get
rid of the task that loads vars/common.yml which
is a small optimisation.
Change-Id: I4e32c8e10414080a5c0bd14df874a28b8f28e9fa
Installing all packages in one step speeds up the playbook run and is
being used in other roles already.
Change-Id: Iadd07d7979772a49e5f55f612fd95a099924638d
This patch bumps the version of the percona xtrabackup tool for
ppc64le to match the amd64 version. A playbook for building this
in an automated way is also available on Github[1].
[1] - https://github.com/powervm/ppc64le-osa-build
Change-Id: I6b488c0b2f51b47b316ef06f0bcdc3455f05ec51
Closes-Bug: #1653962
This patch bumps the version of the percona xtrabackup tool, and
ensures that CentOS/ubuntu are running the same version.
Change-Id: I3e82c7be72df67604dbf43a5123a08bdbc1ed8a9
Apt cannot have 2 mirrors with the same content in 2 different files.
If a deployer has an apt mirror with mariadb (and others), the deployer
still need to add a repository, but will also need to define the
filename used, in order to avoid clashes.
This commit makes possible to decide the filename for the repo.
Change-Id: I047bdaf58a4057a96103f6d56c2f811886b1b625
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
This patch ensure the local host's ansible facts are used for the
"ansible_architecture" fact, rather than the "physical_host". Since we
don't explicitly collect facts for "physical_host", and the
ansible_architecture fact is set for the local host container, we
don't need to try to retrieve the "physical_host" facts.
A new var "galera_package_arch" is created so that the architecture can
be overriden if it isn't being calculated correctly. Additionally, the
duplicate vars that are not specific to distributions have been moved
into defaults, and out of the specific distribution vars files.
Change-Id: I5124c061faf124388a88eefee93d96e9a9e90d8f
Closes-Bug: 1650384
NB There was an issue with https://review.openstack.org/#/c/395932/
which meant that "pid1_name != systemd" got changed to
"ansible_service_mgr == systemd" - since we are removing trusty this
task has been removed, but a fix for Newton will be made.
Change-Id: I2f502737e2cc52678cf479de2ef94b818e253622
Implements: blueprint trusty-removal
Update repos and packages to install the server for MariaDB 10.1, the
current stable release.
Several improvements have been made to improve the upgrade process and
an upgrade from 10.0 has been included in the test playbooks.
Make use of the yum_repository module for installing on yum based
systems and give the apt repository files consistent names, 'MariaDB'
and 'Percona' for easier maintenance and handling of upgrades going
forward.
Depends-On: I8939703f26e5d8adc393b984266f4cad7a6e0b4c
Change-Id: Ib6409f1fcf4a664b65dbe01372a19509d02d70a4
Since the galera_server role no longer depends on the galera_client role
for package installations the libmariadbclient-dev package needs to be
included here in order to successfully build and install MySQL-Python.
Change-Id: I0794af85c9018089915c26b50109c9f072205bca
Percona has started signing their Ubuntu packages with a new key.
Update the galera_gpg_keys var to add it to the keyring.
https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/
To resolve a reno dependency required to pass gate testing, also include
the libjpeg-dev package in bindep requirements.
Also, due to an expired certificate being used for
https://yum.mariadb.org the GPG key is set to be
fetched via http.
Related-Bug: #388205
Change-Id: I1dc3a78b8e0b759cc98f3de2bd33774db3b477da
physical_host is a host variable created by openstack-ansible's dynamic
inventory. When using this role outside of an integrated OSA deployment
it wouldn't be expected to be set. Fallback on using inventory_hostname
when physical_host is undefined.
Closes-Bug: 1631158
Change-Id: I3364aac2e707d10ac9b4020dfcc0de7d4d158ff9
Add architecture-specific location support for percona-xtrabackup
and qpress packages to fix limitation of hardcoded amd64 packages.
Change-Id: Ifa9d53a91f6ae7d497045fa4e7558c1b7c4d53a8
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.
This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.
Change-Id: Iba040bf8da6ec0552fcf7d10022094dc57d312bc
This changes the default repos scheme to use the upstream
default which is "http" instead of "https". This change is
in support of enabling packages to be cached instead of
proxied which will improve the speed of deployment.
Change-Id: I15111e60cb3e7e57ce4adabf870ff9d8c7d64f29
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Updates the multi-distro framework to add CentOS7 support.
Depends-On: Ieadcdd70e9b8271aee3880896255a5037f56567e
Change-Id: I7e889ea4653a6972ea7f8208416fc1fc3db45e5c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit implements support for Ubuntu 16.04 Xenial. Changes
include renaming several variables from galera_* to percona_* for
clarity. The reason for this change is that 16.04 will be using
distribution provided packages for percona-xtrabackup.
Mariadb 10.0 packages are available for Ubuntu 16.04, so those
packages and installations procedures will remain unchanged.
Depends-On: Iab5485529cf14933fd7f37430d234a5c41185c18
Change-Id: I4baeb2eddf137619ffedba2f9efd61b7bd142f92
* The default apt packages have been moved into a var file
that is only loaded when the detected OS is matched.
* The Install task file has had the apt specific tasks moved
into a named install task file.
Change-Id: I145f6ea0249d577a99c771704125736f3fccef4f
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>