Commit Graph

32082 Commits

Author SHA1 Message Date
Kevin Fenzi
4e4e338b3e buildhw: clevis when clause: This may need to be quoted.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-26 15:33:27 -07:00
Kevin Fenzi
386f833f05 buildhw: also run the clevis role on buildhw-x86
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-26 15:26:13 -07:00
Stephen Smoogen
f7a2b66c56 ok back off various changes to the templates 2020-06-26 18:15:21 -04:00
Stephen Smoogen
305bd6af2f fix the ipv4_gw issue 2020-06-26 18:12:31 -04:00
Stephen Smoogen
f73b4ce9ca some networks will have multiple gateways 2020-06-26 17:59:29 -04:00
Stephen Smoogen
2e31f43080 do not mix bash fi and jinja endif 2020-06-26 17:56:23 -04:00
Stephen Smoogen
414dabc9b9 Try to hack it so builders and other multi eth boxes can have interfaces off easily until a real replacement is done. 2020-06-26 17:53:56 -04:00
Stephen Smoogen
040102e73b add the rest of the buildhw to inventory so they can be ansibled 2020-06-26 17:07:06 -04:00
Will Woods
5c9d080009 roles/awstats/files/combineHttpLogs.sh: accept DATE_STR
This commit tweaks combineHttpLogs.sh so that you can provide an
optional DATE_STR on the CLI to have it run for a date other than the
default (which is currently 2 days ago, despite the comments about it
being somewhere between 5-3 days..). Links in `latest/` are not updated
when running for user-provided dates.

There's some other refactoring involved but AFAICT this doesn't change
its default behavior at all.

This should let us re-run this script manually to combine logs for the
days that we missed during the colo move etc.
2020-06-26 16:34:37 -04:00
Stephen Smoogen
cd81f49e72 add the rest of the hardware from dell-fx01 2020-06-26 16:02:50 -04:00
Stephen Smoogen
81a9c113c4 add buildhw-x86-04 2020-06-26 15:37:30 -04:00
Stephen Smoogen
49ccf56cfd add another builder 2020-06-26 15:13:55 -04:00
Stephen Smoogen
735f7747be fix missing semicolon on line 616 2020-06-26 14:48:17 -04:00
Stephen Smoogen
34354c248b put in the mac addresses for the rest of the dell fx nodes 2020-06-26 14:43:13 -04:00
Stephen Smoogen
8de1cf8323 add mac address for buildvmhost-x86-03 2020-06-26 14:35:45 -04:00
Stephen Smoogen
eec619cd1e The problem was that the arch is x86_64 and I short cutted it to just x86 when x64 can also happen.. I then created files with the wrong hostnames 2020-06-26 14:19:48 -04:00
Stephen Smoogen
bfa6013d80 Attempt to fix ansible so that it will set up gw correctly using syntax as is used in other parts 2020-06-26 14:11:12 -04:00
Stephen Smoogen
2045306090 attempt a different fix for gw 2020-06-26 13:51:11 -04:00
Stephen Smoogen
d5d83fa763 set up buildvmhost-x86-02 2020-06-26 13:12:08 -04:00
Stephen Smoogen
e441891b6a add host_vars for the rest of the buildhw-x64-XX servers 2020-06-26 12:45:47 -04:00
Stephen Smoogen
467049d1fb add host_vars for buildhw-x64-01 2020-06-26 12:32:18 -04:00
Stephen Smoogen
bbb8292a44 add in buildhw-x86-01.iad2.fedoraproject.org 2020-06-26 11:40:47 -04:00
Stephen Smoogen
afcf6dc205 fix the mac address for buildhw-x86-01 2020-06-26 11:31:23 -04:00
Stephen Smoogen
a50c0da919 put in dhcpd for buildhw-x86-01 to get it to install 2020-06-26 11:26:57 -04:00
Michal Konečný
9664b31916 Release-monitoring: Fix apache issue with external dirs
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2020-06-26 13:15:25 +02:00
Kevin Fenzi
0d7e14eff6 move buildvm-ppc64le-01 20 over to p9-03.
We are going to rebuild bvmhost-p09-01 and 02 soon, move guests to 03.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-25 20:31:43 -07:00
Kevin Fenzi
622a510318 Move 20 of the ppc64le builders to p09-04 also drop cpus by 1.
Currently ppc builders are hitting memory issues.
Additionally we need to reinstall p09-01/02 with a different disk setup.
So, moving 02->04 for now.

Reducing cpus should mean multithreaded stuff that has gigantic
processes (like c++) should have less of them and hopefully fit in
memory. Additionally, we adjusted the kickstart to give them a swap file
in case that helps them not OOM any having a larger virtual memory set.

