Commit Graph

261 Commits

Author SHA1 Message Date
Monty Taylor 204ff59c50 Retire stackforge/puppet-openstack_dev_env 2015-10-17 16:04:26 -04:00
Dan Bode e60314da9b clean up the dev_env
This patch cleans up lots of old un-maintained cruft in the
dev_env.

1. removes unmaintained node definitions from the Vagrantfile
2. remove Rakefile and supporting code. I wound up moving all of
the code to other projects.
3. update README

Change-Id: I07a9ad8413aa717bfc2fca1c08508172c143e654
2013-06-13 14:24:47 -07:00
Dan Bode a1aca07e29 use librarian-puppet-simple
this commit updates the repos to use
librarian-puppet-simple instead of
librarian-puppet. This change is motivated
b/c I do want want to have to resolve deps.

Change-Id: I7e1d229a9190ef4411976561994b2cd2cfad025d
2013-06-12 13:29:43 -07:00
Dan Bode b1f3959f5b update db params for compute
This commit updates the db params for the compute
role b/c the param names changed in:

  https://review.openstack.org/#/c/30782/

This patch is required to fix the test run by this module.

Change-Id: I8926422ffe7381323d08404a9267741fbd02d873
2013-05-29 13:56:40 -07:00
Dan Bode 6d1a5c0c8b Do not install anything form the forge
It was resulting in ssl errors for many users.
Since the only module we were installing from
the forge was ruby, this updates the URL to not
use the forge.

Change-Id: Ia977287e5b3b353f843647b39bb517d38fcf80ae
2013-05-29 13:54:21 -07:00
Dan Bode b849625894 update default version to grizzly
this commit updates the default version of opesntack
used for testing to grizzly.

Change-Id: Ie98eb2c7f3e9298cf69670b2dea9a9b038b81f22
2013-05-29 01:32:17 +00:00
Dan Bode c251fc113a update rabbit_user
Previously, we were not setting the rabbit_user of
compute instances.

This led to test failures when we changed the default
of rabbit_user in the openstack module.

This commit adds rabbit_user to the list of things configured
in the hiera file and ensures that the compute nodes set their
rabbit_user correctly.

Change-Id: Ic89c5f856a00d6bab2c3cab4b8a74818afc29fb4
2013-05-29 01:31:36 +00:00
Mathieu Gagné b0bc5dd6f3 Remove nova::conductor from site.pp
nova::conductor is now installed by openstack::nova::controller.

Change-Id: Ib8904c8a0f26036d1088f845a99a735f0bf34539
2013-05-21 20:45:36 -04:00
Dan Bode 3f0bf9dd1d remove swift from class declaration.
as it has been deprecated.

Change-Id: I665c45e747f6fcba100f230dc9e355fdb45f77d0
2013-05-20 11:15:46 -07:00
mruzicka 745e3254b0 Puppet Enterprise support
Previously the paths to puppet configuration files
were hardcoded which didn't work on PE, as it uses
/etc/puppetlabs/puppet as the base directory for its
configuration (as opposed to the standard /etc/puppet).
Newly the paths are constructed using $settings::confdir
and $settings::config variables as appropriate which
ensures the correct files ale managed.

Change-Id: Ic02eb30eec5b0e4cd0e4b528d4525d5fa4452a8b
2013-04-29 15:23:54 +02:00
Dan Bode f425f8d96b fix test failures
this commit is aimed at fixing gating test failures:

- add conditional statement so that openstack_dev_env can be tested
- fix dep failure

Change-Id: I29290fd448f39729d319412df470ff0eb6246333
2013-04-26 16:06:37 -07:00
Jenkins 23af79e765 Merge "update name of ubuntu cloud archive source" 2013-04-26 00:36:38 +00:00
Dan Bode 58321f2d1e update name of ubuntu cloud archive source
The resource previously add had folsom in the title
which was misleading b/c it can now be configured to support
package repos for any released version of openstack.

Change-Id: I558c29838a6f33f11223302ea55eda8225425452
2013-04-25 17:35:38 -07:00
Jenkins 229d3e94e4 Merge "update README" 2013-04-26 00:31:23 +00:00
Dan Bode ec4fe276bb update README
minor edits

