[Spacewalk-list] Read only account to access and view spacewalk

2018-04-04 Thread Yakin, Francis
I created an account with (normal user) roles, but he can not not see the 
systems when he tried to go to spacewalk GUI.
I want him be able to "read" only, can not do any patch or install or upgrade 
any packages, only be able to see(read) what packages or errata on the system.

I tied to modify the user by assigning  a specific group, he is able to see the 
systems, but it looks like he also be able to install patches or packages. 
Which I don't want him to do.

What procedure that I need to follow to make it works?

Thanks



Francis Yakin | IT System Admin |  direct: 510-749-2027
500 Wind River Way, Alameda, CA  94501
[cid:image001.png@01D12D0C.E17713F0]
AN INTEL COMPANY

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

Re: [Spacewalk-list] RollBack issue

2018-04-04 Thread Yakin, Francis
>>Did you try to run the rhn-profile-sync on the client?

No, so let me run it.

Thanks

Francis

-Original Message-
From: Robert Paschedag [mailto:robert.pasche...@web.de] 
Sent: Tuesday, April 03, 2018 9:37 PM
To: spacewalk-list@redhat.com; Yakin, Francis; spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] RollBack issue

Am 3. April 2018 22:28:51 MESZ schrieb "Yakin, Francis" 
:
>1) For example I have a system named "abc", it has 32 packages needed 
>to be patched
>2) Before I patch "abc" , I created a snapshot tags, called 
>"abc-snapshot-tag", this is will take a snap on the system with 32 
>packages needed.
>3) then I upgrade the system, the result is successful, now "abc"
>packages is 0
>4) then I went to provisioning - > snapshot tag , showing the tag name 
>"abc-snapshot-tag", click on that , Rollback to Snaphot
>5) then I went to event - > history - > it's successful the downgrade, 
>but the system stil showing 0 packages, it should be 32, because I roll 
>back before I upgraded
>
>
>Francis
>-Original Message-
>From: spacewalk-list-boun...@redhat.com 
>[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Robert 
>Paschedag
>Sent: Tuesday, April 03, 2018 1:01 PM
>To: spacewalk-list@redhat.com
>Subject: Re: [Spacewalk-list] RollBack issue
>
>On 04/03/18 19:16, Yakin, Francis wrote:
>> First I created a snapshot tag before I upgraded 32 packages, after I
>upgraded is become 0 packages.
>> Now, I want to roll back to the system to be needed 32 packages, but 
>> It doesn't work, still showing 0 It should be roll back to 32
>packages needed right?
>> 
>> Thanks
>
>Sorry, but you still don't tell, if the packages on the client *really* 
>have been downgraded or not.
>
>How do you "roll-back"? You go to the system (in Spacewalk)
>
>-> Software -> Profile
>
>compare it with the previously created profile, see, that 32 packages 
>differ, "select all" and click on "sync packages to "
>
>??
>
>And if this is true, you verified, that all these 32 packages have the 
>"old" version installed?
>
>If this is also true, then maybe the "new" (old) list of installed 
>packages did not yet get back to the spacewalk server.
>
>Try to run "rhn-profile-sync" and see, if the display within spacewalk 
>changes after some seconds.
>
>Robert
>
>> 
>> Francis
>> 
>> From: spacewalk-list-boun...@redhat.com 
>> [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Paschedag, 
>> Robert
>> Sent: Monday, April 02, 2018 11:43 PM
>> To: spacewalk-list@redhat.com
>> Subject: Re: [Spacewalk-list] RollBack issue
>> 
>> You did not mention, if the 32 packages have been successfully
>"downgraded"? If not, then showing 0 packages to upgrade is correct.
>> 
>> Robert
>> 
>> 
>> Von: 
>>
>spacewalk-list-boun...@redhat.com> .com>
>>
>> t.com>> Im Auftrag von Yakin, Francis
>> Gesendet: Samstag, 31. März 2018 02:29
>> An: spacewalk-list@redhat.com
>> Betreff: [Spacewalk-list] RollBack issue
>> 
>> Apparently, I am having issue with rollback after I upgraded the
>packages, it doesn't roll back to previous snapshot for some reason.
>> 
>> The system is running centOS 6.8, I had 32 packages upgraded, I
>created a snapshot tag before I ran the upgrade.
>> The upgraded was fine, now packages is 0.
>> 
>> Now, I want to rollback to the snapshot tag that I created, so the
>system should have 32 packages packages needs to be upgraded.
>> 
>> It doesn't work for some reason. No error, it showing successful, but
>the system still showing 0 packages.
>> 
>> What did I do wrong? Please advice.
>> 
>> Thanks
>> 
>> 
>> Francis Yakin | IT System Admin |  direct: 510-749-2027
>> 500 Wind River Way, Alameda, CA  94501
>>
>[cid:image001.png@01D12D0C.E17713F0]>
>on.outlook.com/?url=http%3A%2F%2Fwww.windriver.com%2F=02%7C01%7CP
>>
>aschedag.Netlution%40swr.de%7C2e03bad67b8f4f3c094b08d5969e9096%7Cbcca0
>>
>95d88d442f88260cc216b81f62d%7C0%7C1%7C636580530143472137=dun7kdI
>> WcXRzgSe772u3CxCM19plRVDZGcpcOkyIDQQ%3D=0>
>> AN INTEL COMPANY
>> 
>> 
>> 
>> 
>> ___
>> 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
>
>___
>Spacewalk-list mailing list
>Spacewalk-list@redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list

Did you try to run the rhn-profile-sync on the client?
--
sent from my mobile device

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

[Spacewalk-list] client Configuration files

2018-04-04 Thread Hicks, Daniel CTR OSD DMEA
Hello All

Does anyone have a client configuration file for a RHEL / CentOS 7 workstations 
that meets NIST STIG for the Enterprise Linux 7 benchmarking?

Daniel Hicks

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

Re: [Spacewalk-list] C3POPooled Connection error

2018-04-04 Thread Michael Mraka
Howard Coles:
> I'm getting java.lang.OutOfMemoryError: "Java heap space" on the C3P0Pooled 
> ConnectionPoolManager, and was wondering if anyone else had seen this.

Hello Howard,

Which version of Spacewalk is it?

> I added this to the /etc/rhn/rhn.conf file but it seemed to kill more than 
> help, especially on clone-by-date attempts:
> 
> # Initial Java Heap Size (in MB):
> taskomatic.java.initmemory=512
> 
> # Maximum Java Heap Size (in MB):
> taskomatic.java.maxmemory=1512
> 
> I also tried doubling the values, but I'm thinking the C3P0 issue may be 
> configured somewhere else?

Which component fails with java.lang.OutOfMemoryError - tomcat, taskomatic
or spacewalk-search or ...?

> See Ya'
> Howard Coles Jr.
> Sr. UNIX Systems Admin
> Phone:  615-855-5348
> 
> John 3:16!

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

Re: [Spacewalk-list] Cannot install updates on spacewalk client

2018-04-04 Thread Michael Mraka
Michael Watters:
> > You can check the path with
> >
> > select * from rhnpackage where id = 11570;
> >
> > But the message indicates some sort of error while you were synchronizing 
> > your repos. I would try to locate this problem "package" within SW in the 
> > "Channels" -> "Manage Software Channels" -> "Manage software packages" and 
> > try to *fully* delete this package and try to re-sync.
> >
> > Robert
> 
> No luck.  I deleted the package and reran spacewalk-repo-sync which
> claims to have downloaded the package but yum updates still fail.  The
> interesting part is spacewalk-repo-sync keeps trying to download the
> same 33 packages every time I download it.  For example, here's the output.

Hello Michael,

How did you deleted the package? Just the file in /var/satellite?
Then the the wrong record in database is still there.

You can try spacewalk-data-fsck to if there's any see mismatch between
db and filesystem (and there's also a limited functionality to "repair"
errors).

> [root@spacewalk rhn]# spacewalk-repo-sync -v -c centos7-x86_64-updates
...
> 12:35:11 33/33 : xorg-x11-server-Xnest-1.19.3-11.el7_4.1.x86_64.rpm
> Importing packages: |##| 
> 100.0% 
> 12:35:32 Linking packages to channel.
> 12:35:32 Repo 
> http://mirrorlist.centos.org/?release=7=x86_64=updates has 0 errata.
> 12:35:33 Sync of channel completed in 0:00:43.
> 12:35:33 Total time: 0:00:43
> 
> Running spacewalk-repo-sync again results in the same 33 packages being 
> downloaded.

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

Re: [Spacewalk-list] color coding the excluded packages in Spacewalk

2018-04-04 Thread Michael Mraka
Yakin, Francis:
> Is there any way that I can color coding the packages in the spacewalk GUI?
> so for example, we want only to patch 10 packages out of 20 packages.
> 
> So, the other 10 packages we exclude showing "red" color or make it  "bold"

Hi Francis,

Short answer is no. The most common way to apply only selected packages
is to create "cloned" channel with the selected packages only and
register clients to it (instead of original - all updates - channel).

> Thanks
> 
> Francis Yakin | IT System Admin |  direct: 510-749-2027
> 500 Wind River Way, Alameda, CA  94501
> [cid:image001.png@01D12D0C.E17713F0]
> AN INTEL COMPANY

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