[Spacewalk-list] Really slow unresponsive GUI

Waldirio Manhães Pinheiro waldirio at gmail.com
Sun Mar 24 15:52:35 UTC 2019


Hello

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).

______________
Best
Waldirio
Skype: waldirio
Site: www.waldirio.com.br
LinkedIn: https://www.linkedin.com/in/waldirio


On Mon, Mar 18, 2019 at 1:24 AM Lionel Caignec <caignec at cines.fr> wrote:

>  Hi,
>
> so cobbler check return :
> >> 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.
> >> 2 : file /etc/xinetd.d/rsync does not exist
> >> 3 : debmirror package is not installed, it will be required to manage
> debian deployments and repositories
> >> 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
> >> Restart cobblerd and then run 'cobbler sync' to apply changes.
>
> I don't use networkk boot or debian distrib, so there is only the point 4
> which maybe a problem?
>
>
> cobbler sync return :
>
> >> task started: 2019-03-15_170528_sync
> >> task started (id=Sync, time=Fri Mar 15 17:05:28 2019)
> >> running pre-sync triggers
> >> cleaning trees
> >> removing: /var/www/cobbler/images/REPO_Centos_7_x_base:1:CINES-DS2I
> >> removing: /var/lib/tftpboot/pxelinux.cfg/01-08-00-27-23-6e-55
> >> removing: /var/lib/tftpboot/pxelinux.cfg/default
> >> removing: /var/lib/tftpboot/grub/efidefault
> >> removing: /var/lib/tftpboot/grub/01-08-00-27-23-6E-55
> >> removing: /var/lib/tftpboot/grub/images
> >> removing: /var/lib/tftpboot/images/REPO_Centos_7_base_os:1:CINES-DS2I
> >> removing: /var/lib/tftpboot/s390x/profile_list
> >> copying bootloaders
> >> copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
> >> copying: /usr/share/syslinux/menu.c32 -> /var/lib/tftpboot/menu.c32
> >> copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk
> >> copying distros
> >> copying files for distro: REPO_Centos_7_base_os:1:CINES-DS2I
> >> 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
> >> 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
> >> 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
> >> 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
> >> copying images
> >> generating PXE configuration files
> >> generating: /var/lib/tftpboot/pxelinux.cfg/01-08-00-27-23-6e-55
> >> generating: /var/lib/tftpboot/grub/01-08-00-27-23-6E-55
> >> cleaning link caches
> >> running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f
> -links 1 -exec rm -f '{}' ';'
> >> received on stdout:
> >> received on stderr:
> >> generating PXE menu structure
> >> running post-sync triggers
> >> running python triggers from /var/lib/cobbler/triggers/sync/post/*
> >> running python trigger cobbler.modules.sync_post_restart_services
> >> running shell triggers from /var/lib/cobbler/triggers/sync/post/*
> >> running python triggers from /var/lib/cobbler/triggers/change/*
> >> running python trigger cobbler.modules.scm_track
> >> running shell triggers from /var/lib/cobbler/triggers/change/*
>
>
> Nothing change about my error on kickstart profile.
>
>
> I'll try to reinstall new server and restore backup.
>
> ----- Mail original -----
> De: "Robert Paschedag" <robert.paschedag at web.de>
> À: "spacewalk-list" <spacewalk-list at redhat.com>
> Cc: "spacewalk-list" <spacewalk-list at redhat.com>
> Envoyé: Vendredi 15 Mars 2019 16:03:34
> Objet: Re: [Spacewalk-list] Really slow unresponsive GUI
>
> What happens, if you run
>
> cobbler check
>
> and
>
> cobbler sync
>
> on the command line?
>
> Robert
>
>
> > Gesendet: Freitag, 15. März 2019 um 16:00 Uhr
> > Von: "Lionel Caignec" <caignec at cines.fr>
> > An: spacewalk-list <spacewalk-list at redhat.com>
> > Betreff: Re: [Spacewalk-list] Really slow unresponsive GUI
> >
> > So i added Timeout directive in httpd.conf, then test script worked :
> > python test_cobbler_sw_login.py
> > aaa
> > Satellite auth.checkAuthToken (should be 1):
> > 1
> > Trying cobbler login (should be a random token):
> > saBuCS6HT28ZdjMg59kr1ZHQv/47DX6ceg==
> >
> > But spacewalkweb ui always show "service unavailable"
> >
> >
> > No more error in cobbler.log but in taskomatic.log now there is :
> >
> > 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.
> > INFO   | jvm 1    | 2019/03/15 15:56:07 | java.lang.RuntimeException:
> XmlRpcException calling cobbler.
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:52)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:114)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:67)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:68)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroSyncCommand.<init>(CobblerDistroSyncCommand.java:52)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:78)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> org.quartz.core.JobRunShell.run(JobRunShell.java:216)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by:
> redstone.xmlrpc.XmlRpcException: The response could not be parsed.
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:435)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 10 more
> > 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
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:420)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 13 more
> > 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.
> > 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
> > 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.
> > 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.
> > 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.
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:52)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:114)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:67)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:68)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroSyncCommand.<init>(CobblerDistroSyncCommand.java:52)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:78)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> org.quartz.core.JobRunShell.run(JobRunShell.java:216)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 | Caused by:
> redstone.xmlrpc.XmlRpcException: The response could not be parsed.
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:435)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 10 more
> > 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
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   at
> redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:420)
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |   ... 13 more
> > INFO   | jvm 1    | 2019/03/15 15:56:07 |
> >
> >
> >
> > ----- Mail original -----
> > De: "Robert Paschedag" <robert.paschedag at web.de>
> > À: "spacewalk-list" <spacewalk-list at redhat.com>
> > Cc: "spacewalk-list" <spacewalk-list at redhat.com>
> > Envoyé: Vendredi 15 Mars 2019 13:33:18
> > Objet: Re: [Spacewalk-list] Really slow unresponsive GUI
> >
> > Ahh.....then we might hunt the "wrong error". Try to increase the
> timeout in httpd.
> >
> > Try this. Maybe it helps. Conf file should be in
> /etc/httpd/conf/httpd.conf
> >
> > https://www.rcannings.com/cobbler-proxy-502/
> >
> > Robert
> >
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190324/79205692/attachment.htm>


More information about the Spacewalk-list mailing list