You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a question or a bug.
We are running a containerized uyuni-server 2024.07 which was recently migrated from a legacy setup (also 2024.07).
The original server has been running for a few years with a number of software channels, so it contains quite a few packages.
After restarting the container and then trying a package search in the Web GUi (eg 'kernel'), it always returns no packages.
No error - just no matching packages found.
When looking into this I realized that /var/lib/rhn/search/indexes/ is not part of a persistent volume so these indexes need to be recreated every time the container starts. Which looks like it does fine for hwdevice, server, etc., but not for the package folder. While the WebGUI just states no packages found, the /var/log/rhn/search/rhn-search.log states ERROR - no segments* file found in org.apache.lucene.store.FSDirectory@/var/lib/rhn/search/indexes/package: files:
for each search request done in the GUI.
I also checked for errors suggested in other tickets related to rhn-search, like OutOufMemory ones but could not find any.
I then tried rhn-search cleanindex and the indexes get recreated which fixes the issue.
So my question is when or by which bunch the package index is supposed to be refreshed/recreated after a restart of the container?
To give more context we are running a daily backup routine and are stopping and starting the container for that.
So maybe this is just a matter of us needing to reschedule things a bit.
Version of Uyuni Server and Proxy (if used)
Information for package Uyuni-Server-release:
Repository : @System
Name : Uyuni-Server-release
Version : 2024.07-230900.219.1.uyuni3
Arch : x86_64
Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : Uyuni-Server-release-2024.07-230900.219.1.uyuni3.src
Upstream URL : https://www.uyuni-project.org/
Summary : Uyuni Server
Description :
Uyuni lets you efficiently manage physical, virtual,
and cloud-based Linux systems. It provides automated and cost-effective
configuration and software management, asset management, and system
provisioning.
The text was updated successfully, but these errors were encountered:
Question
Not sure if this is a question or a bug.
We are running a containerized uyuni-server 2024.07 which was recently migrated from a legacy setup (also 2024.07).
The original server has been running for a few years with a number of software channels, so it contains quite a few packages.
After restarting the container and then trying a package search in the Web GUi (eg 'kernel'), it always returns no packages.
No error - just no matching packages found.
When looking into this I realized that /var/lib/rhn/search/indexes/ is not part of a persistent volume so these indexes need to be recreated every time the container starts. Which looks like it does fine for hwdevice, server, etc., but not for the package folder. While the WebGUI just states no packages found, the /var/log/rhn/search/rhn-search.log states
ERROR - no segments* file found in org.apache.lucene.store.FSDirectory@/var/lib/rhn/search/indexes/package: files:
for each search request done in the GUI.
I also checked for errors suggested in other tickets related to rhn-search, like OutOufMemory ones but could not find any.
I then tried
rhn-search cleanindex
and the indexes get recreated which fixes the issue.So my question is when or by which bunch the package index is supposed to be refreshed/recreated after a restart of the container?
To give more context we are running a daily backup routine and are stopping and starting the container for that.
So maybe this is just a matter of us needing to reschedule things a bit.
Version of Uyuni Server and Proxy (if used)
Information for package Uyuni-Server-release:
Repository : @System
Name : Uyuni-Server-release
Version : 2024.07-230900.219.1.uyuni3
Arch : x86_64
Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : Uyuni-Server-release-2024.07-230900.219.1.uyuni3.src
Upstream URL : https://www.uyuni-project.org/
Summary : Uyuni Server
Description :
Uyuni lets you efficiently manage physical, virtual,
and cloud-based Linux systems. It provides automated and cost-effective
configuration and software management, asset management, and system
provisioning.
The text was updated successfully, but these errors were encountered: