Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bodhi must be restarted after using bodhi-manage-releases to create a new release #2177

Closed
bowlofeggs opened this issue Feb 27, 2018 · 4 comments · Fixed by #3345

Comments

@bowlofeggs
Copy link
Member

@bowlofeggs bowlofeggs commented Feb 27, 2018

I noticed today that I needed to restart Bodhi after using bodhi-manage-releases to create a new Release object before I could create an update that used tags from that Release. I think this is due to some permanent caching in the Release model code. We should probably have changes to releases reset those caches.

@bowlofeggs

This comment has been minimized.

Copy link
Member Author

@bowlofeggs bowlofeggs commented Oct 15, 2018

Since bodhi-manage-releases is now deprecated, this should be done in bodhi releases edit/create instead.

@bowlofeggs

This comment has been minimized.

Copy link
Member Author

@bowlofeggs bowlofeggs commented Oct 15, 2018

Note that this one will be difficult to do because Bodhi uses multiple server processes, and they must all be notified to clear their caches when releases are edited or created. There isn't currently an infrastructure in place to do this.

@bowlofeggs

This comment has been minimized.

Copy link
Member Author

@bowlofeggs bowlofeggs commented Apr 29, 2019

We will need to either start using a caching server for Bodhi's processes, or will need to make the queries efficient so we don't need a cache at all.

@bowlofeggs

This comment has been minimized.

Copy link
Member Author

@bowlofeggs bowlofeggs commented Jun 4, 2019

I believe that @nphilipp might be interested in solving this problem.

sebwoj added a commit to sebwoj/bodhi that referenced this issue Jun 23, 2019
fix fedora-infra#2177

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>
sebwoj added a commit to sebwoj/bodhi that referenced this issue Jun 28, 2019
fix fedora-infra#2177

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>
@mergify mergify bot closed this in #3345 Jul 9, 2019
mergify bot added a commit that referenced this issue Jul 9, 2019
fix #2177

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.