Context:
https://pagure.io/releng/issue/7825
In order to fix that issue, I propose running the following commands on
bodhi-backend01:
$ sudo -u apache pshell /etc/bodhi/production.ini
2018-09-18 16:09:51,892 INFO [bodhi][MainThread] Using the
FakeBugTracker
2018-09-18 16:09:51,892 DEBUG [bodhi][MainThread] Using DevBuildsys
2018-09-18 16:10:26,842 INFO [bodhi.server][MainThread] Bodhi ready and
at your service!
Python 3.6.6 (default, Jul 19 2018, 14:25:17)
[GCC 8.1.1 20180712 (Red Hat 8.1.1-5)] on linux
Type "help" for more information.
Environment:
app The WSGI application.
registry Active Pyramid registry.
request Active request object.
root Root of the default resource tree.
root_factory Default root factory used to create `root`.
Custom Variables:
m bodhi.server.models
s bodhi.server.Session
>> blivet =
m.Build.query.filter_by(nvr='python-blivet-3.1.0-2.fc29').one()
>> update = m.Update.query.filter_by(alias='FEDORA-2018-85853d46b5').one()
>> update.builds.remove(blivet)
>> update.comment(m.Session(), "python-blivet-3.1.0-2.fc29 has been removed
from this update.", author='bowlofeggs')
>> m.Session().commit()
The output above was taken from a practice run I did in Bodhi's
development environment.
+1's?