Commit Graph

781 Commits

Author SHA1 Message Date
Monty Taylor 20915a6e1e Retire stackforge/puppet_openstack_builder 2015-10-17 16:04:28 -04:00
Jenkins 38fcbea817 Merge "Add neutron::config to network control classgroups" 2014-09-13 03:31:51 +00:00
Jenkins e0ee48cb31 Merge "Add ML2 support" 2014-08-19 04:14:01 +00:00
Mark T. Voelker 6d797019ab Add neutron::config to network control classgroups
Most class groups now include the <service>::config class.
These generic classes make it possible to add arbitrary
configuration for items that don'thave full class params
either because such haven't been added yet or because they're
seldom used.  However we don't currently include the neutron::config
class in the classgroups related to network controllers.  This
patch corrects the oversight.

Change-Id: I82fef066cf7052220fcfc5f3f2a6f1fb8f47bfb3
Closes-Bug: #1358533
2014-08-18 22:34:18 -04:00
Mark T. Voelker b2fd7baafa Add nova::scheduler::filter to nova_controller
The current nova_controller classgroup doesn't include
the nova::scheduler::filter class, which leaves end
users without the ability to modify scheduler filters.
This patch adds it.

Change-Id: I689919048a22eac1fdcae918dde1509fbed5863f
Closes-Bug: #1354458
2014-08-13 23:19:21 -04:00
Jenkins 27d3b930c0 Merge "Add horizon mappings" 2014-08-08 03:09:39 +00:00
Chris Ricker 80267d0cb5 Add notifications class to provider class group
Add neutron::server::notifications class to provider network class group
so that Nova <-> Neutron notifications get configured.

Change-Id: I5e39a84ca04558e8650199ad88938a51700c869e
Partial-Bug: #1353671
2014-08-07 10:35:29 -04:00
Michael Chapman aee80ca106 Add horizon mappings
Horizon will by default use the fqdn of the controller
node. This is not correct in the case where the fqdn
being used is from a non-public interface, or for the
case where a virtual IP sits in front of the dashboard
and has its own name.

This patch uses controller_public_address for the horizon
fqdn and servername.

Change-Id: I75a00c0f1b9a265a8c103109971b018def903196
2014-08-01 15:07:13 +10:00
Michael Chapman 69f28a6b72 Add ML2 support
Two new class groups have been added that enable the ml2
folder structure, and include extra classes on compute nodes
that were not previously required. Scenarios should swap over
to these class groups when they are ready.

core_plugin for neutron was previously set by plugin
choice, it is now set to ml2 in user.common.yaml. To use
the deprecated plugins this will need to be overridden
manually by the user. Mechanisms are set by plugin choice,
but there is currently only support for a single mechanism
at a time.

This patch focuses solely on gre support. VXLAN and others can
be added in future patches.

The service_plugins format has been changed to a curated list of
strings, and has been reduced to only include the router plugin
while support for other plugins is tested.

Change-Id: I258074d70bf136ac4d8eaf08abc06e8676db3829
2014-07-31 17:44:57 +10:00
Michael Chapman 75ead64890 Improved firewall support
Add support for new firewalling in openstacklib (soon
to be moved to openstack_extras) that manages SSH and
other basic rules, along with improved dashboard
firewall management.

Change-Id: Ib95254fd98e19111463e7b0c4c2e38d89f7b83da
2014-07-30 11:10:25 +10:00
Michael Chapman 04d030128f Push stacktira scenario to icehouse
This patch moves stacktira to the icehouse release
and contains a couple of other minor fixes for the
stacktira scenario:

the default mirror has changed due to stability issues

services are being gradually moved to bind only to the
internal interface, and haproxy will forward traffic

notifications support has been added

the firewall on the internal interface between control
and compute has been opened to allow all traffic for VMs

Accommodate some changes in openstacklib structure

Add ML2 support.

Change-Id: I23fb8048f0e0463d8c16998b5bfa8c797a295445
2014-07-30 11:02:30 +10:00
Jenkins 326a703192 Merge "Add tarball comparison logic" 2014-07-30 00:51:52 +00:00
Jenkins d4a314cb54 Merge "Add network namespace support" 2014-07-30 00:51:36 +00:00
Jenkins 208e3d4ab0 Merge "Add fqdn check to bootstrap script" 2014-07-30 00:46:54 +00:00
Michael Chapman dbaa3469b0 Add fqdn check to bootstrap script
This patch prevents the hosts file from
being overwritten if the fqdn fact is already
returning $hostname.$domain_name. This allows
A site that does not want the installer to manage
its hosts file to work cleanly.

