Commit Graph

163 Commits

Author SHA1 Message Date
Monty Taylor 8c7846569e Retire stackforge/kickstack 2015-10-17 16:03:24 -04:00
Florian Haas 5619fd7695 Retire Kickstack
This module adds no value over vendor's higher-level deployment
abstractions anymore, so just retire it.

Bump version number to 0.2.9, indicating the "last" version.

Change-Id: If271953feb474d76b1a6ff027cf073203ed5a1f4
2014-11-11 12:26:47 +01:00
Jenkins 90fcd4b6f6 Merge "Add support for the OpenStack Icehouse Release (2014.1)" 2014-07-03 20:21:46 +00:00
Martin Loschwitz 2bff9da142 Add support for the OpenStack Icehouse Release (2014.1)
This commit adds support for the OpenStack Icehouse release.

Add the auth_encryption_key parameter to the heat::engine call

More recent versions of the puppet-heat module, starting in Dec '13,
require a auth_encryption_key parameter to be passed to the engine
class. Kickstack didn't pass on the parameter, which caused the
installation of Heat to fail. This commit adds the parameter, sets
it automatically and exports it as fact.

Applying this fix makes deploying Heat via Kickstack possible again.

Add database configuration to neutron.conf

Previous versions of Kickstack would have the database configuration in
the plugin. By now, apparently, the recommended mechanism is to have the
DB configuration happen in neutron.conf -- at least the ML2 class of the
Neutron module doesn't even implement database parameters anymore. Thus,
we need the database configuration in neutron.conf. This commit adds the
required parameters to the neutron class.

Bump dependency on puppetlabs-openstack to 4.0.0

Add three new template files required for Icehouse

Icehouse doesn't ship the L2 OVS agent configuration file by default
anymore, so we need to supply it. Also, the Upstart jobs for Neutron
on Ubuntu 12.04 are broken for setups using OVS instead ov ML2. Fix
them by supplying appropriate replacements.

Ensure the L2 configuration file and Upstart job works properly

The Icehouse packages for Ubuntu assume that Neutron is using the ML2
plugin by default; older setups using OVS continue to be supported for
this release though. However, when installing the L2 agent package for
OVS, the Upstart file is broken for OVS (i.e. non-ml2) usage and the
OVS configuration file is missing altogether. These commits add back
a proper OVS configuration file and ensure that on Ubuntu systems, the
Upstart job makes the agent watch out for the correct configuration
file (the OVS one instead of the ML2 one).

Ensure Neutron is properly configured for Nova notifications

Starting with the Icehouse release, Neutron can talk to Nova directly
using so-called notifications. For this to work, Neutron needs to
know how to talk to Nova. This commit enables the required portion
of functionality by calling neutron::server:notifications in the
Neutron puppet module. Also, the Nova API address is exported as a
separate fact in the Nova module. Also, the Nova API IP is exported
as a separate fact.

Also, this ensures that on Debian and Ubuntu systems, the default file
for the Neutron server points to the appropriate OVS configuration if
OVS is used as a driver instead of ML2.

Change call of the repo function to match new name

puppet-openstack 4.0.0 and newer use openstack::resources::repo to add
the OpenStack software repositories locally; this commit makes Kickstack
use the new name.

Move the neutron nova notification stuff into a separate class

Properly define auth URI for Cinder

Newer versions of the puppet-cinder module automatically guess what the
Auth URI is if it's not set separately; by setting it explicitly, we
make sure it has the right value all the time.

Ensure directories are there before installing files

The current OVS agent packages don't even ship the directory required
for the OVS agent configuration file anymore; create it before putting
the file in place.

Don't explicitly enable Securitygroups anymore

Previous versions of kickstack had to enable Securitygroups because the
Neutron module was broken; the module was fixed now, so this is just not
necessary anymore.

This deletes the neutron nova notifications call from server.pp

Not required here anymore as this has moved into a separate class.

Include the nova notifications class in api role

Change-Id: Ifc10b7b981153e0261da76cd290bce7337c1e6be
2014-05-24 09:55:00 +02:00
Florian Haas 2a8d7adbb4 doc: Simplify module dependencies
All of Kickstack's dependent modules are available on the Puppet
Forge, as of release 0.2.0. Remove references to dependent modules
previously available only through GitHub, and replace them with a
simple "puppet module install" command.

