From 26f20744877b608fde3232c5ba7df28142c70d1a Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 11:42:01 +0000 Subject: [PATCH 01/14] update openqa-aarch64 dhcp entries --- .../files/dhcpd.conf.noc01.phx2.fedoraproject.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org index 6253bcb375..9408191fad 100644 --- a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org +++ b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org @@ -1785,10 +1785,10 @@ subnet 10.5.78.0 netmask 255.255.255.0 { filename "/uefi/grubaa64.efi"; } - host aarch64-02a { + host openqa-aarch64-01 { hardware ethernet 2c:59:e5:36:9a:50; fixed-address 10.5.78.75; - option host-name "aarch64-02a"; + option host-name "openqa-aarch64-01"; next-server 10.5.126.41; filename "/uefi/grubaa64.efi"; } @@ -1817,10 +1817,10 @@ subnet 10.5.78.0 netmask 255.255.255.0 { filename "/uefi/grubaa64.efi"; } - host aarch64-06a { + host openqa-aarch64-02 { hardware ethernet 00:01:73:02:0c:fb; fixed-address 10.5.78.155; - option host-name "aarch64-06a"; + option host-name "openqa-aarch64-02"; next-server 10.5.126.41; filename "/uefi/grubaa64.efi"; } From a4e44783a44b5c23a8651503af31a9caed53516d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 11:46:39 +0000 Subject: [PATCH 02/14] enable openqa-aarch64-01 openQA worker --- inventory/inventory | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/inventory b/inventory/inventory index d38c24cc40..6693f1d689 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -609,14 +609,14 @@ openqa-ppc64le-01.qa.fedoraproject.org qa14.qa.fedoraproject.org qa09.qa.fedoraproject.org openqa-ppc64le-01.qa.fedoraproject.org -# openqa-aarch64-01.qa.fedoraproject.org +openqa-aarch64-01.qa.fedoraproject.org # the workers that need rw access to the factory share to run createhdds. again, # only one per arch per instance should be present. usually x86_64 images are created # on the server, images for other arches on a worker. [openqa-hdds-workers] openqa-ppc64le-01.qa.fedoraproject.org -# openqa-aarch64-01.qa.fedoraproject.org +openqa-aarch64-01.qa.fedoraproject.org # this is a temporary workaround for #1539330 - as building the images # is causing the server to crash, we'll do even x86_64 on workers qa14.qa.fedoraproject.org From 255e1c1cab839eed5fcd10b92af59c2e3cf688de Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 11:51:15 +0000 Subject: [PATCH 03/14] add openqa-hdds-workers group to openQA workers playbook --- playbooks/groups/openqa-workers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/groups/openqa-workers.yml b/playbooks/groups/openqa-workers.yml index dddb4f6c29..d643bd4322 100644 --- a/playbooks/groups/openqa-workers.yml +++ b/playbooks/groups/openqa-workers.yml @@ -1,5 +1,5 @@ - name: configure openQA workers - hosts: openqa-workers:openqa-stg-workers + hosts: openqa-workers:openqa-hdds-workers:openqa-stg-workers user: root gather_facts: True From f3a36eb162190d5361ccf5f8166b29034c764a77 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 12:06:59 +0000 Subject: [PATCH 04/14] openQA: run yumrepos as a pre task --- inventory/inventory | 1 + playbooks/groups/openqa-workers.yml | 4 +++- playbooks/groups/openqa.yml | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/inventory/inventory b/inventory/inventory index 6693f1d689..28d0e95598 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -592,6 +592,7 @@ openqa01.qa.fedoraproject.org [openqa-workers] qa05.qa.fedoraproject.org qa14.qa.fedoraproject.org +openqa-aarch64-02.qa.fedoraproject.org # openqa-stg and openqa-stg-workers are pseudo-stg, see group_vars/openqa-stg for more details [openqa-stg] diff --git a/playbooks/groups/openqa-workers.yml b/playbooks/groups/openqa-workers.yml index d643bd4322..1d075e9f5b 100644 --- a/playbooks/groups/openqa-workers.yml +++ b/playbooks/groups/openqa-workers.yml @@ -8,6 +8,9 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + roles: - { role: base, tags: ['base'] } - { role: rkhunter, tags: ['rkhunter'] } @@ -20,7 +23,6 @@ - apache tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/motd.yml" diff --git a/playbooks/groups/openqa.yml b/playbooks/groups/openqa.yml index 3fabd5e2e5..153b93995b 100644 --- a/playbooks/groups/openqa.yml +++ b/playbooks/groups/openqa.yml @@ -10,6 +10,9 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + roles: - { role: base, tags: ['base'] } - { role: rkhunter, tags: ['rkhunter'] } @@ -23,7 +26,6 @@ - apache tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/motd.yml" From 9b802fc4c20685aad2bfe0db8992014fe64eae58 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 12:31:25 +0000 Subject: [PATCH 05/14] openqa: aarch64: add sudo entry --- inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org | 2 ++ inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org | 2 ++ 2 files changed, 4 insertions(+) diff --git a/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org b/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org index acef04b564..a5ea84fcf4 100644 --- a/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org +++ b/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org @@ -10,4 +10,6 @@ fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin nrpe_procs_warn: 250 nrpe_procs_crit: 300 +sudoers: "{{ private }}/files/sudo/qavirt-sudoers" + openqa_workers: 4 diff --git a/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org b/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org index 25e950a6a7..2e91231184 100644 --- a/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org +++ b/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org @@ -10,4 +10,6 @@ fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin nrpe_procs_warn: 250 nrpe_procs_crit: 300 +sudoers: "{{ private }}/files/sudo/qavirt-sudoers" + openqa_workers: 4 From c7289925017b818748d27500252b9f35b55e42a7 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Mon, 5 Mar 2018 15:58:05 -0500 Subject: [PATCH 06/14] move to unified atomic ostree repo structure We move to /compose/atomic/repo for the compose time repo and to /atomic/repo for the production/user repo. See [1]. [1] https://lists.fedoraproject.org/archives/list/rel-eng@lists.fedoraproject.org/thread/KLN5L33BIR3ZEHC5RIG4NXGO7LT6HBXJ/ --- roles/bodhi2/backend/files/new-updates-sync | 30 +++++++++---------- .../backend/templates/pungi.rpm.conf.j2 | 4 +-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index 6e7c8a072d..548616a168 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -17,21 +17,21 @@ FEDORADEST = '/pub/fedora/linux/updates/' FEDORAMODDEST = '/pub/fedora/linux/modular/updates/' FEDORAALTDEST = '/pub/fedora-secondary/updates/' EPELDEST = '/pub/epel/' -ATOMICSOURCE = '/mnt/koji/compose/updates/atomic/' -ATOMICDEST = '/mnt/koji/atomic/' +ATOMICSOURCE = '/mnt/koji/compose/atomic/repo/' +ATOMICDEST = '/mnt/koji/atomic/repo/' RELEASES = {'f28': {'topic': 'fedora', 'version': '28', 'modules': ['fedora', 'fedora-secondary'], 'repos': {'updates': { 'from': 'f28-updates', 'ostrees': [{'ref': 'fedora/28/%(arch)s/updates/atomic-host', - 'dest': os.path.join(ATOMICDEST, '28'), + 'dest': ATOMICDEST, 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/28/x86_64/updates/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}, + 'dest': ATOMICDEST}, # Hack around for the fact that ostree on f25 doesn't know links {'ref': 'fedora/28/x86_64/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['aarch64', 'x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, '28')}, {'arches': ['i386', 'ppc64', 'ppc64le', 's390x'], @@ -40,10 +40,10 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f28-updates-testing', 'ostrees': [{'ref': 'fedora/28/%(arch)s/testing/atomic-host', - 'dest': os.path.join(ATOMICDEST, '28'), + 'dest': ATOMICDEST, 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/28/x86_64/testing/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, 'testing', '28')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le', 's390x'], @@ -56,13 +56,13 @@ RELEASES = {'f28': {'topic': 'fedora', 'repos': {'updates': { 'from': 'f27-updates', 'ostrees': [{'ref': 'fedora/27/%(arch)s/updates/atomic-host', - 'dest': os.path.join(ATOMICDEST, '27'), + 'dest': ATOMICDEST, 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/27/x86_64/updates/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}, + 'dest': ATOMICDEST}, # Hack around for the fact that ostree on f25 doesn't know links {'ref': 'fedora/27/x86_64/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, '27')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le', 's390x'], @@ -71,10 +71,10 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f27-updates-testing', 'ostrees': [{'ref': 'fedora/27/%(arch)s/testing/atomic-host', - 'dest': os.path.join(ATOMICDEST, '27'), + 'dest': ATOMICDEST, 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/27/x86_64/testing/workstation', - 'dest': os.path.join(ATOMICDEST, 'workstation')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, 'testing', '27')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le', 's390x'], @@ -87,10 +87,10 @@ RELEASES = {'f28': {'topic': 'fedora', 'repos': {'updates': { 'from': 'f26-updates', 'ostrees': [{'ref': 'fedora/26/x86_64/updates/atomic-host', - 'dest': os.path.join(ATOMICDEST, '26')}, + 'dest': ATOMICDEST}, # Hack around for the fact that ostree on f25 doesn't know links {'ref': 'fedora/26/x86_64/atomic-host', - 'dest': os.path.join(ATOMICDEST, '26')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, '26')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le'], @@ -99,7 +99,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f26-updates-testing', 'ostrees': [{'ref': 'fedora/26/x86_64/testing/atomic-host', - 'dest': os.path.join(ATOMICDEST, '26')}], + 'dest': ATOMICDEST}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, 'testing', '26')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le'], diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 index 8040bb71b4..0f1c8ecc0f 100644 --- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 +++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 @@ -126,7 +126,7 @@ ostree = { [% endif %] "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/[[ release.version_int ]]/latest-Fedora-[[ release.version_int ]]/compose/Everything/$basearch/os/" ] - "ostree_repo": "/mnt/koji/compose/updates/atomic", + "ostree_repo": "/mnt/koji/compose/atomic/repo", "tag_ref": False, "arches": ["x86_64", [% if release.version_int >= 27 %] @@ -154,7 +154,7 @@ ostree = { [% endif %] "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/[[ release.version_int ]]/latest-Fedora-[[ release.version_int ]]/compose/Everything/$basearch/os/" ] - "ostree_repo": "/mnt/koji/compose/updates/atomic", + "ostree_repo": "/mnt/koji/compose/atomic/repo", "tag_ref": False, "arches": ["x86_64"], "failable": ["x86_64"] From 50069a2d538bccf6e666b098a74026c156b9c2db Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 6 Mar 2018 15:08:43 +0100 Subject: [PATCH 07/14] Add f28 signing key to pungi config Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/backend/templates/pungi.rpm.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 index 0f1c8ecc0f..769eb18535 100644 --- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 +++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 @@ -23,6 +23,8 @@ sigkeys = [ '64dab85d', [% elif release.version_int == 27 %] 'f5282ee4', +[% elif release.version_int == 28 %] + '9db62fb1', [% elif release.version_int == 6 %] '0608b895', [% elif release.version_int == 7 %] From 482a7878dd1a61b9ca985eaab183f39748ae91b1 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 6 Mar 2018 15:20:55 +0100 Subject: [PATCH 08/14] robosig: move to unified atomic ostree repo structure --- .../files/robosignatory.production.py | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/roles/robosignatory/files/robosignatory.production.py b/roles/robosignatory/files/robosignatory.production.py index 5269bcb138..cb309ab36c 100644 --- a/roles/robosignatory/files/robosignatory.production.py +++ b/roles/robosignatory/files/robosignatory.production.py @@ -147,87 +147,87 @@ config = { 'robosignatory.ostree_refs': { 'fedora/26/x86_64/testing/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-26' }, 'fedora/26/x86_64/updates/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-26' }, 'fedora/26/x86_64/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/mash/atomic/26/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-26' }, 'fedora/26/x86_64/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/ostree/26/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-26' }, 'fedora/27/x86_64/updates/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/x86_64/testing/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/x86_64/updates/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/ppc64le/updates/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/aarch64/updates/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/x86_64/testing/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/ppc64le/testing/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/aarch64/testing/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/updates/atomic/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/27/x86_64/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/ostree/27/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-27' }, 'fedora/28/x86_64/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/28/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-28' }, 'fedora/28/ppc64le/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/28/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-28' }, 'fedora/28/aarch64/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/28/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-28' }, 'fedora/28/x86_64/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/ostree/28/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-28' }, 'fedora/rawhide/x86_64/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/rawhide/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-29' }, 'fedora/rawhide/ppc64le/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/rawhide/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-29' }, 'fedora/rawhide/aarch64/atomic-host': { - 'directory': '/mnt/fedora_koji/koji/compose/atomic/rawhide/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-29' }, 'fedora/rawhide/x86_64/workstation': { - 'directory': '/mnt/fedora_koji/koji/compose/ostree/rawhide/', + 'directory': '/mnt/fedora_koji/koji/compose/atomic/repo/', 'key': 'fedora-29' }, } From 07c0d29deea0ee65a42f503c906e12ff152bc49b Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 6 Mar 2018 09:24:41 -0500 Subject: [PATCH 09/14] For F26 and F27 Atomic Host we keep their prod repos in place We aren't moving their prod repos to the new unified prod repo. Signed-off-by: Dusty Mabe --- roles/bodhi2/backend/files/new-updates-sync | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index 548616a168..3f7c7a0cb9 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -56,7 +56,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'repos': {'updates': { 'from': 'f27-updates', 'ostrees': [{'ref': 'fedora/27/%(arch)s/updates/atomic-host', - 'dest': ATOMICDEST, + 'dest': '/mnt/koji/atomic/27/', 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/27/x86_64/updates/workstation', 'dest': ATOMICDEST}, @@ -71,7 +71,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f27-updates-testing', 'ostrees': [{'ref': 'fedora/27/%(arch)s/testing/atomic-host', - 'dest': ATOMICDEST, + 'dest': '/mnt/koji/atomic/27/', 'arches': ['x86_64', 'ppc64le', 'aarch64']}, {'ref': 'fedora/27/x86_64/testing/workstation', 'dest': ATOMICDEST}], @@ -87,10 +87,10 @@ RELEASES = {'f28': {'topic': 'fedora', 'repos': {'updates': { 'from': 'f26-updates', 'ostrees': [{'ref': 'fedora/26/x86_64/updates/atomic-host', - 'dest': ATOMICDEST}, + 'dest': '/mnt/koji/atomic/26/', # Hack around for the fact that ostree on f25 doesn't know links {'ref': 'fedora/26/x86_64/atomic-host', - 'dest': ATOMICDEST}], + 'dest': '/mnt/koji/atomic/26/'}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, '26')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le'], @@ -99,7 +99,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f26-updates-testing', 'ostrees': [{'ref': 'fedora/26/x86_64/testing/atomic-host', - 'dest': ATOMICDEST}], + 'dest': '/mnt/koji/atomic/26/'], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, 'testing', '26')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le'], From aeee011ea0a4c1b9f1f34ad97f033fb190e43586 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 6 Mar 2018 15:25:31 +0000 Subject: [PATCH 10/14] Add Fedora 28 to Greenwave's update policy. Signed-off-by: Randy Barlow --- roles/openshift-apps/greenwave/templates/configmap.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift-apps/greenwave/templates/configmap.yml b/roles/openshift-apps/greenwave/templates/configmap.yml index 6f882b3573..a1b7616214 100644 --- a/roles/openshift-apps/greenwave/templates/configmap.yml +++ b/roles/openshift-apps/greenwave/templates/configmap.yml @@ -91,6 +91,7 @@ data: --- !Policy id: "taskotron_release_critical_tasks_for_testing" product_versions: + - fedora-28 - fedora-27 - fedora-26 - fedora-25 @@ -102,6 +103,7 @@ data: --- !Policy id: "taskotron_release_critical_tasks_for_stable" product_versions: + - fedora-28 - fedora-27 - fedora-26 - fedora-25 From d0267d5f7910798ca2658a9cd380db67cbb3d079 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 6 Mar 2018 15:26:00 +0000 Subject: [PATCH 11/14] Remove Fedora 25 from Greenwave's update policy. Signed-off-by: Randy Barlow --- roles/openshift-apps/greenwave/templates/configmap.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/openshift-apps/greenwave/templates/configmap.yml b/roles/openshift-apps/greenwave/templates/configmap.yml index a1b7616214..14ce4ba248 100644 --- a/roles/openshift-apps/greenwave/templates/configmap.yml +++ b/roles/openshift-apps/greenwave/templates/configmap.yml @@ -94,7 +94,6 @@ data: - fedora-28 - fedora-27 - fedora-26 - - fedora-25 decision_context: bodhi_update_push_testing blacklist: [] relevance_value: koji_build @@ -106,7 +105,6 @@ data: - fedora-28 - fedora-27 - fedora-26 - - fedora-25 decision_context: bodhi_update_push_stable blacklist: [] relevance_value: koji_build From 699e15c6d505986fd192df5a1b59c1a6db20cac4 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 6 Mar 2018 16:25:07 +0000 Subject: [PATCH 12/14] greenwave: some additional logging for http requests. --- roles/openshift-apps/greenwave/templates/configmap.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift-apps/greenwave/templates/configmap.yml b/roles/openshift-apps/greenwave/templates/configmap.yml index 14ce4ba248..ec3addaac6 100644 --- a/roles/openshift-apps/greenwave/templates/configmap.yml +++ b/roles/openshift-apps/greenwave/templates/configmap.yml @@ -165,6 +165,8 @@ data: "handlers": ["console"], "propagate": False, "level": "DEBUG"}, "moksha": { "handlers": ["console"], "propagate": False, "level": "DEBUG"}, + "requests": { + "handlers": ["console"], "propagate": False, "level": "DEBUG"}, }, "handlers": { "console": { From 7db24487c42e175c1814d6cc04ec506014896368 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Mar 2018 16:38:18 +0000 Subject: [PATCH 13/14] openqa: aarch64: add sysadmin-secondary users --- inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org | 2 +- inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org b/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org index a5ea84fcf4..2849a9c02f 100644 --- a/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org +++ b/inventory/host_vars/openqa-aarch64-01.qa.fedoraproject.org @@ -6,7 +6,7 @@ nm: 255.255.255.0 dns: 10.5.126.21 datacenter: phx2 -fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin-veteran +fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin-veteran,sysadmin-secondary nrpe_procs_warn: 250 nrpe_procs_crit: 300 diff --git a/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org b/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org index 2e91231184..c81c6570e3 100644 --- a/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org +++ b/inventory/host_vars/openqa-aarch64-02.qa.fedoraproject.org @@ -6,7 +6,7 @@ nm: 255.255.255.0 dns: 10.5.126.21 datacenter: phx2 -fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin-veteran +fas_client_groups: sysadmin-qa,sysadmin-main,sysadmin-noc,fi-apprentice,sysadmin-veteran,sysadmin-secondary nrpe_procs_warn: 250 nrpe_procs_crit: 300 From 4540ba5db3f8457ee0358130a516af0243695615 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 6 Mar 2018 17:50:22 +0100 Subject: [PATCH 14/14] re-add dropped } Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/backend/files/new-updates-sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index 3f7c7a0cb9..9ca341d79e 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -87,7 +87,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'repos': {'updates': { 'from': 'f26-updates', 'ostrees': [{'ref': 'fedora/26/x86_64/updates/atomic-host', - 'dest': '/mnt/koji/atomic/26/', + 'dest': '/mnt/koji/atomic/26/'}, # Hack around for the fact that ostree on f25 doesn't know links {'ref': 'fedora/26/x86_64/atomic-host', 'dest': '/mnt/koji/atomic/26/'}], @@ -99,7 +99,7 @@ RELEASES = {'f28': {'topic': 'fedora', 'updates-testing': { 'from': 'f26-updates-testing', 'ostrees': [{'ref': 'fedora/26/x86_64/testing/atomic-host', - 'dest': '/mnt/koji/atomic/26/'], + 'dest': '/mnt/koji/atomic/26/'}], 'to': [{'arches': ['x86_64', 'armhfp', 'source'], 'dest': os.path.join(FEDORADEST, 'testing', '26')}, {'arches': ['aarch64', 'i386', 'ppc64', 'ppc64le'],