Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Goirand
b5d2ecffb5 Debian: add puppet system user
To avoid error messages like this:
Unable to set ownership to puppet:puppet for log file:
/home/zuul/workspace/puppet.log

we're adding the puppet user before running ./run_tests.sh

Change-Id: I0a00a7f41e700a3e503c1b98947803af47230678
2018-05-03 23:35:54 +02:00
Thomas Goirand
2e351cffb5 Another Debian patch
This patch adds apt-transport-https to the list of things to install
before starting, as apt-transport-https isn't installed by default
in Debian. It also replaces the hardcoded "xenial" by
{{ ansible_distribution_release }}. Note that the later will also
help when switching from Xenial to Bionic.

Change-Id: I2e692c62162486be6506ba67cbb4d887262994b2
2018-03-19 22:39:48 +01:00
Thomas Goirand
ccb75ca71d apt-get install lsb-release curl
In Debian, lsb-release and curl aren't installed by default.

Change-Id: I8cb4eeb67f89a888b31831c8cca1fffc3661ee11
2018-03-13 14:06:49 +01:00
Emilien Macchi
9e8634014c all-in-one: run the script from p-o-i after clone
Stop deploying the scripts in /tmp, and require users to git clone the
repo before, instead of curl + bash command, which is unsecure and
not very useful.

Change-Id: I007a31f644a2a662b8ab3305454d6f1055a3e89b
2017-02-02 11:30:23 -05:00
Emilien Macchi
e5d6e6b6c0 Support of Ubuntu 16.04 LTS Xenial deployments
Add support for Xenial deployments.

* Disable SSL on Ubuntu Xenial deployments.
* Pin puppetlabs-mysql to a recent commit (until they produce a new
  tag).
* Disable Ceph on Ubuntu Xenial deployments, neither Hammer or Jewel currently
  work out of the box with puppet-ceph on Xenial.
* Disable Horizon on Ubuntu Xenial deployments: not working yet.
* Do not deploy UCA on Xenial, since we currently deploy Mitaka.
* On Xenial, deploy Puppet using distro packaging, not puppetlabs.com.
* Cleanup /etc/default/puppet on Xenial / Puppet4 runs (workaround)
  until we figure what is installing this file on Xenial nodepool
  image.

All issues are documented here:
See https://etherpad.openstack.org/p/puppet-openstack-xenial

Change-Id: Ifc8c7e241add830c88b84c1f01770e5e15df1653
2016-05-26 20:40:18 -04:00
Alex Schultz
20730feff0 Add a function for generating action headers
In order to help be able to determine what part of the script a failure
occurs in, this change adds a print header function and updates the
shell scripts to print some header information for various actions.

Change-Id: I8e622c4d1c9c03aa3dbcb27712a346ce3284003f
2016-04-14 14:57:22 -06:00
Emilien Macchi
6c272cdf16 rename scenario003 to scenario-aio
scenario003 is going to be a scenario gated in OpenStack Infra.
It was created to be a AIO scenario, for our testers, so let's rename it
to scenario-aio.

In a further iteration, scenario003 will be a scenario used by our CI.

Change-Id: I53852757d013abfae10e5f4afd41ddbb18da3b03
2016-02-24 14:50:52 -05:00
Emilien Macchi
0ba24909d9 all-in-one: install wget
On cloud images, wget is not installed by default. This patch aims to
fix that so we make sure wget is installed anytime.

Change-Id: Ib2b04a55f3fc71ff51ff29bf5d037d87f1b18223
2015-12-14 19:47:44 -05:00
Emilien Macchi
9cfe3147a2 all-in-one: export SCENARIO variable
Export the variable so we make sure other dependencies, like
run_tests.sh will read it correctly.

Change-Id: I51d9692e0d57c7ccd607631103e433c6d2ef0eba
2015-12-04 12:17:00 -05:00
Nate Potter
ce3dd1991d Add openrc file creation to AIO script
This patch will add the creation of an openrc file
containing the credentials a user needs to use their
OpenStack deployment to the end of the AIO script.

Change-Id: I1353d9e1a3b026f0c6d56d6cfd2f0581866bed90
2015-11-10 23:10:31 +00:00
Emilien Macchi
6b87e4026f Implement all-in-one.sh script
This script will help newcomers to run this script and deploy a simple
scenario of an OpenStack Cloud with Puppet OpenStack modules.

Change-Id: I559e5e0a0d21a02d04b3d999b77dee23bb38c341
2015-11-06 08:58:37 -05:00