Re: [Spacewalk-list] creating software.freivald.com.repo

2013-01-10 Thread Jon Miller
(I'm still pretty new to spacewalk, but this is what I'd try) What about creating a pre-script for your kickstart configuration and have it create your needed repo file? -- Jon Miller On Thu, Jan 10, 2013 at 3:07 PM, J.W. slone jslon...@yahoo.com wrote: I am building new centos 5.7 workstaion

Re: [Spacewalk-list] Problems installing Spacewalk 1.8 on CentOS 6.3

2013-01-15 Thread Jon Miller
-defaults/rhn_web.conf Check those permissions and try a /usr/sbin/spacewalk-service restart. -- Jon Miller On Tue, Jan 15, 2013 at 9:05 AM, Paul Raines rai...@nmr.mgh.harvard.eduwrote: We are trying to install Spacewalk 1.8 on a freshly installed CentOS 6.3 VM following the directions

Re: [Spacewalk-list] Problems installing Spacewalk 1.8 on CentOS 6.3

2013-01-15 Thread Jon Miller
fresh install I perform and submit a bug if I encounter it again. Thanks, Jon Miller On Tue, Jan 15, 2013 at 9:47 AM, Jan Pazdziora jpazdzi...@redhat.comwrote: On Tue, Jan 15, 2013 at 09:28:52AM -0800, Jon Miller wrote: This may be a shot in the dark but having just gone through installing

Re: [Spacewalk-list] Using mrepo with Spacewalk 1.8

2013-01-23 Thread Jon Miller
-TRUSTED-SSL-CERT. I needed to do that before any of my rhnpush commands would work. -- Jon Miller On Wed, Jan 23, 2013 at 9:24 AM, Snyder, Chris chris_sny...@sra.com wrote: This file is usually automatically created when you install your spacewalk server per the usual installation guides. It's

Re: [Spacewalk-list] Support for Fedora 18 clients using Spacewalk 1.8?

2013-01-23 Thread Jon Miller
-kickstarting still complains about missing the same two packages. Is there some sort of sync, cache flush or the like that I need to perform before a new kickstart can see that those packages are now available for installation? Thanks, Jon Miller #-- More Details about what I did to resolve my

Re: [Spacewalk-list] Support for Fedora 18 clients using Spacewalk 1.8?

2013-01-24 Thread Jon Miller
it as being available? My rhnpush command: rhnpush -u ${SPACEWALK_USER} -p ${SPACEWALK_PASS} -v --channel=$CHANNEL --server=http://localhost --dir=$dir Thanks, Jon Miller P.S. My procedure to help isolate the client using only the spacewalk repo: $ yum repolist repo id

Re: [Spacewalk-list] Support for Fedora 18 clients using Spacewalk 1.8?

2013-01-24 Thread Jon Miller
experience with their FC18 deployments by re-reading the ML. Thanks, Jon Miller On Thu, Jan 24, 2013 at 2:43 PM, Jonathan DeHaan jdeh...@nexstar.tv wrote: You are correct, using the repodata from the DVD will prevent you from adding packages to the base channel and installing them with Anaconda. Your

Re: [Spacewalk-list] CentOS errata spanning multiple releases

2013-01-28 Thread Jon Miller
Are you sure it isn't registered within your errata channel? If you upload a package which already exists, it will give you a message like you've seen but still create an entry / links within your channel. Check your channel to confirm whether or not the errata is listed. -- Jon Miller On Mon

Re: [Spacewalk-list] Need help with registration problems.

2013-01-31 Thread Jon Miller
. Repeat the process for any other packages you need during install. -- Jon Miller On Thu, Jan 31, 2013 at 1:07 PM, Edward Drummond spacewalklist-isc...@snkmail.com wrote: I have tried this. If I make it: %packages @ Base rhn-setup rhn-check %end the installer tells me these packages

Re: [Spacewalk-list] Need help with registration problems.

2013-01-31 Thread Jon Miller
. -- Jon Miller On Thu, Jan 31, 2013 at 2:24 PM, Edward Drummond spacewalklist-isc...@snkmail.com wrote: That's a very interesting idea and I will try it. The implication is there are things needed during install that are not available in the proper channels, such as: fedora16-x86_64 fedora16

Re: [Spacewalk-list] spacewalk-channel --list-available issues

2013-02-04 Thread Jon Miller
. -- Jon Miller On Mon, Feb 4, 2013 at 8:57 AM, Nick Wales n...@nickwales.co.uk wrote: I'm having trouble when running the following: spacewalk-channel --list-available -u username -p password I get a response of: Error communicating with server. The message was: redstone.xmlrpc.XmlRpcFault

