5 Commits

Author SHA1 Message Date
Steve Baker
7745dd1a30 Open ports 8003, 8004 for heat API calls from compute
The tempest autoscaling scenario needs to push cloudwatch stats to
port 8003. Also there will soon be tempest tests which call the
native Heat API on port 8004 so this too needs to be open.

Change-Id: Ie0f0822d0a9cca08b7c0c09c8c2b130a417553fb
2014-03-19 14:47:46 +13:00
Clark Boylan
54ad9496cd Optionally give mysql user all global privs.
One our single use unittest slaves we want to allow unittests to create
and destroy arbitrary mysql database schemas. The simplest way to do
this is to grant all priveleges to the test user on the mysql server
globally. This is safe because the nodes are thrown away post test.

Change-Id: Ic92ff2f9c752d955e6f82eb4b88330b5448cfa75
2014-02-26 11:48:59 -08:00
Jeremy Stanley
f806613c66 Add single-use py3k-precise nodes
* .../files/nodepool/scripts/prepare_node.sh: Add parameters for
Python 3 and PyPy settings for use by the py3k-precise node type.

* .../files/nodepool/scripts/prepare_node_py3k.sh: Wrapper to enable
the Python 3 and PyPy support toggles in prepare_node.sh.

* .../manifests/single_use_slave.pp: Add the Python 3 and PyPy
support variables, passing them through to the Jenkins slave class.

* .../templates/nodepool/nodepool.yaml.erb: Add a new node and image
for py3k-precise in a suitably small quantity for initial testing.

Change-Id: Id2438c17ea59ae9123a841fd0b348728c6467529
2014-02-18 17:52:33 +00:00
Clark Boylan
fc249c341f Handle the slave bare flag properly in nodepool.
Just to be confusing our bare-precise images are not actually bare
jenkins slave images and things will break if they are. Make the
jenkins::slave bare flag selectable in the single_use_slave manifest and
set it to true on the bare precise nodes (keep it set to false on
anything running devstack or similar).

Change-Id: I88d0a7f7b9c188ac3547b9ffab57c5fbce4f7a10
2014-02-05 17:40:13 -08:00
Clark Boylan
0f4b0fae64 Redo slave manifests for clarity and correctness.
The differences between openstack_project::slave,
openstack_project::slave_template, and openstack_project::bare_slave
were not always clear. Keep openstack_project::slave as the default long
running slave manifest, but replace slave_template with a
single_use_slave.pp to make it clear where single use slave config
begins. Add the ability to toggle automatic upgrades and jenkins sudo
rights to this new manifest. Finally, add a more verbose comment to
bare_slave explaining what it is useful for (having a jenkins like slave
host that doesn't need a firewall or ntp or automatic upgrades).

Change-Id: I3989c9e6ad9469f441ca5d3627f7b3b704d8a8da
2014-01-30 10:37:36 -08:00