Bug 514305 - kickstart through proxy fails with Unable to retrieve stage2.img.
Summary: kickstart through proxy fails with Unable to retrieve stage2.img.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 530
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Mike McCune
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 456999 457075
TreeView+ depends on / blocked
 
Reported: 2009-07-28 18:56 UTC by Preethi Thomas
Modified: 2009-09-10 14:39 UTC (History)
8 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 14:39:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2009-07-28 18:56:49 UTC
Description of problem:
kickstart unable to retrieve install image through proxy.
proxy was setup through commandline installer.

satellite :https://sun-x4200-01.rhts.bos.redhat.com
proxy: fjs-0-07
login : pt-org1/redhat

Version-Release number of selected component (if applicable):

Satellite-5.3.0-RHEL5-re20090724.0-i386-embedded-oracle.iso

How reproducible:


Steps to Reproduce:
1. setup proxy through command line
2. create a kickstart profile (guest should work)
3. kickstart a client through the proxy
  
Actual results:
                    +-------------+ Error +--------------+                     
                     |                                    |                     
                     | Unable to retrieve                 |                     
                     | http://fjs-0-07.rhndev.redhat.com  |                     
                     | //ty/3zYN185j/images/stage2.img.   |                     
                     |                                    |                     
                     |              +----+                |                     
                     |              | OK |                |                     
                     |              +----+                |                     
                     |                                    |                     
                     |                                    |                     
                     +------------------------------------+        


Expected results:
ks completes


Additional info:

Comment 1 Justin Sherrill 2009-07-30 16:59:43 UTC
Tried to reproduce on test1182.test.redhat.com and sun-x4200-01.rhts and both times the provisioning worked fine.  Will wait for a reproducer.

-Justin

Comment 2 Justin Sherrill 2009-07-30 21:21:00 UTC
In my tests, i was using a 5.3 proxy...

Comment 3 Preethi Thomas 2009-07-31 14:13:24 UTC
I can't seem to reproduce it anymore on 5.3 proxy. And hence closing.

Comment 4 Preethi Thomas 2009-08-11 15:19:04 UTC
Reopening as we saw this again. Rhel5u3 kickstart failed through proxy. 

Restarting tomcat fixed the issue.

Comment 5 Clifford Perry 2009-08-11 15:36:16 UTC
Leaving this on -triage. We saw a Java Out of Memory error. Restarting tomcat resolved the issue, right now we have no firm indicator as to cause. 

Cliff

Comment 6 Mike McCune 2009-08-12 20:16:37 UTC
Checked in an enhancement to our MD5Sum code that kickstart uses.  Should cut the heap requirement in half and stop the above error.

Comment 7 wes hayutin 2009-08-17 15:07:14 UTC
verified

f4e15388f36446017d4c4d3860207ffd/Server/grub-0.97-13.2.i386.rpm - NONE/- application/octet-stream
1250521579.431      1 127.0.0.1 TCP_MEM_HIT/200 36654 GET http://127.0.0.1/ty-cksm/c75a46116af5493fa9d9b5ef5f092dab/Server/anacron-2.3-45.el5.i386.rpm - NONE/- application/octet-stream
1250521579.882     12 127.0.0.1 TCP_MEM_HIT/200 78230 GET http://127.0.0.1/ty-cksm/84fe427dc275c21e2a0b0d4b3381c8dd/Server/libselinux-1.33.4-5.1.el5.i386.rpm - NONE/- application/octet-stream
1250521580.534     49 127.0.0.1 TCP_HIT/200 1082220 GET http://127.0.0.1/ty-cksm/1bb4cb7465e5b01d8c27301caf563731/Server/shadow-utils-4.0.17-14.el5.i386.rpm - NONE/- application/octet-stream

s:                                                   |         
         |                                                            |         
         |                             0%                             |         
         |                                                            |         
         |                          Packages      Bytes        Time   |         
         |   Total    :                  372       575M     0:07:07   |         
         |   Completed:                  184       286M     0:03:32   |         
         |   Remaining:                  188       289M     0:03:34   |         
         |                                                            |         
         |                            49%                             |         
         |

