Open darrynl opened 2 months ago
Hi @darrynl,
Thank you for the report. To diagnose the issue further, please follow these steps:
spacewalk.target
for any dependency failures:
systemctl status spacewalk.target
uyuni-check-database.service
:
journalctl -f -u uyuni-check-database.service
systemctl status postgresql.service
Please provide the output of these commands for further analysis.
@avshiliaev I've got the same issue, taskomatic appears to be the issue. Postgres is fine, spacewalk is down on dependencies.
2024-07-09 14:58:55,627 [Thread-41] FATAL com.redhat.rhn.taskomatic.core.TaskomaticDaemon - java.lang.NoClassDefFoundError: net/bytebuddy/NamingStrategy$SuffixingRandom$BaseNameResolver
at org.hibernate.cfg.Environment.buildBytecodeProvider(Environment.java:357)
at org.hibernate.cfg.Environment.buildBytecodeProvider(Environment.java:352)
at org.hibernate.cfg.Environment.<clinit>(Environment.java:246)
at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:122)
at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:96)
at org.hibernate.cfg.Configuration.reset(Configuration.java:158)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:124)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:118)
at com.redhat.rhn.common.hibernate.AbstractConnectionManager.createSessionFactory(AbstractConnectionManager.java:182)
at com.redhat.rhn.common.hibernate.AbstractConnectionManager.initialize(AbstractConnectionManager.java:166)
at com.redhat.rhn.common.hibernate.HibernateFactory.createSessionFactory(HibernateFactory.java:119)
at com.redhat.rhn.taskomatic.core.SchedulerKernel.startup(SchedulerKernel.java:131)
at com.redhat.rhn.taskomatic.core.TaskomaticDaemon.lambda$onStartup$0(TaskomaticDaemon.java:154)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: net.bytebuddy.NamingStrategy$SuffixingRandom$BaseNameResolver
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
... 14 more
@bmswork Please downgrade "bytebuddy" package. Leap released an incompatible version. We will fix this in a future release
Wonderful, that worked just fine:
zypper -n install --auto-agree-with-licenses --oldpackage 'byte-buddy < 1.12'
@mcalmer is there an estimated release date for the newer package as the current one is old and have open vulnerabilities. https://nvd.nist.gov/vuln/detail/CVE-2021-33813
AFAIK all changes were checked-in yesterday so Uyuni 2024.08 will have it.
The link you send was about jdom and not byte-buddy. AFAIK that CVE is fixed since a while already
Problem description
When doing a fresh installation of Uyuni, the Uyuni setup fails.
Steps to reproduce
...
Uyuni version
Uyuni proxy version (if used)
Useful logs
Additional information
No response