Re: FBR: Manually delete the Fedora 29 compose that is failed in Bodhi's DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, 29 Aug 2018 at 15:21, Randy Barlow <bowlofeggs@xxxxxxxxxxxxxxxxx> wrote:
There is a Fedora 29 Compose in Bodhi's DB that has gotten into a weird
state due to being run when the process didn't know about Fedora 29. To
fix it, I wish to use pshell on bodhi-backend01 to delete it:

$ sudo -u apache pshell /etc/bodhi/production.ini
>>> c = m.Compose.query.first()
>>> m.Session().delete(c)
>>> m.Session().commit()

+1's?


Can you give me more information on what this will due, what could go wrong and how to recover? If not I don't think I can give an answer.

 
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx


--
Stephen J Smoogen.

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux