9 Commits

Author SHA1 Message Date
Monty Taylor
082c5174b1
Turn off puppet reports
We have puppet configured to write reports when it runs. We used to
collect these and inject them into puppetdb. Since we don't do this
anymore, they're just a giant pile of files we never see.

Enable managing the puppet.conf file from ansible and then also turn off
the reports.

Change-Id: I55bef052bddc9b9ff5de76a4f0b2ec07f93f158c
2018-01-24 09:35:54 -06:00
Paul Belanger
5973c79cb0
Serialize ansible-playbooks to 10% of nodes in infracloud
Bump ansible-playbook runs to 10% of our compute nodes, this is ~12
nodes at a time.  We also max failures out to 100% because we actually
want to run puppet across all nodes, regardless of what fails.

Change-Id: I74b294820d8cd342fd7e5466ee63f198177412b4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-25 14:06:06 -04:00
Paul Belanger
13dc4f7d10
Limit ansible-playbooks to 1 host for infracloud
We are having bandwidth issues in infracloud, lets experiment with
serial 1. We can adjust upwards if needed.

Change-Id: I89f0a1b197354e2d25d4f17ba29dd3da7d6586d4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-24 13:36:07 -04:00
Paul Belanger
6b6bb6c4a4
Split infracloud baremetal into separate playbook run
Currently puppet fails to run on our baremetal servers for infracloud.
While this is an issue, it should not block puppet from running on our
controller or compute nodes.

Change-Id: I190af6cfc63006cb03686cd501998e4e06d350b1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-04-24 11:35:45 -04:00
Yolanda Robla
ffcbfd0796 Fix in parameters to configure puppet
Change-Id: I39f4e49e7d22310a1f508d538c12a302f4c8e6e3
2016-02-25 22:22:54 +01:00
Jenkins
c837752f3f Merge "Instruct puppet to configure settings before applying" 2016-02-25 21:21:07 +00:00
Colleen Murphy
faa60d37d3 Add the baremetal hpuswest host to the ansible
Change-Id: I6018c4f3cec9693d2b4e633a43ef82028f2923e4
2016-02-23 11:49:19 -08:00
Yolanda Robla
c5b5ba2c42 Instruct puppet to configure settings before applying
In a clean deploy of infra cloud, the puppet environment
is not configured from scratch. That will prevent puppet to run
because it won't find the /opt/system-config/production/modules.

The config option of the ansible role will configure properly
all settings before trying to apply it, and things will work
properly.

Change-Id: I736e10623fb3ba90b3320cc20758a18c70930be0
Depends-On: I6cb8dff569f2cca8bca7359412d01cc7ec009c54
2016-02-18 15:43:33 +01:00
Colleen Murphy
32f956f268 Add infracloud playbook
Add separate playbook for infacloud nodes to ensure they run in the
correct order - baremetal -> controller -> compute.

Baremetal is intentionally left out, it is not ready yet.

All 'disabled' flags on infracloud hosts are turned off. This patch
landing turns on management of the infracloud.

Co-Authored-By: Yolanda Robla <info@ysoft.biz>
Co-Authored-By: Spencer Krum <nibz@spencerkrum.com>
Change-Id: Ieeda072d45f7454d6412295c2c6a0cf7ce61d952
2016-02-08 18:03:02 -08:00