Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread William H. ten Bensel
Some explanation on the "hack". These are all historical issues for our needs. They may have been fixed in newer spacewalk releases, we just have not adopted them. 1. Timing. The files from the Activation key/Configuration channels were not always immediately available in the first %p

Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread William H. ten Bensel
So, Step 4 part 2 is good. Which means that the activation key is setup correctly. I am uncertain of the logging as we no longer use or depend on the activation key deploying files during the kickstart process. Also, some explanation on the "hack". These are all historical issues for our ne

Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread William H. ten Bensel
Yes, like so: # below pkg needed for rhn registration #Some packages provided by spacewalk channel #Systems -> kickstarts -> profile -> {profile} -> Kickstart Details -> Operating System -> Child Channel -> spacewalk channel rhn-check rhnsd rhn-setup rhn-client-tools yum-rhn-plugin libidn rhncfg

Re: [Spacewalk-list] Cannot retrieve repository metadata (repomd.xml) for repository: epel_sci_6. Please verify its path and try again

2016-03-30 Thread Matt Moldvan
I had a similar issue for systems that had old versions of nss, they couldn't deal with an HTTPS repo for some reason. Is your /etc/sysconfig/rhn/up2date pointing to https://something by chance? If so try changing it to http, updating yum and nss fully, then changing it back to https. One liner:

Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread Lachlan Musicman
On 30 March 2016 at 22:48, William H. ten Bensel wrote: > That is a "hack" work around. After the 1-3 steps below is done, add this > before and after the "hack" to add some validation in the %post script. > This should see/validate if the activation key is pushing the files as > expected while

Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread Lachlan Musicman
On 30 March 2016 at 22:48, William H. ten Bensel wrote: > > > Note: To prevent updating multiple kickstarts when you need to add/remove > software to ie: rhn, or base software, you can use snippets in kickstart > profile -> Software. So, if you plan on using the same software across > multiple

[Spacewalk-list] Cannot retrieve repository metadata (repomd.xml) for repository: epel_sci_6. Please verify its path and try again

2016-03-30 Thread Konstantin Raskoshnyi
Deployed a new machine, it didn't have internet access, added manually epel repo & spacewalk repo and installed client, registered on the spacewalk. The system shows this error, when I try to do anything: Cannot retrieve repository metadata (repomd.xml) for repository: epel_sci_6. Please verify i

Re: [Spacewalk-list] missing packages during kickstart

2016-03-30 Thread Noah Rømer
Interesting. There was a spacewalk proxy in the circuit. When I cut it out, anaconda manages to download the packages without issue. On Wed, Mar 30, 2016 at 11:24 AM, Noah Rømer wrote: > The server logs show that it's actually downloading the first 250656 > bytes, before it says it can't downloa

[Spacewalk-list] Choosing a Kickstart Profile

2016-03-30 Thread Lachlan Musicman
Hi, When kickstarting systems in an environment with multiple profiles, I am presented with a graphical menu by the cobbler install iso. Is there any way to choose a default entry? I was hoping for unattended installations, but at the moment I need to choose the profile I need every time, for ev

Re: [Spacewalk-list] rhn_check is generating toomuch I/O hence Spacewalk Client Add took 38 minutes time [ O/S OEL5 version ]

2016-03-30 Thread Avi Miller
Hi, Spacewalk does not create the SQLite databases that yum uses, so the first thing yum has to do is rebuild those databases on the client and this is particularly time-consuming on virtual OL5 guests. Are these machines subscribed to ol5_latest? If so, I would strongly recommend replacing t

[Spacewalk-list] Packages installation

2016-03-30 Thread Konstantin Raskoshnyi
Good afternoon community! Have a problem: 2 custom repos: On both we have the same package, for example My-pack-XX On the first one the version is 15 on the second one the version is 20. When I go Systems->Host->Packages->Install Spacewalk offers me to install only the latest version. SW v is 2.

Re: [Spacewalk-list] missing packages during kickstart

2016-03-30 Thread Noah Rømer
The server logs show that it's actually downloading the first 250656 bytes, before it says it can't download the package and fails. After the failure occurs, I can switch to an anaconda shell on the kickstarting system, and use wget to download the package just fine. If I manually exclude vim-commo

[Spacewalk-list] missing packages during kickstart

2016-03-30 Thread Noah Rømer
During a spacewalk controlled kickstart, I'm running into the following error: error populating transaction after 10 retries: failure: Packages/vim-common-7.4.160-1.el7.x86_64.rpm from anaconda: [Errno 256] no more mirrors to try. However, vim-common-7.4.160-1.el7.x86_64.rpm is present on the spa

Re: [Spacewalk-list] Kickstart and Config management

2016-03-30 Thread William H. ten Bensel
That is a "hack" work around. After the 1-3 steps below is done, add this before and after the "hack" to add some validation in the %post script. This should see/validate if the activation key is pushing the files as expected while the server is being kickstarted/built. date > /root/verify_conf

Re: [Spacewalk-list] Kickstart post install

2016-03-30 Thread Neil Hanlon
Have you ensured that mariadb is running when you're trying to run these commands? This is also something you should be doing with *some* sort of configuration management--not a post install script. Lachlan Musicman Wednesday, March 30, 2016 1:55 AM In one particu

[Spacewalk-list] rhn_check is generating toomuch I/O hence Spacewalk Client Add took 38 minutes time [ O/S OEL5 version ]

2016-03-30 Thread Malla Reddy Madupu
Hi Guys Greatly appreciated for your time. I have a issue during spacewalk client add to the spacewalk master server. We have staging server where all the VMs are connected to the Oracle SAN storage (Entry Level) When i am trying to add the client to the spacewalk server, there's too much I/O gen