In the end once 01/02 are setup as we like, we may just reduce the
number per host and give them all more memory/cpus.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-25 16:32:32 -07:00
Stephen Smoogen
2f65e40e46 add in basics for bvmhost-p09-03 and bvmhost-p09-04 2020-06-25 14:47:38 -04:00
Kevin Fenzi
2f5eaf0c41 retrieve-security-question.py: run 2to3 to port to python3
This is just initial 2to3 running, might need more work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-25 11:14:20 -07:00
Mark O'Brien
edabba6d96 [maintainer-test] add sysadmin-web fas group 2020-06-25 15:55:32 +01:00
Clement Verna
3e742b9734 osbs: fix the authentication of the candidate-registry
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-06-25 15:06:10 +02:00
Stephen Smoogen
795812c7f9 put in the correct hardware address for server 2020-06-25 08:34:01 -04:00
Stephen Smoogen
776fccd57a put in dhcpd data for ppc09-04 2020-06-25 08:19:29 -04:00
Pavel Raiskup
35ff299cbd copr-be: increase build timeout to 30h
https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted.org/thread/2SKGANJYGXQ2UNLBF3TKNLJLL3TANUQP/
2020-06-25 13:07:37 +02:00
Pierre-Yves Chibon
8da6026305 Remove loopabull from the master playbook for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-25 11:41:46 +02:00
Nils Philippsen
74752c3a3c Cope with dangling symlinks
The exists() method uses os.stat() instead of os.lstat() and so doesn't
work for symlinks pointing to a non-existent path. A corresponding
lexists() method doesn't exist yet.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-25 10:30:33 +02:00
Pierre-Yves Chibon
03e5ce1b44 toddlers: Instruct fedora-messaging to not create the queue
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-25 10:00:19 +02:00
Nils Philippsen
34d165ab0d Fix hook links to Pagure hookrunner script, too
This doesn't attempt to prefix the base directory if a supplied `target`
is an absolute path (for debugging).

Fixes: fedora-infrastructure#9000

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-25 07:26:50 +00:00
Nils Philippsen
5175246b89 Fix wrong argument help string
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-25 07:26:50 +00:00
Nils Philippsen
a87c762569 Convert to pathlib API for easy path manipulation
The only left over is os.readlink() which was only introduced as
Path.readlink() in Python 3.9.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-25 07:26:50 +00:00
Adam Williamson
6b196e70ab openqa/worker: set up swtpm service on tap worker hosts
swtpm is a TPM emulator we want to use for testing Clevis on
IoT (and potentially other things in future). We're implementing
this by having os-autoinst just add the qemu args but expect
swtpm itself to be running already - that's counted as the
sysadmin's responsibility. My approach to this is to have openQA
tap worker hosts also be tpm worker hosts, meaning they run one
instance of swtpm per worker instance (as a systemd service) and
are added to a 'tpm' worker class which tests can use to ensure
they run on a suitably-equipped worker. This sets up all of that.
We need a custom SELinux policy module to allow systemd to run
swtpm - this is blocked by default.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-24 16:59:11 -07:00
Pierre-Yves Chibon
91817a5ede toddlers: adjusting the routing keys: # == multiple words, * == 1 word
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-24 21:25:48 +02:00
Pierre-Yves Chibon
2868fcde7d Revert "toddlers: try declaring the routing_keys in the bindings to see if that changes anything"
This seems to have no effect (or doesn't have the effect hoped)

This reverts commit b024305d51.
2020-06-24 21:25:07 +02:00
Pierre-Yves Chibon
b024305d51 toddlers: try declaring the routing_keys in the bindings to see if that changes anything
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-24 21:09:35 +02:00
Stephen Smoogen
c451bc9991 do NOT overuse the Centos Ip space 2020-06-24 14:23:40 -04:00
Stephen Smoogen
d43a6788bd we need more dhcp for bringup 2020-06-24 14:18:13 -04:00
Pierre-Yves Chibon
23099a2282 toddlers: Simplify a little the fedora-messaging config and adjust it for stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-24 17:47:55 +02:00
Kevin Fenzi
43b04c54f7 2fa_client: add tags so we can just run this by itself if needed.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-24 08:26:47 -07:00
Pierre-Yves Chibon
8031df3d70 toddlers: looks like openshift is cast-picky, so secret != Secret
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-24 17:21:44 +02:00
Pierre-Yves Chibon
7adb30732b toddlers: Add the variable names where they should be
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-24 17:17:17 +02:00