#6806 Fix fedora atomic config for greenwave
Closed 2 years ago Opened 2 years ago by ralph.

In greenwave#147, we identified two issues with the current greenwave config for the atomic ci results:

  • Only fedora-26 was enabled.
  • Only updates-testing was enabled, not updates stable.

This patch should do it, for sometime after freeze is up.

diff --git a/roles/openshift-apps/greenwave/templates/configmap.yml b/roles/openshift-apps/greenwave/templates/configmap.yml
index b344233..7c5b8c4 100644
--- a/roles/openshift-apps/greenwave/templates/configmap.yml
+++ b/roles/openshift-apps/greenwave/templates/configmap.yml
@@ -135,6 +135,8 @@ data:
     # http://fedoraproject.org/wiki/CI
     id: "atomic_ci_pipeline_results"
     product_versions:
+      - fedora-28
+      - fedora-27
       - fedora-26
     decision_context: bodhi_update_push_testing
     blacklist: []
@@ -142,6 +144,20 @@ data:
     rules:
       # List taken from https://github.com/CentOS-PaaS-SIG/ci-pipeline/blob/master/config/package_list
       - !FedoraAtomicCi { test_case_name: org.centos.prod.ci.pipeline.complete, repos: ['acl', 'atk', 'atomic', 'atomic-devmode', 'attr', 'audit', 'audit-libs', 'authconfig', 'avahi', 'basesystem', 'bash', 'bash-completion', 'bind', 'bind99', 'biosdevname', 'boost', 'bridge-utils', 'bwidget', 'bzip2', 'ca-certificates', 'cairo', 'c-ares', 'ceph', 'checkpolicy', 'chkconfig', 'chrony', 'cloud-init', 'cloud-utils', 'cockpit', 'conntrack-tools', 'container-selinux', 'coreutils', 'cpio', 'cracklib', 'criu', 'crypto-policies', 'cryptsetup', 'cups', 'curl', 'cyrus-sasl', 'dbus', 'dbus-glib', 'dbus-python', 'dejavu-fonts', 'deltarpm', 'device-mapper-libs', 'device-mapper-multipath', 'device-mapper-persistent-data', 'dhcp', 'diffutils', 'ding-libs', 'dmidecode', 'dnf', 'dnsmasq', 'docker', 'dracut', 'dracut-network', 'e2fsprogs', 'efibootmgr', 'efivar', 'elfutils', 'emacs', 'etcd', 'ethtool', 'euca2ools', 'expat', 'fedora-logos', 'fedora-release', 'fedora-repos', 'file', 'filesystem', 'findutils', 'fipscheck', 'fipscheck-lib', 'flannel', 'fontconfig', 'fontpackages', 'freetype', 'fuse', 'gawk', 'gc', 'gcc', 'gdbm', 'gdisk', 'gdk-pixbuf2', 'GeoIP', 'GeoIP-GeoLite-data', 'gettext', 'glib2', 'glibc', 'glib-networking', 'glusterfs', 'gmp', 'gnupg', 'gnupg2', 'gnutls', 'gobject-introspection', 'gomtree', 'gperftools', 'gpgme', 'gpm', 'gpm-libs', 'graphite2', 'grep', 'grub2', 'gsettings-desktop-schemas', 'gssproxy', 'guile', 'gzip', 'harfbuzz', 'hawkey', 'hdparm', 'hicolor-icon-theme', 'hostname', 'http-parser', 'hwdata', 'initscripts', 'ipcalc', 'iproute', 'iptables', 'iputils', 'irqbalance', 'iscsi-initiator-utils', 'jansson', 'jasper', 'jbigkit', 'json-glib', 'kernel', 'kexec-tools', 'keyutils', 'keyutils-libs', 'kmod', 'krb5', 'krb5-libs', 'kubernetes', 'less', 'libacl', 'libaio', 'libarchive', 'libassuan', 'libatomic_ops', 'libblkid', 'libbsd', 'libcap', 'libcap-ng', 'libcgroup', 'libcom_err', 'libcomps', 'libcroco', 'libdatrie', 'libdb', 'libdrm', 'libedit', 'liberation-fonts', 'libev', 'libevent', 'libffi', 'libgcrypt', 'libglade2', 'libglvnd', 'libgpg-error', 'libgudev', 'libICE', 'libidn', 'libidn2', 'libiscsi', 'libjpeg-turbo', 'libksba', 'libldb', 'libmetalink', 'libmnl', 'libmodman', 'libmount', 'libndp', 'libnet', 'libnetfilter_conntrack', 'libnetfilter_cthelper', 'libnetfilter_cttimeout', 'libnetfilter_queue', 'libnfnetlink', 'libnfs', 'libnfsidmap', 'libnl3', 'libpcap', 'libpciaccess', 'libpng', 'libproxy', 'libpsl', 'libpwquality', 'librepo', 'libreport', 'libseccomp', 'libselinux', 'libsemanage', 'libsepol', 'libsigsegv', 'libSM', 'libsolv', 'libsoup', 'libssh2', 'libtalloc', 'libtasn1', 'libtdb', 'libtevent', 'libthai', 'libtiff', 'libtirpc', 'libtomcrypt', 'libtommath', 'libtool', 'libunistring', 'libunwind', 'libusb', 'libusbx', 'libuser', 'libutempter', 'libverto', 'libX11', 'libXau', 'libxcb', 'libXcomposite', 'libXcursor', 'libXdamage', 'libXext', 'libXfixes', 'libXft', 'libXi', 'libXinerama', 'libxml2', 'libXmu', 'libXrandr', 'libXrender', 'libxshmfence', 'libxslt', 'libXt', 'libXxf86misc', 'libXxf86vm', 'libyaml', 'linux-firmware', 'logrotate', 'lttng-ust', 'lua', 'lvm2', 'lz4', 'lzo', 'make', 'mcpp', 'mdadm', 'mesa', 'mokutil', 'mozjs17', 'mpfr', 'nano', 'ncurses', 'nettle', 'net-tools', 'NetworkManager', 'newt', 'nfs-utils', 'nghttp2', 'nmap', 'npth', 'nspr', 'nss', 'nss-pem', 'nss-softokn', 'nss-util', 'numactl', 'openldap', 'openssh', 'openssl', 'os-prober', 'ostree', 'p11-kit', 'pam', 'pango', 'passwd', 'pciutils', 'pcre', 'perl', 'perl-libs', 'pixman', 'policycoreutils', 'polkit', 'polkit-pkla-compat', 'popt', 'ppp', 'procps-ng', 'protobuf-c', 'publicsuffix-list', 'pygobject3', 'pyliblzma', 'pyserial', 'python', 'python3', 'python-beautifulsoup4', 'python-cffi', 'python-chardet', 'python-configobj', 'python-crypto', 'python-cryptography', 'python-cssselect', 'python-dateutil', 'python-decorator', 'python-dmidecode', 'python-docker-py', 'python-docker-pycreds', 'python-enum34', 'python-ethtool', 'python-html5lib', 'python-idna', 'python-iniparse', 'python-ipaddress', 'python-IPy', 'python-jinja2', 'python-jsonpatch', 'python-jsonpointer', 'python-lxml', 'python-markupsafe', 'python-oauthlib', 'python-paramiko', 'python-pip', 'python-ply', 'python-prettytable', 'python-progressbar', 'python-pyasn1', 'python-pycparser', 'python-pycurl', 'python-pygpgme', 'python-pysocks', 'python-pyudev', 'python-requestbuilder', 'python-requests', 'python-rhsm', 'python-setuptools', 'python-six', 'python-slip', 'python-urlgrabber', 'python-urllib3', 'python-websocket-client', 'pyxattr', 'PyYAML', 'qemu', 'qrencode', 'quota', 'readline', 'rpcbind', 'rpm', 'rpm-ostree', 'rsync', 'runc', 'samba', 'sed', 'selinux-policy', 'setools', 'setup', 'sgml-common', 'shadow-utils', 'shared-mime-info', 'shim-signed', 'skopeo', 'skopeo-containers', 'slang', 'snappy', 'socat', 'sqlite', 'sssd', 'subscription-manager', 'sudo', 'systemd', 'tar', 'tcl', 'tcp_wrappers', 'tcp_wrappers-libs', 'texinfo', 'tk', 'tmux', 'tuned', 'tzdata', 'usermode', 'userspace-rcu', 'ustr', 'util-linux', 'vim', 'virt-what', 'wayland', 'which', 'xfsprogs', 'xorg-x11-server-utils', 'xorg-x11-xauth', 'xorg-x11-xinit', 'xz', 'yum', 'yum-metadata-parser', 'zlib'] }
