Commit graph

27533 commits

Author SHA1 Message Date
Mohan Boddu
a0d4019d87 F28 Module Retirement
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2019-06-17 13:46:35 +00:00
Luca Bruno
7e03385097
coreos-cincinnati: use templated deploy ref 2019-06-17 13:40:07 +00:00
Luca Bruno
46cf29db0d
coreos-cincinnati: use a deploymentconfig template 2019-06-17 13:35:35 +00:00
Luca Bruno
51d85d91f9
coreos-cincinnati: use templated build ref 2019-06-17 13:31:34 +00:00
Luca Bruno
e865a220fe
coreos-cincinnati: move to a buildconfig template 2019-06-17 13:16:44 +00:00
Luca Bruno
c15bb92312
coreos-cincinnati: add playbook vars
Signed-off-by: Luca Bruno <luca.bruno@coreos.com>
2019-06-17 13:13:52 +00:00
Michal Konečný
bc117c828e the-new-hotness: Switch back to INFO log level
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2019-06-17 08:47:09 +02:00
Kevin Fenzi
d74c28a2c8 basessh: try and set /usr/bin/python for the delegations to batcave01 for python3 using hosts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-16 20:01:10 +00:00
Kevin Fenzi
c9922c17f3 buildvmhost: Use python3 for new s390x buildvmhost as it's f30
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-16 19:48:17 +00:00
Kevin Fenzi
95ee934861 buildvmhost: add buildvmhost-s390x-01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-16 19:46:46 +00:00
Adam Williamson
7a5755597e Set ansible_python_interpreter to python3 for all openQA boxes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-16 10:15:28 -07:00
Kevin Fenzi
75bdc0fef4 inventory: readd ppc64le_stg group, acceidentally removed in last commit.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-15 19:53:11 +00:00
Kevin Fenzi
168644af88 Drop ppc64: Since fedora 28 is end of life and we dropped it for epel6/7, drop ppc64 from all the things.
Remove ppc64-test instance in cloud.
Remove template conditionals that no longer apply since ppc64 is gone.
Remove buildvm-ppc64 instances.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-15 19:50:36 +00:00
Stephen Smoogen
2183741852 [podman] the command does not implement --log-driver and errors out with 1.4.0 if used. Removed so updates wont break the world 2019-06-15 19:43:25 +00:00
Adam Williamson
5759ecd1b6 openqa/worker: try and avoid failures in the NFS mount
I thought just having it WantedBy remote-fs.target should be
enough, but in fact this mount often fails on boot, and I forget
to check all the worker boxes until a bunch of tests fail and
everyone is sad. Let's try After=network-online.target and see
if that helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-15 09:11:40 -07:00
Adam Williamson
b8eeff1d9c openqa/dispatcher: use conditional-restart for the restarts
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:46:08 -07:00
Adam Williamson
927897eae9 openqa/dispatcher: restart messaging servers on config changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:43:40 -07:00
Adam Williamson
94791dd7aa openqa/dispatcher: add more info to messaging client config
jcline said it'd be nice for consumers to provide more info
about themselves, so here's some more info!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:36:32 -07:00
Adam Williamson
fe3cf807ed openqa: fix AMQP URL a bit harder gah
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:15:45 -07:00
Adam Williamson
dccfed1786 openqa: fix fedora-messaging reporter staging configs
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:13:33 -07:00
Adam Williamson
9fc61c17bd openqa/dispatcher: fix AMQP URL variable usage
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:10:14 -07:00
Adam Williamson
f6b2ae6b53 Fix stray syntax error in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:07:56 -07:00
Adam Williamson
db1a847517 openqa/dispatcher: use more role vars for messaging config
Now I've built the whole thing and it works, I feel like this
is a cleaner design: we use a lot more role variables in the
messaging config files, set defaults for them that are
appropriate for non-infra use, and set the correct values for
the infra servers in the group vars. Let's just hope I got it
all right...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 15:05:23 -07:00
Adam Williamson
054bdeaf6a openqa: consolidate some server settings to a common group
There are several variables we set to the same value for openQA
prod and staging servers. Instead of duplicating these between
the openqa and openqa_stg groups, let's invent an openqa_common
and put them in there, and add both servers to it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 12:43:22 -07:00
Mohan Boddu
0b50324342 Adding f29/f31-coreos-signing-pending tags
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2019-06-14 19:42:43 +00:00
Jeremy Cline
b6cb5aa35d rabbit: queue: Allow users to read from zmq.topic 2019-06-14 19:26:07 +00:00
Adam Williamson
42a9b50f05 openqa/dispatcher: add zmq exchange binding to messaging configs
Otherwise we don't get messages from the ZMQ->AMQP bridge.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 12:16:17 -07:00
Adam Williamson
080701af48 Try to clean up openqa/rabbit var usage a bit now it works
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 12:12:00 -07:00
Adam Williamson
267a4510c0 openqa/dispatcher: set passive_declares for AMQP
This is needed for private auth to work...sigh...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 09:13:55 -07:00
Adam Williamson
d55a265b1e openqa: more messing about with queues...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 08:44:55 -07:00
Adam Williamson
a0be8f9850 rabbit: show user and queue names when creating queues
It makes it a lot easier to know which queue is which when a
playbook creates more than one...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 08:42:31 -07:00
Adam Williamson
513ff61eaa Revert "openqa: disable private fedora-messaging auth for now"
This reverts commit 18f7398ca0.
Let's try with auth again now jcline is around to help out.
2019-06-14 08:36:46 -07:00
Adam Williamson
dc387dad55 openqa: partially revert @jcline's broker config change d76e5206
The way this was set up was intentional. For staging rabbitmq_
server is already set as the staging broker in openqa_stg group
vars; the setting here was an intentional override for it to use
the prod broker just for the scheduler queue. It has to do that
because it schedules jobs in response to composes and updates;
composes and updates almost never happen in the staging env, so
if we had the openQA staging scheduler listening to the staging
broker it'd almost never schedule any jobs. It has to listen
to the production broker and schedule jobs when real composes
and updates happen.

