Commit Graph

1873 Commits

Author SHA1 Message Date
Monty Taylor 4fc9478060 Retire stackforge/puppet-openstack-cloud 2015-10-17 16:04:23 -04:00
Emilien Macchi e8d6d0ff25 Puppetfile: use latest stable/juno ref
Change-Id: I8cb8544d872a9738c2769f503f679b977c670c4d
2015-07-03 19:03:15 +02:00
Yanis Guenane 5ee34b04c2 contrail::webui: Remove duplicate parameter
Remove firewall_settings that has been duplicated here.

Change-Id: Ie0a62267b3177286f7582a5bb0f95c0623fa8142
2015-07-01 12:15:24 +02:00
Jenkins 0d5d46b896 Merge "contrail: Initial commit" 2015-06-30 03:43:45 +00:00
Yanis Guenane 610927499e contrail: Initial commit
This commit introduces the management of a new component opencontrail[1].

Opencontrail is a Sofware Defined Network solution. A new approach has
been taken here to include it. Since not every deployment will need to
manage an opencontrail solution, every related file have been put into
'manifests/network/contrail' (including the HA bits). The HA bits are
then included in loadbalancer.pp and not created (ie. set to false) by
default.

[1] http://www.opencontrail.org/

Change-Id: I135f575560b0dde707a28e995da5b00b7aa6d765
2015-06-29 08:44:41 +02:00
Jenkins c719fe5d3b Merge "Gemfile: Pin puppet-lint-paramdoc 1.1.0" 2015-06-25 19:06:53 +00:00
Yanis Guenane c8da335df3 Gemfile: Pin puppet-lint-paramdoc 1.1.0
New version of puppet-lint-paramdoc fails if defines parameters are not
documented. In order not to block backport we stick to 1.1.0.

Change-Id: I17aaeb3c65b0cb68ffe83cd40d823fe9f8833ce0
2015-06-25 15:43:44 +02:00
Jenkins b47444377a Merge "Kafka: Initial commit" 2015-06-23 13:21:21 +00:00
Jenkins e5a84e7aca Merge "Zookeeper: Initial commit" 2015-06-23 13:21:19 +00:00
Jenkins 99ac1c0601 Merge "Cassandra: Initial commit" 2015-06-23 13:15:11 +00:00
Yanis Guenane b0ddb6d1ba Kafka: Initial commit
Change-Id: Ia10a35b4e02928282e2f579d00fad902718bb9c0
2015-06-23 08:32:37 +02:00
Yanis Guenane 4401fce0d0 Zookeeper: Initial commit
Change-Id: I29d92e07528a4484b7db0872a1598ccf1e5bc6cc
2015-06-23 08:32:18 +02:00
Yanis Guenane 1159275582 Cassandra: Initial commit
Allow puppet-openstack-cloud to deploy Cassandra nodes and hence
cluster.

Change-Id: I5c9b64def9406357a817d48a415e986401b90fa9
2015-06-23 08:07:34 +02:00
Emilien Macchi eba6f7446e loadbalancer/heat: use HTTP binding options when running SSL
Heat does not support TCP binding when running SSL termination.
That means we need to make sure using HTTP is configured in HAproxy
options when SSL is part of binding options, defined by the deployer.

Closes-bug: #1467515
Change-Id: I621c2ee624d3d16394529daa4ca6c96ab1c7a067
2015-06-22 17:58:57 -04:00
Dimitri Savineau 360ddfaae8 compute: Fix nova vncproxy protocol
https://review.openstack.org/#/c/190464/ introduced a new parameter for
nova::vncproxy with a default value set to http.
To be able to configure vncproxy with https we need to add also a new
parameter in cloud::compute::consoleproxy

Change-Id: I91a85cf22fdbdf762e9a59d8087b32bcedb7e085
2015-06-17 15:36:59 -04:00
Jenkins ee2a116ad8 Merge "Backport VNC fix" 2015-06-17 00:40:30 +00:00
Emilien Macchi c751451dd7 Backport VNC fix
Backport https://review.openstack.org/#/c/168545/

