Hi Paul,
I apologize....I just switched job and do not have access to any uyuni installation anymore. So trying to get it from my mind.
I also had 2 times those strange issues with cobbler.
I somehow expect, that you also might get "server error" when you try to view "kickstart profiles"?
First time, cobbler issue was caused by an SSL verification issue. While using company PKI certs, I forgot to add the root or intermediate cert into the "trusted certs" on the uyuni server itself. So when the uyuni server tried to do a SSL connection to "itself" (to the cobbler service by using the fqdn from the cobbler config), the verification failed... Silently!!
The second issue with cobbler, was that the password for cobbler was somehow wrong. The password in the database did not match the one within the rhn.conf.
I hope I remember correctly... the "password" from something like "web_service_1"? (in rhn.conf) is used by the code to access cobbler.
Once I changed the string in rhn.conf to match the one within the db (and restart of all services), the issue was gone.
Don't know the table within the DB anymore. Sorry.
Hope, this might help you to find and fix the issue.
Robert
Am 8. Apr. 2022, um 21:49, Paul-Andre Panon < ppanon@sierrawireless.com> schrieb:P.S.
We’re seeing similar errors in the taskomatic log
2022-04-08 12:44:00,035 [DefaultQuartzScheduler_Worker-12] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - re-throwing exception since we havent yet.2022-04-08 12:44:00,035 [DefaultQuartzScheduler_Worker-12] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Executing a task threw an exception: com.redhat.rhn.manager.kickstart.cobbler.NoCobblerTokenException
2022-04-08 12:44:00,035 [DefaultQuartzScheduler_Worker-12] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Message: We had an error trying to login.
2022-04-08 12:44:00,035 [DefaultQuartzScheduler_Worker-12] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Cause: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'login failed (taskomatic_user)'
2022-04-08 12:44:00,035 [DefaultQuartzScheduler_Worker-12] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Stack trace:com.redhat.rhn.manager.kickstart.cobbler.NoCobblerTokenException: We had an error trying to login.
at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:56)
at com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:113)
at com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:66)
at com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:60)
at com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:81)
at com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroSyncCommand.<init>(CobblerDistroSyncCommand.java:47)
at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:85)
at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:89)
at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:158)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'login failed (taskomatic_user)'
at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:444)
at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:51)
... 10 more
Sent from Mail for Windows