Commit Graph

304 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 8f753fa73a Updated from OpenStack Ansible Tests
Change-Id: I9255d42a821f45d3761a614a9e66dd2f918408da
2019-06-10 15:43:58 +00:00
OpenDev Sysadmins 09480649a9 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:30:13 +00:00
Ian Wienand ca581f9987 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I2d7566a35b532afdf538d7c0a5fa4095d0bc899b
2019-03-24 20:34:54 +00:00
huang.zhiping 5ce8e23c7e import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I955d004865fd24c999ab68a15c12e934532c2565
Story: #2002586
Task: #24319
2018-08-21 13:34:06 +00:00
Zuul 2b0e5e0c64 Merge "Prevent duplicated lines" into stable/pike 2018-06-01 08:57:57 +00:00
Olivier Bourdon cd798f6fc6 Prevent duplicated lines
In case where /etc/network/interfaces already contains a similar
line, it is superseeded.

Change-Id: I38f244d093e002f8bc90412c1eacd254ffe31514
(cherry picked from commit 42d14389b0)
2018-05-29 13:00:59 +02:00
Jean-Philippe Evrard b124b8ba0a Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I3c3b03c18c547824ae1f4ac3272f5b2f8142dec0
(cherry picked from commit 9d4cf24ca7)
2018-04-17 10:23:42 +00:00
James E. Blair f4948effe9 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Icc8300de4846d407a4090fa24e8ed2bb5f5acfcb
2018-02-07 13:39:02 -08:00
Jesse Pretorius db36c428f4 Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: I9b52f68cee57732fb3f664d0bf67b2508ceae061
2017-10-31 10:43:03 +00:00
Kevin Carter ed29f65391
delete the leap tools
these tools are not stable and still being developed in master

Change-Id: I47771027550ede7ce68f0bdd54701a844284eca9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-28 16:11:30 -05:00
OpenStack Proposal Bot f16663c7a1 Updated from global requirements
Change-Id: I77597020beb07ee033f94d5c2c2e3c5f1c195ac2
2017-08-26 11:53:31 +00:00
OpenStack Proposal Bot c5992161e1 Updated from OpenStack Ansible Tests
Change-Id: I2e13bd8fd1537d9bc0649b0c4e96cd793cfc5466
2017-08-24 17:10:47 +00:00
OpenStack Proposal Bot 1420bb4e6b Updated from OpenStack Ansible Tests
Change-Id: Iff2d35b1c4784eea87f45f8220b6df1b9b2b699c
2017-08-23 20:38:08 +00:00
Jesse Pretorius a3e2f96059 Update vars and test tooling for Pike
Change-Id: I75a224f8bdfa496ec59cbc020a0f1ddfbe612795
2017-08-23 12:18:57 +01:00
Jenkins abb648fa34 Merge "Pass deployment_environment_variables to OSA" 2017-08-22 17:55:37 +00:00
Jenkins 7e2a830976 Merge "Fix Newton cinder-manage check used in db-upgrades" 2017-08-22 17:53:29 +00:00
Matthew Thode 575c9b7b12
Fix Newton cinder-manage check used in db-upgrades
cinder-manage service list does not output a usable, full, hostname;
just the short hostname is output.  To fix this we need to query the
database directly.

We also change the behavior of this operation to drop all services.  We
do this at the recommendation of upstream cinder.  This is safe because
all cinder services are stopped and the services will re-register when
restarted.

Related-Bug: #1712372
Change-Id: I6d845165ec22d4c2aeece0636a550e0b57050c22
2017-08-22 10:16:49 -05:00
Stuart Grace 27531d4a97 Pass deployment_environment_variables to OSA
When using environment variables to setup a proxy, it checks whether
global_environment_variables (for permanent proxy) or
deployment_environment_variables (for playbooks only) is in use and
sets up matching user_variables for OSA. Previously, it only setup
global environment variables.

Added | bool filters as suggested in review.

Change-Id: I6554cd28f817ab0d128a1a469a6007b043851c07
2017-08-22 14:48:04 +00:00
Matthew Thode 1fd0f80b1b
Fix venv building for new tags
more headers were needed, also, revert the kilo release change.
eol-kilo has swift in upper-constraints, which causes problems for venv
building, it was removed from future releases for this exactly this
reason.

