Commit Graph

438 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 47c15d2d2a Updated from OpenStack Ansible Tests
Change-Id: I6e971ba4c211aad2e315a27d29b658915f25a85b
2019-06-07 23:22:11 +00:00
OpenDev Sysadmins 111483cde0 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 d167beaf13 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: Iadfd084289d5f9f072b29ca89057c9a37d91c1f2
2019-03-24 20:34:54 +00:00
huang.zhiping 9fbf5d66eb 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: I5f9ad5b22cafd36ec9e8a34f818339b23697306b
Story: #2002586
Task: #24319
2018-08-21 13:42:33 +00:00
Zuul 695609e7af Merge "Prevent duplicated lines" into stable/queens 2018-06-01 08:57:58 +00:00
Olivier Bourdon dfb0505e7e 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:04:59 +02:00
OpenStack Proposal Bot c7f013eb59 Updated from OpenStack Ansible Tests
Change-Id: I0c64dffbeb5136c86761bd4eb05b3beafdc745e2
2018-05-07 15:27:48 +00:00
Jean-Philippe Evrard 922892b2d5 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:16:55 +00:00
Zuul 5dcf1a2ca5 Merge "Point to Queens instead of master" into stable/queens 2018-02-15 15:25:17 +00:00
Jean-Philippe Evrard 6f98e4abff Point to Queens instead of master
There are references that are pointing to master in each role.
This should change them.

Change-Id: Ia1e59e74de7d6666144b5a42a19d1c039c09fc18
2018-02-15 14:46:28 +00:00
OpenStack Proposal Bot 2cd972eb9d Updated from OpenStack Ansible Tests
Change-Id: I56488883ac2a8330a199f45a48d692945c58224f
2018-02-15 12:49:58 +00:00
Zuul f1f9de8391 Merge "Use clouds.yaml" 2018-02-13 12:32:32 +00:00
Jean-Philippe Evrard 4df9332649 Use clouds.yaml
Instead of passing all things to the client, and forgetting some,
we should directly load the config, and use the cloud
configuration for creating connections.

Change-Id: I8e66ff033b6d49537b161710e983750f40d5e93d
2018-02-13 11:02:27 +00:00
Zuul 007371b35c Merge "Replace pxelinux with iPXE support in MNAIO" 2018-02-08 21:07:15 +00:00
Zuul a0b30672ab Merge "Stop any running VMs when re-deploying" 2018-02-08 20:59:26 +00:00
Antony Messerli f00c6bf215 Replace pxelinux with iPXE support in MNAIO
Adds support for iPXE scripting.  Allows for the
operator to specify a remote iPXE kernel to pull in
newer iPXE kernel features and specify a remote
default iPXE script for customizing the multi node
for other types of deployments.

Switches the installations to use netboot installer kernels
instead of ISO retrival and extraction.

Restructures directory to allow for future multi node configs
instead of just debian based installs.

Change-Id: Ie97f021dbd33ad3d852132b0b2850f54d4e13476
2018-02-07 18:20:00 -06:00
Antony Messerli 33c3fbdfe7 Stop any running VMs when re-deploying
Stops running VMs when doing a deploy to ensure
the VMs start fresh and can reload their config
during deploy.

Also removes LVs to force a redeploy of the VMs.

Change-Id: I7992e25f4e0e103ae66487f2e88a99ca962a9355
2018-02-07 13:19:04 -06:00
Antony Messerli 788418634d Ability to skip security hardening tags in leap
Add the ability to skip certain hardening tags during the leap
process if required.

Change-Id: If30c27d370e0bdf18bf71a4df895e89a40efbca7
2018-02-05 16:55:10 -06:00
Zuul cb77f7e3d2 Merge "Fixed Suse Image to use link without build information" 2018-02-05 15:34:01 +00:00
Jimmy McCrory f613a07be9 Remove use of deprecated profile parameter
The use of the profile parameter in openstacksdk's connection object has
been deprecated and is currently causing upgrade testing to fail.

