This reverts commit 2600c7f0ba7ed5de9c33f17f310843ad4794754e.
Fedora 23 does not have puppetlabs support yet, and usually it takes
quite a while (we use native packages). I think if we want to
experiment with this, it should be opt-in for distros where it can
work.
Change-Id: I2e36a63172c03a7e8029a56f1528f66012dd6817
Upstream puppet has a constraint on matching systemd that /run/systemd
has to be around; this fails when building with dib in a chroot where
we're not actually running.
A full solution has to take into account Debian and multiple init
systems (see linked issues). For the moment, just comment it out.
Change-Id: I6e4832caf6162a67408c34151b6e1d641a75fb8b
Exclude .eggs directory from testing.
The run-pep8 script now calls "python setup.py sdist" and that
one creates an .eggs directory that should not be tested.
Change-Id: I854be157ed04d5bc9d8c568a37c00298cb4a71bf
This commit updates the selection regex to be a bit more general an
ensure that the subunit streams from all the gate tempest jobs are
being picked up. There are certain jobs that don't start with
gate-tempest-dsvm or gate-grenade-dsvm that we wanted to collect
results for. For example the puppet jobs will be named something like:
gate-puppet-openstack-integration-scenario001-tempest-dsvm-centos7
and those would not be picked up with the old regex.
Change-Id: If68978679a9ebb6252663691b1850918db913990
This removes centos6 support from install_puppet.sh because centos6 is
no longer supported so this code is dead.
Change-Id: If59f10a6a9c576b1299b0e49a2e82d2a1a1d7ecf
The way disabling works with puppet and openstack inventory in ansible
can be confusing at first. Some examples hopefully clarify the
situation.
Change-Id: Ib85feebce309896c6f3d139318dd5d204d9cb8ec
As Gerrit applies result styles based on the first word of the response
from the CI job result, add a 'result_WARNING' style to allow failing
non-voting jobs to specify WARNING as the first word to get a colour
applied that is clearly distinguishable from the text from when the job
passes, while also being different to voting jobs that pass/fail.
Change-Id: I1a9bea0c0830f9ca15f8369632ff2fdbeadada56
As described in the comments, there is a depdency bug which means some
python module builds fail without the config provided by this package.
Pre-install it before we start installing things.
Change-Id: I3c8615f17e47956f258fee10caa9a57c99c719b8
Centos6 is being deprecated so we need to move to something newer.
This will require pbx.o.o to be rebuilt.
Change-Id: Id3fc74bf58ba5febac79674e6fd23d6ade3e4bd1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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