9609 Commits

Author SHA1 Message Date
Monty Taylor
b23025acaa Fix three nits
These were caught in earlier reviews.

Change-Id: I026678fbbe871ffb138fd2c0dba9e788457da3a0
2015-11-30 22:24:53 -06:00
Monty Taylor
714c934d0c Use OpenStack for inventory instead of puppet
With the puppetmaster not there anymore, we should consume inventory
from OpenStack rather than from puppet.

It turns out that because of the way static and dynamic inventories get
merged, the static file needs to stand alone. SO - if you need to
disable a dynamic host from OpenStack (pretty much all of our hosts) you
need to not only add it to dynamic:children, you need to add an emtpy
group into the static file too, otherwise you'll get an error like:

 root@puppetmaster:~# ansible -i newinv '!disabled' --list-hosts
 ERROR: newinv/static:4: child group is not defined: (jenkins-dev.openstack.org)

Change-Id: Ic6809ed0b7014d7aebd414bf3a342e3a37eb10b6
2015-11-30 22:02:41 -06:00
Jenkins
6c18aef1d9 Merge "Copy the file that is installed" 2015-12-01 01:13:56 +00:00
Monty Taylor
d5c2505b51 Copy the file that is installed
puppet-ansible installs this file into /usr/local/bin/puppet-inventory.
It does not install it into /usr/local/bin/puppet.py.

Change-Id: Idfa2b6cad6190eff60fe3eace177f576782bc139
2015-11-30 18:12:48 -06:00
Jenkins
f624a1d84d Merge "Add a missing colon" 2015-11-30 23:55:55 +00:00
Jenkins
d0c50dd916 Merge "Invite statusbot to senlin channel" 2015-11-30 23:51:18 +00:00
Monty Taylor
fdc24ccbb3 Add a missing colon
Change-Id: I0cc28d99e6e68fa82a9689fb9588c7680a39938c
2015-11-30 17:10:40 -06:00
Jenkins
0fbbcb0ea9 Merge "Add shade and openstack inventory to system" 2015-11-30 22:51:25 +00:00
Jenkins
7f84fcb4ef Merge "Add #openstack-rpm-packaging IRC channel" 2015-11-30 11:32:48 +00:00
Jenkins
5152565333 Merge "We only backup to one server" 2015-11-30 11:29:35 +00:00
Monty Taylor
548b2bb467 Correctly list the OS for puppetmaster in the manifest
puppetmaster now runs on trusty, not precise. Let's have the manifest
reflect reality.

Change-Id: I1c4d18cb3ca25560e8a75f1c8e50a51a86ad11e6
2015-11-28 21:38:36 -05:00
Monty Taylor
d7b91b45cc Turn off salt port access
We haven't used salt in quite a while. Maybe let's stop having the ports
be open.

Change-Id: Ibdb3c36e6af6edcdeb9cd5675342c1707c4a4cbe
2015-11-28 21:38:36 -05:00
Monty Taylor
7cee605a77 Add shade and openstack inventory to system
We're not ready to move from puppet inventory to openstack inventory
just yet, so don't actually swap the dynamic inventory plugin. But, add
it to the system so that running manual tests of all of the pieces is
possible.

Add the currently administratively disabled hosts to the disabled group
so that we can verify this works.

Change-Id: I73931332b2917b71a008f9213365f7594f69c41e
2015-11-28 15:59:10 -05:00
Spencer Krum
d7453b1d64 Don't manage hieradata on Puppetmaster
Puppet the puppetmaster first

Change-Id: I2ecd63c73de6f9eb915900418c5656eb5d6a2816
2015-11-28 12:48:33 -08:00
Jenkins
74a815209a Merge "Start copying hiera data everywhere" 2015-11-28 19:39:27 +00:00
Jenkins
e4f0216aa7 Merge "Ensure hieradata directory on clients" 2015-11-28 19:31:12 +00:00
Monty Taylor
002e9b5b31 Retry git clones in install_modules.sh
github is making it impossible to land changes in system-config. That is
dangerous. So add in a short retry loop to the git clones.