Change-Id: I955d37ee19cb8e0bf79326ac94a6952c3e0cce96
2013-04-25 17:28:34 -07:00
Jenkins 7b0e47ba56 Merge "update repo path for quantum" 2013-04-25 20:45:59 +00:00
Dan Bode f893d88a3d update repo path for quantum
to reflect that is has been moved to stackforge.

Change-Id: I290ed8d0d8209152f4e7b0c318d2ad747aeb615e
2013-04-25 13:16:46 -07:00
Dan Bode c5f8d60cb2 remove commented out lines
Previous network configurations have existed in the
Vagrantfile and been commented out for months.

this commit removes those commented out lines.

Change-Id: I88fc91a9f9f939f492b9e7a025ef237ac8ec9034
2013-04-25 13:13:03 -07:00
Dan Bode a40b2bc990 fix gui_mode
Previously gui_mode was checking for a value
of 'true' in the config.yaml file.

This did not match the default value of true
that was set there.

This commit changes this parameter to expect
a boolean value of true or false instead of a
string to make it more consistent with the other
values.

Change-Id: If3f55a16e38bd4bea310bac31b9ef7ac9de158af
2013-04-23 13:21:29 -07:00
Mathieu Gagné 1f6cdc2f8c Remove references to Travis CI
Fixes: bug #1165069
Change-Id: I1319520af6a1cd5231860669a3924d35bfeab263
2013-04-21 17:09:34 -04:00
Dan Bode dc8737d4c8 update ref to openvswitch module to use a working repo
The repo it was previously pointed to does not work.

This commit repoints Puppetfile at master of my repo
which is a slightly modified version of cisco's grizzly
branch.

Change-Id: Id9de909b7f7571e1ed53159fd3f6336111351def
2013-04-16 12:28:03 -07:00
Dan Bode 83e9aa37bc update nova_config to use DEFAULT section
this is now required

Change-Id: Ibb60b18dcde4c2e77d8cd63693298ecbf6235cac
2013-04-12 17:03:04 -07:00
Dan Bode 6f6c941ebf fix quantum issues
This commit resolves a variety of quantum related issues.
* Ensures that network type is actually read from hiera.
* Ensure $nova_network is correctly set

Change-Id: I61f65b8271039b20fb0b15be0d3e84bc7bc4ad6e
2013-04-10 17:31:52 -07:00
Dan Bode 702f82c3c9 This code refactors the openstack test script
This script was updated so that I could test swift as well
as cherry-pick commits from openstack's gerrit git repo.

it adds conditionally logic for when the repo is swift (to
build out the swift test env which includes a puppetmaster)

it also adds a test_mode=puppet_swift which runs the basic
swift smoke tests.

it also adds code so that I can run the gerrit cherry-pick command
to test patches from gerrit that are being reviewed.

Change-Id: If944160dfcc6b68b56f4f688d9d6dea314bf0c5a
2013-04-10 17:02:41 -07:00
Jenkins 2d605ef2ed Merge "update repos to point at stackforge" 2013-04-10 23:43:23 +00:00
Dan Bode 8c014d8599 update repos to point at stackforge
This commit updates the Puppetfile to point all of the
repos at their new cononical source (stackforge!)

Change-Id: If1d71560b94983aeabc50909e2fc6d974c8ab173
2013-04-10 16:11:59 -07:00
Dan Bode bb3c5ec787 add gitreview
Change-Id: I80219c6ff1a14184f902f6225b28febc4288264a
2013-04-10 13:50:00 -07:00
Dan Bode 7f512e2a2b explicitly exit from tests
this commit adds an explicit exit from the tempest tests.

Sometimes vagrant's ssh command does not return, this explicit exit
appears to guarentee that it exits.
2013-04-07 20:26:53 -07:00
Francois Deppierraz 7f025fd164 Fix syntax error in Vagrantfile
The error was only triggered in verbose mode.
2013-04-07 20:26:53 -07:00
Dan Bode d264b28b97 set revision to master for grizzly
there is not yet a stable branch in tempest, so this updates
the version to use to master for grizzly.
2013-04-07 20:26:53 -07:00
Dan Bode 80ba0267a3 Add nova-conductor code for grizzly.
It is required to install grizzly.
2013-04-07 20:26:53 -07:00
Dan Bode dce3cdd846 Update sleep to 2 minutes
I am finding serveral cases where it takes more than 1 minute
to be able to log into my instance.
2013-04-07 20:26:53 -07:00
Dan Bode 8077585c29 fix bug in unit test code
so that we correctly capture test results
2013-04-07 20:26:53 -07:00
Dan Bode 5d1542aa21 set explicit ref for puppet module
This commit sets an expicit ref for the puppet module.

