Commit Graph

41 Commits

Author SHA1 Message Date
Sean McGinnis 126bd4af7f
Retire repo and note new content in openstack/osops
Change-Id: Ibf7eab00a55cda9423663feb2dc3feea8ac3778a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-09-10 20:00:52 -05:00
Jenkins 6d676efe83 Merge "Lint the lampstack apply role" 2017-01-18 17:30:56 +00:00
Jenkins 29c5746658 Merge "Add a trystack env variable file" 2016-11-14 15:43:14 +00:00
David Moreau-Simard c883416f58 Add a trystack env variable file
The trystack environment file sources credentials from OS_* env
variables and as such we need to pass them properly in tox.

Change-Id: I8abc7c4d4109a178a6547a87aec2c2dbff56b988
2016-11-13 11:46:13 -05:00
David Moreau-Simard 377f414614 Fix typo in security group description
Change-Id: I44ac5fd45a28011de5fceedc38ff0dc0ec720c6c
2016-11-13 11:18:59 -05:00
Jenkins 123e5f0fc3 Merge "Lint the lampstack wordpress role" 2016-11-11 15:46:12 +00:00
David Moreau-Simard 26bce3b9df Lint the lampstack wordpress role
- Don't use shell module unless shell functionality is required

Change-Id: I656e79c6d9eacbae1fa54724c3c2b06f0c2ab435
2016-11-08 16:09:20 -05:00
Daniela Ebert 6e53420185 Catch up the flavor from config file instead of {{openstack_flavors[0].id}}
Change-Id: I3d3bd03e45f9f1ce672738e091630eb0895c7ca4
2016-11-07 21:01:55 +00:00
David Moreau-Simard b6283002b0 Lint the lampstack apply role
- Homogenize module usage (= vs :)

Change-Id: I8f6afd000f1d304bbc05ddab248b40705ff22775
2016-11-05 11:03:05 -04:00
Jenkins dc46a8c64d Merge "Allow usage of Fedora24" 2016-10-30 03:35:23 +00:00
Jenkins 2e0619c1fd Merge "Fix undefined wp variables" 2016-10-21 22:00:12 +00:00
Ghe Rivero b2ed095b1e Fix undefined wp variables
Replace "or" with "|default()"
Add missing " at end of line

Change-Id: If48f410110647b6b39f84032123224558a533af0
2016-10-21 20:08:23 +02:00
Jean-Daniel Bonnetot 9e2132c9ba Changing the OVH flavor
Change-Id: I1075f24e96006c3f193979e3d8d918dc5b235a3d
2016-10-21 13:00:53 +00:00
Jenkins 08443db0c7 Merge "Add HPE Helion OpenStack 4.0 config sample" 2016-10-20 14:03:14 +00:00
Jenkins 9c78f78952 Merge "Add Open Telekom Cloud config example" 2016-10-20 14:00:36 +00:00
Ghe Rivero acfa318a7d Add HPE Helion OpenStack 4.0 config sample
Change-Id: I05a6a24b2c8a97b4e67138385c16b854fc75600d
2016-10-20 09:32:36 +02:00
James Page d856841a87 ansible: support full offline use for lampstack
Add three new app_env options:

  wp_latest
  wp_cli
  wp_importer

these can be used to override the default install locations
for wordpress and various utilities used by the playbooks,
ensuring that the playbook can be configured for use in
environments where network egress to the internet is limited.

Change-Id: I9db0d8e562fdb74c9c68cb9881d6a2bbb7e4e77a
2016-10-19 15:51:49 +01:00
Daniela Ebert c41bae2212 Add Open Telekom Cloud config example
Change-Id: I162db8562d7c2a0aad81978b7ed1e4023009d878
2016-10-19 11:25:29 +00:00
Daniel Mellado 1458afb4c6 Allow usage of Fedora24
This commit adds Fedora 24 image support for the interop challenge
tasks.

Change-Id: I489b2ebc70fe3de4b20694bbeac0abfa8841c5a8
2016-10-19 14:09:31 +03:00
Jenkins 8ad2015099 Merge "Update apt cache before installing scsitools" 2016-10-17 20:02:38 +00:00
Jenkins 7d1e03e140 Merge "Make lampstack work in config drive environments" 2016-10-17 20:02:18 +00:00
Jenkins bf6ac2f618 Merge "Add support for public network name" 2016-10-17 20:01:39 +00:00
Luz Cazares 8ad712ee93 Add support for public network name
Change-Id: I4c91cb85be92533e08ee4988d0127daecec8c007
Co-Authored-By: Ghe Rivero <ghe.rivero@gmail.com>
2016-10-15 10:37:11 +02:00
Jenkins cd39e063d8 Merge "Adding OVH configuration for interop challenge" 2016-10-14 23:49:28 +00:00
Mark T. Voelker 4d4514e2d2 Update apt cache before installing scsitools
A few folks reported that installing scsitools was throwning an error
for them because the apt cache on the system hadn't been initialized.
This patch ensures that we update the apt cache before attempting to
install scsitools.

The patch also makes the workload run faster overall: previously,
we updated the apt cache each time we installed a package.  In this
patch, we break out the cache update into a separate task that runs
before any software is installed, thus eliminating several
time-consuming calls to "apt-get update".

Finally, this patch also makes the workload slightly more portable:
it replaces apt calls with package calls.  Adding a new guest OS
family should just require adding a new cache update block (if
necessary for that OS) with an appropriate when statement.