Change-Id: I103e34620b18694ef81929a030348e1588ec85cd
2014-03-10 14:11:08 +01:00
Florian Haas 01209c377c Add .gitreview
Now that the repo has been set up on StackForge, add a .gitreview
file to facilitate the standard Gerrit Workflow.

Change-Id: I39b2d86eacdba390efdfa822a9ee052217dc1097
2014-03-08 15:03:25 +01:00
Florian Haas c5567a2554 Bump module version to 0.2.0 2014-03-07 17:00:32 +01:00
Florian Haas ba7dfd9fab neutron: set tunnel_types
Post-Havana, tunnel_network_type is deprecated in favor of
tunnel_types, and the puppetlabs-neutron module recently reflected this.
Update to be in line with current versions of that module.
2014-03-07 16:59:38 +01:00
Florian Haas abc950b685 nova: set install_utilities = false (commented)
The nova module has added a "utilities" class, which installs
libguestfs-tools. Since this installs a slew of dependencies that
only make sense to install on a compute node, the install_utilities
parameter was subsequently added in Git, but has not yet been released
to the Puppet Forge. So as to not make people depend on a version of
puppetlabs-nova that isn't yet on the Puppet Forge, accept the silly
package installation for now, but add the parameter, to be uncommented
when the fix makes it into a module release.
2014-03-07 16:55:47 +01:00
Florian Haas b3c3d9dde7 ceilometer: fix rabbit_virtual_host
The ceilometer module changed the name of this parameter
from rabbit_virtualhost to rabbit_virtualhost, so
properly reflect the change.
2014-03-07 16:55:11 +01:00
Florian Haas 59ec7e1017 Bump default release to Havana
Changing the kickstack_release default to havana
had been long overdue.
2014-03-07 16:54:41 +01:00
Florian Haas bf036710ac Update dependencies in Modulefile
With puppetlabs-openstack now having sane dependencies on
puppetlabs-{neutron,heat,ceilometer}, the Modulefile can
be greatly simplified. In addition, there are now much cleaner
versions of inifile and vswitch, so we can simply use those.
2014-03-07 16:53:09 +01:00
Florian Haas 955c02dbbb Don't use Heat password for Ceilometer
It's obviously silly to use kickstack_heat_keystone_password for
Ceilometer, when we have kickstack_ceilometer_keystone_password as
well.
2013-10-26 20:41:37 +02:00
Florian Haas 39fe93b5dd Fix VNCProxy class dependency 2013-10-20 18:40:22 +02:00
Florian Haas b38d52748b Work around strange interpretation of bridge_uplinks
Explicitly create the external bridge (br-ex) on the node running
the L3 agent.

The neutron module creates bridge_uplinks only when bridge_mappings is
non-empty. That's bogus for GRE configurations, so create the "bridge
uplink" manually.
2013-10-19 22:25:41 +02:00
Florian Haas 313f2c74ba Explicitly set "host" address for VNCProxy
Override default settings and explicitly bind to the management address.
2013-10-19 22:24:41 +02:00
Florian Haas 88cd1cbe6f Add FQDN to host name resolution, if available 2013-10-19 18:13:19 +02:00
Florian Haas d1420a9a4c Add Ceilometer client 2013-10-19 12:08:44 +02:00
Florian Haas 5d5bf55ac4 Add Ceilometer compute agent to compute node 2013-10-19 12:08:44 +02:00
Florian Haas f5cde1c66a Add metering node 2013-10-19 12:08:44 +02:00
Florian Haas 383e34332c Add wrapper for Ceilometer compute agent 2013-10-19 12:08:44 +02:00
Florian Haas 11373d7511 Add wrapper for Ceilometer central agent and collector 2013-10-19 12:08:44 +02:00
Florian Haas 9201d00a49 Add Ceilometer auth wrapper 2013-10-19 12:08:43 +02:00
Florian Haas 918b167b26 Add Ceilometer to API node 2013-10-19 11:52:06 +02:00
Florian Haas fa0a519550 Add Ceilometer API 2013-10-19 11:51:00 +02:00
Florian Haas 9c49a94a94 Add Ceilometer config wrapper
Add a configuration wrapper that uses Kickstack variables to set up
Ceilometer.
2013-10-19 11:51:00 +02:00
Florian Haas 505965ff4e Add Ceilometer database to infrastructure node 2013-10-19 11:50:58 +02:00
Florian Haas 0e05e1e142 Add Ceilometer database configuration 2013-10-19 11:50:28 +02:00
Florian Haas d75012c0ed Add orchestration node 2013-10-18 21:36:16 +02:00
Florian Haas 46a3d7cb43 Add Heat engine 2013-10-18 21:36:16 +02:00
Florian Haas 88f92f9b9e Add Heat APIs
Add support for native Heat, CloudFormation, and CloudWatch APIs.
2013-10-18 21:36:16 +02:00
Florian Haas 2c2c8653cb Add Heat database configuration 2013-10-18 21:36:16 +02:00
Florian Haas bc3149a46a Add parameter "heat_apis"
Enable a global parameter that allows users to define which Heat APIs
they want to support ('heat', 'cfn', and/or 'cloudwatch').
2013-10-18 21:31:36 +02:00
Florian Haas c175a91448 cinder/volume.pp: Bind iSCSI portal to management IP, not to wildcard
If Cinder binds its iSCSI portal to the 0.0.0.0 address, then Nova
will attempt to connect (with iscsiadm) to a portal at 0.0.0.0, which
is obviously bogus.