Previously, it was set to master, but the latest commits introduce
a dependency nightmare that I could not resolve :(
2013-04-07 20:26:53 -07:00
Dan Bode d6baa1122f Revert "Merge pull request #71 from bodepd/remove_puppet_puppet_modules"
This reverts commit 386e7b20b2629fca7ac2cffe9b4dd789724a512e, reversing
changes made to 4852929a6600b31c068f086330c88abdd6342347.
2013-04-07 20:26:53 -07:00
Dan Bode 01e8bb8ad2 Revert "Merge pull request #72 from bodepd/upate_puppet_module_version"
This reverts commit 6a3087ecb66c87c4153b206f2bcbb05755104bc2, reversing
changes made to 386e7b20b2629fca7ac2cffe9b4dd789724a512e.
2013-04-07 20:26:53 -07:00
Dan Bode 96193e8a5c update Puppetfile to support installing a master
this is required for testing swift. This also uses the
version of the puppet module on the forge.
2013-04-07 20:26:53 -07:00
Dan Bode 0add511ba3 remove puppet releted repos
the upstream repos that I was relying on to configure puppet have been
deleted. currently, this breaks the entire CI system.

this module removes the puppet specific repos from the librarian
puppet file so that I can resume testing of openstack.

This commit knowingly breaks support for testing of swift, and these
repos will be added back once I can locate the required source code.
2013-04-07 20:26:53 -07:00
Dan Bode 2c0daa1777 update unit test rake task
update formatting
fix success check
2013-04-07 20:26:53 -07:00
Dan Bode 24678b9d1d fix ordering issue
bundle install needs to be run before librarian puppet
can be used
2013-04-07 20:26:53 -07:00
Dan Bode f4c0459cd5 add support for running all unit tests
this commit adds a rake test that supports running all unit
tests. it also updates the openstack_test.sh script to invoke
that rake test to run tests.

Also, it adds unit testing requirements to the Gemfile.
2013-04-07 20:26:53 -07:00
Dan Bode 03f9f9065b Add conditional branches for unit testing
This commit adds conditional logic for running unit tests.
2013-04-07 20:26:53 -07:00
Dan Bode f419d1d59d install tempest when installing modules via pmt 2013-04-07 20:26:53 -07:00
Dan Bode ffa8dcf052 allow tests to install modules from forge
this commit adds a variable that allows integration
tests to choose if they install modules using librarian-puppet
or pmt (from the forge)
2013-04-07 20:26:53 -07:00
Dan Bode 65b0ac9180 remove avahi and messagebus
The messagebus service is a requirement for libvirt on rhel.
This has been added to the nova::compute::libvirt module in the
following commit:
https://github.com/puppetlabs/puppetlabs-nova/pull/252
2013-04-07 20:26:53 -07:00
Dan Bode 945fec88d5 simplify horizon external deps
This commit removes external deps for horizon.

They can safely be removed b/c they are now declared
from within the ::horizon class as of
  https://github.com/puppetlabs/puppetlabs-horizon/pull/55
2013-04-07 20:26:53 -07:00
Dan Bode 8b3b3e9f57 jenins script updates
it should fail if it finds unset variables
2013-04-07 20:26:53 -07:00
Dan Bode 2bf09bdbc9 Add test scripts
add helper scripts that I can invoke from jenkins.

jenkins should contain as little intelligence as possible.
2013-04-07 20:26:44 -07:00
Dan Bode a345dfafc3 Merge pull request #59 from bodepd/control_ubuntu_os_version
Control ubuntu os version
2013-03-13 09:42:23 -07:00
Dan Bode 2d4f76f7aa move wget code to be before node blocks
just to organize things.
2013-03-13 09:40:27 -07:00