+    --- !Policy
+    # Fedora Atomic CI pipeline
+    # http://fedoraproject.org/wiki/CI
+    id: "atomic_ci_pipeline_results_stable"
+    product_versions:
+      - fedora-28
+      - fedora-27
+      - fedora-26
+    decision_context: bodhi_update_push_stable
+    blacklist: []
+    relevance_key: original_spec_nvr
+    rules:
+      # List taken from https://github.com/CentOS-PaaS-SIG/ci-pipeline/blob/master/config/package_list
+      - !FedoraAtomicCi { test_case_name: org.centos.prod.ci.pipeline.complete, repos: ['acl', 'atk', 'atomic', 'atomic-devmode', 'attr', 'audit', 'audit-libs', 'authconfig', 'avahi', 'basesystem', 'bash', 'bash-completion', 'bind', 'bind99', 'biosdevname', 'boost', 'bridge-utils', 'bwidget', 'bzip2', 'ca-certificates', 'cairo', 'c-ares', 'ceph', 'checkpolicy', 'chkconfig', 'chrony', 'cloud-init', 'cloud-utils', 'cockpit', 'conntrack-tools', 'container-selinux', 'coreutils', 'cpio', 'cracklib', 'criu', 'crypto-policies', 'cryptsetup', 'cups', 'curl', 'cyrus-sasl', 'dbus', 'dbus-glib', 'dbus-python', 'dejavu-fonts', 'deltarpm', 'device-mapper-libs', 'device-mapper-multipath', 'device-mapper-persistent-data', 'dhcp', 'diffutils', 'ding-libs', 'dmidecode', 'dnf', 'dnsmasq', 'docker', 'dracut', 'dracut-network', 'e2fsprogs', 'efibootmgr', 'efivar', 'elfutils', 'emacs', 'etcd', 'ethtool', 'euca2ools', 'expat', 'fedora-logos', 'fedora-release', 'fedora-repos', 'file', 'filesystem', 'findutils', 'fipscheck', 'fipscheck-lib', 'flannel', 'fontconfig', 'fontpackages', 'freetype', 'fuse', 'gawk', 'gc', 'gcc', 'gdbm', 'gdisk', 'gdk-pixbuf2', 'GeoIP', 'GeoIP-GeoLite-data', 'gettext', 'glib2', 'glibc', 'glib-networking', 'glusterfs', 'gmp', 'gnupg', 'gnupg2', 'gnutls', 'gobject-introspection', 'gomtree', 'gperftools', 'gpgme', 'gpm', 'gpm-libs', 'graphite2', 'grep', 'grub2', 'gsettings-desktop-schemas', 'gssproxy', 'guile', 'gzip', 'harfbuzz', 'hawkey', 'hdparm', 'hicolor-icon-theme', 'hostname', 'http-parser', 'hwdata', 'initscripts', 'ipcalc', 'iproute', 'iptables', 'iputils', 'irqbalance', 'iscsi-initiator-utils', 'jansson', 'jasper', 'jbigkit', 'json-glib', 'kernel', 'kexec-tools', 'keyutils', 'keyutils-libs', 'kmod', 'krb5', 'krb5-libs', 'kubernetes', 'less', 'libacl', 'libaio', 'libarchive', 'libassuan', 'libatomic_ops', 'libblkid', 'libbsd', 'libcap', 'libcap-ng', 'libcgroup', 'libcom_err', 'libcomps', 'libcroco', 'libdatrie', 'libdb', 'libdrm', 'libedit', 'liberation-fonts', 'libev', 'libevent', 'libffi', 'libgcrypt', 'libglade2', 'libglvnd', 'libgpg-error', 'libgudev', 'libICE', 'libidn', 'libidn2', 'libiscsi', 'libjpeg-turbo', 'libksba', 'libldb', 'libmetalink', 'libmnl', 'libmodman', 'libmount', 'libndp', 'libnet', 'libnetfilter_conntrack', 'libnetfilter_cthelper', 'libnetfilter_cttimeout', 'libnetfilter_queue', 'libnfnetlink', 'libnfs', 'libnfsidmap', 'libnl3', 'libpcap', 'libpciaccess', 'libpng', 'libproxy', 'libpsl', 'libpwquality', 'librepo', 'libreport', 'libseccomp', 'libselinux', 'libsemanage', 'libsepol', 'libsigsegv', 'libSM', 'libsolv', 'libsoup', 'libssh2', 'libtalloc', 'libtasn1', 'libtdb', 'libtevent', 'libthai', 'libtiff', 'libtirpc', 'libtomcrypt', 'libtommath', 'libtool', 'libunistring', 'libunwind', 'libusb', 'libusbx', 'libuser', 'libutempter', 'libverto', 'libX11', 'libXau', 'libxcb', 'libXcomposite', 'libXcursor', 'libXdamage', 'libXext', 'libXfixes', 'libXft', 'libXi', 'libXinerama', 'libxml2', 'libXmu', 'libXrandr', 'libXrender', 'libxshmfence', 'libxslt', 'libXt', 'libXxf86misc', 'libXxf86vm', 'libyaml', 'linux-firmware', 'logrotate', 'lttng-ust', 'lua', 'lvm2', 'lz4', 'lzo', 'make', 'mcpp', 'mdadm', 'mesa', 'mokutil', 'mozjs17', 'mpfr', 'nano', 'ncurses', 'nettle', 'net-tools', 'NetworkManager', 'newt', 'nfs-utils', 'nghttp2', 'nmap', 'npth', 'nspr', 'nss', 'nss-pem', 'nss-softokn', 'nss-util', 'numactl', 'openldap', 'openssh', 'openssl', 'os-prober', 'ostree', 'p11-kit', 'pam', 'pango', 'passwd', 'pciutils', 'pcre', 'perl', 'perl-libs', 'pixman', 'policycoreutils', 'polkit', 'polkit-pkla-compat', 'popt', 'ppp', 'procps-ng', 'protobuf-c', 'publicsuffix-list', 'pygobject3', 'pyliblzma', 'pyserial', 'python', 'python3', 'python-beautifulsoup4', 'python-cffi', 'python-chardet', 'python-configobj', 'python-crypto', 'python-cryptography', 'python-cssselect', 'python-dateutil', 'python-decorator', 'python-dmidecode', 'python-docker-py', 'python-docker-pycreds', 'python-enum34', 'python-ethtool', 'python-html5lib', 'python-idna', 'python-iniparse', 'python-ipaddress', 'python-IPy', 'python-jinja2', 'python-jsonpatch', 'python-jsonpointer', 'python-lxml', 'python-markupsafe', 'python-oauthlib', 'python-paramiko', 'python-pip', 'python-ply', 'python-prettytable', 'python-progressbar', 'python-pyasn1', 'python-pycparser', 'python-pycurl', 'python-pygpgme', 'python-pysocks', 'python-pyudev', 'python-requestbuilder', 'python-requests', 'python-rhsm', 'python-setuptools', 'python-six', 'python-slip', 'python-urlgrabber', 'python-urllib3', 'python-websocket-client', 'pyxattr', 'PyYAML', 'qemu', 'qrencode', 'quota', 'readline', 'rpcbind', 'rpm', 'rpm-ostree', 'rsync', 'runc', 'samba', 'sed', 'selinux-policy', 'setools', 'setup', 'sgml-common', 'shadow-utils', 'shared-mime-info', 'shim-signed', 'skopeo', 'skopeo-containers', 'slang', 'snappy', 'socat', 'sqlite', 'sssd', 'subscription-manager', 'sudo', 'systemd', 'tar', 'tcl', 'tcp_wrappers', 'tcp_wrappers-libs', 'texinfo', 'tk', 'tmux', 'tuned', 'tzdata', 'usermode', 'userspace-rcu', 'ustr', 'util-linux', 'vim', 'virt-what', 'wayland', 'which', 'xfsprogs', 'xorg-x11-server-utils', 'xorg-x11-xauth', 'xorg-x11-xinit', 'xz', 'yum', 'yum-metadata-parser', 'zlib'] }
 ---
 apiVersion: v1
 kind: ConfigMap

Metadata Update from @ralph:
- Issue assigned to pingou

2 years ago

Well, freeze is up. It may be time to do this (after we fix messaging).

And... it's working now. I didn't do anything. :(

https://apps.fedoraproject.org/datagrepper/raw?category=greenwave&delta=127800&rows_per_page=1

Maybe some network issue between os.fp.o and busgateway01?

I never got around to rolling this out. @pingou - want to do it tomorrow?

Something weird is going on with our ansible+openshift setup.

I applied these changes:

But neither of them "took" on the cluster. You can see this by running oc describe cm/greenwave-configmap on os-master01, which shows the old config still.. not the newly updated one in the ansible repo.

Looking at the git log of roles/openshift, it looks like a couple changes were made there in the last few days. @pingou, do you know what it could be?

In IRC, patrick says this is an ansible bug. As a temporary workaround, I can comment out the other openshift/object role calls. Will try again another day.

Seems to be fixed today. Thanks guys! Rolling this out now.

Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata