The old version
[root@fedora ~]# rpm -qf /usr/bin/gem2rpm
rubygem-gem2rpm-1.0.1-7.fc34.noarch
Didn't work and failed with
/usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `initialize': No such file or directory @ rb_sysopen - https://rubygems.org/api/v1/gems/bioroebe.json (Errno::ENOENT)
from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `open'
from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `<top (required)>'
from /usr/bin/gem2rpm:23:in `load'
from /usr/bin/gem2rpm:23:in `<main>'
* Only support one Fedora release (34) on staging retrace.
* Update list of removed versions on staging.
* Support CentOS 7 and 8 on production instance.
* Update repository URLs, remove dead links.
This lets users of simple_message_to_bus predefine items which should be
present in all message bodies this way:
export MSGBODY_PRESET="key1=value1 key2=value2"
This doesn't work with spaces in either keys or values, any quotation
will be used verbatim.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Callers of simple_message_to_bus need to set and export MSGTOPIC_PREFIX
explicitly.
This decouples the fedora-messaging-utils and web-data-analysis roles.
Additionally, don't assume /bin/sh is /bin/bash.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This lets scripts in cron jobs find /usr/local/bin/simple_message_to_bus
without hard-coding the whole path.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This should prevent race conditions of the form that logs are attempted
to be combined while syncing those of individual hosts hasn't finished.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This is to enable running the syncing and combining scripts in
series rather than from independently scheduled cron jobs.
Signed-off-by: Nils Philippsen <nils@redhat.com>
If we push this to all proxies (as we have), they will fail to start
haproxy because they cannot resolve the internal ocp iad2 hosts. ;(
The ocp clusters should only apply on the iad2 haproxy nodes, not all
proxies. Also fix logic on the staging one to apply in staging instead
of just production.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The cert here is gotten from centos.org folks and checked into private.
At some point we will get a longer term cert here so there's less manual
churn. Otherwise we just make a new mirrors.stg.centos.org and proxy it
to mirrorlists just like mirrors.stg.fedoraproject.org.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>