Re: [Spacewalk-list] spacewalk-common-channels doing nothing on fresh 1.6 fedora16 install
Thanks Michael for your quick response. It was late, and today I managed to resolve a few things. a) spacewalk-common-channels.ini is indeed not outdated. Sorry for the false alarm. Acutally, spacewalk-utils-1.6.6-1.fc16.noarch.rpm wasn't installed at all yet. Makes me wonder why the binary (/usr/bin/spacewalk-common-channels) survived the yum erase process. So I tryed my own call and it did not work. Then I tried an official example, and it did work. Turns out the '*' at the end is crucial: [root@xyz rhn]# /usr/bin/spacewalk-common-channels -u SpacewalkAdmin -p mypass -a i386 'fedora16' does not work. [root@xyz rhn]# /usr/bin/spacewalk-common-channels -u SpacewalkAdmin -p mypass -a i386 'fedora16*' does work as intended. (The official example: Create only Centos 4 base channels for intel archs: /usr/bin/spacewalk-common-channels -u admin -p pass -a i386,x86_64 'centos4' does not work either - just as a testcase! ) Sorry about the earlier stuff, Best -Jonathan Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671 ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] centos-errata.py package_dir value
Hi, I use a local repo by setting up a cronjob as rsync -avrt --progress rsync://rsync.mirrorservice.org/mirror.centos.org/5/os/x86_64/ /var/www/html/repos/centos/5/os/x86_64/ and setting that package_dir to /var/www/html/repos/centos/5/os/x86_64/ Hope it helps, Ege On Wed, 2012-02-08 at 10:58 +, Peter Purvis wrote: If I'm reposyncing from a separate host, so the only place on the spacewalk server I actually have any packages is in /var/satellite what should I be setting the package_dir value to? If I use /var/satellite the script complains it can't find /var/satellite/package-ver.s.i.on.rpm but I don't really have any alternatives. I suppose my way around this would be to mount the remote repo store, but I'd rather avoid if possible. Thanks ___ 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] advanced search now showing installed package
Hi, I have a system with an installed package that I can see via going to the system and select List installed packages and filter by package name would give me php-5.2 whereas if I go to Advanced Search and look for this in installed packages, it would produce no results, basically I'm trying to get a list of the systems that have this package rather than going one by one. I would file a bug report for this however I know that specific package is *not* in any of the software channels and I was wondering if this would be the cause of that not showing up in advanced search. Could someone confirm that this is not intentional and require a bug filing? Cheers, Ege ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] centos-errata.py package_dir value
Thanks Ege, I've just tried against our updates repo, which it turns out is really out of date which in turn causes the script to fail as it can't find the packages. Will grab a more recent sync now and see if that works. Seems a bit counter intuitive that the packages are needed for the errata script to work? Perhaps someone can explain the process. On 8 February 2012 11:59, Ege Turgay ege.tur...@maglabs.net wrote: ** Hi, I use a local repo by setting up a cronjob as rsync -avrt --progress rsync:// rsync.mirrorservice.org/mirror.centos.org/5/os/x86_64//var/www/html/repos/centos/5/os/x86_64/ and setting that package_dir to /var/www/html/repos/centos/5/os/x86_64/ Hope it helps, Ege On Wed, 2012-02-08 at 10:58 +, Peter Purvis wrote: If I'm reposyncing from a separate host, so the only place on the spacewalk server I actually have any packages is in /var/satellite what should I be setting the package_dir value to? If I use /var/satellite the script complains it can't find /var/satellite/package-ver.s.i.on.rpm but I don't really have any alternatives. I suppose my way around this would be to mount the remote repo store, but I'd rather avoid if possible. Thanks ___ Spacewalk-list mailing listSpacewalk-list@redhat.comhttps://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
Re: [Spacewalk-list] updating a client from outside spacewalk
I think you need to make sure rhn_plugin is enabled on yum ie. yum-rhn-plugin-1.6.16-1.el5 and it's enabled in /etc/yum/pluginconf.d/rhnplugin.conf if you update the package by using rpm, I think you need to refresh the package list by selecting one or more systems and System Set Manager - Update Software profile as it states in the same page If you've changed hardware on your system or have manually installed RPMs, and those changes are not appearing on Spacewalk, you need to schedule a profile update. Ege On Tue, 2012-02-07 at 15:03 +0300, Walid wrote: Dear All, When we update a client using yum from outside of space walk, it does not get reflected on the panel, when does it get reported, or what is needed from the client/spacewalk side for it to be reported. regards Walid ___ 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
Re: [Spacewalk-list] no repodata
Finally i figured out problem. Spacewalk used system-wide java installed, with libs in /usr/share/java /usr/share/java/postgresql-jdbc.jar was symlinked to 8.1 jdbc driver. I've downloaded and relinked it to 9.1 jdbc4 driver, and now everything works fine. 08.02.2012, 16:17, Denis Zinevich l...@ngc.net.ua: well, that didn't help. I've cleaned tables as you sugessted ( with no errors ), and restarted services. When trying to single schedule run channel-repodata-bunch I'm getting same error in taskomatic log. 07.02.2012, 12:06, Tomas Lestach tlest...@redhat.com: On Monday 06 of February 2012 19:09:51 Denis Zinevich wrote: Description: CentOS release 5.7 (Final) quartz-1.8.1-3.el5 tascomatic restart didn't help - same erros occurs. rhn-search daemon is up. i do not see any erros in it's log. You may try to reinitialize quartz configuration: 1. stop spacewalk services 2. run following sql commands: DELETE FROM qrtz_job_details; DELETE FROM qrtz_job_listeners DELETE FROM qrtz_triggers DELETE FROM qrtz_simple_triggers DELETE FROM qrtz_cron_triggers DELETE FROM qrtz_blob_triggers DELETE FROM qrtz_trigger_listeners DELETE FROM qrtz_calendars DELETE FROM qrtz_paused_trigger_grps DELETE FROM qrtz_fired_triggers DELETE FROM qrtz_scheduler_state DELETE FROM qrtz_locks INSERT INTO qrtz_locks values('TRIGGER_ACCESS'); INSERT INTO qrtz_locks values('JOB_ACCESS'); INSERT INTO qrtz_locks values('CALENDAR_ACCESS'); INSERT INTO qrtz_locks values('STATE_ACCESS'); INSERT INTO qrtz_locks values('MISFIRE_ACCESS'); 3. start spacewalk services By deleting the quartz configuration, it shall be reinitialized. Regards, Tomas -- Tomas Lestach RHN Satellite Engineering, Red Hat 06.02.2012, 15:19, Tomas Lestach tlest...@redhat.com: Hello, what is your OS? What version of quartz you hvae installed? Do you get this error systematically after every taskomatic restart? Does rhn-search work as exected? Regards, -- Tomas Lestach RHN Satellite Engineering, Red Hat On Tuesday 17 of January 2012 13:00:16 Denis Zinevich wrote: Hi all, just made fresh install. version 1.6 There's no repodata being generated. taskomatic produce following log. Tried upgrade to 1.7-nightly. Didn't help. Any ideas how to fix ? INFO | jvm 1 | 2012/01/17 10:56:08 | INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@869113 [ connectionPoolDataSource - com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@cb07ef [ acquireIncrement - 3, acquireRetryAttempts - 30, acquireRetryDelay - 1000, autoCommitOnClose - false, automaticTestTable - null, breakAfterAcquireFailure - false, checkoutTimeout - 0, connectionTesterClassName - com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation - null, forceIgnoreUnresolvedTransactions - false, identityToken - cb07ef, idleConnectionTestPeriod - 300, initialPoolSize - 5, maxIdleTime - 300, maxPoolSize - 20, maxStatements - 0, maxStatementsPerConnection - 0, minPoolSize - 5, nestedDataSource - com.mchange.v2.c3p0.DriverManagerDataSource@18b1f8f [ description - null, driverClass - null, factoryClassLocation - null, identityToken - 18b1f8f, jdbcUrl - jdbc:postgresql://localhost:5432/space, properties - {user! =**, password=**, driver_proto=jdbc:postgresql} ], preferredTestQuery - null, propertyCycle - 300, testConnectionOnCheckin - false, testConnectionOnCheckout - true, usesTraditionalReflectiveProxies - false ], factoryClassLocation - null, identityToken - 869113, numHelperThreads - 3 ] FATAL | jvm 1 | 2012/01/17 10:56:17 | Failure occured during job recovery. com.redhat.rhn.taskomatic.core.TaskomaticException: Failure occured during job recovery. at com.redhat.rhn.taskomatic.core.SchedulerKernel.startup(SchedulerKernel .java :174) at com.redhat.rhn.taskomatic.core.TaskomaticDaemon$1.run(TaskomaticDaemon .java :102) at java.lang.Thread.run(Thread.java:636) Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: 2 [See nested exception: java.lang.ArrayIndexOutOfBoundsException: 2]] at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStore Suppo rt.java:627) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:491) at org.quartz.impl.StdScheduler.start(StdScheduler.java:143) at com.redhat.rhn.taskomatic.core.SchedulerKernel.startup(SchedulerKernel .java :162) ... 2 more Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: 2 [See nested exception: java.lang.ArrayIndexOutOfBoundsException: 2] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStore Suppor t.java:1571) at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobSt oreSu pport.java:950) at
[Spacewalk-list] Error : 'NoneType' object is unsubscriptable when I used RHNPUSH
Hi all, I use Spacewalk 1.6 on a Red Hat Enterprise Linux Server release 6.2 (Santiago). I have 2 problems. 1) On the RHEL 6 (which is subscribe on the RHN), I install the spacewalk-repo-1.6-1.el6.noarch.rpm, and when I update with yum update, it downloads some rhn* package, then, I have the error Cannot retrieve repository metadata (repomd.xml). To correct it, I must set the parameter to useNoSSLForPackages=1 instead of useNoSSLForPackages=0. Then, I'm able to do a successful yum update. It only appears when the repository spacewalk is used then, RHEL downloads some rhn* package from it. 2) I use the command reposync to grab the package from the RHN. Then I push the packages with rhnpush. You can see the command line: rhnpush --exclude=nexuiz* --exclude=root-doc* --channel=epel6_x64 --server=https://spacewalk/APP --dir=/mnt/local_rhn/x86_64/6/epel/ -u admin -p password -vv -tolerant The result: Package /mnt/local_rhn/x86_64/6/epel/rubygem-state_machine-1.1.2-2.el6.noarch.rpm Not Found on RHN Server -- Uploading Uploading package /mnt/local_rhn/x86_64/6/epel/rubygem-state_machine-1.1.2-2.el6.noarch.rpm Using POST request Package /mnt/local_rhn/x86_64/6/epel/rubygem-state_machine-doc-1.1.2-2.el6.noarch.rpm Not Found on RHN Server -- Uploading Uploading package /mnt/local_rhn/x86_64/6/epel/rubygem-state_machine-doc-1.1.2-2.el6.noarch.rpm Using POST request Package /mnt/local_rhn/x86_64/6/epel/jgoodies-looks-2.4.2-1.el6.noarch.rpm Not Found on RHN Server -- Uploading Uploading package /mnt/local_rhn/x86_64/6/epel/jgoodies-looks-2.4.2-1.el6.noarch.rpm Using POST request While running 'packages.channelPackageSubscriptionBySession': caught type 'exceptions.TypeError' : 'NoneType' object is unsubscriptable Then, the uploading stops and no package appears in the channels. When I retry and retry to upload, it fails again and again with the same error. I didn't know what to do next? I could upload some package one by one and it works but it fails when I try to upload many packages. I will try to setup a new VM with RHEL6 + Spacewalk 1.5 to try. 3) Do you know how to increase the limits size of an uploaded package? I must exclude the packages nexuiz* because the RHNPUSH says 500 Internal Server Error when I uploaded it. Thanks. Best regards, Ludovic ___ Ce message contient des informations confidentielles ou appartenant à Boursorama et est établi à l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, doit être préalablement autorisée. Tout message électronique est susceptible d'altération et son intégrité ne peut être assurée. Boursorama décline toute responsabilité au titre de ce message s'il a été modifié ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur de l'erreur de distribution et de la destruction du message. ___ This e-mail contains confidential information or information belonging to Boursorama and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. Boursorama shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. ___ ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Kickstart CentOS 6 Fail Spacewalk
An update to this issue is if I use repodata generated from a local yum repository it works just fine. One other note I would like to add is that my CentOS 5 installs work just fine with the repodata pulled from /var/cache/rhn/repodata/. One other issue I have seen with 1.6 is with CentOS 5 kickstarts are displaying a message about kmod kernel is not needed. Any ideas as to the cause of this issue? On Fri, Feb 3, 2012 at 1:54 PM, Jeremy Davis jdavis4...@gmail.com wrote: Hello All, I have been trying to install CentOS 6 using Spacewalk 1.6 kickstart functionality. I have copied over the images directory in to a local directory and created the distribution tree. I then copied the repodata from /var/cache/rhn/repodata/ for the v6 64bit base (os) channel I have created in Spacewalk. Once I have that I then copy the comps.xml file from a yum repository of CentOS 6 and add the configuration to repomd.xml. I then try the install. It starts to perform the installation and then right when it starts to install packages I get the following Traceback error on the machine that is being installed. Error: CRITICAL: anaconda exception report: Traceback (most recent call first): File /usr/lib/anaconda/yuminstall.py, line 220, in callback self.progress.set_fraction(float(self.doneSize / self.totalSize)) ZeroDivisionError: float division Any ideas as to what this could be? Thank you for your time and have a great day! Regards, Jeremy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Problem adding a server to a group
Has anyone seen this problem: Spacewalk 1.6 I have a CentOS 5 system profile that I can't join to certain system groups. Some groups work, some don't. I can't see what the difference is. Here's a TRACEBACK email: The following exception occurred while executing this request: POST /rhn/systems/details/groups/Add.do Date:2/8/12 11:47:23 AM PST Headers: host: spacewalk.cucbc.com user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-language: en-us,en;q=0.5 accept-encoding: gzip, deflate accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 connection: keep-alive referer: https://spacewalk.cucbc.com/rhn/systems/details/groups/Add.do?sid=113123 cookie: JSESSIONID=C7861FB86EB15A500EF4FEED5B4BF84C; pxt-session-cookie=434641x38daaae3f405b5594fd186052e8fa00c content-type: application/x-www-form-urlencoded content-length: 722 Request: Local Name = spacewalk.cucbc.com Server Name = spacewalk.cucbc.com Requested Session Id came from Cookie Requested Session Valid = true Session = org.apache.catalina.session.StandardSessionFacade@8ce6014[session=StandardSession[C7861FB86EB15A500EF4FEED5B4BF84Cmailto:org.apache.catalina.session.StandardSessionFacade@8ce6014[session=StandardSession[C7861FB86EB15A500EF4FEED5B4BF84C]] Protocol = https Request Locale = en_US Request Character Encoding = UTF-8 Attribute Names = rhnActiveLang, javax.servlet.jsp.jstl.fmt.timeZone.request, javax.servlet.error.status_code, javax.servlet.error.servlet_name, javax.servlet.request.key_size, requestedUri, list_1154021400_selected_amt, javax.servlet.request.ssl_session, org.apache.struts.action.MESSAGE, system, javax.servlet.error.message, session, __sitemesh__filterapplied, javax.servlet.request.cipher_suite, javax.servlet.error.exception, javax.servlet.error.request_uri, org.apache.struts.action.mapping.instance, all, org.apache.struts.action.MODULE, Form Variables: csrf_token: 6791022838737766610 1154021400_PAGE_SIZE_LABEL_SELECTED: null list_1154021400_parent_is_an_element: true 1154021400_PAGE_SIZE_LABEL: 25 list_1154021400_all: false list_1154021400_filterby: Group Name sid: 113123 list_1154021400_filterclass: com.redhat.rhn.frontend.taglibs.list.ColumnFilter list_1154021400_sortdir: list_1154021400_sortby: list_1154021400_search_child: false list_1154021400_filterval: web list_1154021400_filterattr: name list_1154021400_items: 41 submitted: true list_1154021400_sel: 41 list_1154021400_sel_all: on list_1154021400_none: false list_1154021400_oldfilterval: web dispatch: Join Selected Groups list_1154021400_search_parent: true User Information: User jfillman (id 321, org_id 3) Exception: javax.servlet.ServletException: ERROR: function update_perms_for_user(numeric) does not exist at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:99) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at