Still, perhaps the group var setting isn't working here, so
let's keep the explicit setting of the staging server here for
the other two queues and see if that helps that case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 08:33:48 -07:00
Jeremy Cline
d76e5206d7 openqa: use the staging broker URL for making queues
Perhaps this will fix Adam's AMQP troubles

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2019-06-14 14:04:55 +00:00
Luca Bruno
182e193cbf
playbooks/openshift-apps: do not start-build on each run
No need to manually start a build on each playbook run, as it is
already configured to trigger on changes.

Signed-off-by: Luca Bruno <luca.bruno@coreos.com>
2019-06-14 09:00:29 +00:00
Adam Williamson
ac4d9169cf openqa: correct anon queue uuids
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 16:10:22 -07:00
Adam Williamson
18f7398ca0 openqa: disable private fedora-messaging auth for now
well, this just isn't working and no-one's around to debug it.
So turn it off for now. Will try and fix it tomorrow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 16:08:18 -07:00
Adam Williamson
5be3d907a7 openqa: try dropping rabbit/user role use
rabbit/queue creates the user anyway, and gives it the right
perms, so this seems redundant...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 15:39:29 -07:00
Adam Williamson
1cb6edadd5 openqa: try and fix rabbitmq server for staging scheduler queue
Gah this all sucks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 15:01:39 -07:00
Adam Williamson
29100697e8 openqa: fix rabbitmq_server for staging
damn "not really staging"...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:54:43 -07:00
Adam Williamson
6853dbb181 openqa/dispatcher: correct fedora-messaging priv auth vhost
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:47:13 -07:00
Adam Williamson
acfd9f7b81 openqa/dispatcher: quote-wrap the queue name in the config
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:29:07 -07:00
Adam Williamson
848f81fa36 openqa: use openqa_env instead of env, just like env_suffix...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:24:35 -07:00
Adam Williamson
6ff690cb18 openqa: fix the playbook for openqa_env_suffix too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:21:13 -07:00
Adam Williamson
440e0fd91e openqa: rejig env_suffix handling
env_suffix isn't actually set to .stg on openQA staging because
it's not a normal staging host. Let's not set it in case it
breaks other plays, but use a custom var instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:19:41 -07:00
Adam Williamson
eae55769cb openqa: use prod username for queue for staging scheduler
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:10:25 -07:00
Adam Williamson
1367541f98 openqa: also create prod rabbitmq user for staging openqa
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:09:12 -07:00
Adam Williamson
69260ace32 openqa: try and fix playbook conditional...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:05:14 -07:00
Adam Williamson
bfa38e9546 openqa: fix roles in playbook
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 14:03:37 -07:00
Adam Williamson
ef43e8903b openqa/dispatcher: tag the rabbit roles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-13 13:58:52 -07:00