Commit Graph

655 Commits

Author SHA1 Message Date
Monty Taylor b8f39c8a76 Retire stackforge/puppet-openstack 2015-10-17 16:04:20 -04:00
Sebastien Badia 96917bcbe0 Fix unit-test in order to prepare module for deprecation
* Update spec tests in order to match rspec 3.x syntax (and puppet-rspec 2.x)
* Remove gems over-specifications (puppetlabs_spec_helper already add
  runtime deps on rpsec, puppet-rspec and rake)
* Fix RedHat fact (cherry-pick of commit
  https://review.openstack.org/106555/)
* Pin fixtures to stable/icehouse (this module is EOL)
* Pin concat to 1.2.1

Partial-Bug: #1326034
Change-Id: If299e1f9591f21d9410f2a5744d29823f913c000
2015-04-16 16:57:09 +02:00
Aimon Bustardo d81d2d8628 Fix upstream rspec failure in cinder
- This is a fix to code that made it into master which was causing
  jenkins to fail

Change-Id: Ic5373aa552e20c83dfc03464544f3f8339be0e24
2014-05-17 10:42:07 -04:00
Jenkins b8153e04fc Merge "Fixed typos in readme" 2014-04-22 04:37:49 +00:00
Jenkins 63896a854c Merge "Remove unsupported --no-cache CLI parameter" 2014-04-04 17:44:40 +00:00
Jenkins 38d0d47d70 Merge "Update Cirros to 0.3.2" 2014-04-04 17:44:14 +00:00
Jenkins 24b72492d9 Merge "Updated to match semver and release notes." 2014-04-04 13:19:15 +00:00
Chris Ricker 77a984a6a3 Remove unsupported --no-cache CLI parameter
Current versions of python-novaclient no longer support the --no-cache
option, and instead require a --os-cache option to use the cache.

Change-Id: Id0f11edbbdf0aaebc230346cb316b07d567a261b
Closes-Bug: #1302560
2014-04-04 05:29:07 -07:00
Chris Ricker f93374ebdf Update Cirros to 0.3.2
Update Cirros image install to use newest version (0.3.2).

Change-Id: Ifedeec1c6660bde11c0833e2e50d3b316170fe76
Closes-Bug: #1301901
2014-04-03 05:12:01 -07:00
Chris Hoge 445f443226 Updated to match semver and release notes.
Before this update the Modulefile was not following semver in
relation to stable/havana, and the README files were not in sync.
This update introduces proper semver and consistency.

Change-Id: Idcc436bb2bdc5180dbeb5eeed8e7342c30c757ae
2014-03-28 10:02:15 -07:00
rajinir 0e1c7afee4 Fixed typos in readme
Change-Id: Ifc000e35f7471eec0a98bfee5937140173fe57b4
2014-03-27 14:48:28 -05:00
Chris Hoge 6509520a04 Fixed gate by Updating Gemfile to pin Rake to 10.1.1
The latest Rake update requires Ruby >= 1.9. Bundler in the
current gate uses 1.8.x. This update fixes the gate by pinning
Rake to the last known working version.

Change-Id: Ic0338578860a069c1cab86b94e7aac2049dd88dd
2014-03-24 15:38:42 -07:00
Jenkins 6b35e78705 Merge "Add configuration for glance-api used by cinder." 2014-03-18 16:28:48 +00:00
uberj 16c4e7fc5a fix broken anchor tag
Change-Id: I5aeaa212d65bb5a0088dae7d9979256535284b95
2014-03-16 19:06:43 -07:00
Jenkins f2b7397fb6 Merge "Ensure swift.conf created in all scenarios" 2014-03-05 21:46:55 +00:00
Mathieu Gagné 2840cc60e6 Unpin puppetlabs-apache fixture to use latest version
puppetlabs-apache >= 0.11.0 is required by horizon module.

Change-Id: Ic7990161b80cad9a72bb641d7b221433b1445d50
Closes-bug: #1287752
2014-03-04 11:08:30 -05:00
Chris Ricker 472253cbe2 Ensure swift.conf created in all scenarios
Change I60fb78e5d40605ab47f349d154737ef9bab641f4 introduced a bug
wherein /etc/swift/swift.conf is getting created in consolidated
installs in which openstack::swift::proxy and
openstack::swift::storage-node classes are both applied to the same
server, but is not getting created on storage nodes in distributed
installs in which the proxy and storage-node classes are applied to
different servers.

Use ensure_resource wrappers around the swift class call to correct.

Change-Id: I692ddf5f344577705fc6a8652349f480ad21542d
Closes-Bug: 1287349
2014-03-04 05:40:47 -08:00
Min Pae d4b5fae753 Add configuration for glance-api used by cinder.
Adding configuration for glance-api used by cinder.  This is necessary
in multi-node installations to allow nova boot from an image based
volume to work properly.  Glance-api for cinder is currently being set
to 127.0.0.1 by default.

Closes-Bug: #1286088
Change-Id: I35f789e07ad317e7c8952beb4192c1f4159383d4
2014-02-28 07:35:13 -08:00
Michael Chapman 0cbddbcea0 Fix ubuntu issues that broke tests.
Puppetlabs apt introduced a change that required a debian
specific fact that wasn't being set in the spec tests. This
patch adds it.

Change-Id: Ia8fb3a5d0b01bf58eea583f2f129b48b4ce9564d
2014-03-01 00:50:08 +11:00
Sumit Naiksatam d3928e578d Remove param validation if enable_ovs_agent=false
Currently the controller module assumes that the
OVS agent is always configured when the neutron
service is configured. This patch ensures that
when OVS agent is not enabled, we do not require
OVS agent specific params to be set.

Change-Id: Id3e601841f2c962dbe9a142c4bdfe80b1a9fd4a7
2014-02-04 17:11:07 -08:00
Jeffrey Cox 1bd3442a94 Remove deprecated address from keystone spec
When I57b8469fb816c37c9d6a285c07796f685b121a90 (Remove deprecated
parameter 'address') was merged openstack_keystone_spec.rb broke.
This change removes the use of the deprecated 'address'.

Change-Id: Ib6d74bfc0d13f5c13f523d5d98b4aea60cc4adaf
2014-02-04 11:22:25 -05:00
Chris Ricker eec8af5a74 test_nova.sh uses old cirros images
Update test_nova.sh to download Cirros 0.3.1 for config_drive support,
and for consistency with the other Cirros image downloads within this
module.

Change-Id: Ic022c0199d254c3cadb08ccda1ef588fd3f09c35
Closes-Bug: #1275746
2014-02-03 06:01:56 -08:00
Jenkins 66ff261dff Merge "Change facter variable format" 2013-12-30 17:49:26 +00:00
Rongze Zhu 0a8f231156 Change facter variable format
since facter variables are set at top scope, we can prefer "$::" to make
it explicit:
  * $operatingsystem => $::operatingsystem

Change-Id: I30a08e72182feae6f416cda96555d45d43dcc933
2013-12-30 13:08:05 +08:00
Mathieu Gagné 388d47bd9b Remove duplicated parameters for keystone
Following parameters where duplicated by mistake:
nova, glance, cinder, neutron, ceilometer, swift, enabled.

Change-Id: I4587ac21a3328a34971428629185bd919cfddb2b
Closes-bug: #1263886
2013-12-25 21:24:11 -05:00
Jenkins fa37fc0656 Merge "Add missing mysql_root_password to tests/site.pp" 2013-12-23 20:06:19 +00:00
Mathieu Gagné 800d01c6f9 Remove use of deprecated include_class matcher
include_class is deprecated since rspec-puppet 1.0.0.
contain_class should be used instead.

Closes-bug: #1263617
Change-Id: I63fed009811684de1441a7b9d43325415d1860f9
2013-12-23 02:44:29 -05:00
Mathieu Gagné ba0c921368 Add missing mysql_root_password to tests/site.pp
Example was missing required parameter mysql_root_password.

Change-Id: I6a6b6e712ccab0057a668f2a3ee007f4483b9d76
Closes-bug: #1263292
2013-12-22 01:12:54 -05:00
cbaesema 4b9e74a7a2 Allow running of proxy and storage on the same node.
This adds a if defined check to avoid class conflicts
when running swift proxy and storage on the same node.

Change-Id: I60fb78e5d40605ab47f349d154737ef9bab641f4
2013-12-18 23:53:32 -06:00
Jenkins a936e2b7b7 Merge "Set Horizon default role to _member_" 2013-12-17 00:36:31 +00:00
Ian Wienand cd25ea33a7 Set Horizon default role to _member_
Keystone puppet module creates "Member" and "_member_" roles, which
creates confusion as to why both exist.  In a parallel change [1] we
modify keystone to only create the _member_ role.  Here we switch
Horizon to use that as the default role.

See also rhbz#984294 [2]

[1] https://review.openstack.org/#/c/60463/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=984294

Change-Id: I329db398d0ec33eb3997167806717c45df7cec09
2013-12-16 11:05:43 +11:00
Zeb Palmer dec4538190 Typo fix and slight rewording
Change-Id: I0b2688e6302cf25e333bcaa936985660e9dd0fa7
2013-12-08 17:56:35 -07:00
Jenkins f4c3d01cd2 Merge "Add syslog support to openstack::compute" 2013-11-26 15:05:15 +00:00
Sebastien Badia c7b4ef2e82 Puppetfile: Update remote url for puppet-vswitch
* Migrated on stackforge now

Change-Id: I7c5b51612816bc9ebb1394c1ae69677910bd1f44
2013-11-21 16:31:41 +01:00
Jenkins b78839e718 Merge "Prevent dollar signs and single quotes in variables from being removed by shell" 2013-10-30 00:53:37 +00:00
Francois Deppierraz d001af0910 Add syslog support to openstack::compute
Change-Id: I20072f2e5cb06422b68347cc9d96cb6ee0d5532a
2013-10-29 16:20:37 +01:00
Michael Chapman 0f053d68bc Add support for alternate images
Tempest runs can utilise two distinct images in glance.
This patch adds the option for a user to specify
a second name to be used with the current image_source, or
a second name in addition to a second image_source_alt.

Change-Id: I8b7d3b77f07d39ee5944e00b47e7ab1af67f7be7
2013-10-25 12:29:54 +11:00
Konrad Scherer 4d1d56e7bb Prevent dollar signs and single quotes in variables from being removed by shell
Change-Id: I88782bd60755f96816bf9d06cd57298cb46f8e40
2013-10-21 14:29:54 -04:00
Maru Newby 050fa67b23 Ensure Nova Network-compatible provisioning
Change-Id: If5e05b54aa8cff01a6b48ee1c3bcb951758fff95
Closes-Bug: #1242668
2013-10-21 14:58:51 +00:00
Florian Haas d169bfca24 repo.pp: Switch default release to Havana
The Havana release has dropped, and all supported repos include it. No
reason to stick to Grizzly packages any further.

Change-Id: I50833a977f0e6892db22a6d0e93b89f60e2fe0a0
2013-10-18 10:17:58 +02:00
Florian Haas f315199347 repo.pp: Support havana
Both RDO and UCA have added support for havana; include it in
openstack::repo.

Also, add proper support for Havana in repo/rdo.pp, and import package
signing key, sourced from:
https://raw.github.com/redhat-openstack/rdo-release/160c4183784382d311cde6b7d0dbe1bafb6731a1/RPM-GPG-KEY-RDO-Havana

The default for $release should switch to 'havana' once the Havana
release has dropped.

Change-Id: I0cbcc341235e0d73a0c49eec1254288d825fa787
2013-10-16 09:35:22 +02:00
Francois Deppierraz 97e4579cb8 Add syslog support to the openstack module
This change depends on the syslog implementation in all other dependent
modules.

Change-Id: Id500009a5308100775f1a35e20f7c089ff5a319b
2013-10-09 21:47:13 +02:00
Jenkins 7b7531faa5 Merge "Preparing for 2.2.0 release." 2013-10-08 02:44:03 +00:00
Jenkins 8f4429971e Merge "Sync storage rings from rsync server" 2013-10-08 02:41:51 +00:00
Chris Hoge e466420707 Preparing for 2.2.0 release.
Updated dependencies and version in Modulefile.
Updated release notes in README.md

Change-Id: Ia9a9b8ed0275ab33335aaf47f1ec054fd233a007
2013-10-07 17:05:44 -07:00
Rob Crittenden 9dd6737863 Options to configure MySQL for SSL and glance, keystone and nova clients.
The mysql module supports SSL but it wasn't accessible since the
arguments to configure it were unused. Add options to pass in the
CA, cert and private key paths to enable SSL in MySQL.

The second part of the patch reconfigures the connection line in the
glance, keystone and nova clients to use SSL by adding the ssl_ca
option.

Change-Id: I1f748fd7cfac110fc3170b235175623abfc9317b
Fixes: bug #1214606
2013-10-02 14:18:46 -04:00
Jenkins 74f8c55726 Merge "Add charset option for db setting" 2013-10-02 17:52:36 +00:00
Jenkins 6c5237633e Merge "Configurable admin for Swift proxy authtoken class" 2013-10-02 17:51:49 +00:00
Jenkins fb66bc16db Merge "Expose ovs_enable_tunneling parameter for neutron" 2013-10-02 17:51:49 +00:00
Jenkins 0911366345 Merge "Expose debug parameter" 2013-10-01 20:56:59 +00:00