Change-Id: I18c8a151aa98b979bc94caabad57680ed3b34570
2014-07-30 10:45:46 +10:00
Jenkins 445a13df0e Merge "Lock network facts unless specified" 2014-07-25 23:42:53 +00:00
Michael Chapman 5ae55c1890 Lock network facts unless specified
Due to a new upstream change in vswitch, ip addresses
for interfaces are now moved to bridges, which can confuse
facter's ipaddress facts. This change will lock the facts
to their initial value on the first run of the bootstrap
script, preventing issues arising from puppet referring to
facts that no longer exist (eg for the external interface)

Change-Id: I10c67c4d2b06f8438f3d3bf05b45f647de6449a7
2014-07-25 22:51:15 +10:00
Michael Chapman 045e75deee Add network namespace support
RedHat kernels do not have network namespaces
enabled by default. This patch uses the netns class
in openstacklib to check if network namespaces are
available, and if they are not, install the latest kernel.

Ubuntu hosts are unaffected, and should contain netns support
in all common cases anyway.

Change-Id: Ided02a7bfe57ab3e318c7ac24df0eeb54b349c08
2014-07-25 09:42:13 +10:00
Michael Chapman 65a4256220 Add tarball comparison logic
This patch adds support for a very simple
update mechanism. Tarballs are downloaded,
md5 sums checked for changes from the current
one, and if they are different the new tarball
is extracted in place of the old one.

Change-Id: Ie23efc9795ba6520bb108d6797bb52651e44e273
2014-07-25 09:41:29 +10:00
Jenkins 926e6fefe3 Merge "Fix ruby version detection in bootstrap" 2014-07-24 21:54:02 +00:00
Jenkins fee21a7025 Merge "Fix augeas gem installs in bootstrap" 2014-07-24 21:53:44 +00:00
Jenkins a890b8ea9b Merge "Use facter for hostname in bootstrap script" 2014-07-24 21:53:16 +00:00
Jenkins 520b340288 Merge "Install wget if it's not already there" 2014-07-24 21:52:56 +00:00
Michael Chapman 1b643da40b Fix ruby version detection in bootstrap
The ruby install section did not correctly
handle the case where ruby was not present.

This patch adds a check

Change-Id: I0d4333e847545bc4bf5466367a761fd056d298d8
2014-07-22 15:43:10 +10:00
Michael Chapman 36c7c35eb5 Use facter for hostname in bootstrap script
Change-Id: Iceb0b482aedb3a44afb051bd62a9d732c81c3ea1
2014-07-22 14:23:31 +10:00
Michael Chapman 3c9542e45f Install wget if it's not already there
In addition, don't try to set the wget proxy
until it's installed.

Change-Id: Ibd01939264a2ce1fd9fa36ff10de0785c6722025
2014-07-22 14:12:45 +10:00
Michael Chapman ed79e0ad43 Fix augeas gem installs in bootstrap
Augeas is handled separately so it should not
be installed along with other local gems.

Change-Id: I090a3c8f44a93e3a9a0edc65683ba263b7af7eae
2014-07-21 14:56:18 +10:00
Mark T. Voelker 43d23de4c2 Fix iscsi_ip_address to work automatically for AIO
In https://review.openstack.org/#/c/101589/ a change was made
to allow compute nodes to connect to iscsi volumes that don't
reside on the same physical host. However, the default value used
is the IP address on eth1, which causes a minor headache for many
people deploying AIO with a single NIC (usually eth0).  This patch
adds a line to the install.sh script that sets a value in user.yaml
that works for such cases.

Change-Id: I6d968ec5fb9bea56159c48e754e94e53ab0b1bb8
Closes-Bug: #1344074
2014-07-18 11:29:52 -04:00
Jenkins 85345062cc Merge "Set up Apache on build server for HA" 2014-06-25 15:09:05 +00:00
don 7b2e70a9a5 Fixup for Cinder iSCSI volumes
Cinder could only attach volumes to instances that were on the
same node. This is due to the iscsi listening address set to
0.0.0.0. Attaching the listener to a interface resolves the
problem and allows volume operations from/to any host.

Change-Id: Ia66c4f7f7278e2056d1ca3770ed2461259cca4e8
2014-06-20 08:56:44 -07:00
Francois Deppierraz becdbed120 ceilometer_controller: Add missing ceilometer::agent::auth class
Without this patch, class ceilometer::agent::central was installed on
the ceilometer controller but without the necessary authentication
settings to talk to other openstack services.

Adding the ceilometer::agent::auth class on the controller node fixes
this issue.

Change-Id: I7f1ead998f3f6c9492f5076160b52156ef689b63
2014-06-06 15:58:05 +02:00
Chris Ricker 585834da23 Set up Apache on build server for HA
In HA scenarios the build server needs apache::default_vhost enabled but
the other Apache nodes in HA do not.

