Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB). What happens if I remove some of the contents?

2022-01-31 Thread Muhammad Mosleh Uddin
I have another problem which I asked in a different thread and none
responded

I was wondering, has anybody become successful creating ubuntu20-focal? if
so what are the repo for kernel and security?

Same for rhel8 repo. does it work? What are  the repo for kernel and
security.

ANy information will be helpful!

On Mon, Jan 31, 2022 at 5:06 PM T  wrote:

> Thanks for the help everyone! I was able to get the database up by just
> removing some directories from /var/satellite/redhat/ and systemctl start
> postgresql. The system is currently doing the spacewalk-data-fsck
> processes.. which will take a while. What else are you guys doing for
> system maintenance? I figure I should run the data-fsck command every week.
>
> On Mon, Jan 31, 2022 at 2:46 PM Muhammad Mosleh Uddin 
> wrote:
>
>> if it is taking way much space, you can clean and sync repo again.
>>
>> /var/satellite/redhat/*   ->>>this is where you will start deleting
>> I hope it will help!
>>
>> On Mon, Jan 31, 2022 at 2:43 PM Waldirio Manhães Pinheiro <
>> waldi...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I can tell you this script is going to use the SW API. Once your
>>> system/db is down, API will be down as well. Try to cleanup some files
>>> first (ISO) or any other log that will allow you to start your SW once
>>> again, after that, go for it.
>>>
>>> I hope this helps.
>>>
>>> __
>>> Best
>>> Waldirio
>>> Skype: waldirio
>>> Site: www.waldirio.com.br
>>> LinkedIn: https://www.linkedin.com/in/waldirio
>>>
>>>
>>> On Mon, Jan 31, 2022 at 11:33 AM T  wrote:
>>>
>>>> Thank you all - I needed to first clear some space to even wget the
>>>> script. Muhammad, would you please expand on your point? Did you mean
>>>> resync from repo? Do you know what command that is?
>>>>
>>>> On Mon, Jan 31, 2022 at 2:10 PM Dennis Pittman 
>>>> wrote:
>>>>
>>>>> Check out this article.
>>>>>
>>>>> https://easyitstuff.wordpress.com/2017/09/19/how-to-remove-old-packages-in-spacewalk/#:~:text=Make%20the.py%20script%20executable%20chmod%20%2Bx%20spacewalk-remove-old-packages.py%20Now%2C,packages%20in%20addition%20to%20your%20Spacewalk%20admin%20details
>>>>> .
>>>>>
>>>>>
>>>>> -Original Message-
>>>>> From: spacewalk-list-boun...@redhat.com <
>>>>> spacewalk-list-boun...@redhat.com> On Behalf Of Peirce, Dean
>>>>> Sent: Monday, January 31, 2022 2:07 PM
>>>>> To: spacewalk-list@redhat.com
>>>>> Subject: Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB).
>>>>> What happens if I remove some of the contents?
>>>>>
>>>>> /var/satellite will continue to grow as the repos grow in size, due to
>>>>> packages being updated.
>>>>> I have a separate disk just for satellite that we've bolted on more
>>>>> storage yearly.
>>>>>
>>>>> -Dean
>>>>>
>>>>> > On Jan 31, 2022, at 2:02 PM, T  wrote:
>>>>> >
>>>>> > Hi,
>>>>> > Don't know if there's anyone here still using Spacewalk. We
>>>>> inherited a legacy system so much of the experience and know-how are gone.
>>>>> >
>>>>> > Issue:
>>>>> > Our machine running spacewalk is 100% full. I tracked it down to
>>>>> /var/satellite being completely full. Our option is to clear some space or
>>>>> create more space since postgres is no longer running due to no space.
>>>>> >
>>>>> > Other research suggested spacewalk-data-fsck or spacecmd but neither
>>>>> of these work because the database isn't running.
>>>>> > I am out of ideas so my hail mary is going into
>>>>> /var/satellite/redhat/ and removing random stuff from there. Terrible idea
>>>>> - I know but I'm wondering if others have had this problem, and how did 
>>>>> you
>>>>> remedy it?
>>>>> >
>>>>> > Thank you,
>>>>> > Tony
>>>>> > ___
>>>>> > Spacewalk-list mailing list
>>>>> > Spacewalk-list@redhat.com
>>>>> >
>>>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furlde

Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB). What happens if I remove some of the contents?

2022-01-31 Thread Muhammad Mosleh Uddin
if it is taking way much space, you can clean and sync repo again.

/var/satellite/redhat/*   ->>>this is where you will start deleting
I hope it will help!

On Mon, Jan 31, 2022 at 2:43 PM Waldirio Manhães Pinheiro <
waldi...@gmail.com> wrote:

> Hi,
>
> I can tell you this script is going to use the SW API. Once your system/db
> is down, API will be down as well. Try to cleanup some files first (ISO) or
> any other log that will allow you to start your SW once again, after that,
> go for it.
>
> I hope this helps.
>
> __
> Best
> Waldirio
> Skype: waldirio
> Site: www.waldirio.com.br
> LinkedIn: https://www.linkedin.com/in/waldirio
>
>
> On Mon, Jan 31, 2022 at 11:33 AM T  wrote:
>
>> Thank you all - I needed to first clear some space to even wget the
>> script. Muhammad, would you please expand on your point? Did you mean
>> resync from repo? Do you know what command that is?
>>
>> On Mon, Jan 31, 2022 at 2:10 PM Dennis Pittman 
>> wrote:
>>
>>> Check out this article.
>>>
>>> https://easyitstuff.wordpress.com/2017/09/19/how-to-remove-old-packages-in-spacewalk/#:~:text=Make%20the.py%20script%20executable%20chmod%20%2Bx%20spacewalk-remove-old-packages.py%20Now%2C,packages%20in%20addition%20to%20your%20Spacewalk%20admin%20details
>>> .
>>>
>>>
>>> -Original Message-
>>> From: spacewalk-list-boun...@redhat.com <
>>> spacewalk-list-boun...@redhat.com> On Behalf Of Peirce, Dean
>>> Sent: Monday, January 31, 2022 2:07 PM
>>> To: spacewalk-list@redhat.com
>>> Subject: Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB).
>>> What happens if I remove some of the contents?
>>>
>>> /var/satellite will continue to grow as the repos grow in size, due to
>>> packages being updated.
>>> I have a separate disk just for satellite that we've bolted on more
>>> storage yearly.
>>>
>>> -Dean
>>>
>>> > On Jan 31, 2022, at 2:02 PM, T  wrote:
>>> >
>>> > Hi,
>>> > Don't know if there's anyone here still using Spacewalk. We inherited
>>> a legacy system so much of the experience and know-how are gone.
>>> >
>>> > Issue:
>>> > Our machine running spacewalk is 100% full. I tracked it down to
>>> /var/satellite being completely full. Our option is to clear some space or
>>> create more space since postgres is no longer running due to no space.
>>> >
>>> > Other research suggested spacewalk-data-fsck or spacecmd but neither
>>> of these work because the database isn't running.
>>> > I am out of ideas so my hail mary is going into /var/satellite/redhat/
>>> and removing random stuff from there. Terrible idea - I know but I'm
>>> wondering if others have had this problem, and how did you remedy it?
>>> >
>>> > Thank you,
>>> > Tony
>>> > ___
>>> > Spacewalk-list mailing list
>>> > Spacewalk-list@redhat.com
>>> >
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list__%3B!!MXVguWEtGgZw!fUjmn72oK3ZYGqutTnAUPB0ib5pkb2aIQCmsV_w7DItGe_SBHn1N8dZZdU9aDOkLHw%24&data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RwwRAtH9Grextq6ZH%2F03SHzURFP4fFU1p2Ad6M2OdVQ%3D&reserved=0
>>>
>>>
>>> ___
>>> Spacewalk-list mailing list
>>> Spacewalk-list@redhat.com
>>>
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zBXZeRz5kv45rWCZR88kWYJMtzJldBGJ6ySKmRlI21I%3D&reserved=0
>>>
>>>
>>> ___
>>> Spacewalk-list mailing list
>>> Spacewalk-list@redhat.com
>>> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://listman.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] ubuntu 20 and rhel8 repo --need help

2022-01-31 Thread Muhammad Mosleh Uddin
Hi.

I have been using spacewalk2.9 on mostly rhel7 and oel7

I was wondering, has anybody become successful creating ubuntu20-focal? if
so what are the repo for kernel and security?

Same for rhel8 repo. does it work? What are  the repo for kernel and
security.

ANy information will be helpful!


-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://listman.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] /var/satellite full (1.2TB). What happens if I remove some of the contents?

2022-01-31 Thread Muhammad Mosleh Uddin
This shouldn’t be a problem. Resin repo from cli, will be fine


On Mon, Jan 31, 2022 at 2:06 PM T  wrote:

> Hi,
> Don't know if there's anyone here still using Spacewalk. We inherited a
> legacy system so much of the experience and know-how are gone.
>
> Issue:
> Our machine running spacewalk is 100% full. I tracked it down to
> /var/satellite being completely full. Our option is to clear some space or
> create more space since postgres is no longer running due to no space.
>
> Other research suggested spacewalk-data-fsck or spacecmd but neither of
> these work because the database isn't running.
> I am out of ideas so my hail mary is going into /var/satellite/redhat/ and
> removing random stuff from there. Terrible idea - I know but I'm wondering
> if others have had this problem, and how did you remedy it?
>
> Thank you,
> Tony
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://listman.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk 5.10 issues with RHEL 8 appstream repo

2022-01-06 Thread Muhammad Mosleh Uddin
Hi.
Does anyone know rhel8 repo address.
I like to create repo for rhel8.

On Mon, Nov 30, 2020 at 4:40 PM Paul Rontanini 
wrote:

> All,
>
>
>
> I have Spacewalk 2.10 server and I have an issue supporting RHEL 8 and
> RHEL 8 appstream  channels
>
> I can download the rpms, and create the channels but have issues
> supporting/propagating the RHEL 8 channels as repos
>
> Has anyone implemented RHEL 8 and channels with Spacewalk 2.10?
>
> If yes, any problems/advice/fixes.
>
>
>
>
>
> *Paul **Rontanini*
>
> *System Engineer*
>
> 516-237-4687 ( office )
>
> 516-591-5563 ( cell )
>
> prontanini@*1800flowers.com* 
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://listman.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk 2.10 add ubuntu client 16.04 18.04 20.04

2021-02-14 Thread Muhammad Mosleh Uddin
Thank you.

On Sun, Feb 14, 2021 at 6:26 AM REYNALD chekhina 
wrote:

> Hi benoit,
>
> Ok thank you very much tomorrow I will try and tell you if it's works ;)
>
> El 13 feb. 2021 11:13 p. m., BARRIERE Benoit 
> escribió:
>
> Hi,
>
> You can use these repositories :
> https://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/
>
> You can install debian and ubuntu clients. There is no osad client
> available for these OS.
>
> Regards
> Benoît
>
> Le 13 févr. 2021 20:14, REYNALD chekhina  a écrit :
>
> Hi all,
> I have installed a spacewalk server 2.10 and created channels and
> repositories for my ubuntu servers 16.04, 18.04, 20.04.
>
> How can I connect my ubuntu servers 16.04 18.04 20.04 to my spacewalk
> server 2.10?
>
> Thanks in advance.
>
> Best regards ;)
>
>
>
> --
> Des informations nominatives sont exploitées par Monaco Telecom SAM dans
> le cadre de la fourniture de la messagerie professionnelle. Conformément à
> la Loi 1.165, modifiée, vous disposez d’un droit d’accès, de rectification
> et de suppression en écrivant à Monaco Telecom SAM, au 4-6 Avenue Albert
> II – 98000 Monaco
> .
>
>
> Personal data are processed for messaging services purpose by Monaco
> Telecom SAM. In compliance with the applicable legislation (Law n° 1.165,
> as amended) relating to the protection of personal information, you may
> access, update and remove your data, by writing to Monaco Telecom SAM - 4-6
> Avenue Albert II – 98000 Monaco
> .
>
> --
> Afin de préserver l’environnement, merci de n’imprimer ce courrier que si
> nécessaire.
> Please remember to protect the environment. Print only if necessary.
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk 2.10 add ubuntu client 16.04 18.04 20.04

2021-02-13 Thread Muhammad Mosleh Uddin
Hi

Could you please give me repos for kernel and security for Ubuntu20

On Sat, Feb 13, 2021 at 5:13 PM BARRIERE Benoit <
b.barri...@monaco-telecom.mc> wrote:

> Hi,
>
> You can use these repositories :
> https://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/
>
> You can install debian and ubuntu clients. There is no osad client
> available for these OS.
>
> Regards
> Benoît
>
> Le 13 févr. 2021 20:14, REYNALD chekhina  a écrit :
>
> Hi all,
> I have installed a spacewalk server 2.10 and created channels and
> repositories for my ubuntu servers 16.04, 18.04, 20.04.
>
> How can I connect my ubuntu servers 16.04 18.04 20.04 to my spacewalk
> server 2.10?
>
> Thanks in advance.
>
> Best regards ;)
>
>
>
> --
> Des informations nominatives sont exploitées par Monaco Telecom SAM dans
> le cadre de la fourniture de la messagerie professionnelle. Conformément à
> la Loi 1.165, modifiée, vous disposez d’un droit d’accès, de rectification
> et de suppression en écrivant à Monaco Telecom SAM, au 4-6 Avenue Albert
> II – 98000 Monaco
> .
>
>
> Personal data are processed for messaging services purpose by Monaco
> Telecom SAM. In compliance with the applicable legislation (Law n° 1.165,
> as amended) relating to the protection of personal information, you may
> access, update and remove your data, by writing to Monaco Telecom SAM - 4-6
> Avenue Albert II – 98000 Monaco
> .
>
> --
> Afin de préserver l’environnement, merci de n’imprimer ce courrier que si
> nécessaire.
> Please remember to protect the environment. Print only if necessary.
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Content provider unknown

2020-04-15 Thread Muhammad Mosleh Uddin
Hi. I am looking for osad package with dependencies  for ubuntu1804 bionic

Could you please provide or anybody has that?

On Wed, Apr 15, 2020 at 1:09 PM Len Ewen  wrote:

> I've got 14 packages that are showing as content provider as unknown.  How
> would I go about deleting them or fixing them so they attach to the proper
> channels?  These seem to be the only ones that are unknown to the server.
>
> ---
>
> Len Ewen
>
> Systems Administrator 1
>
> Information Technology
>
> University of Indianapolis
>
> (317) 788-3362
>
> [image: UIndyIT.jpg]
>
> Confidentiality Notice: This communication and/or its content are for the
> sole use of the intended recipient, and may be privileged, confidential, or
> otherwise protected from disclosure by law. If you are not the intended
> recipient, please notify the sender and then delete all copies of it.
> Unless you are the intended recipient, your use or dissemination of the
> information contained in this communication may be illegal.
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] ubuntu 16-04 channel and repo creation on spacewalk 2.9 installed in rhel7

2020-03-31 Thread Muhammad Mosleh Uddin
Can somebody help me or is has note how to create channel and repo for
ubuntu16-04 on spacewalk2.9!

-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] issue after dnf update or yum update in rhel8

2020-03-23 Thread Muhammad Mosleh Uddin
problem fixed.
Please do the following and wound that that best candidate problem.

#dnf remove rhnlib.noarch
#dnf update
#dnf check-update

On Mon, Mar 23, 2020 at 11:00 AM Mertens, Jonas 
wrote:

> Hi,
>
> I have this issue, too, but was not able to solve it yet. I hope an update
> to Spacewalk 2.10 would fix it.
>
>
> Freundliche Grüße / Kind regards
> Jonas Mertens
>
> <https://www.sn-ens.de/>
>
> *Jonas Mertens *
> ITK Services
>
> S&N ENS GmbH
> Klingenderstr. 5
> 33100 Paderborn
>
> Phone
> Mobile
> E-Mail
> Web
>
> +49 5251 1581 986 <+49%205251%201581%20986>
> +49 162 7825913 <+49%20162%207825913>
> jonas.mert...@sn-ens.de
> www.sn-ens.de
>
>
>
> Sitz der Gesellschaft:
> 33100 Paderborn, Klingenderstr. 5
> Registergericht Paderborn HRB 3460
> Geschäftsführer: Josef Tillmann
>
> *Der S&N Invent-Newsletter *
> Kundenprojekte, Fachthemen, Events…
> Melden Sie sich hier an
> <https://www.sn-invent.de/aktuelles/newsletter-bestellen>
>
> Informationen zum Schutz Ihrer Daten sind in unserer Datenschutzerklärung
> <https://www.sn-invent.de/footer/datenschutz> einsehbar.
>
>
>
>  Ursprüngliche Nachricht 
> Von: Muhammad Mosleh Uddin 
> Datum: 23.03.20 15:54 (GMT+01:00)
> An: spacewalk-list@redhat.com
> Betreff: Re: [Spacewalk-list] issue after dnf update or yum update in
> rhel8
>
> I have tested with redhat repo. I have no issues without spacewalk and
> directly to redhat
>
> [root@rhel8 yum.repos.d]# dnf update
> There was an error communicating with Red Hat Satellite or Spacewalk
> server.
> Red Hat Satellite or Spacewalk based repositories will be disabled.
>
> Updating Subscription Management repositories.
> Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
> 13 MB/s |  14 MB
> 00:01
> Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
>13 MB/s |  14 MB
> 00:01
> Last metadata expiration check: 0:00:02 ago on Mon 23 Mar 2020 10:47:53 AM
> EDT.
> Dependencies resolved.
>
> =
>  Package  Architecture   Version
>Repository
>  Size
>
> =
> Upgrading:
>  libvncserver x86_64
> 0.9.11-9.el8_1.2 rhel-8-for-x86_64-appstream-rpms
>   274 k
>
> Transaction Summary
>
> =========
> Upgrade  1 Package
>
> Total download size: 274 k
> Is this ok [y/N]: N
> Operation aborted.
>
> On Mon, Mar 23, 2020 at 7:12 AM Michael Mraka 
> wrote:
>
>> Muhammad Mosleh Uddin:
>> > I have set two repo for rhel8. rep syncing ok.
>> >
>> > https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
>> > https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os
>> >
>> > problem is why I am getting the following error. Any suggestion is
>> > appreciated.
>> >
>> > [root@test2 yum.repos.d]# yum update
>> > This system is receiving updates from Red Hat Satellite or Spacewalk
>> server.
>> > Updating Subscription Management repositories.
>> > Unable to read consumer identity
>> > Last metadata expiration check: 0:55:47 ago on Sat 21 Mar 2020 11:54:11
>> PM
>> > EDT.
>> > Error:
>> >  Problem: cannot install both kernel-core-4.18.0-147.5.1.el8_1.x86_64
>> and
>> > kernel-core-4.18.0-147.5.1.el8_1.x86_64
>> >   - cannot install the best update candidate for package
>> > kernel-core-4.18.0-147.5.1.el8_1.x86_64
>> >   - cannot install the best update candidate for package
>> > kernel-core-4.18.0-147.el8.x86_64
>> > (try to add '--skip-broken' to skip uninstallable packages or
>> '--nobest' to
>> > use not only best candidate packages)
>>
>> I think it's dnf not a Spacewalk issue. Does it work if you register the
>> machine directly without Spacewalk server?
>>
>>
>> > --
>> > Muhammad Mosleh Uddin
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> System Management Engineering, Red Hat
>>
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> --
>
>
>
>
> Muhammad Mosleh Uddin
>
>
>
>
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] issue after dnf update or yum update in rhel8

2020-03-23 Thread Muhammad Mosleh Uddin
I have tested with redhat repo. I have no issues without spacewalk and
directly to redhat

[root@rhel8 yum.repos.d]# dnf update
There was an error communicating with Red Hat Satellite or Spacewalk server.
Red Hat Satellite or Spacewalk based repositories will be disabled.

Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
  13 MB/s |  14 MB 00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
   13 MB/s |  14 MB
00:01
Last metadata expiration check: 0:00:02 ago on Mon 23 Mar 2020 10:47:53 AM
EDT.
Dependencies resolved.
=
 Package  Architecture   Version
   Repository
 Size
=
Upgrading:
 libvncserver x86_64
0.9.11-9.el8_1.2 rhel-8-for-x86_64-appstream-rpms
  274 k

Transaction Summary
=
Upgrade  1 Package

Total download size: 274 k
Is this ok [y/N]: N
Operation aborted.

On Mon, Mar 23, 2020 at 7:12 AM Michael Mraka 
wrote:

> Muhammad Mosleh Uddin:
> > I have set two repo for rhel8. rep syncing ok.
> >
> > https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
> > https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os
> >
> > problem is why I am getting the following error. Any suggestion is
> > appreciated.
> >
> > [root@test2 yum.repos.d]# yum update
> > This system is receiving updates from Red Hat Satellite or Spacewalk
> server.
> > Updating Subscription Management repositories.
> > Unable to read consumer identity
> > Last metadata expiration check: 0:55:47 ago on Sat 21 Mar 2020 11:54:11
> PM
> > EDT.
> > Error:
> >  Problem: cannot install both kernel-core-4.18.0-147.5.1.el8_1.x86_64 and
> > kernel-core-4.18.0-147.5.1.el8_1.x86_64
> >   - cannot install the best update candidate for package
> > kernel-core-4.18.0-147.5.1.el8_1.x86_64
> >   - cannot install the best update candidate for package
> > kernel-core-4.18.0-147.el8.x86_64
> > (try to add '--skip-broken' to skip uninstallable packages or '--nobest'
> to
> > use not only best candidate packages)
>
> I think it's dnf not a Spacewalk issue. Does it work if you register the
> machine directly without Spacewalk server?
>
>
> > --
> > Muhammad Mosleh Uddin
>
> Regards,
>
> --
> Michael Mráka
> System Management Engineering, Red Hat
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] issue after dnf update or yum update in rhel8

2020-03-21 Thread Muhammad Mosleh Uddin
I have set two repo for rhel8. rep syncing ok.

https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os

problem is why I am getting the following error. Any suggestion is
appreciated.

[root@test2 yum.repos.d]# yum update
This system is receiving updates from Red Hat Satellite or Spacewalk server.
Updating Subscription Management repositories.
Unable to read consumer identity
Last metadata expiration check: 0:55:47 ago on Sat 21 Mar 2020 11:54:11 PM
EDT.
Error:
 Problem: cannot install both kernel-core-4.18.0-147.5.1.el8_1.x86_64 and
kernel-core-4.18.0-147.5.1.el8_1.x86_64
  - cannot install the best update candidate for package
kernel-core-4.18.0-147.5.1.el8_1.x86_64
  - cannot install the best update candidate for package
kernel-core-4.18.0-147.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
use not only best candidate packages)

-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Issue encountered while trying to sync RHEL repository on channel

2020-03-21 Thread Muhammad Mosleh Uddin
hi.

I have set two repo for rhel8. rep syncing ok.

https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os

problem is why I am getting the following error. Any suggestion is
appreciated.

[root@test2 yum.repos.d]# yum update
This system is receiving updates from Red Hat Satellite or Spacewalk server.
Updating Subscription Management repositories.
Unable to read consumer identity
Last metadata expiration check: 0:55:47 ago on Sat 21 Mar 2020 11:54:11 PM
EDT.
Error:
 Problem: cannot install both kernel-core-4.18.0-147.5.1.el8_1.x86_64 and
kernel-core-4.18.0-147.5.1.el8_1.x86_64
  - cannot install the best update candidate for package
kernel-core-4.18.0-147.5.1.el8_1.x86_64
  - cannot install the best update candidate for package
kernel-core-4.18.0-147.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
use not only best candidate packages)

On Thu, Mar 19, 2020 at 7:49 AM Brian Long  wrote:

> In my experience, this means your RHEL entitlement certificates expired
> and you need to login to rhn.redhat.com, download a new set of
> certificates and update your sync client to use the new certificates.
>
> /Brian/
>
> On Thu, Mar 19, 2020 at 6:08 AM Wenkai Chen <
> wenkai_c...@ensigninfosecurity.com> wrote:
>
>> Hi Spacewalk users,
>>
>>
>>
>> I encountered the following issue while trying to sync the repository for
>> RHEL.
>>
>>
>>
>> 020/03/19 17:59:16 +08:00   Processing repository with URL:
>> https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os
>>
>> 2020/03/19 17:59:17 +08:00 ERROR: failure: repodata/repomd.xml from
>> rhel7-server-rpms: [Errno 256] No more mirrors to try.
>>
>>
>> https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
>> [Errno 14] HTTPS Error 403 - Forbidden
>>
>> 2020/03/19 17:59:17 +08:00 ERROR: failure: repodata/repomd.xml from
>> rhel7-server-rpms: [Errno 256] No more mirrors to try.
>>
>>
>> https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml:
>> [Errno 14] HTTPS Error 403 - Forbidden
>>
>>
>>
>> Previously it was working fine and I could sync it.
>>
>> Any ideas as to what might happen?
>>
>>
>>
>> [image: A close up of a sign Description generated with very high
>> confidence]
>>
>>
>> *Chen Wenkai*
>>
>> Infrastructure Security Engineer
>>
>>[image: A picture containing building Description generated with
>> high confidence] <https://www.linkedin.com/company/ensign-infosecurity/>
>>  [image: A picture containing tableware Description generated with
>> high confidence] <https://youtu.be/9J7FkhXpb-4> [image: A close up
>> of a sign Description generated with high confidence]
>> <https://www.facebook.com/EnsignGlobal>
>>
>>
>> *  E:*  wenkai_c...@ensigninfosecurity.com
>>
>>   *A:*  30A Kallang Place, Level 9 Right Wing, Singapore 339213
>>
>>
>>
>>
>>
>> --
>>
>> CONFIDENTIALITY NOTICE: *“This email is confidential and may also be
>> privileged. If this email has been sent to you in error, please delete it
>> immediately and notify us. Please do not copy, distribute or disseminate
>> part or whole of this email if you are not the intended recipient or if you
>> have not been authorized to do so. We reserve the right, to the extent and
>> under circumstances permitted by applicable laws, to monitor, retain,
>> intercept and block email messages to and from our systems. Thank you.” *
>>
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] CVE-2020-1693

2020-03-15 Thread Muhammad Mosleh Uddin
Hi.

I need to create rhel8 repo on spacewak2.9.
Could you please direct me or provide info.

On Tue, Mar 3, 2020 at 9:40 AM Michael Mraka 
wrote:

> Laurence Rosen:
> > Was just alerted to this by our security org.  Are there any plans to
> patch
> > this?
> > My seniors are looking into replacing spacewalk with something else if
> not.
> > As I'm not a programmer, I'm not sure how to apply the linked patch.
> Does
> > that patch need to be compiled into a new jar?
>
> Hello,
>
> the issue has been fixes 3 weeks ago in Spacewalk nigtly (and upcomming
> 2.10).
> There's no plan to fix it in 2.9. You can update it manually by
> downloading redstone-xmlrpc-1.1_20071120-21 from nightly repo.
>
> > 
> > A flaw was found in Spacewalk up to version 2.9 where it was vulnerable
> to
> > XML internal entity attacks via the /rpc/api endpoint. An unauthenticated
> > remote attacker could use this flaw to retrieve the content of certain
> > files and trigger a denial of service, or in certain circumstances,
> execute
> > arbitrary code on the Spacewalk server.
> >
> > This is a 9.8 Critical and needs to be fixed as soon as possible.
> >
> > Please view the links below for information and steps for remediation:
> >
> > https://nvd.nist.gov/vuln/detail/CVE-2020-1693
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1693
> >
> >
> https://zeroauth.ltd/blog/2020/02/18/proof-of-concept-exploit-for-cve-2020-1693-spacewalk/
> >
> > Upsteam Fix:
> >
> https://github.com/spacewalkproject/spacewalk/commit/74e28ec61d916c42061ef4347121650a1c962b0c
>
> Regards,
>
> --
> Michael Mráka
> System Management Engineering, Red Hat
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] chasing ghosts...

2020-02-07 Thread Muhammad Mosleh Uddin
What should the similar situation in oracle Linux 7.?
It update everything except UEK. Please advise.

On Fri, Feb 7, 2020 at 8:47 PM Avi Miller  wrote:

> You need the ol6_latest repo as a child to get the latest security fixes.
> You probably also need a more up-to-date UEK repo, i.e. UEKR4:
> http://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/index.html
>
> The plan UEK repo is UEK2 which is still being updated though. The latest
> UEK2 was released 3 days ago: kernel-uek-2.6.39-400.319.1.
>
>
>
> On 8 Feb 2020, at 8:08 am, Muhammad Mosleh Uddin 
> wrote:
>
> oracle linux 6 is not patched with latest. but it is picking up base. when
> security scan, it says missing the following... Please advise
> do i have to create additional repo?
>
> right now, base has
> https://yum.oracle.com/repo/OracleLinux/OL6/6/base/x86_64/
> child has
> https://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/
>
>
> Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2015-3019)
> Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2015-3064)
> Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2016-3651)
> Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2016-3656)
> Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2017-3566)
>
> On Fri, Feb 7, 2020 at 8:44 AM Peirce, Dean 
> wrote:
>
>> Hi all,
>> Following an oops by one of the team, I’ve been tasked with generating a
>> daily report of servers that have been removed from spacewalk (2.7).
>> Poking around in spacewlk-report and spacecmd, but not finding anything
>> that will show me what’s been removed.
>>
>> Any help is appreciated.
>>
>> Thanks
>>
>> Dean
>>
>> _______
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> --
>
>
>
>
> Muhammad Mosleh Uddin
>
>
>
>
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> --
> Avi Miller
> Senior Manager
> Oracle Linux and Virtualization Product Management
>
> Phone: +61.3.8616.3496
> Preferred pronouns: he/him/his
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] chasing ghosts...

2020-02-07 Thread Muhammad Mosleh Uddin
oracle linux 6 is not patched with latest. but it is picking up base. when
security scan, it says missing the following... Please advise
do i have to create additional repo?

right now, base has
https://yum.oracle.com/repo/OracleLinux/OL6/6/base/x86_64/
child has
https://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/


Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2015-3019)

Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2015-3064)

Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2016-3651)

Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2016-3656)

Oracle Linux 6 / 7 : Unbreakable Enterprise kernel (ELSA-2017-3566)

On Fri, Feb 7, 2020 at 8:44 AM Peirce, Dean  wrote:

> Hi all,
> Following an oops by one of the team, I’ve been tasked with generating a
> daily report of servers that have been removed from spacewalk (2.7).
> Poking around in spacewlk-report and spacecmd, but not finding anything
> that will show me what’s been removed.
>
> Any help is appreciated.
>
> Thanks
>
> Dean
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Invalid function call attempted (code 6)

2020-01-21 Thread Muhammad Mosleh Uddin
No. That wasn’t the issue..
It was the repo issue..
Thanks for your support

On Tue, Jan 21, 2020 at 4:01 PM Robert Paschedag 
wrote:

> At least one "Action" is missing in /usr/share/rhn/actions that has the
> checkNeedUpdate
>
> Robert
>
> ⁣sent from my mobile device​
>
>
>  Originale Nachricht 
> Von: Muhammad Mosleh Uddin 
> Gesendet: Tue Jan 21 17:18:21 GMT+01:00 2020
> An: spacewalk-list@redhat.com
> Betreff: Re: [Spacewalk-list] Invalid function call attempted (code 6)
>
> Hi.
> Thanks for your respond.
> No, it wasnt the issue.
>
>
> On Mon, Jan 20, 2020 at 4:52 AM Michael Mraka 
> wrote:
>
> > Muhammad Mosleh Uddin:
> > > i paul,
> > > my rhel client is not pulling package from spacewalk server.
> > > my spacewalk client is test01. spacewalk can sync redhat channel and I
> > see
> > > some packages.
> > >
> > > [root@test01 yum.repos.d]# rhn_check -vv
> > > D: do_call packages.checkNeedUpdate('rhnsd=1',){}
> > > D: Attempt to call an unsupported action
> > > packages.checkNeedUpdate('rhnsd=1',)
> > > D: local action status: (6, 'Invalid function call attempted', {})
> > > D: rpcServer: Calling XMLRPC registration.welcome_message
> >
> > It looks like yum-rhn-plugin is missing on the client.
> >
> > Regards,
> >
> > --
> > Michael Mráka
> > System Management Engineering, Red Hat
> >
> > ___
> > Spacewalk-list mailing list
> > Spacewalk-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> --
>
>
>
>
> Muhammad Mosleh Uddin
>
>
> 
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Sent from Iphone
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Invalid function call attempted (code 6)

2020-01-21 Thread Muhammad Mosleh Uddin
Hi.
Thanks for your respond.
No, it wasnt the issue.


On Mon, Jan 20, 2020 at 4:52 AM Michael Mraka 
wrote:

> Muhammad Mosleh Uddin:
> > i paul,
> > my rhel client is not pulling package from spacewalk server.
> > my spacewalk client is test01. spacewalk can sync redhat channel and I
> see
> > some packages.
> >
> > [root@test01 yum.repos.d]# rhn_check -vv
> > D: do_call packages.checkNeedUpdate('rhnsd=1',){}
> > D: Attempt to call an unsupported action
> > packages.checkNeedUpdate('rhnsd=1',)
> > D: local action status: (6, 'Invalid function call attempted', {})
> > D: rpcServer: Calling XMLRPC registration.welcome_message
>
> It looks like yum-rhn-plugin is missing on the client.
>
> Regards,
>
> --
> Michael Mráka
> System Management Engineering, Red Hat
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Invalid function call attempted (code 6)

2020-01-17 Thread Muhammad Mosleh Uddin
i paul,
my rhel client is not pulling package from spacewalk server.
my spacewalk client is test01. spacewalk can sync redhat channel and I see
some packages.

[root@test01 yum.repos.d]# rhn_check -vv
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: Attempt to call an unsupported action
packages.checkNeedUpdate('rhnsd=1',)
D: local action status: (6, 'Invalid function call attempted', {})
D: rpcServer: Calling XMLRPC registration.welcome_message


[root@test01 yum.repos.d]# /usr/sbin/osad -
2020-01-17 15:47:26 osad._setup_config: Updating configuration
2020-01-17 15:47:26 jabber_lib.setup_connection: Connecting to
f01.4m.com
2020-01-17 15:47:26 jabber_lib._get_jabber_client:
2020-01-17 15:47:26 jabber_lib._get_jabber_client: Connecting to
f01.4m.com
2020-01-17 15:47:26 jabber_lib.__init__:
2020-01-17 15:47:26 jabber_lib.__init__:
2020-01-17 15:47:26 jabber_lib.check_cert: Loading cert 
2020-01-17 15:47:26 jabber_lib.connect:
2020-01-17 15:47:26 jabber_lib.process: 300
2020-01-17 15:47:26 jabber_lib.process: None
2020-01-17 15:47:26 jabber_lib.connect: Preparing for TLS handshake
2020-01-17 15:47:26 jabber_lib.process: None
2020-01-17 15:47:26 jabber_lib.process: None
2020-01-17 15:47:26 jabber_lib.setup_connection: Connected to jabber server
f01.4m.com
2020-01-17 15:47:26 jabber_lib.push_to_background: Pushing process into
background


[root@test01 yum.repos.d]# yum repolist
Loaded plugins: product-id, rhnplugin, search-disabled-repos,
subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
repo id
 repo name
  status
rhel7base-x86_64
rhel7base-x86_64
 0
repolist: 0


On Fri, Jan 17, 2020 at 3:17 PM Paul Greene 
wrote:

> I checked into a few systems that failed and looked for logs at the time
> the failure supposedly happened, and it just had these 3 lines at that
> specific time:
>
> up2date updateLoginfo() login info
> up2date logging into up2date server
> up2date successfully retrieved authentication token from up2date server
>
> On Fri, Jan 17, 2020 at 7:45 AM Michael Mraka 
> wrote:
>
>> Paul Greene:
>> > I have a spacewalk 2.9 server with CentOS 7 clients. When I run a
>> scheduled
>> > remote command on 50 systems, usually about half of the systems will get
>> > marked as "failed" with the error "Invalid function call attempted (code
>> > 6)".
>> >
>> > They all have the same configuration, and every line put in the remote
>> > command will run just fine from a command prompt. If I go into a system
>> > that has been marked "failed" and manually verify if the command did
>> what
>> > it was supposed to do, many times it actually did succeed, but was still
>> > marked "failed". And there are some that did in fact fail.
>> >
>> > How can I address this error to get rid of the false "failed" messages?
>>
>> Hello Paul,
>>
>> There should be more detailed error message in /var/log/up2date on
>> failed client.
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> System Management Engineering, Red Hat
>>
>> _______
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 




Muhammad Mosleh Uddin
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list