389 Commits

Author SHA1 Message Date
Jimmy McCrory
605bfb83fe Fix path of pre-up-down oneshot service file
The pre-up-down oneshot service template was mistakenly being written to
the same path as the post-up-down oneshot service file.

Change-Id: Iba966b14c97cc3bfc0d6effe7a3df7b588639cfb
2019-07-24 20:36:20 -05:00
Zuul
613280003f Merge "Do not add container /etc/hosts entry for 127.0.1.1" 2019-07-23 08:01:24 +00:00
OpenStack Proposal Bot
1d49153eca Updated from OpenStack Ansible Tests
Change-Id: I27878c1f8ea5a17f2fcc194929ae4030ba047271
2019-07-20 09:27:02 +00:00
OpenStack Proposal Bot
9f9e800927 Updated from OpenStack Ansible Tests
Change-Id: Id772ad334390ec5ba4605b4cc8ad9d2fd3f11825
2019-07-18 22:16:45 +00:00
Jonathan Rosser
fe13e7729d Do not add container /etc/hosts entry for 127.0.1.1
This patch removes a task which adds an entry to /etc/hosts for
the container hostname / 127.0.1.1.

Some services, such as rabbitmq, require that the ip address they
are configured to listen on resolves to a hostname with the same
ip. Before this patch there were two /etc/hosts entries for the
hostname of each container, 127.0.1.1 and the container mgmt
network address.

This patch ensures that the /etc/hosts file is unambiguous and
always resolves the container hostname to the mgmt network ip
address.

Change-Id: I900bda8031d7b0798f73adf8985e64d4535be769
2019-07-13 21:32:55 +01:00
Zuul
04cbc6a020 Merge "Cap sphinx for py2 to match global requirements" 2019-07-10 18:50:52 +00:00
OpenStack Proposal Bot
fbcaeccc4c Updated from OpenStack Ansible Tests
Change-Id: Icb32de8a1245c690dd5c954b2776248f451fc8bc
2019-06-27 10:20:03 +00:00
zhangboye
5a4aa122b7 Cap sphinx for py2 to match global requirements
Change-Id: I9547d25a5be95a9cc2e57431b8a497cbfab5dc98
2019-06-06 17:41:03 +08:00
Jonathan Rosser
a66fe0bca2 Remove Xenial support and CI jobs
OSA does not support Xenial beyond Rocky.

Change-Id: I5b0f1e251052d01c05f8be6c90b6483e57c364e4
2019-05-16 09:42:37 +00:00
Jonathan Rosser
6b33973241 Do not use 'null' when trying to locate vars files
This generates warnings in the ansible log

Change-Id: I317d6db32783ef5d63ac6a2554dcb983871a96a5
2019-05-12 18:25:25 +00:00
Zuul
8a4e202407 Merge "Drop Suse 42.3 support" 2019-05-12 18:23:12 +00:00
Zuul
1dcc547bfc Merge "Update LXC container config options" 2019-05-12 16:24:55 +00:00
Dmitriy Rabotjagov
39b986844f Drop Suse 42.3 support
Drop checks for suse 42.3 since it's support was dropped since stein.

Change-Id: Ifdeff3307a268cf97d4762809afa26589123391e
2019-05-12 13:30:19 +03:00
Nicolas Bock
98d2203386 Update LXC container config options
OpenSUSE Leap 15.0 now ships with lxc 3.1 which changed two config
options:

1. lxc.kmsg was removed
2. lxc.pts was renamed to lxc.pty.max

This change updates these two options in the container config.