Change-Id: I1f8c8ea4681ab63dd67851235f405d1cbd478eae
2017-08-21 20:06:46 -05:00
Jenkins 3eafd56664 Merge "Add missing dependencies for pyldap" 2017-08-21 21:11:06 +00:00
Jenkins 3f1102a007 Merge "Allow mariadb to be used in place of mysql" 2017-08-21 21:11:00 +00:00
Matthew Thode 8ef0c3c993
Add missing dependencies for pyldap
The venv fails to build without the sasl and ldap headers

Change-Id: I9243417ac1c53f24acbad65ff08dd42941341c74
2017-08-21 13:11:04 -05:00
Matthew Thode 40dcac33ec
Allow mariadb to be used in place of mysql
Some installs have libmariadbclient-dev already installed, so use that
if it's available.

Change-Id: I630f2f32c3b7b71eb6f348ae6b6838ae8cd6730d
2017-08-21 11:46:12 -05:00
Matthew Thode aa04643ded
update tags the leap-upgrade use
The comment on the bug in setuptools was fixed a while ago upstream and
evrardjp also mentioned that comment could be removed.  Branches other
than newton have an EOL release, so change to use those.

Change-Id: I80cf1fc929e86c3498760ad4b342964c7f82ea5f
2017-08-18 09:36:26 -05:00
OpenStack Proposal Bot 6437ea37db Updated from global requirements
Change-Id: I01197f888e3f892b3e730d3061c287adcf2cf25c
2017-08-18 11:37:27 +00:00
Jenkins ac4d431fdc Merge "General improvements" 2017-08-18 04:29:41 +00:00
Jenkins b56ce2b075 Merge "Add playbook to archive all running containers" 2017-08-17 20:21:11 +00:00
Kevin Carter 007be7a400
Add playbook to archive all running containers
In some cases a deployer may want to make a running backup of all
containers within an environment. This playbook will index all
containers and arhive them in the /opt/archives directory on the
physical host the container is running on.

Change-Id: I94880d4c00f89d5c678a1903f35120917561aa51
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-17 11:58:59 -05:00
Weezer Su 99bc655fb9 Add Tmux configuration on infra1
add tmux configuration on infra1 to raise up the history-limit to
20000, which helps troubleshooting the deployment.

Change-Id: I075364868c0b74a297ad6b8ca7dbfec71ca91c27
2017-08-17 11:46:51 -05:00
Kevin Carter 67161e5d81
General improvements
Adding even more dynamic user config options and a compute preseed.

Change-Id: Ieccbd61a45a77b7dff9e228fc6fdaf92df852abb
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-17 09:16:20 -05:00
Jean-Philippe Evrard fea4cfd7ec Prevent Ceph containers delete in leapfrog
During leapfrog all containers are deleted, and ceph containers
are no exception.

This adds exceptions into the process:
- One on the generic container delete;
- One on the Juno container delete of any remnant container.

Change-Id: I34812f4472594998f3e40b4a5cb650e396a80421
2017-08-17 12:47:45 +00:00
Jenkins 38dbe804a9 Merge "Remove neutron agent task fails to loop through multiple agents." 2017-08-16 00:27:53 +00:00
Kevin Carter ebcfc0d0a4
General improvements
Adding more dynamic user config options.

Change-Id: I6f30ea38e3680ffa2ef1a77eadc91cfa9d946971
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-15 16:55:48 -05:00
Vaishali Pavashe 47cde0a9c9 Remove neutron agent task fails to loop through multiple agents.
Change-Id: I58150d2607a37fcb3d6d7a52ec4d7a88177f676a
2017-08-15 14:49:29 -04:00
Jenkins bc8a440d42 Merge "General improvements" 2017-08-14 17:19:15 +00:00
Kevin Carter c678e83275
General improvements
* added ip alias for interfaces

* Update settings and improve vm performance

* Change the VG name in VMs. The VG name was changed so that the volume
  which is being used by VMs can be mounted on a physical host, and not
  conflict, with standard volume group naming. This is usful when a VM
  is DOA and a deployer wants to disect the instance.