Comment 8 John Sefler 2009-08-21 22:27:43 UTC
I see the same problem:
                                
                                                                                
                     +-------------+ Error +--------------+                     
                     |                                    |                     
                     | Unable to retrieve                 |                     
                     | http://rlx-2-04.rhndev.redhat.com  |                     
                     | //ty/JdaOcd1u/images/stage2.img.   |                     
                     |                                    |                     
                     |              +----+                |                     
                     |              | OK |                |                     
                     |              +----+                |                     
                     |                                    |                     
                     |                                    |                     
                     +------------------------------------+                     
                                                                            
http://sun-x4200-01.rhts.bos.redhat.com on staged iso (Satellite-5.3.0-RHEL5-re20090724.0)

[root@sun-x4200-01 ~]# rpm -qa | grep spacewalk
spacewalk-setup-0.5.27-19.el5sat
spacewalk-backend-server-0.5.28-33.el5sat
spacewalk-backend-iss-export-0.5.28-33.el5sat
spacewalk-base-0.5.23-27.el5sat
spacewalk-dobby-0.5.23-25.el5sat
spacewalk-java-lib-0.5.44-38.el5sat
spacewalk-backend-tools-0.5.28-33.el5sat
spacewalk-backend-xp-0.5.28-33.el5sat
spacewalk-html-0.5.23-27.el5sat
spacewalk-moon-0.5.23-27.el5sat
spacewalk-certs-tools-0.5.5-6.el5sat
spacewalk-monitoring-selinux-0.5.7-9.el5sat
spacewalk-admin-0.5.15-1.el5sat
spacewalk-backend-0.5.28-33.el5sat
spacewalk-backend-config-files-common-0.5.28-33.el5sat
spacewalk-backend-config-files-0.5.28-33.el5sat
spacewalk-backend-iss-0.5.28-33.el5sat
spacewalk-taskomatic-0.5.44-38.el5sat
spacewalk-utils-0.5.1-8.el5sat
spacewalk-grail-0.5.23-27.el5sat
spacewalk-search-0.5.10-14.el5sat
spacewalk-config-0.5.9-15.el5sat
spacewalk-ssl-cert-check-1.7-1.el5sat
spacewalk-base-minimal-0.5.23-27.el5sat
spacewalk-backend-sql-0.5.28-33.el5sat
spacewalk-backend-xmlrpc-0.5.28-33.el5sat
spacewalk-backend-config-files-tool-0.5.28-33.el5sat
spacewalk-backend-package-push-server-0.5.28-33.el5sat
spacewalk-java-0.5.44-38.el5sat
spacewalk-pxt-0.5.23-27.el5sat
spacewalk-cypress-0.5.23-27.el5sat
spacewalk-selinux-0.5.4-10.el5sat
spacewalk-java-config-0.5.44-38.el5sat
spacewalk-backend-app-0.5.28-33.el5sat
spacewalk-backend-applet-0.5.28-33.el5sat
spacewalk-sniglets-0.5.23-27.el5sat
spacewalk-monitoring-0.5.4-4.el5sat
spacewalk-schema-0.5.20-22.el5sat
spacewalk-backend-xml-export-libs-0.5.28-33.el5sat
spacewalk-backend-upload-server-0.5.28-33.el5sat


My proxy is:
[root@rlx-2-04 ~]# uname -a
Linux rlx-2-04.rhndev.redhat.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 i686 i386 GNU/Linux
[root@rlx-2-04 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.3 (Tikanga)


cannot yet move to RELEASE_PENDING

Comment 9 John Sefler 2009-08-25 14:49:52 UTC
Verified on staged (Satellite-5.3.0-RHEL5-re20090724.0) with updates from Aug 20, 2009

Through a 5.3 Sat Proxy, I successfully kickstarted a RHEL4 client to both a RHEL5 and RHEL5 w/xen kernel.  No Error trying to retrieve the stage2.img during the provisioning.

moving to RELEASE_PENDING

Comment 10 Brandon Perkins 2009-09-10 14:39:31 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1433.html


Note You need to log in before you can comment on or make changes to this bug.