Closes-bug: #1462531
Change-Id: I34878f406087e45f511361f2ff2a7533454f5874
2015-06-16 15:13:54 -04:00
Dimitri Savineau 1b6bd9247f Allow to override the max connections for MySQL
In large deployment when we want to launch more than 100 vms at the same time
we reach the maximum of connections in haproxy and MySQL.
This patch increase the default value from 1000 to 4096 and allow to override
this value with Hiera.

Change-Id: I1f0d02c3125ce27266ac1198e32e39b1a34ce670
2015-06-15 13:04:07 -04:00
Emilien Macchi b74f306ba1 Validate MongoDB is running before Ceilometer DB config
With a new util, we can validate MongoDB cluster is up and running so
let's use it when configuring Ceilometer DB on Collector nodes.

It makes sure we don't try to configure Ceilometer DB while MongoDB is
not ready.

Change-Id: Iad3c4d152e1536427de0741d3ff16bf7dae724a0
Closes-bug: #1451461
2015-06-09 10:19:12 -04:00
Yanis Guenane 5ada89ae79 Puppetfile: Fix missing trove commit
Currently the puppet-trove repository is pointing to an empty (ie. '')
commit in the Puppetfile causing r10k to fail with :

failed while running: Cannot check out unresolvable ref '' at
/etc/puppet/modules/trove

Change-Id: Id37cccf2cb390e5b36acc1ada1b2b7e42eddfaec
2015-06-06 16:20:14 +02:00
Emilien Macchi 25b6b07399 identity: don't validate Keystone service
The exec is broken so we need to disable it to save time during the
deployment.

Change-Id: Ia57438e0c88609e70860179f16bb457290eac5ab
2015-05-12 19:57:58 -04:00
Emilien Macchi 862d049985 compute: do not manage nova db sync in this module
Nova DB sync is already managed by puppet-nova so to avoid race
condition when deploying Nova, we should drop the nova_db_sync exec in
this module and let puppet-nova does it job with the right
orchestration.

Change-Id: Ia4d93cf84accd10a22b33f03e041d0c23aecca38
Closes-bug: #1453968
2015-05-11 17:31:57 -04:00
Jenkins 471b7ea8fa Merge "loadbalancer: Adapt number of process of Haproxy" 2015-05-11 15:25:45 +00:00
Dimitri Savineau 809473b7b0 loadbalancer: Adapt number of process of Haproxy
Currently we only use one process for Haproxy. This patch allow to adapt
the number of process of Haproxy to the number of processor.

Change-Id: Id5a211b72c397bb6cef0f81f7759702f65f9e828
2015-05-11 10:06:58 -04:00
Emilien Macchi 6a71eddc94 telemetry: allow to install collector separately from mongodb
Stop to require MongoDB validation (this provider requies MongoDB
working on the same node) so we can install MongoDB nodes outside
Telemetry Collector service.

This patch is a workaround until:
https://github.com/puppetlabs/puppetlabs-mongodb/pull/200

is merged so we can use the code in this module.
See https://review.openstack.org/179824

Change-Id: I80b102c3801efea262e6572fce1f64eb8a9a67ad
2015-05-08 20:37:43 +00:00
Emilien Macchi 62f3f263ca vswitch: add 2 parameters for l2_pop and tunnelling
Allow to disable L2_pop and tunnelling.

Change-Id: If0007ed1ee67ec6573645ea8e8af024d2f0a038a
2015-05-08 12:59:17 -04:00
Emilien Macchi e22400fb45 logging: enable HTTP CORS for fluentd ES instance
Elasticsearch package has been upgrade to 1.4.x in J.1.1.0 and J.1.2.0
(1.0.3 in J.1.0.0) but kibana web interface is not compatible with
elasticsearch 1.4.x or higher if you don't change the configuration on
the service.

Change-Id: I19c1a0b08aa63ca0fad6b1a2c390e13775efa443
Closes-bug: #1451828
2015-05-05 23:36:07 -04:00
Emilien Macchi ef4cc0f0d0 MySQL: change default MySQL collate to utf8_general_ci
Install & configure MySQL database by using utf8_general_ci collation
which is the way documented in OpenStack [1] and already the default
in puppetlabs-mysql [2].

[1] http://goo.gl/GA5gyZ
[2] https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/db.pp#L7

