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
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
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
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
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
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
We use a symlink into /opt/system-config to make the hiera.yaml config
sane. Make sure it's there.
Change-Id: I5e9681ac8fca71ce2f439eed3ef1281ba228d5b2
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
This adds a script and associated config/init files to periodically
read stats from HAProxy and send them to statsd/graphite.
Change-Id: I77122feacee406b12b3cd0159449c449f2bd35c1
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
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