[Spacewalk-list] RES: Spacewalk client updates

Matt Moldvan matt at moldvan.com
Wed Apr 27 03:01:07 UTC 2016


Cool, glad it worked.  For what it's worth, I found it useful to increase
taskomatic.maxmemory in /etc/rhn/rhn.conf to 4096 to avoid the periodic
taskomatic restarts that were causing this.  There is some history of
issues behind having the default at having it set to 1024MB by default.

On Tue, Apr 26, 2016 at 5:18 PM Thiago do Carmo Campos <
thiago.campos at anbima.com.br> wrote:

> Hi Matt!
>
>
>
> Works for me restart the taskomatic service.
>
>
>
> Thanks for your reply.
>
> *Thiago Campos*
> Selic
> Fone: +55 (21) 3506-8973
>
> [image: ANBIMA - Associação Brasileira das Entidades dos Mercados
> Financeiro e de Capitais] <http://www.anbima.com.br/>
>
> [image: Curta nossa página no Facebook]
> <https://www.facebook.com/AnbimaBR/>
>
> [image: Conheça nossa página no Linkedin]
> <https://www.linkedin.com/company/anbima---brazilian-financial-and-capital-markets-association?trk=top_nav_home>
>
> [image: Visite nosso canal no Youtube]
> <https://www.youtube.com/user/AnbimaBR>
>
> [image: http://www.anbima.com.br/assinaturaEmail/space.png]
>
> *www.anbima.com.br* <http://www.anbima.com.br/>
> *Cadastre–se e receba nossas publicações*
> <http://www.anbima.com.br/publicacoes/>
>
> INFORMAÇÃO CONFIDENCIAL:  Este email e seus anexos contém informações
> confidenciais e qualquer uso, divulgação, distribuição e/ou cópia não
> autorizado é estritamente proibido e sujeito às penalidades legais
> cabíveis. Se você recebeu esta mensagem indevidamente ou por engano, por
> favor, informe ao remetente deste fato e apague-a de seu computador.
>
> CONFIDENTIAL INFORMATION: This e-mail message and attached files contain
> confidential information. Any unauthorized use, disclosure, distribution
> and/or copy is prohibited and subject to the applicable legal penalties. If
> you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
>
>
>
> *De:* spacewalk-list-bounces at redhat.com [mailto:
> spacewalk-list-bounces at redhat.com] *Em nome de *Matt Moldvan
> *Enviada em:* terça-feira, 26 de abril de 2016 13:14
> *Para:* spacewalk-list at redhat.com
> *Assunto:* Re: [Spacewalk-list] Spacewalk client updates
>
>
>
> Check that taskomatic is running and if you have entries in the spacewalk
> database table rhntaskqueue, the clients will not show updates until
> the update_server_errata_cache tasks complete.  When waiting for tasks to
> complete, I like to use watch to see the numbers decrease, or you can query
> them directly with a select * from rhntaskqueue after executing
> spacewalk-sql -i as root.
>
>
>
> If there are high numbers in that table, something may not be processing
> correctly and you should check the files
> in /var/log/rhn/tasko/sat/errata-cache-bunch and
> /var/log/rhn/rhn_taskomatic_daemon.log.  It may be a good idea to start
> there, now that I think about it.
>
>
>
> [me at myspacewalkmaster ~]$ watch "echo 'select count(*) from
> rhntaskqueue;' | sudo spacewalk-sql -i"
>
> [sudo] password for me:
>
> [me at myspacewalkmaster ~]$ sudo spacewalk-sql -i
>
> psql (8.4.20)
>
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
>
> Type "help" for help.
>
>
>
> rhnschema=# select * from rhntaskqueue ;
>
> org_id |         task_name          | task_data  | priority |
> earliest
>
>
> --------+----------------------------+------------+----------+-------------------------------
>
>       1 | update_server_errata_cache | 1000037738 |        0 | 2016-04-26
> 11:07:06.232184-05
>
> (1 row)
>
>
>
>
>
> On Tue, Apr 26, 2016 at 11:39 AM Thiago do Carmo Campos <
> thiago.campos at anbima.com.br> wrote:
>
> Hi,
>
>
>
> I’m having a problem, spacewalk isn’t shows client outdate packages.
>
>
>
> I use the command  “rhn-profile-sync –vv” to profile sync on clients but
> not work too.
>
>
>
> When I use “yum update” the clients update correctly.
>
>
>
> Does anyone have any clue about this error?
>
>
>
> Thanks,
>
> *Thiago Campos*
> Selic
> Fone: +55 (21) 3506-8973
>
> [image: ANBIMA - Associação Brasileira das Entidades dos Mercados
> Financeiro e de Capitais] <http://www.anbima.com.br/>
>
> [image: Curta nossa página no Facebook]
> <https://www.facebook.com/AnbimaBR/>
>
> [image: Conheça nossa página no Linkedin]
> <https://www.linkedin.com/company/anbima---brazilian-financial-and-capital-markets-association?trk=top_nav_home>
>
> [image: Visite nosso canal no Youtube]
> <https://www.youtube.com/user/AnbimaBR>
>
> [image: http://www.anbima.com.br/assinaturaEmail/space.png]
>
> *www.anbima.com.br* <http://www.anbima.com.br/>
> *Cadastre–se e receba nossas publicações*
> <http://www.anbima.com.br/publicacoes/>
>
> INFORMAÇÃO CONFIDENCIAL:  Este email e seus anexos contém informações
> confidenciais e qualquer uso, divulgação, distribuição e/ou cópia não
> autorizado é estritamente proibido e sujeito às penalidades legais
> cabíveis. Se você recebeu esta mensagem indevidamente ou por engano, por
> favor, informe ao remetente deste fato e apague-a de seu computador.
>
> CONFIDENTIAL INFORMATION: This e-mail message and attached files contain
> confidential information. Any unauthorized use, disclosure, distribution
> and/or copy is prohibited and subject to the applicable legal penalties. If
> you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
>
>
>
> _______________________________________________
> 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/20160427/d15f57cb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3739 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1487 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1642 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1648 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 980 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3739 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/d15f57cb/attachment-0005.png>


More information about the Spacewalk-list mailing list