Change-Id: Ie49ae930f93aa9740e40e42935782823ed4dde35
2015-11-28 09:22:53 -05:00
Spencer Krum
2fcf4ef6e9 We only backup to one server
Make the docs jive with reality.

Change-Id: Ic9a43cdd4bff041bec32be9d7110778bd5d6effc
2015-11-27 12:04:19 -08:00
Spencer Krum
b45869aeff Ensure hieradata directory on clients
Change-Id: I1b5dc10d58a3ad06ed63e5ede7e95dd0e22fbbe7
2015-11-27 11:04:20 -08:00
Jenkins
808cb9a785 Merge "Manage clouds.yaml on puppetmaster with puppet" 2015-11-27 16:47:18 +00:00
Thomas Bechtold
6e5814a57d Add #openstack-rpm-packaging IRC channel
The #openstack-rpm-packaging IRC channel needs recording
and publishing of logs.

Change-Id: I227b9fc9453e3fe515e6e59436bf76a030a17c90
2015-11-26 13:16:06 +01:00
tengqm
346ba0980b Invite statusbot to senlin channel
This proposes adding #senlin channel for statusbot.

Change-Id: I49ae2189e1f1a9ed4fa9aeea33eaa2018a9471c5
2015-11-26 01:08:02 -05:00
Jenkins
d05e44b843 Merge "Add #openstack-kuryr to channel logging" 2015-11-26 05:30:14 +00:00
Joshua Hesketh
be7a22c11c Reduce the number of backups for ask.o.o
The disk is currently filling up, so reduce the number of backups
in the rotation.

Change-Id: Ief9fd7e3e37b0b901271743f64ac8013dd87c838
2015-11-26 10:30:07 +11:00
Jenkins
cdfa53f1c3 Merge "Add BHS1 pypi mirror" 2015-11-25 22:28:07 +00:00
James E. Blair
e4ffc46b9b Add BHS1 pypi mirror
Change-Id: Iaf4ba9aca88a49d32987056e42c2d029f25cb614
2015-11-25 13:11:02 -08:00
Jenkins
a69be69f7b Merge "Expose enable_unbound in openstack_project::server" 2015-11-25 20:53:29 +00:00
Monty Taylor
b22ce9214c Manage clouds.yaml on puppetmaster with puppet
For launch_node and for ansible-inventory we need a functioning
clouds.yaml file. The file should really just contain the entries we
actually need, becuase we don't want to be listing all the hosts
in nodepool. However, we do want ALL of the entries available, so the
all-clouds template has them all there. Not sure where we want that file
to go though.

Change-Id: Ibee80f9a4d8f159a626e2b4c2e9639134a559ae4
2015-11-25 15:23:26 -05:00
Jenkins
59ed7f0ff7 Merge "Customize the 'Report Bug' link on Gerrit UI" 2015-11-25 12:20:43 +00:00
Monty Taylor
43d26acad8 Start copying hiera data everywhere
One step before flipping the switch, start copying hieradata, even
though we're still using agent, so that we can verify as much as we
want.

Change-Id: Iae63fd056cdb17aedd6526b9cbc1d83037ddcbb3
2015-11-24 19:17:35 -05:00
Monty Taylor
a8cc470f45 Ensure system-config hieradata link exists
We use a symlink into /opt/system-config to make the hiera.yaml config
sane. Make sure it's there.

Change-Id: I5e9681ac8fca71ce2f439eed3ef1281ba228d5b2
2015-11-24 16:49:22 -05:00
Monty Taylor
8ff794f599 Copy system-config and puppet modules everywhere
If we're going to run puppet apply on all of our nodes, they need
the puppet modules installed on them first.

Change-Id: I84b80818fa54d1ddc4d46fead663ed4212bb6ff3
2015-11-24 16:32:00 -05:00
Jenkins
00a0d57847 Merge "Add puppet apply settings to puppet.conf" 2015-11-24 20:04:04 +00:00
Jenkins
bedbe0ed46 Merge "Sent HAProxy stats to statsd" 2015-11-24 18:34:17 +00:00
Jenkins
ccc1bc546d Merge "Add shade logging to nodepool" 2015-11-24 16:16:06 +00:00
James E. Blair
86372b0dcf Sent HAProxy stats to statsd
This adds a script and associated config/init files to periodically
read stats from HAProxy and send them to statsd/graphite.