Change-Id: I7b4c657e9216b5e3926672b76cb370256b98ce3c
Depends-On: I8a94f340b8866f3369cebb5950dea873f5d2fece
Signed-off-by: Nicolas Bock <nicolas.bock@suse.com>
2019-05-10 16:11:50 +00:00
OpenStack Proposal Bot
2d2a93e919 Updated from OpenStack Ansible Tests
Change-Id: I16c07c1dc89052bb8c177e0bd3da5751710494e5
2019-05-09 11:33:41 +00:00
Zuul
76468f5107 Merge "Trivial: Fix the pep8 warning" 2019-04-24 19:38:57 +00:00
Zuul
a605f85111 Merge "missing document start "---"" 2019-04-24 19:09:46 +00:00
OpenStack Proposal Bot
fa216b2f52 Updated from OpenStack Ansible Tests
Change-Id: I8c65ea0e79a3868c63c9cab3fa2b9a882eb92f16
2019-04-22 07:12:33 +00:00
OpenDev Sysadmins
6f651d5e5b OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:08 +00:00
Zuul
cc7ba8a2d6 Merge "Updated from OpenStack Ansible Tests" 2019-04-12 20:06:37 +00:00
Zuul
ec5177c1d1 Merge "Update master for stable/stein" 2019-04-08 21:58:55 +00:00
Zuul
dae9756ede Merge "debian: add ci and update meta" 2019-04-08 21:51:01 +00:00
fa5d13251d Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I3e9d08a943fea462bfb9fe861e5a5c8e7e0a2886
Sem-Ver: feature
2019-04-08 09:15:10 +00:00
Zuul
aebba141e1 Merge "fix tox python3 overrides" 2019-04-07 19:00:29 +00:00
Mohammed Naser
fdc5f44798 debian: add ci and update meta
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.

Depends-On: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
Change-Id: I0708ae9b1c28a309873719228ded1b71a0fc5843
2019-04-07 13:30:08 -04:00
huang.zhiping
dd32258858 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I0948580a0a76a70d8276ead61de95c1965a1d324
Closes-Bug:  #1801657
2019-04-07 05:05:14 +00:00
OpenStack Proposal Bot
d53daabea1 Updated from OpenStack Ansible Tests
Change-Id: I27366e49a079adef6d6991e63f3c71266bc3bd7e
2019-04-07 05:05:07 +00:00
Mohammed Naser
d6adeb8039 debian: add support
This patch adds support for this role to be able to deploy on
Debian Stretch.

Change-Id: I4ee130917373c643ae80bab7a778cc6f35868dc8
Needed-By: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
2019-04-07 01:04:20 -04:00
Mohammed Naser
ccf2ea7208 suse: move jobs to non-voting
The jobs seem to be broken right now and we can't land any code
in this repo for quite sometime because of it.  This patch moves
it to non-voting until it's fixed.

Change-Id: I14bb4a2b837c3668b4748a8954028d66faf686e2
2019-04-07 01:04:20 -04:00
Mohammed Naser
61ff4ffcbf docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I1735c255b3717dc8e82ce97c23c8ac188ff28128
2019-04-04 05:15:04 +00:00
Zuul
1b69e6a4c7 Merge "Add bugs url link to README" 2019-03-29 00:19:55 +00:00
OpenStack Proposal Bot
dac2b714c1 Updated from OpenStack Ansible Tests
Change-Id: I38b5d4eb0751eafa6a53534a017fa231d029721b
2019-02-27 06:02:00 +00:00
Matthew Thode
c84d4924ef
Add gentoo support
Required to support Gentoo is the ability to bind mount a new shared
directory.  In order to support this, _lxc_container_bind_mounts has
been created for use in per-distro variables.  For Gentoo the new bind
mounts allows the sharing of package data, shrinking both the container
size and the time needed to install packages.

Also needed was the creation of the `sysctl_path` variable as Gentoo
installs sysctl to an alternate location.

Change-Id: I8c20631aff9ee30289ef2f7f862ba0d4e1bb4569
2019-02-26 09:00:13 -06:00
Zuul
f067343085 Merge "Update container interface template to disable DHCP routes when gateway set" 2019-01-16 02:01:00 +00:00
James Denton
5a59d2bdd4 Update container interface template to disable DHCP routes when gateway set
This patch updates the container interface template to disable DHCP routes,
including the default route thru eth0/lxcbr0, when a gateway address override
is set.