Re: [Spacewalk-list] spacewalk-channel --list-available issues

2013-02-04 Thread Jon Miller
-110014/string/value /member and within the Sapcewalk UI, I see my system ID as 110014. If those match, I'd personally try running it with 'strace' and look for other clues like blatant permission errors but if you're not familiar with that output, it can be a bit daunting. -- Jon Miller On Mon

Re: [Spacewalk-list] CentOS v6 kickstart anaconda issues

2013-02-20 Thread Jon Miller
I have lately gotten good leads when looking at the temp files being generated in /tmp on the client. Try switching over to VT2 and poking around. Other than that, you may get some clues by watching your apache access logs and see what was being requested right before the client died. Good luck,

Re: [Spacewalk-list] Clone channel 500 error in Spacewalk 1.9

2013-03-22 Thread Jon Miller
Worked for me too. Send an extra thank you to your anonymous kind soul. -- Jon Miller On Thu, Mar 21, 2013 at 12:01 PM, Coffman, Anthony J tony.coff...@snapon.com wrote: A kind soul shared a fix for this issue with me today. ln -s /var/www/html/network/software/ /usr/share/spacewalk/web

Re: [Spacewalk-list] Kickstarting Fedora 18 with SW 1.9

2013-04-09 Thread Jon Miller
, the grub boot entry still had the root=UUID=XXX entry and when I removed that, it initiated a kickstart vs. a OS boot. Now when I want to perform a re-install with koan I add the additional option of --no-copy-default along with --replace-self. -- Jon Miller On Tue, Apr 9, 2013 at 1:32 AM, Tomi

Re: [Spacewalk-list] API calls for new hosts

2013-04-10 Thread Jon Miller
]: http://wiki.postgresql.org/wiki/VACUUM_FULL -- Jon Miller On Wed, Apr 10, 2013 at 8:45 AM, Anton Pritchard-Meaker anton.pritchard-mea...@kit-digital.com wrote: I managed to fix this by exporting the database, dropping it in postgresql, re-creating it and then re-importing. Performance seems

[Spacewalk-list] Can not have same-named distributions in two organizations

2013-04-11 Thread Jon Miller
proceeded fine. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Problem kickstarting using a Software Package Profile

