Commit Graph

9 Commits

Author SHA1 Message Date
Monty Taylor 0568a3e20c Retire repo
Depends-On: https://review.opendev.org/720892
Change-Id: Iac68bd9001ef9d0bd70492d7e28e115b4f9d3ed7
2020-04-22 10:19:06 -05:00
Colleen Murphy 37318a742e Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: Ieb3cc87333ca243fa3d74e8afa573895dfaf604b
2017-08-18 10:41:43 +02:00
Colleen Murphy ebcf33c92a Fix beaker on xenial
This patch adds a xenial nodeset and updates the spec helper to install
puppet 3 from the Ubuntu repos instead of from puppetlabs. However, it
ultimately disables the tests on xenial because neither the Ubuntu Cloud
Archive[1] nor the Puppet-OpenStack modules support mitaka on xenial. We
will need to plan our xenial upgrade and OpenStack upgrade at the same
time and reenable xenial testing when we are ready for the OpenStack
upgrade.

[1] http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/xenial-updates/

Change-Id: I3b7c2c83d6a20907de4b69fe6fcd4c59a5052d23
2017-06-25 15:02:34 +02:00
Yolanda Robla Mota 2fbabecfbf Add the ability to configure bridge name
Naming with dashes is causing issues on CentOS,
because glean is called with interface br/xxx instead
of br-xxx due some naming translation.
Also interface name and vlans can differ on environments,
causing all puppet modules to change their naming. Instead of
depending on vlan or nic to configure bridge name, add the
ability to pass that name as a parameter, and likely set
to br_infracloud on our deployments.
At the moment, leaving the default naming to do not break
existing cloud deployment.

Change-Id: I0790bab2fd63f525e8b9c8d47ee79ea63a72750a
2016-09-21 10:28:04 +02:00
Jenkins 6b4f81d69e Merge "Add polling for image list tests" 2016-07-21 20:55:27 +00:00
Colleen Murphy b8615676b3 Add polling for image list tests
10 seconds might not be long enough for an image to upload, but we
don't want to wait forever either. Have the image upload beaker tests
poll the image list for up to 60 seconds while it is saving before
checking whether the image ever became active.

Change-Id: If9c6ba60a18aac30bbb12d106cbbeddb1f126460
2016-06-13 12:00:45 -07:00
Colleen Murphy 6ab8b27aec Upgrade to Mitaka
This patch makes the following changes to use the Mitaka release of
OpenStack and to be compatible with the stable/mitaka branches of the
OpenStack Puppet modules:

 - use the 'mitaka' Ubuntu Cloud Archive repository
 - avoid using deprecated or removed parameters
 - use unversioned endpoints for the [neutron] config in nova.conf and
   specify 'password' as the auth_plugin, since it defaults to 'v3'
   password in the mitaka version of the nova module[1] even though
   that's not necessarily desired[2]
 - add the nova_api database
 - explicitly use the Image v1 API in the functional tests since
   openstackclient now defaults to v2

[1] http://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=d09868a59c451932d67c66101b725182d7066a14
[2] https://review.openstack.org/#/c/312300/

Depends-On: I5ed2d851ffab26a45a58a9ef6f990e72f5d14380
Change-Id: Ie290802d655cb74491153c56cf58a6b3b5af8388
2016-05-03 21:17:03 -07:00
Colleen Murphy 6a3c144062 Add functional tests
This patch adds beaker tests for an "all-in-one" node consisting of an
OpenStack controller and a compute node cohabitating the same VM. Since
the module is designed for at least two separate nodes, the test
applies the controller and compute manifests in sequence, rather than
combining them, to avoid duplicate definition errors.

Change-Id: I902598fdd0a25cd84181e9661eda7d1b1a6c1ed7
Depends-On: I558756e4704d3b3e090db92edfeca6f75def1e04
2016-04-08 09:20:35 -07:00
Colleen Murphy aa5a930211 Initial commit
Initialize this repository with generic structure from cookiecutter.

Remove manifests/config.pp and manifests/init.pp because this module
will not need those manifests.

Change-Id: I306e29f2b4a636d3c0f87f7b9b7a7b9efd4791dc
2015-09-25 14:46:02 -07:00