[Spacewalk-list] Client software update (download package from spacewalk server)

Waldirio Manhães Pinheiro waldirio at gmail.com
Wed Jun 13 16:30:05 UTC 2018


Hello J,


A lot of interesting infos here, then you can

  - Check it via spacecmd
  - Check via api *I believe there is any call that will show you the info*
  - Check via spacewalk-report
  - Forcing this configuration via Configuration Channel *here you can
create one script and deploy on your /etc/cron.d or /etc/cron.weekly*
  - and much more :-)

Enjoy

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Wed, Jun 13, 2018 at 7:31 AM, Kalchik, Jeffery <JDKalchik at landolakes.com>
wrote:

> For another two cents….
>
>
>
> Any time that the centos-release package is updated, even if it’s updated
> from your Spacewalk server, /etc/yum.repos.d will be repopulated with the
> CentOS public repositories.
>
>
>
> This has been a continual pain point here, as I very specifically do NOT
> want my client systems going out to the public Internet for any updates.
> I’ve ended up with a rather custom script for patching that, among other
> things, also cleans out /etc/yum.repos.d.
>
>
>
> Jeff Kalchik
>
> Systems Engineering
>
> Land O’Lakes
>
>
>
> *From:* spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-
> bounces at redhat.com] *On Behalf Of *Kevin Olbrich
> *Sent:* Wednesday, June 13, 2018 7:41 AM
> *To:* spacewalk-list at redhat.com
> *Subject:* Re: [Spacewalk-list] Client software update (download package
> from spacewalk server)
>
>
>
> If you removed the repo files, you can run "yum clean all" to ensure
> everything is in clean state.
>
> You can also (simulate) install a package from your repo and check whats
> listed in the repo column.
>
> If there is no repo file with a remote repo, it won't be used. How should
> the system know about it if it is not configured?
>
>
>
> I wonder why my systems don't use these external repos. I set up the
> system using kickstart (directly via PXE, no pre-configuration).
>
> Ever since installation, only my channels are in use.
>
>
> Kind regards,
> Kevin Olbrich.
>
>
>
> 2018-06-13 14:31 GMT+02:00 Jérôme Meyer <Jerome.Meyer at lcsystems.ch>:
>
> Hello Waldirio,
>
>
>
> Ok, see to be fine but you know, for checkup I need to be sure that the
> client take packages at the spacewalk server and not elsewhere.
>
> That's why I asked how could I check that from my client side? But perhaps
> it isn't possible?
>
>
>
> I'll remove too, the repo --name config from my kickstart file.
>
>
>
> Thanks a lot and best regards, J.
>
>
> ------------------------------
>
> *De :* spacewalk-list-bounces at redhat.com [spacewalk-list-bounces@
> redhat.com] de la part de Waldirio Manhães Pinheiro [waldirio at gmail.com]
> *Envoyé :* mardi 12 juin 2018 18:20
>
>
> *À :* spacewalk-list at redhat.com
> *Objet :* Re: [Spacewalk-list] Client software update (download package
> from spacewalk server)
>
>
>
> Hello J
>
> Good to know everything is ok.
>
> Sorry, I didn't follow your question *Is there still a way to check it on
> the client, like logs or so???*
>
> Btw to all CentOS machines you can remove the files by default when
> registering on the SW, then will be available / visible just the SW repos.
>
> Best
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.waldirio.com.br&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=f1C4WC%2F%2BP809JIHbbUSu4%2BZKSg1Ge%2FiLD34Y3TIZ24U%3D&reserved=0>
> Blog: blog.waldirio.com.br
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.waldirio.com.br&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=3Q%2Bpf5ReWoey4ohHHikDMsH65gL3D0Y0nj8OlPwvtZY%3D&reserved=0>
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbr.linkedin.com%2Fpub%2Fwaldirio-pinheiro%2F22%2Fb21%2F646&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=0GOxro01niY9iERqJW9khZUzQxH3sp%2FpUbXnX2WdAeA%3D&reserved=0>
> PGP: www.waldirio.com.br/public.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.waldirio.com.br%2Fpublic.html&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=jtlBzDYG0JGsNeKkDddbIkOOZDiU3zmXxBabwOc%2BE7M%3D&reserved=0>
>
>
>
> On Tue, Jun 12, 2018 at 8:12 AM, Jérôme Meyer <Jerome.Meyer at lcsystems.ch>
> wrote:
>
> Hello Waldirio,
>
>
>
> Thanks for your quick replay.
>
> Ok, I've moved all repos from /etc/yum.repos.d.
>
> Now, it seems to be ok, because the *yum repolist all* showed me the list
> from spacewalk.
>
> Is there still a way to check it on the client, like logs or so???
>
>
>
> Best regards,
>
> J.
>
>
> ------------------------------
>
> *De :* spacewalk-list-bounces at redhat.com [spacewalk-list-bounces@
> redhat.com] de la part de Waldirio Manhães Pinheiro [waldirio at gmail.com]
> *Envoyé :* mardi 12 juin 2018 16:54
> *À :* spacewalk-list at redhat.com
> *Objet :* Re: [Spacewalk-list] Client software update (download package
> from spacewalk server)
>
> Hello Jérome
>
> You can remove *or just move* the standard .repo files from
> /etc/yum.repos.d to another directory, after register on the Spacewalk, the
> client will manage this repos, you can enable/disable via cli or just via
> webUI *Spacewalk*
>
> Let us know if you have any additional question.
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.waldirio.com.br&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=f1C4WC%2F%2BP809JIHbbUSu4%2BZKSg1Ge%2FiLD34Y3TIZ24U%3D&reserved=0>
> Blog: blog.waldirio.com.br
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.waldirio.com.br&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=3Q%2Bpf5ReWoey4ohHHikDMsH65gL3D0Y0nj8OlPwvtZY%3D&reserved=0>
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbr.linkedin.com%2Fpub%2Fwaldirio-pinheiro%2F22%2Fb21%2F646&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=0GOxro01niY9iERqJW9khZUzQxH3sp%2FpUbXnX2WdAeA%3D&reserved=0>
> PGP: www.waldirio.com.br/public.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.waldirio.com.br%2Fpublic.html&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=jtlBzDYG0JGsNeKkDddbIkOOZDiU3zmXxBabwOc%2BE7M%3D&reserved=0>
>
>
>
> On Tue, Jun 12, 2018 at 7:27 AM, Jérôme Meyer <Jerome.Meyer at lcsystems.ch>
> wrote:
>
> Dear All,
>
>
>
> I've created a new system (client) with spacewalk 2.4 (satellite 5.6)
> using CentOS 7.
>
> From Spacewalk server I can now managed this client. The registration was
> ok.
>
> The upgrade is running too but unfortunately the client take not the
> package from Spacewalk server but directly from internet. (Is it correct
> that packages must come from the spacewalk server??)
>
> Here're the config file from the client:
>
>
>
> # ls -tlr /etc/yum.repos.d/
>
> total 48
>
> -rw-r--r--. 1 root root  203 May  6  2015 spacewalk-client.repo
>
> -rw-r--r--. 1 root root  223 May  6  2015 spacewalk-client-nightly.repo
>
> -rw-r--r--. 1 root root 1050 Oct  2  2017 epel-testing.repo
>
> -rw-r--r--. 1 root root  951 Oct  2  2017 epel.repo
>
> -rw-r--r--. 1 root root 4768 May 17 15:53 CentOS-Vault.repo
>
> -rw-r--r--. 1 root root 1331 May 17 15:53 CentOS-Sources.repo
>
> -rw-r--r--. 1 root root  630 May 17 15:53 CentOS-Media.repo
>
> -rw-r--r--. 1 root root  314 May 17 15:53 CentOS-fasttrack.repo
>
> -rw-r--r--. 1 root root  649 May 17 15:53 CentOS-Debuginfo.repo
>
> -rw-r--r--. 1 root root 1309 May 17 15:53 CentOS-CR.repo
>
> -rw-r--r--. 1 root root 1664 May 17 15:53 CentOS-Base.repo
>
>
>
> What can I do to change this issue ?
>
> Shouldn't these repos be defined by Spacewalk Server?
>
> The Client Configuration's Guide spoke only regarding registering client
> but not about to do update.
>
>
>
> Thank you and best regards, J.
>
>
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=7O2vV4RGqk%2BSA0OUSd2%2BLU21jbVI8aq%2B%2BNZTP0%2FXJh0%3D&reserved=0>
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=7O2vV4RGqk%2BSA0OUSd2%2BLU21jbVI8aq%2B%2BNZTP0%2FXJh0%3D&reserved=0>
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=01%7C01%7Cjdkalchik%40landolakes.com%7C273babf1899d46db34db08d5d12af5a5%7C21ab97d78e754056826b9d8ec665c5a3%7C1&sdata=7O2vV4RGqk%2BSA0OUSd2%2BLU21jbVI8aq%2B%2BNZTP0%2FXJh0%3D&reserved=0>
>
>
> This message may contain confidential material from Land O'Lakes, Inc. (or
> its subsidiary) for the sole use of the intended recipient(s) and may not
> be reviewed, disclosed, copied, distributed or used by anyone other than
> the intended recipient(s). If you are not the intended recipient, please
> contact the sender by reply email and delete all copies of this message.
>
> _______________________________________________
> 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/20180613/61f0e275/attachment.htm>


More information about the Spacewalk-list mailing list