Change-Id: If891c6895ee53f7f24de8c1b0c3f0bae3c53c5da
Closes-Bug: #1324593
2014-05-29 11:53:33 -04:00
Chris Ricker ed640d86e1 Set charset and collation order parameters
Add data mappings and set charset and collation order parameters for
Ceilometer, Cinder, Glance, Heat, Keystone, Neutron, and Nova.

Conflicts:
	data/hiera_data/common.yaml

Closes-Bug: #1302088
Change-Id: Ia9bb5ef8018bb11158569d8e1ce32d18754f0c2f
2014-05-29 10:33:09 -04:00
Jenkins 8073a56d83 Merge "Horizon login failing due to incorrect endpoint" 2014-05-29 14:03:01 +00:00
Jenkins 674e8552d4 Merge "Supress default vhost creation in HA scenarios" 2014-05-29 14:01:58 +00:00
Jenkins 9e16ac12b3 Merge "Allow rabbitmq erlang cookie to be set" 2014-05-29 14:00:27 +00:00
Jenkins 40e71b322f Merge "Add variables for active-passive Galera HA proxy" 2014-05-29 13:58:25 +00:00
Jenkins 952696f1a3 Merge "Configure MySQL before db sync runs" 2014-05-29 13:56:02 +00:00
Donald Talton 95dc5cf4de Allow Glance to COW images to Cinder Volumes
This bypasses will allow glance to bypass the ownloading
of the image to a volume and replaces it by doing a direct
COW within Ceph and other storage models that take advantage of it.

Change-Id: Idefdfe440bf07a80fe3db9ea91489ebb31ceaeb3
2014-05-23 08:29:08 -07:00
Chris Ricker b3d334e1c7 Supress default vhost creation in HA scenarios
Disable default vhost creation in HA scenarios so that the horizon vhost
will work.

Change-Id: Ief9cafa3d948c5c6ed5ece0eefa1908c01b659e1
Closes-Bug: #1322284
2014-05-22 13:58:55 -04:00
Chris Ricker 960445ce93 Horizon login failing due to incorrect endpoint
Update data mappings so that horizon uses the public keystone endpoint
(port 5000) instead of the internal keystone endpoint (35357) to allow
users to log in.

Change-Id: I7d6298fbffb81e8f8929a2f2e74b6ef9f4c59b6a
Closes-Bug: #1322282
2014-05-22 13:44:19 -04:00
Chris Ricker 1dd630ff37 Allow rabbitmq erlang cookie to be set
The wipe_db_on_cookie_change flag must be set so that the erlang cookie
for RabbitMQ can be configured by Puppet.

Change-Id: I92d861142befa4ffa79a1086dad775f3168c0381
Closes-Bug: #1322210
2014-05-22 11:08:31 -04:00
Chris Ricker baf6a7fa17 Missing data mapping for ceilometer-api host
Add data mapping to bind ceilometer-api to the correct IP address in HA
scenarios.

Change-Id: I34a439a9d52627ea7b7922b1e5ffaebc9ce71f26
Closes-Bug: #1321939
2014-05-21 23:48:46 -04:00
Chris Ricker ba8bdadd24 Add variables for active-passive Galera HA proxy
Add variables and data mappings needed to configure Galera HAProxy in an
active-passive model due to compatibility issues between Galera
configured with multiple active writers and certain SQL statements used
in OpenStack code.

Change-Id: I09111b406edf3799e01b7172956d08d84d40f526
Partial-Bug: #1321734
2014-05-21 18:16:36 -04:00
Mark T. Voelker bb483314d9 Fix Cinder deprecation warning
The puppet-cinder module has deprecated the sql_connection
parameter and replaced it with a parameter called
database_connection to be more consistent with other modules.
The puppet_openstack_builder data mappings haven't been updated,
so users see a deprecation warning.  This patch updates the
data mappings to get rid of the warning.

Change-Id: I947eb7fa7718a720a72b7275af0aad0376d41776
Closes-Bug: #1317160
2014-05-21 12:40:24 -04:00
Jenkins 18d029833e Merge "Added 'tee' to the logging command in install.sh" 2014-05-21 13:13:04 +00:00
Jenkins 29bc66893c Merge "Add options for instance resizing" 2014-05-21 12:55:29 +00:00
Jenkins 6fa55f686a Merge "Conversion script skipping first in list" 2014-05-21 12:54:33 +00:00
Jenkins 9a840654dc Merge "Minor fixups for the stacktira bootstrap script" 2014-05-21 12:52:02 +00:00
Jenkins 2cf309992f Merge "Drop obsolete Galera references" 2014-05-21 12:44:49 +00:00