<html><body><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="1"><div>Hi,<br><br>i've finally found the source of my problem:  Ip6tables was enabled with a bad ruleset which forbid loopback traffic.<br>My server is not configured for ipv6 but some process (postgres cobbler or jabberd) seems to work first on ipv6 (loopback) then (after long time out) switch to ipv4 if connectivity problem.<br>So that why my spacewalk GUI sometimes responded slow and sometimes normal.<br><br>Thank you for helping</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Lionel Caignec" <caignec@cines.fr><br><b>À: </b>"spacewalk-list" <spacewalk-list@redhat.com><br><b>Envoyé: </b>Lundi 25 Mars 2019 09:22:29<br><b>Objet: </b>Re: [Spacewalk-list] Really slow unresponsive GUI<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><br><div>for now i've a GUI with normal behaviour except kickstart/cobbler. But lacking of time i cannot investigate for now.<br></div><br><div>Lionel.<br></div><br><hr id="zwchr"><div><b>De: </b>"Waldirio Manhães Pinheiro" <waldirio@gmail.com><br><b>À: </b>"spacewalk-list" <spacewalk-list@redhat.com><br><b>Envoyé: </b>Dimanche 24 Mars 2019 16:52:35<br><b>Objet: </b>Re: [Spacewalk-list] Really slow unresponsive GUI<br></div><br><div><div dir="ltr"><div>Hello</div><br><div>Let us know the actual state. Cobbler files is not part of db backup, that said, it's expected the similar behavior (sure, if you restore the cobbler files in place).</div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span></span><a href="http:///" target="_blank"></a><span></span><br clear="all"><div>______________<br>Best<br>Waldirio<br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br></div>LinkedIn: <a href="https://www.linkedin.com/in/waldirio" target="_blank">https://www.linkedin.com/in/waldirio</a><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 18, 2019 at 1:24 AM Lionel Caignec <<a href="mailto:caignec@cines.fr" target="_blank">caignec@cines.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi,<br>
<br>
so cobbler check return : <br>
>> 1 : some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run 'yum install cobbler-loaders' to download them, or, if you only want to handle x86/x86_64 netbooting, you may ensure that you have installed a *recent* version of the syslinux package installed and can ignore this message entirely.  Files in this directory, should you want to support all architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot. The 'yum install cobbler-loaders' command is the easiest way to resolve these requirements.<br>
>> 2 : file /etc/xinetd.d/rsync does not exist<br>
>> 3 : debmirror package is not installed, it will be required to manage debian deployments and repositories<br>
>> 4 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one<br>
>> Restart cobblerd and then run 'cobbler sync' to apply changes.<br>
<br>
I don't use networkk boot or debian distrib, so there is only the point 4 which maybe a problem?<br>
<br>
<br>
cobbler sync return : <br>
<br>
>> task started: 2019-03-15_170528_sync<br>
>> task started (id=Sync, time=Fri Mar 15 17:05:28 2019)<br>
>> running pre-sync triggers<br>
>> cleaning trees<br>
>> removing: /var/www/cobbler/images/REPO_Centos_7_x_base:1:CINES-DS2I<br>
>> removing: /var/lib/tftpboot/pxelinux.cfg/01-08-00-27-23-6e-55<br>
>> removing: /var/lib/tftpboot/pxelinux.cfg/default<br>
>> removing: /var/lib/tftpboot/grub/efidefault<br>
>> removing: /var/lib/tftpboot/grub/01-08-00-27-23-6E-55<br>
>> removing: /var/lib/tftpboot/grub/images<br>
>> removing: /var/lib/tftpboot/images/REPO_Centos_7_base_os:1:CINES-DS2I<br>
>> removing: /var/lib/tftpboot/s390x/profile_list<br>
>> copying bootloaders<br>
>> copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0<br>
>> copying: /usr/share/syslinux/menu.c32 -> /var/lib/tftpboot/menu.c32<br>
>> copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk<br>
>> copying distros<br>
>> copying files for distro: REPO_Centos_7_base_os:1:CINES-DS2I<br>
>> trying hardlink /var/satellite/rhn/kickstart/1/REPO_Centos_7_base_os/images/pxeboot/vmlinuz -> /var/lib/tftpboot/images/REPO_Centos_7_base_os:1:CINES-DS2I/vmlinuz<br>
>> trying hardlink /var/satellite/rhn/kickstart/1/REPO_Centos_7_base_os/images/pxeboot/initrd.img -> /var/lib/tftpboot/images/REPO_Centos_7_base_os:1:CINES-DS2I/initrd.img<br>
>> trying hardlink /var/satellite/rhn/kickstart/1/REPO_Centos_7_base_os/images/pxeboot/vmlinuz -> /var/www/cobbler/images/REPO_Centos_7_base_os:1:CINES-DS2I/vmlinuz<br>
>> trying hardlink /var/satellite/rhn/kickstart/1/REPO_Centos_7_base_os/images/pxeboot/initrd.img -> /var/www/cobbler/images/REPO_Centos_7_base_os:1:CINES-DS2I/initrd.img<br>
>> copying images<br>
>> generating PXE configuration files<br>
>> generating: /var/lib/tftpboot/pxelinux.cfg/01-08-00-27-23-6e-55<br>
>> generating: /var/lib/tftpboot/grub/01-08-00-27-23-6E-55<br>
>> cleaning link caches<br>
>> running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f -links 1 -exec rm -f '{}' ';'<br>
>> received on stdout: <br>
>> received on stderr: <br>
>> generating PXE menu structure<br>
>> running post-sync triggers<br>
>> running python triggers from /var/lib/cobbler/triggers/sync/post/*<br>
>> running python trigger cobbler.modules.sync_post_restart_services<br>
>> running shell triggers from /var/lib/cobbler/triggers/sync/post/*<br>
>> running python triggers from /var/lib/cobbler/triggers/change/*<br>
>> running python trigger cobbler.modules.scm_track<br>
>> running shell triggers from /var/lib/cobbler/triggers/change/*<br>
<br>
<br>
Nothing change about my error on kickstart profile.<br>
<br>
<br>
I'll try to reinstall new server and restore backup.<br>
<br>
----- Mail original -----<br>
De: "Robert Paschedag" <<a href="mailto:robert.paschedag@web.de" target="_blank">robert.paschedag@web.de</a>><br>
À: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
Cc: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
Envoyé: Vendredi 15 Mars 2019 16:03:34<br>
Objet: Re: [Spacewalk-list] Really slow unresponsive GUI<br>
<br>
What happens, if you run<br>
<br>
cobbler check<br>
<br>
and<br>
<br>
cobbler sync<br>
<br>
on the command line?<br>
<br>
Robert<br>
<br>
<br>
> Gesendet: Freitag, 15. März 2019 um 16:00 Uhr<br>
> Von: "Lionel Caignec" <<a href="mailto:caignec@cines.fr" target="_blank">caignec@cines.fr</a>><br>
> An: spacewalk-list <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
> Betreff: Re: [Spacewalk-list] Really slow unresponsive GUI<br>
><br>
> So i added Timeout directive in httpd.conf, then test script worked : <br>
> python test_cobbler_sw_login.py <br>
> aaa<br>
> Satellite auth.checkAuthToken (should be 1): <br>
> 1<br>
> Trying cobbler login (should be a random token): <br>
> saBuCS6HT28ZdjMg59kr1ZHQv/47DX6ceg==<br>
> <br>
> But spacewalkweb ui always show "service unavailable"<br>
> <br>
> <br>
> No more error in cobbler.log but in taskomatic.log now there is : <br>
> <br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,748 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - RuntimeExceptionError trying to sync to cobbler: XmlRpcException calling cobbler.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | java.lang.RuntimeException: XmlRpcException calling cobbler.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:52)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:114)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:67)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:68)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroSyncCommand.<init>(CobblerDistroSyncCommand.java:52)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:78)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by: redstone.xmlrpc.XmlRpcException: The response could not be parsed.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:435)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 10 more<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: <a href="http://FQDN:80/cobbler_api" rel="noreferrer" target="_blank">http://FQDN:80/cobbler_api</a><br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:420)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 13 more<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,756 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - re-throwing exception since we havent yet.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,758 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Executing a task threw an exception: java.lang.RuntimeException<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,758 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Message: XmlRpcException calling cobbler.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,759 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Cause: redstone.xmlrpc.XmlRpcException: The response could not be parsed.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | 2019-03-15 15:56:07,759 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - Stack trace:java.lang.RuntimeException: XmlRpcException calling cobbler.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:52)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:114)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:67)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:68)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroSyncCommand.<init>(CobblerDistroSyncCommand.java:52)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:78)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by: redstone.xmlrpc.XmlRpcException: The response could not be parsed.<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:435)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 10 more<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http:/FQDN:80/cobbler_api<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:420)<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 13 more<br>
> INFO   | jvm 1    | 2019/03/15 15:56:07 | <br>
> <br>
> <br>
> <br>
> ----- Mail original -----<br>
> De: "Robert Paschedag" <<a href="mailto:robert.paschedag@web.de" target="_blank">robert.paschedag@web.de</a>><br>
> À: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
> Cc: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
> Envoyé: Vendredi 15 Mars 2019 13:33:18<br>
> Objet: Re: [Spacewalk-list] Really slow unresponsive GUI<br>
> <br>
> Ahh.....then we might hunt the "wrong error". Try to increase the timeout in httpd.<br>
> <br>
> Try this. Maybe it helps. Conf file should be in /etc/httpd/conf/httpd.conf<br>
> <br>
> <a href="https://www.rcannings.com/cobbler-proxy-502/" rel="noreferrer" target="_blank">https://www.rcannings.com/cobbler-proxy-502/</a><br>
> <br>
> Robert<br>
> <br>
> <br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div>
<br>_______________________________________________<br>Spacewalk-list mailing list<br>Spacewalk-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/spacewalk-list<br></div></div><br>_______________________________________________<br>Spacewalk-list mailing list<br>Spacewalk-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/spacewalk-list<br></div></div></body></html>