Change-Id: I77122feacee406b12b3cd0159449c449f2bd35c1
2015-11-23 17:23:10 -08:00
Jenkins
c2c68ea0bd Merge "Don't write haproxy logs to /var/log/messages" 2015-11-23 23:50:44 +00:00
Jenkins
3299c8203f Merge "Allow git.o.o to send stats to graphite" 2015-11-23 23:24:29 +00:00
Khai Do
f29571eb0c Customize the 'Report Bug' link on Gerrit UI
Change the 'Report Bug' link on the Gerrit UI to 'Get Help' and
redirect it to the Openstack help docs.

depends-on: I674bac2b2f9999e5a8bab55b3bd47f4d4fbb96d2
Change-Id: I23702f111eb65c1537bebb55cb8bbfa26223f116
2015-11-23 14:26:46 -08:00
Clark Boylan
c826d6f8b0 Don't write haproxy logs to /var/log/messages
haproxy logs are plentiful and pollute /var/log/messages. We are already
writing these logs to /var/log/haproxy.log so prevent writing to
messages as well with an & stop directive after writing to
/var/log/haproxy.log.

Change-Id: I6a388f347c0189425a12f7f0df8593ca757e9090
2015-11-23 13:50:02 -08:00
James E. Blair
7e88ceeff3 Allow git.o.o to send stats to graphite
There is work in progress to have HAProxy send data to statsd.

Change-Id: Ib8c877ab80eac34862d15ba97cad39cf7a7f040e
2015-11-23 13:27:00 -08:00
Kyle Mestery
90b3500dd3 Add #openstack-kuryr to channel logging
Change-Id: I05ca22acc1b5a40c6a3511d979f93a3b8f0141b4
Depends-On: Ic148ac4c607b9dc73901b6328de3b1e6ba672e5d
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-23 13:18:46 -06:00
Jenkins
303a26d299 Merge "Change timezone to 'Etc/UTC'" 2015-11-23 19:11:03 +00:00
Isaac Beckman
ba06551181 Set gather_facts true in ansible playbooks
This is need to support ansible built-in facts
used by puppet-ansible

Change-Id: Id8d14905e12c1d25c49322dd4c418b3f47c0d7c4
2015-11-23 16:40:55 +02:00
Jenkins
95ec468d37 Merge "Add rcarrillocruz keys to infra" 2015-11-23 14:22:51 +00:00
Ricardo Carrillo Cruz
31bcb74fc0 Add rcarrillocruz keys to infra
This is needed to grant access to non infra-roots
working in infra-cloud.

Change-Id: Ieb2d4f745bf0277df3cf1cca6b88802475879a6e
2015-11-23 15:03:59 +01:00
Jenkins
43f5356e57 Merge "Fix infra storyboard link" 2015-11-23 09:54:10 +00:00
Jenkins
b9377489c2 Merge "Add a link to puppet-openstackci 3rd party documentation" 2015-11-23 09:51:41 +00:00
Jenkins
f0cd10e00d Merge "Enable logging in #openstack-watcher" 2015-11-23 06:45:01 +00:00
Colleen Murphy
8f97e0a145 Change timezone to 'Etc/UTC'
There is a bug in the timezone module[1] that causes the file
/etc/timezone to be updated on every puppet run, which also triggers
updating /etc/localtime[2]. Setting the timezone to 'Etc/UTC' works
around the bug. Both Ubuntu and CentOS 6/7 will accept this value and
accordingly set the timezone to UTC.

[1] https://github.com/saz/puppet-timezone/issues/27#issuecomment-110395619
[2] http://puppetboard.openstack.org/report/ask.openstack.org/b2283efae27b623cb7a1e7b5e99c62fe3a2a98ef

Change-Id: I682154c077856984c61daee3984abfe2ca3294f8
2015-11-20 20:25:34 -08:00