Change-Id: If2c0ae577df3e174773b045b7c9efdd285ee1a6d
2018-02-03 12:46:51 -08:00
Zuul d2b9369be5 Merge "Fix openstack-service-setup.yml GATEWAY_NETWORK to match the flat network." 2018-02-02 20:24:05 +00:00
Weezer Su 224275d716 Add lxc config into mnaio
the master branch is supporting multiple contianer techs now, use
lxc for mnaio's default container backend.

Change-Id: I587cb6041ad87d8901d84ab1d3d4f8763686751c
2018-02-02 13:32:31 -06:00
Zuul 53e9546f4c Merge "Zuul: Remove project name" 2018-02-01 14:40:21 +00:00
James E. Blair 337fa8b140 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: Iabc00c18591ef00dee447ec23282a5099a0c0bd6
2018-02-01 02:16:36 -08:00
Shannon Mitchell 8c5b9d2782 Fix openstack-service-setup.yml GATEWAY_NETWORK to match the flat network.
This should allow the proper gateway ip to be used for connectivity to/from
  vms in the GATEWAY_NETWORK or with floating ips from it.

Change-Id: I0f4498baa2edbf24bbf2c407c6e5a2574454cfdc
Closes-Bug: 1746621
2018-01-31 17:31:56 -06:00
Shannon Mitchell 8aa9402d1f Fixed Suse Image to use link without build information
It looks like they update the builds pretty often.  This change
   is to make it use the more generic link to the latest build
   that isn't changed as often.

Change-Id: I31d3b76e2b26c0ef5bfe1ec4a3f2dcc5c34f8f41
Closes-Bug: 1746604
2018-01-31 15:52:29 -06:00
Zuul 6635553823 Merge "Updates the last update date" 2018-01-31 18:08:37 +00:00
Zuul 1e3827a8ea Merge "Uses a dedicated telegraf role" 2018-01-31 18:08:36 +00:00
Shannon Mitchell 64acebe745 Fix tftpd-hpa configuration issues
This includes:
    - removing two bad /etc/default/tftpd-hpa tasks
    - relocating the good /etc/default/tftpd-hpa task
      to the pre-tasks area of the broken configs.
    - Removing OPTIONS from /etc/default/tftpd-hpa as they
      were causing duplicate -s config errors. The -l is
      taken care of in the init script as well.

Change-Id: Ie474fceb116c921a373f5711194e222594095e51
Closes-Bug: 1746354
2018-01-30 15:38:57 -06:00
Shannon Mitchell df5f7e7154 Updated Fedora, OpenSuse and Debian cloud image links
A few of the links were outdated due to new builds or decommed versions.
  Changes to the latest versions or builds were needed.

Change-Id: I61d3c76fd649e745262deb496615a4399c56f5f4
Closes-Bug: 1745680
2018-01-26 16:30:30 -06:00
Zuul 2a9e5ee077 Merge "Updated from global requirements" 2018-01-24 10:17:00 +00:00
Zuul 052bdbf672 Merge "On failure return output of all tasks to be reran" 2018-01-24 05:34:26 +00:00
Zuul 8da0aa287d Merge "Add insecure flag for post upgrade CLI commands" 2018-01-24 05:34:26 +00:00
OpenStack Proposal Bot a36dc14c4f Updated from global requirements
Change-Id: Id63d4d46075141a6d3e51679dc9f3c514f89520e
2018-01-24 01:16:39 +00:00
Bjoern Teipel 80db361d31 Add insecure flag for post upgrade CLI commands
In situations where self signed certs are utilized for the API,
the addition of the insecure is necessary to make post-redeploy-cleanup
work.

Change-Id: Ie5d5b6248feba5c4479567d22e74c76065725fda
2018-01-23 10:33:12 -06:00
Antony Messerli f5e74f065f Remove BOOTSTRAP_ANSIBLE_FOLDER variable
Removes the BOOTSTRAP_ANSIBLE_FOLDER variable because
the assumption was made that Ansible would always be
bootstrapped from /opt/openstack-ansible and setting
this would cause a noop when Ansible was bootstrapped.

