Bug 637696 - provisioning or RHEL6 system seems to be stuck
Summary: provisioning or RHEL6 system seems to be stuck
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 540
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2010-09-27 07:10 UTC by Jan Hutař
Modified: 2010-10-28 14:53 UTC (History)
5 users (show)

Fixed In Version: spacewalk-java-1.2.39-23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:53:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2010-09-27 07:10:35 UTC
Description of problem:
I have synced RHEL6 to Galactica and tried to reprovision RHEL5 system to RHEL6. Provisioning seems to be stuck.


Version-Release number of selected component (if applicable):
Galactica Satellite-5.4.0-RHEL5-re20100921.0-x86_64-embedded-oracle.iso


How reproducible:
1 of 1


Steps to Reproduce:
1. Sync RHEL6 channel from Errata.stage and RHEL6 RHN Tools channel from WebDev
2. Create RHEL6 kickstart, all defaults just:
     Kickstart Details -> Advanced Options -> vnc: ON
     System Details -> Troubleshooting -> Extra Kernel Parameters (for
auto-kickstart only): "console=ttyS0,9600n8 acpi=noirq"
3. Register RHEL5 (channels synced from WebDev, packages were not signed, not
sure why) system and try to provision it.


Actual results:
After this screen on console redirection there is no move:

>   Booting 'kick1285569683'
> 
> root (hd0,0)
>  Filesystem type is ext2fs, partition type 0x83
> kernel /vmlinuz ro root=/dev/myvg/rootvol console=ttyS0,9600n8 ks=http://ne
> c-em6.rhts.eng.bos.redhat.com/cblr/svc/op/ks/system/
> fjs-0-17.rhndev.redhat.com:1 ksdevice=link kssendmac lang= text 
>    [Linux-bzImage, setup=0x3400, size=0x37bf80]
> initrd /initrd.img
>    [Linux-initrd @ 0x364ae000, 0x1b416d9 bytes]


Expected results:
Provisioning should work as expected

Comment 1 Jan Hutař 2010-09-27 12:50:42 UTC
mbanas have discovered, that my stuck provisioning attempt was caused by this piece of code:

# Loop until the RHN rpm is installed
if [ "$rhn_keys_found" = "yes" ]; then
    while : ; do
        sleep 10
        if [ -d /mnt/sysimage/root ] ; then
            cp -af /tmp/rhn/* /mnt/sysimage/root/systemid.old
            break
        fi
    done &
fi

When I ran `mkdir -p /mnt/sysimage/root` installation continued.

Regards,
Jan

Comment 2 Clifford Perry 2010-09-27 13:13:42 UTC
I suspect this same code was causing my test provision of RHEL 5 i386 Server to  rlx-3-10 to hang yeesterday evening as well. From logs it never got out of %pre. 

Cliff

Comment 3 Justin Sherrill 2010-09-27 21:42:41 UTC
This should be fixed as of:

spacewalk:  d3e9593c5a070f48de07f3cd1a2cf9b2fd7dca4d

satellite: 4fea101541e8e286bc39d3120a172cb4bd5e6a25

Comment 4 Justin Sherrill 2010-09-27 21:43:50 UTC
Note:  re-provisioning of RHEL 6 is still broken due to bz 637905

Comment 8 Jiri Kastner 2010-10-22 15:16:29 UTC
same procedure like previous comment.

provisioning of RHEL6 is wroking, except provisioning rhel6 from rhel5 on ppc (bug 645756) and incorect ifcfg-eth0 on s390x causing non-working network after reboot (522251). both platforms must be provisioned without file preservation.

Comment 9 Clifford Perry 2010-10-28 14:48:16 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


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