Change-Id: I30ffbf2da13f22475f920328d84e64460834bcdb
2016-10-14 13:51:36 -04:00
Mark T. Voelker ad24dc3e86 Make lampstack work in config drive environments
Currently, the lampstack workload assumes that either you're using the
nova metadata service or that config drive is enabled globally in
your nova.conf file: there's no option to enable it on a per-environment
basis.  This patch adds the ability to specify whether config_drive
should be used or not in the app_env variables, with a default value
set to "no" (which means that the new variable isn't required and that
if a user doesn't set it, he or she will get the same behavior as before
this patch).

Change-Id: I717bf5a37f98da79141af70df90feb7fd7b3f8c7
2016-10-14 12:03:44 -04:00
Jean-Daniel Bonnetot 3dd2be1b53 Adding OVH configuration for interop challenge
Change-Id: I7241c997e2fd4e6cc8bc3cb0fad587c29a929469
2016-10-13 16:05:36 +00:00
Daniel Mellado f426660f75 Split profile tox env
Creates a new tox env called profile in order for profiling not to be
mandatory for each workload run.

Change-Id: I699551f1d50776499ad67440bc0a6b71bd8101ef
2016-10-13 15:22:08 +03:00
Jenkins 6a073cfd9c Merge "Enable profile callback plugin" 2016-10-12 14:44:46 +00:00
Jenkins edce6ea038 Merge "Changed DreamHost image flavor" 2016-10-12 14:44:16 +00:00
Jenkins ac2ae82a0b Merge "Add proxy support" 2016-10-12 14:43:31 +00:00
Daniel Mellado 96edc625ae Enable profile callback plugin
This commit enables profile_tasks callback plugin in order to measure
the timing on the lampstack interop challenge ansible workload.

Change-Id: Ia2e40fd65836b3ef80ff11c7ed54957c20dffc8c
2016-10-12 14:38:01 +03:00
Stefano Maffulli 9dec1d18a3 Changed DreamHost image flavor
Using the 2GB RAM flavor supersonic in order to speed up the
execution of the demo. With 2GB the playbook is completed in
about 8 minutes (1GB takes 12 minutes).

Change-Id: I10764bdb684df565328bfa3680e7ce1db28c975a
2016-10-11 10:03:26 -07:00
Jenkins 5cfa635d17 Merge "Adding DreamHost environment" 2016-10-11 16:24:25 +00:00
Ghe Rivero f14020afc7 Add proxy support
Some internal clouds need to use http proxies to reach the
internet so they can download the packages and wordpress
installation tools.

Change-Id: I008364b17334609b8a63d6832483bcbd344ddb61
2016-10-11 01:18:25 +02:00
Stefano Maffulli 9d00f2e666 Adding DreamHost environment
The environments and site.yml have been modified to make the
ssh user a parameter.

Change-Id: I4e422ea0c83253344def4c9ac6477e885153f53c
2016-10-10 12:51:28 -07:00
Mark T. Voelker 6046d9bc3d Rescan scsi bus before using volume
Depending on the hypervisor and disk adapter used on the guest OS,
it may be necessary to rescan the SCSI bus before a Cinder volume
that has recently been attached is seen by the OS.  This patch installs
the scsitools package and rescans the bus prior to partitioning new
space from the attached volume.  It is harmless for
hypervisor/adapter/guestOS combinations that don't need it (other than
taking a tiny amount of disk space and a few seconds), and makes the
workload more portable for those that do.

Change-Id: Ibb33ec359343a7093cf3f6aa0d0a7e9086b9a55b
2016-10-07 16:19:20 -04:00
Daniel Mellado b3975d45ff Allow use of python inside virtualenv
This commit allows the usage of shade inside a virtualenvironment for
the ansible workloads and also disables StrictHostKeyChecking for the
spawned vms, which were stopping the workload to ask for key
confirmation.

Change-Id: I1df24edc6264876d4aad012d93d50eade4afe4a8
2016-10-05 12:30:32 +03:00
Tong Li 20f37e0e5f support flat network and availiability zone and certs
This patch fixes the following issues:
1. When OS only support flat network, no tenant network is involved.
   private_v4 should be used for remote access
2. Added availability zone in addition to region so that script can
   also work for the cloud with multiple regions and zones.
3. Added validate_certs so that when self signed certificates used
   by a cloud, the script can also work.

Change-Id: I13f789f72eae75a0274ecf38545cb026e14e7e81
Co-Authored-By: Rohit Agarwalla <roagarwa@cisco.com>
2016-09-29 00:12:38 -04:00
Tong Li 22e9aad745 Remove hardcoded volume point and tenant network issues
This patch set fixed the following problems

  1. Using hardcoded device names such as eth0, /dev/vdb.
     These names are configurable now
  2. Requires tenant networks to be avaialbe.
     No longer required now
  3. Terraform multiple endpoints issue can not be overcame.
     Recreated the docker swarm workload test using ansible

Change-Id: Ic4bcd07caa7f7a27f7cb520fb3302fb547f085f0
2016-09-13 12:53:51 -04:00
Tong Li 0fbe64add7 Add lampstack ansible scripts for workload test
These scripts will do the following against an openstack cloud:

  1. Provision 4 nodes
  2. Create security group
  3. Add security rules to allow ping, ssh, mysql and nfs access
  4. Create a cinder volume
  5. Attach the cinder volume to database node for wordpress database and
     content
  6. Setup NFS on database node, so that web servers can share the cinder
     volume space, all wordpress content will be saved on cinder volume.
     This is to ensure that the multiple web servres will represent same
     content.
  7. Setup mysql to use the space provided by cinder volume
  8. Configure and initialize wordpress
  9. Install and activte a wordpress theme specified by configuration file
  10.Install wordpress importer plugin
  11.Import sample word press content
  12.Remove not needed floating IPs from servers which do not need them.

Change-Id: I828eb4952b4fcc8bd660538adfcff60f9932eda1
2016-08-15 21:41:12 -04:00