This is affecting Puppetfile to update all modules to stable/juno that
contains this commit.

Also affecting MySQL monitoring database to make sure we have the right
collation.

Also updating puppet-nova manifest for MySQL Slave connection and use
nova::db.

Also updating nova-compute libvirt class.

Change-Id: Ib8ce10949038b915ebd70f1b22ca3c147b7b149b
2015-04-29 07:54:45 -04:00
Jenkins c9ba99acaf Merge "Add nfs_mount_options to cinder when using NetApp as a backend." 2015-04-27 10:26:01 +00:00
Jenkins a813d4c2bc Merge "Fix ceph keyring permissions" 2015-04-27 10:25:54 +00:00
AlexandreNo c4da5b9777 Add nfs_mount_options to cinder when using NetApp as a backend.
Allow to pass NFS options when using NetApp as a backend for cinder.

Change-Id: Ieb18350bf92ee354fce1e1e333ae7c616eb8ded5
Closes-Bug: #1444374
Depends-On: I619305890327ed09b0951582f34fe5eab7f8c427
2015-04-26 10:19:52 +00:00
Emilien Macchi 7f2ae4f105 messaging: enable HA queues when HAproxy binding is enabled
If HAproxy binding is enabled for RabbitMQ service, we need to ensure
queres are replicated and this is done by a specific policy.

Since OpenStack is already tagging queues with rabbit_ha_queues=True
parameter everywhere, we just create the policy and the queues by
themselves.

This is enabled only if HAproxy binding is enabled for now, because the
feature seems required when using RabbitMQ load-balancing. The other
use-case (when using Oslo messaging to failover to another RabbitMQ node)
does not require this policy. If a node is down, OpenStack will fallback
to another RabbitMQ node in the list from parameters.

This patch allows you to configure 'exactly' or 'all' RabbitMQ HA policy modes.

Why using 'exactly' mode ?
To let operators scale up/down the replication accross an exact number
of nodes.

How it works ?
Queue is mirrored to count nodes in the cluster. If there are less than
count nodes in the cluster, the queue is mirrored to all nodes. If there
are more than count nodes in the cluster, and a node containing a mirror
goes down, then a new mirror will be created on another node.

Also change the Puppetfile to have latest commits in puppetlabs-rabbitmq
to have some fix related to rabbitmq_policy provider.
Without this fix, some parameters are not integers but string, and we
need integer.

Closes-bug #1434474

Change-Id: I3f732360f83e10e0ae525573f9afdb7f68475149
2015-04-26 10:19:45 +00:00
Cedric Lecomte a29ff73153 Fix ceph keyring permissions
When ceph osd are not on same nodes than cinder a keyring permissions
problem appear. With this ordering the problem doesn't appear anymore
and all node get the right permissions for the ceph keyring file.

Change-Id: Ib8c5394f56f06192911669d84c172e74d388fafa
2015-04-26 10:19:34 +00:00
Emilien Macchi 5e07f511b4 Fix errors in puppet-syntax-future
puppet-syntax-future job is failing because of a syntax error in the
manifests.
This patch aims to fix it.

Change-Id: Ib471e862bb7a9f735c5c6f045f4c627723dd6c3a
2015-04-25 17:41:08 -04:00
Emilien Macchi ec42d717c5 Puppetfile: fix RabbitMQ git
The J.1.2.0 branch of puppetlabs-rabbitmq eNovance fork has a new commit
and the old one changed the ID due to a push -f.

This commits just update the commit ID so we have the right commit and
RabbitMQ will work correctly.

Change-Id: Ib2b8eee1d853880de0802d5b91e14d726d374c9a
2015-04-21 17:26:49 -04:00
François Charlier eb01c01e99 Puppetfile: update puppetlabs-rabbitmq ref
Closes bug #1443891

Change-Id: I1b449aaaf5fc0594137e83ca4382c7d8d83dde1f
2015-04-20 15:44:41 -04:00
Jenkins 4426f88b20 Merge "Changing who is affected by the sysctl tunning" 2015-04-17 16:28:15 +00:00
Cedric Lecomte 9267538fc8 Changing who is affected by the sysctl tunning
Only the swift-nodes need to be tuned according to
https://bugs.launchpad.net/swift/+bug/1075606. And enlarge the local
port range on the controller can overlap with the listening services.