2013-04-19 Thread Jon Miller
that renames any /etc/yum.repos.d/*.repo file with a .off extension but apparently this isn't quick enough. Is there a more effective way in disabling local repos quicker? Thanks, Jon Miller On Thu, Apr 18, 2013 at 5:44 PM, Jon Miller joneb...@gmail.com wrote: I have been developing a CentOS 6

Re: [Spacewalk-list] Problem kickstarting using a Software Package Profile

2013-04-24 Thread Jon Miller
an error about installing a libutempter package when I have my Updates channel included on the KS but otherwise get messages about missing a iscsi-initiator-utils package. I can figure this one out through a series of further testing. Thanks again for the tip. -- Jon Miller On Wed, Apr 24, 2013

Re: [Spacewalk-list] Is the wiki down?

2013-04-26 Thread Jon Miller
It's not just you. Down for me too. http://www.downforeveryoneorjustme.com/spacewalk.fedorahosted.org -- Jon Miller On Fri, Apr 26, 2013 at 12:08 PM, Jim Miller jmil...@centricgroup.comwrote: Is the spacewalk wiki down or is it just me? User Documentation User documentation

[Spacewalk-list] Update kickstart scripts via API

2013-04-30 Thread Jon Miller
that special comment is inserted during upload of a new script. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Update kickstart scripts via API

2013-04-30 Thread Jon Miller
but only half way. :-) -- Jon Miller On Tue, Apr 30, 2013 at 5:50 PM, Jon Miller joneb...@gmail.com wrote: I'm currently wrapping up a script that helps me update the scripts collection for a specified kickstart profile. I currently have to use the kickstart.profile.removeScript

Re: [Spacewalk-list] Duplicate packages in Channel causing Centos 5.9 kickstart to fail

2013-05-01 Thread Jon Miller
Whenever I've removed a package from a channel, I'm often too impatient for the repodata to be rebuilt. Could that be your problem? You can check the last repo build time on the channel detail page or also just look at /var/cache/rhn/repodata/*. -- Jon Miller On Tue, Apr 30, 2013 at 9:35 PM

Re: [Spacewalk-list] Duplicate packages in Channel causing Centos 5.9 kickstart to fail

2013-05-01 Thread Jon Miller
troubleshooting. You want to be sure you're using the same URL and then look in further logs for further clues. -- Jon Miller On Wed, May 1, 2013 at 5:32 PM, Reed, Steven steven.r...@transport.nsw.gov.au wrote: Hi Jon, ** ** When it kickstarts is cannot find the package: ** ** sos-1.7-9.62

Re: [Spacewalk-list] Duplicate packages in Channel causing Centos 5.9 kickstart to fail

2013-05-02 Thread Jon Miller
, Jon Miller On Wed, May 1, 2013 at 7:23 PM, Reed, Steven steven.r...@transport.nsw.gov.au wrote: Thanks for replying again Jon, actually I inadvertently blew away all the packages in the repo...so after a spacewalk-repo-sync it now complains it can't find a package due to different versions

[Spacewalk-list] How to force a channel repodata rebuild?

2013-05-02 Thread Jon Miller
do I trigger a complete rebuild without having to remove/add a package? (I tried the channel.software.regenerateNeededCache() API call but didn't seem to do what I was looking for) Thanks, Jon Miller ___ Spacewalk-list mailing list Spacewalk-list

Re: [Spacewalk-list] How to force a channel repodata rebuild?

2013-05-06 Thread Jon Miller
don't know how it knows how much data to request. I think if I run into this problem again, I'll either enable increased logging in Apache to show me the http headers and/or run a tcpdump capture to also see the same information. Thanks, Jon Miller

Re: [Spacewalk-list] How to force a channel repodata rebuild?

2013-05-07 Thread Jon Miller
. Thanks, Jon Miller [1]: Commands used to compare old repodata vs. current: mkdir tmp cd tmp tar -xzvf /tmp/repodata_20130502.tgz var/cache/rhn/repodata/centos6.2-x86_64 mv var/cache/rhn/repodata/centos6.2-x86_64 centos6.2-x86_64.bad rm -rf var cp -pr /var/cache/rhn/repodata/centos6.2-x86_64 centos6.2

Re: [Spacewalk-list] How to force a channel repodata rebuild?

2013-05-13 Thread Jon Miller
is corrupt I have tried the following two trick unsuccessfully this morning: 1. Delete the RPMs and resync the channel. 2. Delete the local repodata and trigger a fresh rebuild. I'm out of ideas at the moment. I'd appreciate any suggestions. Thanks, Jon Miller On Thu, May 9, 2013 at 4:58 AM, Tomas

Re: [Spacewalk-list] How to force a channel repodata rebuild?

2013-05-13 Thread Jon Miller
Thank you very much. I deleted the libart_lgpl packages from my local EPEL channel and the install is off an happily running. Thanks again, Jon Miller On Mon, May 13, 2013 at 10:22 AM, Paul Robert Marino prmari...@gmail.comwrote: Ive hit this too and there are a few more Essentially when

Re: [Spacewalk-list] Software installation Activation key

2013-05-28 Thread Jon Miller
I similarly concluded I needed to disable the default CentOS repos and I got a good pre script solution recommended here on the list: https://www.redhat.com/archives/spacewalk-list/2013-April/msg00103.html -- Jon Miller On Tue, May 28, 2013 at 1:48 AM, Michael Linder michael.lin...@pt

Re: [Spacewalk-list] Spacewalk Kickstart wizard variables

2013-06-06 Thread Jon Miller
If your pre script is already working the way you'd like it to, I'd suggest just writing out the answers is a varname=$varname format that you can later re-source in the %post section. -- Jon Miller On Thu, Jun 6, 2013 at 12:11 PM, Corey Hemminger corey.hemmin...@nativex.com wrote: I have

Re: [Spacewalk-list] Spacewalk Kickstart wizard variables

2013-06-06 Thread Jon Miller
token=$token rack=$rack EOF That is called a here-document and you can find more details about it in your local bash(1) manpage. Later in your %post script, you can source it via the . operator or keyword source: source /tmp/custom_vars echo Relearned that my IP is $ip -- Jon Miller On Thu, Jun

[Spacewalk-list] Cloning a large Errata Channel (Fedora 18 Updates)

2013-06-20 Thread Jon Miller
recommendation that I could follow? Thank you, Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Cloning a large Errata Channel (Fedora 18 Updates)

2013-06-20 Thread Jon Miller
) On Thu, Jun 20, 2013 at 2:47 PM, Jon Miller joneb...@gmail.com wrote: I would like to continue to use the same base Fedora 18 channel but clone the Updates channel to be managed independently from the original. (Idea is that separate profiles can use separate Updates channels and manage

Re: [Spacewalk-list] Kickstart: Pause before post-install scripts?

2013-07-05 Thread Jon Miller
don't know why it wouldn't work.) -- Jon Miller On Fri, Jul 5, 2013 at 8:04 AM, Alyson Calhoun alyson.calh...@gmail.com wrote: Does anyone have any recommendations on the best way to do this? My kickstart pulls in the initial network using my DHCP server. During kickstart, the new built gets

[Spacewalk-list] How to test Spacewalk Proxy

2013-07-05 Thread Jon Miller
machine vs. my internal Spacewalk server. Should I be propagating the same DNS name in the dmz for my proxy as what I have internally? Thanks, Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo

Re: [Spacewalk-list] How to test Spacewalk Proxy

2013-07-11 Thread Jon Miller
michael.mr...@redhat.com writes: Jon Miller wrote: % I just completed an install of spacewalk proxy. I tried testing by % taking a URL to a kickstart file, I know that works on my main % spacewalk server, and changed the host to my proxy. I get the % following entries in /var/log/rhn

[Spacewalk-list] Query the Org ID via APIs

2013-07-22 Thread Jon Miller
= client.kickstart.snippet.listCustom(session) if not snippets: return -1 return re.search(r'/(\d+)/', snippets[0]['fragment']).group(1) Thanks, -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo

Re: [Spacewalk-list] Query the Org ID via APIs

2013-07-22 Thread Jon Miller
: return -1 return re.search(r'/(\d+)/', snippets[0]['fragment']).group(1) Thanks, -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] How to test Spacewalk Proxy

2013-07-24 Thread Jon Miller
that I'm going to need a separate proxy server for each organization that requires a DMZ presence. Is that the correct conclusion or is there a way to re-use the same proxy for multiple organizations? Thanks, Jon Miller michael.mr...@redhat.com writes: Jon Miller wrote: % % The webpage

Re: [Spacewalk-list] kick-start not completing groups

2013-08-07 Thread Jon Miller
installed and just continue to update your own package list. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Fix to re-registering Spacewalk Clients

2013-08-22 Thread Jon Miller
. It would be nice it this could be included in a future update to spacewalk-java package. -- Jon Miller [1]: https://access.redhat.com/site/solutions/395093 --- /var/lib/rhn/kickstarts/snippets/keep_system_id.orig2013-08-22 16:49:52.0 -0700 +++ /var/lib/rhn/kickstarts/snippets

Re: [Spacewalk-list] Fix to re-registering Spacewalk Clients

2013-08-23 Thread Jon Miller
jhu...@redhat.com writes: On Thu, 22 Aug 2013 17:32:19 -0700 Jon Miller joneb...@gmail.com wrote: We have had a issue taking advantage of the Spacewalk profile feature that allows you to preserve a system profile when rebuilding a machine. (The Spacewalk Profile option Re-connect

[Spacewalk-list] Template variables not available

2013-08-25 Thread Jon Miller
to my kernel boot options. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Template variables not available

2013-08-25 Thread Jon Miller
where the template would have included extra commands. I guess my main question remains: What is the proper way to initiate a kickstart from Spacewalk and associate a unique client and use the cobbler variables defined? Thanks, -- Jon Miller

Re: [Spacewalk-list] kickstart problem

2013-09-03 Thread Jon Miller
| less and then run a few lsof strace commands on the hung process to see what is happening. -- Jon Miller klarmstro...@liberty.edu writes: Hello all, I have a kickstart file that works pretty good until it hits this one line: cp -f /tmp/ks-pre.log* /mnt/sysimage/root/ My

Re: [Spacewalk-list] maybe newbie problem w/ spacewalk

2013-10-04 Thread Jon Miller
Within your profile, go to Kickstart Details - Bare Metal Kickstart and observe the URL shown there and use it for your ks= value. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk

[Spacewalk-list] yum confused about dependencies

2013-10-08 Thread Jon Miller
a procedure of deleting my /var/cache/rhn/repodata/channel directories for my F18 channels and then used an API to trigger their rebuild. That didn't work and now I'm hoping the list has a suggestion. Any ideas? Thanks, -- Jon Miller ___ Spacewalk-list mailing

Re: [Spacewalk-list] Can not assign SW Channels to clients registered through Proxy

2014-02-03 Thread Jon Miller
ame...@oscert.net writes: Il 03/02/2014 19:11, Jon Miller ha scritto: Hello, I have a Spacewalk proxy server setup and it is mostly working. I can kickstart a machine and register the client through the proxy as well. However, I can not assign any software channels to the registered

Re: [Spacewalk-list] spacewalk-repo-sync

2014-02-06 Thread Jon Miller
watching the packages that closely during the sync, though. I guess you'll have to wait until that sync has finished to confirm. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Missing spacewalk20-client-fedora20 Repository

2014-02-21 Thread Jon Miller
updated clients? [1]: http://yum.spacewalkproject.org/2.0/Fedora/ Thanks, Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Kickstart install with Network config

2014-04-10 Thread Jon Miller
in how to accomplish what you're doing. You can set/add additional interface information via cobbler CLI as well. Here is an example: cobbler system edit --name=$NAME --interface=eth1 --ip-address=$IPADDR2 --subnet=255.255.255.0 --static=True -- Jon Miller

[Spacewalk-list] Run away DELETE query eating my disk space

2014-04-25 Thread Jon Miller
, though I'm not sure how to do that with PostgreSQL yet. Before I get too crazy, I thought I'd ask folks here for advice. Thanks, -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-04-29 Thread Jon Miller
there an alternate SQL approach that can be taken? Or would you suspect something else is terrible wrong here? Thanks, Jon Miller Setup Info: Running spacewalk-postgresql 2.0.1-1.el6 on a RHEL 6.4 machine with 8 G of memory and PostgreSQL 8.4.13-1.el6_3. Jon Miller joneb

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-04-30 Thread Jon Miller
Chris dmag...@gmail.com writes: On 30/04/14 14:05, Jon Miller wrote: Before asking for more disk space, I scheduled some down time to perform a VACUUM FULL VERBOSE ANALYZE on my PostgreSQL database today along with rebuilding all of my indexes in the DB. After bringing Spacewalk back up

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-05-01 Thread Jon Miller
share? That is where my head is now but I've got more reading / learning to do before I start introducing tuning changes. Thanks, -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-05-02 Thread Jon Miller
version 2.0.1-1 (spacewalk-postgresql) Thanks for the interest, Jon Miller Paul Robert Marino prmari...@gmail.com writes: Increase your working memory. Also increase your maintenance working memory. That will help but we need to know more details before we can help. The exact specs of the box

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-05-03 Thread Jon Miller
and rhnPackageUpgradeArchCompat.pack ) Does PostgreSQL use pgsql_tmp space when queries can not be performed within working memory? Thanks again, Jon Miller Paul Robert Marino prmari...@gmail.com writes: Try increasing taskomatics working memory. I had a similar issue recently with taskomatic where

Re: [Spacewalk-list] Run away DELETE query eating my disk space

2014-05-13 Thread Jon Miller
Chris dmag...@gmail.com writes: On 04/05/14 10:29, Jon Miller wrote: That's another fine suggestion though I still believe the issues were/are still related to the actual SQL queries being ran. I completed my planned routine last evening but just recreating the DB and reloading my backup

Re: [Spacewalk-list] Trigger script on spacewalk on activation

2014-09-19 Thread Jon Miller
to be installed for your particular activation key and have a %post section in the RPM execute something for you. -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Proxy Server /cobbler_api Requests Timing Out

2015-05-16 Thread Jon Miller
Jon Miller writes: Would anyone like to help me rule in or out my Spacewalk setup as functional or not? Just copy the attached script and run it with the name of your Spacewalk server as the argument like: ./koan_test.sh spacewalk.example.com It is designed to send requests to Spacewalk

Re: [Spacewalk-list] Proxy Server /cobbler_api Requests Timing Out

2015-05-15 Thread Jon Miller
a client via a Proxy server. It issues two cobbler methods: ping get_systems. If your system is like mine, the ping will work but the get_systems request will hang indefinitely. -- Jon Miller koan_test.sh Description: koan_test.sh ___ Spacewalk-list

[Spacewalk-list] Proxy Server /cobbler_api Requests Timing Out

2015-05-13 Thread Jon Miller
|| | ++| |mod_proxy | | 3. | ^ | | V | 4. | | ++| | | Cobblerd || | ++| ++ -- Jon Miller ___ Spacewalk-list mailing list Spacewalk-list

Re: [Spacewalk-list] Proxy Server /cobbler_api Requests Timing Out

2015-05-14 Thread Jon Miller
Jon Miller writes: I am having a problem with cobbler requests via my proxy server. Machines that use the proxy server can successfully proxy requests through for channel / package information just fine. The problem seems isolated to only /cobbler_api URL requests. I've been testing via