Change-Id: If4d10165fe08f82400772ca88f8490b01bad5cf8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-14 10:35:12 -05:00
Jean-Philippe Evrard 7547fa4b8f Cleanup HAProxy before re-deploying haproxy
HAProxy should not have an init that loads conf.d files, like it
was done on K, and removed in N, during the haproxy installation.
Else the installation of the package will fail, because it will
load the conf.d files.

Change-Id: I345089cc3493b90c1c4fbd2d47c51f83c65c94f4
2017-08-11 15:57:48 +01:00
Jean-Philippe Evrard 64d7f6e62a Replace setup-* with the included playbooks
In case of an included playbook fail (let's say the repo playbook),
a restart of the leap script will restart the whole upper level
playbook (because it hasn't been marked as successful yet), and
therefore will re-run all the included playbooks again.

This change will make sure the process restarts exactly where it
failed.

Change-Id: I5790f3bdb57d6f17ba32346a00d096ead15babf3
2017-08-11 09:17:02 +01:00
Kevin Carter eb5debbdbb
move mnaio network group var because it's shared
Change-Id: I3c85564def49f3d0da76c55dc4356cbf16a25d63
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-10 19:13:14 -05:00
Jean-Philippe Evrard 22e6295c84 Implement logging for leapfrog
Default logging could be used in leapfrog, into the leapfrog
folder, to help debugging.

Change-Id: Ief9c4d2b9e46e515850720e07a62d59d561a3aa1
2017-08-08 15:15:31 +00:00
OpenStack Proposal Bot 21acc02601 Updated from OpenStack Ansible Tests
Change-Id: I99d81db1f10e44d8d493452a25ac2c2a72b72884
2017-08-04 15:21:40 +00:00
Jenkins 0a60837dec Merge "Be more lenient on input version." 2017-08-04 10:46:35 +00:00
OpenStack Proposal Bot a21585c9e4 Updated from OpenStack Ansible Tests
Change-Id: Ia9c13c909d9de1012434ba242792a05614c619d4
2017-08-03 15:26:12 +00:00
Jean-Philippe Evrard 81713f8e60 Be more lenient on input version.
RPC is using r11 and 11 for kilo, same for upper branches.
We should be more lenient to the version allowed, whether it's
starting with a r or not, as long as the major version is the
same number.

Change-Id: I42053681fdc5e0b2c16060d8a51b4a620569f38c
2017-08-03 13:57:40 +00:00
Jenkins b6f024875a Merge "Re-run setup-hosts before re-deploy." 2017-08-03 13:15:57 +00:00
Jenkins c6674599c8 Merge "Remove the | changed idempotency breaker" 2017-08-03 13:11:57 +00:00
Jean-Philippe Evrard 0de82c08d9 Remove the | changed idempotency breaker
If we interrupt the process in unarchive, we'll have a broken
idempotency state: The leapfrog process will run again the venv
prep, the synchronize will be unchanged, and the unarchive
rewire will never run.

Change-Id: I8e91ef39d4ecbc9ff5a6a4a73cd0ce4679d6ecf0
2017-08-02 17:28:46 +00:00
Jean-Philippe Evrard 8dcdc893e4 Re-run setup-hosts before re-deploy.
If a user is using a REDEPLOY_EXTRA_SCRIPT to migrate additional
variables before re-deploying, it's maybe best to re-run all the
playbooks that happen in a deploy. All the playbooks are already
there, excepted the openstack-hosts-setup, so we add it here.

Change-Id: I64bade46cb1ece6f21ed42c7622bd6e39f2420fe
2017-08-02 14:24:36 +00:00
Kevin Carter 6dbba8a3f8
fix vm server ip typo and isolate hosts into ip blocks
Change-Id: I27d4b9a304241c7572f3c634fb7d3ef4eaed6a3e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-01 13:14:24 -05:00
Kevin Carter 369f68832e
Add environment options and re-flow the README.rst
Change-Id: I7a2640856045e36043de8508f9421fbd8a593591
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-01 09:13:15 -05:00