Change-Id: I284ad62b6f14cc334ae949946e839a1e8ec6a1d8
2018-01-22 17:42:15 -06:00
Antony Messerli c8107e781b On failure return output of all tasks to be reran
Appears that the last task in the list was being
stripped off of the output.

Change-Id: Ifade924961855ac22452e80149916027af068b06
2018-01-22 13:39:39 -06:00
OpenStack Proposal Bot bfa655cbee Updated from global requirements
Change-Id: I9fb6236b7c83460050c22bd2607dca559268d4c1
2018-01-18 03:14:39 +00:00
Frank-ZhangXin 1416812e12 RLM-322 Fix domain name
Current leapupgrade would accidentally add extra period sign
between hostnames, this fix would remove the hardcoded sign.

Change-Id: I7705da00ec651909f9bef9d4be96478dff22b993
2018-01-15 13:11:46 -06:00
Zuul 22bf285757 Merge "Stop building a newton venv for LEAP upgrades" 2018-01-08 10:06:34 +00:00
Kevin Carter 7fbc50c036
Add env vars to set the RAM for VMS in the mnaio
The MNAIO serves as a good way to play with a production like OSA
environment on minimal hardware. While this is a good way to test it
does leave some options hard to address and change when trying to build
in an automated way. This change makes it possible for a deployer to set
an environmental variable to change the ram allocation of all default vm
types which should help folks build a more capable and customizable test
cloud.

Change-Id: Idc2cff091701ecda80165a98fffa1db222600d27
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-01-03 17:14:56 -06:00
Kevin Carter e24ef8d57c
Stop building a newton venv for LEAP upgrades
Because "newton" is the last release LEAP upgrades are compatible with
there's no need to build a migration venv for newton. All of the newton
specific migrations will be run during the redeployment phase so this
venv has no specific purpose and is simply prolonging an already long
maintenance.

Change-Id: I06f23ed3bfdca5f1d5d56cb9fabd53cab01b83b6
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-01-03 14:46:45 -06:00
Zuul dded86cf84 Merge "Added playbooks to install ELK stack with topbeat" 2017-12-29 07:59:53 +00:00
Ala Raddaoui b7a6ceb086 Added playbooks to install ELK stack with topbeat
This set of playbooks install an Elasticsearch cluster,
Logstash and a kibana dashboard inside containers
and then install Topbeat in your cloud to ship system metrics
to the Elastic cluster.

Change-Id: I0c8c853ee48bd9278bd7b08719be4bde5f8c3df6
2017-12-20 13:27:22 +00:00
Zuul f907d7aa74 Merge "Add reserved IP of old neutron_agent container" 2017-12-17 00:30:15 +00:00
Zuul eb071054c1 Merge "Added ability to cleanup venv tgz, use find module" 2017-12-15 13:28:10 +00:00
Adrien Cunin 00a1e37787 Added ability to cleanup venv tgz, use find module
cleanup-venvs.yml now removes older venv tgz, in addition to older venvs
directories.

It now uses the more appropriate and efficient find module instead of
the shell module.

Change-Id: Iab98039a84bb4b0e787c439d67fa81b7e108c3ff
2017-12-15 11:11:59 +01:00
Zuul d4dbea93a2 Merge "Link the current deployed release on a leapfrog" 2017-12-14 22:51:27 +00:00
Antony Messerli e67f805f35 Link the current deployed release on a leapfrog
Existing code assumes starting point of KILO_RELEASE.
This change allows other releases to be the starting
point before the migrations occur.

Change-Id: Idb7d2981b37e653c9e92a9e41e4bf54b17aef1f5
2017-12-14 14:36:32 -06:00
Antony Messerli e3a1d1fcb9 Allows for the VMs preseed mirror to be overridden
In the case the upstream mirror might be down or there might be a
faster mirror available, this allows you to specify the desired
Ubuntu mirror and base directory.

Change-Id: I49c33b9e4e107990f2abb418b859fd280ba91107
2017-12-13 16:39:06 -06:00