Instead, bind to the IP of the management interface, so iscsiadm can
properly access the portal.
2013-10-18 13:55:23 +02:00
Florian Haas 32ccf03cff Add kickstack_horizon_allow_any_hostname parameter
By default (unless running in debug mode), Django will only allow
access to Horizon through the Horizon host's FQDN. Add
kickstack_horizon_allow_any_hostname, which when set to true will
override by allowing access through any hostname, or the host's IP
address.
2013-10-18 12:00:55 +02:00
Florian Haas f7a499a660 Neutron: Ensure that L3 agent is configured before L2 agent on network node
Strangely, the L2 agent relies on the availability of
bridge_uplinks. The corresponding bridges are only created by the L3
agent. Hence, on the network node only, make sure we have L3 set up
before we tackle L2.
2013-10-17 16:31:02 +02:00
Florian Haas 008824d157 Neutron: Use vs_bridge instead of vswitch::bridge
The vswitch::bridge class has been dropped from the vswitch module (in
the puppetlabs-vswitch version), so use the provider instead.
2013-10-17 16:31:02 +02:00
Florian Haas 03fc72bc9b Rename package_ensure variable to package_version
Rename the global variable kickstack_package_ensure to
kickstack_package_version which is more self-explanatory.
2013-10-17 16:30:44 +02:00
Florian Haas 6d01cc581a Add package_ensure for services that were missing them
We want to be able to force a package version across all OpenStack
server services, and facilitate updates/upgrades. Hence, add
package_ensure to all services, and populate it with a global
Kickstack variable.
2013-10-17 16:30:43 +02:00
Florian Haas 95e8d489e5 Drop unsupported parameter from Horizon config 2013-10-17 16:30:24 +02:00
Florian Haas 44f073c766 Quantum -> Neutron rename 2013-10-17 16:30:23 +02:00
Florian Haas e1450e6865 Wrap openstack::repo, and add a "kickstack_release" variable
Make sure we can set the desired OpenStack release.
2013-10-17 16:29:05 +02:00
Florian Haas 477a662384 endpoints: Make factname configurable 2013-10-17 16:28:21 +02:00
Florian Haas 041eb4fd8d endpoints: Make servicename overridable 2013-10-17 16:28:05 +02:00
Florian Haas da5ed465bb endpoints: Make endpoint class name configurable
puppet-heat has two classes that add endpoints, one named
heat::keystone::auth (as usual) and one named
heat::keystone::auth_cfn. So as to be able to create endpoints with
classes named other than "auth", add a second parameter to
kickstack::endpoint to support that.
2013-10-17 16:28:01 +02:00
Florian Haas 2b3c3a7f58 Use includes for clients, drop the Kickstack wrappers
No need to use silly wrappers around something that can just use the
upstream stuff directly, with a simple include.
2013-10-17 16:26:02 +02:00
Florian Haas 22254b5c0d Re-enable Cinder client 2013-10-17 10:41:59 +02:00
Florian Haas f2be2ebaa2 Fix incorrect variable quoting 2013-10-17 10:41:29 +02:00
Florian Haas 3d5eaf52a5 Drop unused parameter keystone_admin_password
The initial password for the Keystone admin user is autogenerated.
Users are free to modify the password after bootstrapping the initial
setup.
2013-08-04 13:58:53 +02:00
Florian Haas 9f19433225 params.pp: Add comments and fix puppet-lint warnings 2013-08-04 13:57:48 +02:00