Change-Id: I3ec0b8ddc68fc30aff40e80face9e3a6b1ffd4bc
Partial-Bug: #1810319
Depends-On: https://review.openstack.org/629309
2019-01-08 20:48:53 +00:00
Jesse Pretorius
a14dcc8489 Resolve btrfs backing store variable inconsistency
In Ica79472568799098ebf83c6cefc585f117975f37 some incorrect
variable names were used. This patch changes the variable
names to suit their purpose and ensures that they are used
consistently throughout the role.

Change-Id: If9e912641b5b6cb7791221b40dd4d56e215c2b98
2019-01-07 17:17:26 +00:00
Zuul
eade50c24b Merge "fix the spelling mistake world" 2018-12-27 20:25:11 +00:00
Zuul
3d7039182e Merge "Correct spelling mistakes" 2018-12-22 18:24:21 +00:00
Zuul
927fcae2ac Merge "Fix ansible deprecation warnings" 2018-12-18 10:56:59 +00:00
Zuul
85c5ef9f9e Merge "Update mailinglist from dev to discuss" 2018-12-18 10:37:50 +00:00
ZhongShengping
b62bb13a79 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I829dad86b385d2b7eb53f7f94ca3f1c4480b634d
2018-12-05 09:12:04 +08:00
ShangXiao
ad37b6a7f4 Add bugs url link to README
Change-Id: I0738bc364a6844bc81dfac9d2a63e340639deb57
2018-12-05 00:26:53 +00:00
Jonathan Rosser
5351d7dc87 Fix ansible deprecation warnings
===
[DEPRECATION WARNING]: Using tests as filters is deprecated.
Instead of using `result|search` use `result is search`. This
feature will be removed in version 2.9.
===

Change-Id: Id2f8065cd81cd05c36fcbc33bb9c48b6574d30d1
2018-12-03 17:12:52 +00:00
Mohammed Naser
952353bc72 cleanup: remove rocky-only upgrade code
This code was put in to handle upgrade and transitions from Queens
to Rocky and it is no longer necessary in Stein.

Change-Id: Iffc453ccb8af5d66e556da8427eb4fec1c2133ca
2018-11-27 10:33:27 -05:00
Mohammed Naser
b15b97fa0a redhat: stop updating system unnecessarily
In RHEL-based operating systems, the update will actually attempt
to update every single package in the system which can result in
bad things (i.e. updating services when they're not supposed to).

The intention was to do the same as the apt-get update which simply
updates the repos. however this is not necessary in CentOS.

Change-Id: I5a1f86899406e125b3a790e2e85ce36d73fbc55e
2018-11-26 15:49:31 -05:00
MaoyangLiu
1e148382c4 fix the spelling mistake world
Change-Id: I992f40e4a100e5965c80099f057878a830b240d5
2018-11-24 10:24:05 +08:00
chengebj5238
e1d266fb8f Correct spelling mistakes
Change-Id: I3b3066d2ffbba806503042a6a7a0290b899458df
2018-11-22 20:00:06 +08:00
Jonathan Rosser
9cc46c8cfa Add ansible architecture mapping for arm64
Change-Id: I90f7b19d745018c7d83a56954ed67fa09de0e491
2018-11-16 13:27:46 +00:00
melissaml
0b3de68f93 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Idf6c552d7575eebdeb2dc8bfc47faa52989d16c0
2018-11-08 20:04:19 +08:00
Jimmy McCrory
296f428b9c Stop creating duplicate lines in lxc config files
The 'Ensure containers have access RO cgroups' will currently add the
same line to an lxc container's config file on every run of the role.

Add a regular expression to the task to check if the line to be inserted
already exists in the file, and if so, don't insert it again.

Change-Id: I5ac57bd59ea943c019dd0a5530c8246284b33269
2018-11-03 23:43:16 -07:00