Changing the local range port

We must don't overlap the local range port and the listening ports.
Listening port on swift nodes are around 6800. With a bad ordering or a
restart we can face a already used port problem.

Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Change-Id: I5e875403946a22ec8c5848af259d3afa84db4e35
2015-04-17 10:42:33 -04:00
Dimitri Savineau 3ab3b139fd nfs: Ensure nova/glance permissions on nfs mount
Ensure filesystem_store_datadir is a directory with nova or glance permissions
before creating the nfs mount.

Change-Id: I06a0d95af3829cd803b0af0ebc52fd17b18ff2b3
Closes-Bug: #1443994
2015-04-14 15:38:25 -04:00
Emilien Macchi 353d1bf857 Puppetfile/keystone: bump to last stable commit
To reduce the API timeout.

Change-Id: Id224a1bf45c51ba6a9e0224268d38eb9d280d557
2015-04-10 18:39:03 -04:00
Jenkins ce0da6acbc Merge "loadbalancer: use TCP checks for API services" 2015-04-10 20:58:38 +00:00
Emilien Macchi a8e71e7b33 loadbalancer: use TCP checks for API services
While we don't have HTTP healthcheck in OpenStack [1], let's use
TCP-connection level to validate a service is up and running.

The reason is when "option httpchk" is specified, a complete HTTP request is
sent once the TCP connection is established, and responses 2xx and 3xx
are considered valid.

So given that, OpenStack APIs are responding with 401 or 500, this healthcheck
appears to be self-defeating [2].

Also introduce a new parameter to allow flexible timeout: api_timeout
(beside galera_timeout).

Sources:
[1] http://specs.openstack.org/openstack/oslo-specs/specs/kilo/oslo-middleware-healthcheck.html
[2] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-option%20httpchk

Change-Id: I0121d28daafa2f509162880e9934eb3e08ae4543
2015-04-10 15:44:16 -04:00
Emilien Macchi 254fffd28d Puppetfile: update Swift & Neutron refs
* Fix race condition is Swift with auditor
* Fix race condition in Neutron with db_sync

Change-Id: I9343d42451ff18dbc912ba3dd460f438297781df
2015-04-10 12:03:30 -04:00
François Charlier 17684bd1e3 update the mysql/galera and haproxy timeouts
Update the database timeouts to higher values to prevent the services
from disconnecting too frequently:
- set the Galera HAProxy timeout to 90 minutes (with parameter)
- set the database_idle_timeout to 5000 seconds (83 minutes) to allow
the services to drop the connection before HAProxy does
- add `on-marked-down shutdown-sessions` to Galera HAProxy balancer
members to allow shutting down sessions when a Galera host goes down.

Change-Id: I62c70c906a009df43acaf172eb27729d5d257b0f
2015-04-10 15:45:55 +02:00
Yanis Guenane 735a760c40 Do not recreate Galera cluster
Currently if the Galera master node is rebooted after installation process
a new Galera cluster is build because of the --wsrep-new-cluster present
in the systemd.service file. This commit aims to update this behavior
accordingly.

Closes-bug: #1439197
Change-Id: I3e4c339ea073bd18177bd0625d694ddd0151b14c
2015-04-08 21:24:15 +02:00
Emilien Macchi 9a53dcde20 Puppetfile: update partial ref
Change-Id: Ic25cc7abbe2d844b94ed8819e121745c531ea91a
2015-03-30 22:41:49 -04:00
Jenkins aabad3d89b Merge "allow the loadbalancer keepalived ids to be user defined" 2015-03-30 19:05:02 +00:00
Jenkins 5c25c47ca2 Merge "Use operatingsystemmajrelease in cloud::database::sql::mysql" 2015-03-30 19:04:54 +00:00
Jenkins 920a9308bb Merge "Change default value of 'galera_clustercheck_dbuser' to 'clustercheck'" 2015-03-30 19:00:12 +00:00
Jenkins ec1e13556f Merge "Use full path for test in cloud::database::sql::mysql" 2015-03-26 15:29:40 +00:00