From KKukrer at collegeboard.org Mon Apr 2 13:46:57 2007 From: KKukrer at collegeboard.org (Kukrer, Koray) Date: Mon, 2 Apr 2007 09:46:57 -0400 Subject: [rhn-satellite-beta-users] Satellite 5 Beta and new RHEL5 GA In-Reply-To: <4609C6AC.1050202@redhat.com> References: <3ED24201A685FA4DA04FEC99BFED652A0EFF8529@ecogenemld50.Org.Collegeboard.local> <46086139.1040409@redhat.com> <3ED24201A685FA4DA04FEC99BFED652A0EFF85E7@ecogenemld50.Org.Collegeboard.local> <4609C6AC.1050202@redhat.com> Message-ID: <3ED24201A685FA4DA04FEC99BFED652A0EFF891F@ecogenemld50.Org.Collegeboard.local> > You can create a manual post script to import the right file for the Beta Satellite product. Cliff, Where can I find the postcript file in the system that Satellite has created? Thanks, Koray -----Original Message----- From: Clifford Perry [mailto:cperry at redhat.com] Sent: Tuesday, March 27, 2007 9:37 PM To: Kukrer, Koray Cc: rhn-satellite-beta-users at redhat.com Subject: Re: [rhn-satellite-beta-users] Satellite 5 Beta and new RHEL5 GA You should find it on the file system of any RHEL 5 system you have installed: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Or download and install the RHEL5 'redhat-release' package to get the file. Cliff. Kukrer, Koray wrote: > > Since I don't have Satellite 4.2 installed in our environment and I am > testing this in the lab. Could you provide me new > RPM-GPG-KEY-redhat-release file? > > Thanks, > > Koray > -----Original Message----- > From: Clifford Perry [mailto:cperry at redhat.com] > Sent: Monday, March 26, 2007 8:12 PM > To: Kukrer, Koray > Cc: rhn-satellite-beta-users at redhat.com > Subject: Re: [rhn-satellite-beta-users] Satellite 5 Beta and new RHEL5 > GA > > RHN Satellite 5.0 Beta was written last year and released just after > RHEL 5 Beta 2 went public. As such the code base used the RHEL 5 Beta > 2 path for the 'RPM-GPG-KEY', which changed for RHEL 5 GA. So, the bug > is real, and nothing you can do to fix it really. You can create a > manual post script to import the right file for the Beta Satellite product. > This is fixed in 4.2 Satellite and will also be fixed in the RHN 5.0 > Sat GA version when released. > > [root at dhcp231-182 rpm-gpg]# pwd > /etc/pki/rpm-gpg > [root at dhcp231-182 rpm-gpg]# ls > RPM-GPG-KEY-fedora RPM-GPG-KEY-redhat-beta > RPM-GPG-KEY-fedora-test RPM-GPG-KEY-redhat-former > RPM-GPG-KEY-redhat-auxiliary RPM-GPG-KEY-redhat-release > [root at dhcp231-182 rpm-gpg]# > > > Something like: > > rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release > > Note, for RHEL 5 Red Hat changed the key used to sign RPMS. All RHEL > 2.1, 3 & 4 rpms are signed with the RPM-GPG-KEY-redhat-former key. > > Cliff. > > > Kukrer, Koray wrote: >> I am having tough time to provision the RHEL5 GA thorough the new >> satellite. I did not change anything but pointing the kickstart >> profile and activation key to the new RHEL5 channel. I am having >> trouble to push all the managed files when I use RHEL5 GA Channel. In >> the ks-post logs I noticed this error; error: >> /etc/pki/rpm-gpg/RPM-GPG-KEY: import read failed >> >> I believe it should not change from channel to channel. I am also >> attaching the ks-post.log. Can you guide me? >> >> Thanks, >> >> Koray >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> rhn-satellite-beta-users mailing list >> rhn-satellite-beta-users at redhat.com >> https://www.redhat.com/mailman/listinfo/rhn-satellite-beta-users > > -- > Clifford Perry > Team Lead, Satellite Sustaining Engineering Red Hat, Inc. > http://www.redhat.com/ > +1 919 754 4403 > RHCE# 803004507210710 > > _______________________________________________ > rhn-satellite-beta-users mailing list > rhn-satellite-beta-users at redhat.com > https://www.redhat.com/mailman/listinfo/rhn-satellite-beta-users -- Clifford Perry Team Lead, Satellite Sustaining Engineering Red Hat, Inc. http://www.redhat.com/ +1 919 754 4403 RHCE# 803004507210710 From cperry at redhat.com Mon Apr 2 14:07:14 2007 From: cperry at redhat.com (Clifford Perry) Date: Mon, 02 Apr 2007 10:07:14 -0400 Subject: [rhn-satellite-beta-users] Satellite 5 Beta and new RHEL5 GA In-Reply-To: <3ED24201A685FA4DA04FEC99BFED652A0EFF891F@ecogenemld50.Org.Collegeboard.local> References: <3ED24201A685FA4DA04FEC99BFED652A0EFF8529@ecogenemld50.Org.Collegeboard.local> <46086139.1040409@redhat.com> <3ED24201A685FA4DA04FEC99BFED652A0EFF85E7@ecogenemld50.Org.Collegeboard.local> <4609C6AC.1050202@redhat.com> <3ED24201A685FA4DA04FEC99BFED652A0EFF891F@ecogenemld50.Org.Collegeboard.local> Message-ID: <46110E12.4020504@redhat.com> Kukrer, Koray wrote: >> You can create a manual post script to import the right file for the >> > Beta Satellite product. > > Cliff, > > Where can I find the postcript file in the system that Satellite has > created? > > Thanks, > > Koray Currently by default custom %post scripts are not captured. You would as part of the script redirect it yourself to an output file, if you wish to record the logging (in the same way the default %post scripts run). Cliff. -- Clifford Perry Team Lead, Satellite Sustaining Engineering Red Hat, Inc. http://www.redhat.com/ +1 919 754 4403 RHCE# 803004507210710 From Chris.Gregors at enbridge.com Mon Apr 2 17:38:04 2007 From: Chris.Gregors at enbridge.com (Chris.Gregors at enbridge.com) Date: Mon, 2 Apr 2007 11:38:04 -0600 Subject: [rhn-satellite-beta-users] unable to get Kickstart functioning Message-ID: I need a little assistance. I'm attempting to use Beta 5 to setup some bare metak kickstarts and have met with some problems. Can anyone shead light on the following? The story so far: 1. Installed Red Hat Enterprise Linux AS release 4 (Nahant Update 4) 2. Installed rhn-satellite-4.9.0-14-redhat-linux-as-i386-4-embedded-oracle.iso 2a. up2date ran. 3. configured Satellite 3a. Synchronized base channel. (boy, that took a while .....) 4. created a Kickstart profile with the following information: label = test-profile base_channel = Red Hat Enterprise Linux WS (v. 4 for 32-bit x86) kickstart_tree = ks-rhel-i386-ws-4 Virtualization = none dist file = http://ossett.example.com/rhn/kickstart/ks-rhel-i386-ws-4 rootpw = xxx attempt to retrieve bare-metal kickstart string of http://ossett.example.com/kickstart/ks/org/1xac0087fcd3b79dc92f6cfc7be3ffd855/label/test-profile Attempt to download kickstart config file: [gregorsc at oliver tmp]$ wget http://ossett.example.com/kickstart/ks/org/1xac0087fcd3b79dc92f6cfc7be3ffd855/label/test-profile --11:27:16-- http://ossett.example.com/kickstart/ks/org/1xac0087fcd3b79dc92f6cfc7be3ffd855/label/test-profile Resolving ossett.example.com... 10.65.64.77 Connecting to ossett.example.com|10.65.64.77|:80... connected. HTTP request sent, awaiting response... 500 11:27:16 ERROR 500: (no description). Get an email from the Satellite server with the following verbose info: The following exception occured while executing this request: GET /rhn/kickstart/DownloadFile.do Date:4/2/07 11:31:40 AM MDT Headers: accept: */* connection: Keep-Alive host: ossett.example.com user-agent: Wget/1.10.2 (Red Hat modified) content-length: 0 Request: Local Name = ossett.example.com Server Name = ossett.example.com Requested Session Valid = false Session = org.apache.catalina.session.StandardSessionFacade at 765da501[session=StandardSession[1163D596418B9EBAE0CAEC0BAF1332EB]] Protocol = http Request Locale = en_SG Request Character Encoding = UTF-8 Attribute Names = org.apache.struts.action.MESSAGE, javax.servlet.jsp.jstl.fmt.timeZone.request, session, __sitemesh__filterapplied, requestedUri, org.apache.struts.action.mapping.instance, org.apache.struts.action.MODULE, User Information: No User logged in. Exception: javax.servlet.ServletException: channelIn is null! 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:236) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:70) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:136) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.redhat.rhn.frontend.servlets.ContextFilter.doFilter(ContextFilter.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 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:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:568) Caused by: java.lang.NullPointerException: channelIn is null! at com.redhat.rhn.domain.token.ActivationKey.addChannel(ActivationKey.java:230) at com.redhat.rhn.manager.kickstart.KickstartScheduleCommand.createKickstartActivationKey(KickstartScheduleCommand.java:693) at com.redhat.rhn.manager.kickstart.KickstartSessionCreateCommand.(KickstartSessionCreateCommand.java:66) at com.redhat.rhn.frontend.action.kickstart.KickstartHelper.parseKickstartUrl(KickstartHelper.java:196) at com.redhat.rhn.frontend.action.kickstart.RenderKickstartFileAction.execute(RenderKickstartFileAction.java:54) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) ... 51 more Chris Gregors 780-420-8124 Senior Technical Analyst Information Technology Enbridge Pipelines Inc. From mdavis at redhat.com Mon Apr 2 17:45:56 2007 From: mdavis at redhat.com (Matthew Davis) Date: Mon, 2 Apr 2007 13:45:56 -0400 Subject: [rhn-satellite-beta-users] unable to get Kickstart functioning In-Reply-To: References: Message-ID: <20070402174555.GB17073@bigdog.rdu.redhat.com> On Mon, Apr 02, 2007 at 11:38:04AM -0600, Chris.Gregors at enbridge.com wrote: > The story so far: > 1. Installed Red Hat Enterprise Linux AS release 4 (Nahant Update 4) > > 2. Installed > rhn-satellite-4.9.0-14-redhat-linux-as-i386-4-embedded-oracle.iso > 2a. up2date ran. > > 3. configured Satellite > > 3a. Synchronized base channel. (boy, that took a while .....) Make sure you also have the rhn-tools channel. Don't worry it won't take nearly as long. There's only a few hundred packages vs a few thousand. # satellite-sync -c rhn-tools-rhel-4-as-i386 -- Matthew Davis, RHCE Satellite Sustaining Engineer From e.borsboom at dji.minjus.nl Tue Apr 17 13:22:39 2007 From: e.borsboom at dji.minjus.nl (Borsboom, Erick) Date: Tue, 17 Apr 2007 15:22:39 +0200 Subject: [rhn-satellite-beta-users] rhnpush fails on directories called 'rpm' Message-ID: <738A278CC3A99241A532C275B7EE48B711B48493@djipmex008.addji.minjus.nl> Dear list, Rhnpush fails if a directory called 'rpm' exists within the supplied --dir. It fails because check_package_exists() in /usr/share/rhn/rhnpush/rhnpush.py tries to open() the 'rpm' directory and recieves an IOError. This issue could be fixed with an if S_ISDIR statement somewhere in the code to exclude directories and only process .rpm regular files, but i'm not sure if that will break functionality that i'm not using in my setup. Regards, Erick [root at rhnss rhnpush]# ls -la /tmp/ total 3080 drwxrwxrwt 3 root root 4096 Apr 17 13:43 . drwxr-xr-x 25 root root 4096 Apr 17 09:39 .. drwxrwxrwt 2 root root 4096 Apr 17 08:31 .ICE-unix -rwxr-xr-x 1 root root 3125693 Apr 17 13:30 pine-4.64-1.i386.rpm -rw-r--r-- 1 apache root 0 Apr 17 08:34 rhnccrewrite.lock [root at rhnss rhnpush]# rhnpush --dir /tmp --username test --password test --server https://10.10.10.100 -c xtra-test --nosig -vvv --force Uploading files from directory /tmp Connecting to https://10.10.10.100/APP url is https://10.10.10.100/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... Uploading package /tmp/pine-4.64-1.i386.rpm Using POST request [root at rhnss rhnpush]# mkdir /tmp/rpm [root at rhnss rhnpush]# rhnpush --dir /tmp --username test --password test --server https://10.10.10.100 -c xtra-test --nosig -vvv --force Uploading files from directory /tmp Connecting to https://10.10.10.100/APP url is https://10.10.10.100/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... ERROR: /tmp/rpm: No such file or directory available [root at rhnss rhnpush]# *********************************************************************************** Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. Ministerie van Justitie. *********************************************************************************** From KKukrer at collegeboard.org Thu Apr 19 17:38:02 2007 From: KKukrer at collegeboard.org (Kukrer, Koray) Date: Thu, 19 Apr 2007 13:38:02 -0400 Subject: [rhn-satellite-beta-users] Double RPM installation issue Message-ID: <3ED24201A685FA4DA04FEC99BFED652A0F40D680@ecogenemld50.Org.Collegeboard.local> I am kickstarting some of the Dell Intel servers with RHEL5 64 Bit GA release through Satellite 5 Beta. I noticed in the RPM list, some of them appeared twice on the server I installed. I further looked at them, the duplicates are the 32 bit versions of the same package. Do you know what causes it? And how can I resolve this issue? Thanks, Koray -------------- next part -------------- An HTML attachment was scrubbed... URL: From KKukrer at collegeboard.org Thu Apr 19 17:48:40 2007 From: KKukrer at collegeboard.org (Kukrer, Koray) Date: Thu, 19 Apr 2007 13:48:40 -0400 Subject: [rhn-satellite-beta-users] Custom Software Channels Message-ID: <3ED24201A685FA4DA04FEC99BFED652A0F40D683@ecogenemld50.Org.Collegeboard.local> I am no longer be able to use the separate custom channel when I am trying to kickstart a server, I can't see the child channels as well in the clone channel. I can successfully kickstart the server with the original software channel. How can I resolve this issue? Thanks, Koray -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdavis at redhat.com Thu Apr 19 19:16:55 2007 From: mdavis at redhat.com (Matthew Davis) Date: Thu, 19 Apr 2007 15:16:55 -0400 Subject: [rhn-satellite-beta-users] Double RPM installation issue In-Reply-To: <3ED24201A685FA4DA04FEC99BFED652A0F40D680@ecogenemld50.Org.Collegeboard.local> References: <3ED24201A685FA4DA04FEC99BFED652A0F40D680@ecogenemld50.Org.Collegeboard.local> Message-ID: <20070419191654.GA22566@bigdog.rdu.redhat.com> On Thu, Apr 19, 2007 at 01:38:02PM -0400, Kukrer, Koray wrote: > I am kickstarting some of the Dell Intel servers with RHEL5 64 Bit GA > release through Satellite 5 Beta. I noticed in the RPM list, some of > them appeared twice on the server I installed. I further looked at them, > the duplicates are the 32 bit versions of the same package. Do you know > what causes it? And how can I resolve this issue? Are you sure they're duplicate 32bit packages? Try this rpm command, it should tell you the arch's of the packages that are installed: $ rpm -q glibc --queryformat="%{N}-%{V}-%{R}.%{arch}\n" glibc-2.5-12.i686 glibc-2.5-12.x86_64 -- Matthew Davis, RHCE Satellite Sustaining Engineer