[Spacewalk-list] [External] : PXE install failed.

tommy sz_cuitao at 163.com
Wed Feb 3 09:05:10 UTC 2021


But I cannot found the cobbler-loaders  package:

 

[root at olms1 ~]# yum search  cobbler

Loaded plugins: rhnplugin

This system is receiving updates from Spacewalk server.

==================================================================== N/S matched: cobbler ====================================================================

cobbler-epel.noarch : Compatibility package to pull in cobbler package from EPEL/Fedora

cobbler-web.noarch : Web interface for Cobbler

cobbler2.noarch : Compatibility package to pull in cobbler from Spacewalk repo

cobbler.x86_64 : Boot server configurator

cobbler20.noarch : Boot server configurator

koan.noarch : Helper tool that performs cobbler orders on remote machines

koan20.noarch : Helper tool that performs cobbler orders on remote machines.

python2-koan20.noarch : Helper tool that performs cobbler orders on remote machines.

 

  Name and summary matches only, use "search all" for everything.

[root at olms1 ~]#

[root at olms1 ~]#

[root at olms1 ~]#

[root at olms1 ~]#

[root at olms1 ~]# yum repolist

Loaded plugins: rhnplugin

This system is receiving updates from Spacewalk server.

repo id                                                                   repo name                                                                     status

ol7_optional_latest                                                       Oracle_Linux_7_Optional_Latest                                                13,094

ol7_oracle-linux-manager210_client                                        Oracle-Linux-7-Linux-Manager210_Client                                            58

ol7_uekr6                                                                 Oracle_UEKR6                                                                     179

oracle_linux_7_addons                                                     Oracle_Linux_7_Addons                                                            296

oracle_linux_7_epel                                                       Oracle_Linux_7_EPEL                                                           23,195

oraclelinux7-x86_64                                                       Oracle_Linux_7_Latest                                                         30,596

repolist: 67,418

[root at olms1 ~]#

[root at olms1 ~]#

[root at olms1 ~]# yum install cobbler-loaders

Loaded plugins: rhnplugin

This system is receiving updates from Spacewalk server.

No package cobbler-loaders available.

Error: Nothing to do

[root at olms1 ~]#

 

From: tommy <sz_cuitao at 163.com> 
Sent: Wednesday, February 3, 2021 4:51 PM
To: 'spacewalk-list at redhat.com' <spacewalk-list at redhat.com>
Subject: RE: [Spacewalk-list] [External] : PXE install failed.

 

I runned the sync step:

 

 

[root at olms1 ~]# !1017

cobbler sync

task started: 2021-02-03_164949_sync

task started (id=Sync, time=Wed Feb  3 16:49:49 2021)

running pre-sync triggers

cleaning trees

removing: /var/www/cobbler/images/ol83-x86_64-server:1:tltd

removing: /var/lib/tftpboot/pxelinux.cfg/default

removing: /var/lib/tftpboot/grub/images

removing: /var/lib/tftpboot/grub/efidefault

removing: /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd

removing: /var/lib/tftpboot/s390x/profile_list

copying bootloaders

copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0

copying: /usr/share/syslinux/menu.c32 -> /var/lib/tftpboot/menu.c32

copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk

copying distros

copying files for distro: ol83-x86_64-server:1:tltd

running: /usr/bin/sha1sum /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz

received on stdout: 8586a05a112e7f70a597e4176383ed91669456f7  /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz

 

received on stderr:

trying cachelink /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz -> /var/lib/tftpboot/images/.link_cache/8586a05a112e7f70a597e4176383ed91669456f7 -> /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd/vmlinuz

running: /usr/bin/sha1sum /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img

received on stdout: 74ef1b913ca4f544a4e3494d82bd622eb0acdaf7  /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img

 

received on stderr:

trying cachelink /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img -> /var/lib/tftpboot/images/.link_cache/74ef1b913ca4f544a4e3494d82bd622eb0acdaf7 -> /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd/initrd.img

trying symlink /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz -> /var/www/cobbler/images/ol83-x86_64-server:1:tltd/vmlinuz

trying symlink /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img -> /var/www/cobbler/images/ol83-x86_64-server:1:tltd/initrd.img

copying images

generating PXE configuration files

cleaning link caches

running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f -links 1 -exec rm -f '{}' ';'

received on stdout:

received on stderr:

generating PXE menu structure

running post-sync triggers

running python triggers from /var/lib/cobbler/triggers/sync/post/*

running python trigger cobbler.modules.sync_post_restart_services

running shell triggers from /var/lib/cobbler/triggers/sync/post/*

running python triggers from /var/lib/cobbler/triggers/change/*

running python trigger cobbler.modules.scm_track

running shell triggers from /var/lib/cobbler/triggers/change/*

*** TASK COMPLETE ***

[root at olms1 ~]#

 

 

 

 

 

From: spacewalk-list-bounces at redhat.com <mailto:spacewalk-list-bounces at redhat.com>  <spacewalk-list-bounces at redhat.com <mailto:spacewalk-list-bounces at redhat.com> > On Behalf Of Avi Miller
Sent: Wednesday, February 3, 2021 5:08 AM
To: spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> 
Subject: Re: [Spacewalk-list] [External] : PXE install failed.

 

This is failing to find a LOT of the images. Are you sure cobbler sync ran after you setup the PXE boot? You should not need to edit any files, but you do need to make them available.

 

From: <spacewalk-list-bounces at redhat.com <mailto:spacewalk-list-bounces at redhat.com> > on behalf of tommy <sz_cuitao at 163.com <mailto:sz_cuitao at 163.com> >
Reply to: "spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> " <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> >
Date: Tuesday, 2 February 2021 at 10:18 pm
To: "spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> " <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> >
Subject: [External] : [Spacewalk-list] PXE install failed.

 

Hi, every one:

 

I configured the kickstart, but when running it faild:

 



 

 

It needs download the /image/pxeboot//LiveOS/squashfs.img , but there no this file:

 

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]# ll

total 82040

-r--r--r--. 2 root root 74491128 Nov 10 07:50 initrd.img

-r--r--r--. 1 root root      441 Nov 10 07:58 TRANS.TBL

-r-xr-xr-x. 2 root root  9516568 Nov  6 10:21 vmlinuz

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]# pwd

/var/distro-trees/OL83-x86_64-server/images/pxeboot

[root at olms1 pxeboot]#

 

 

If I must use the LiveCD to using pxe install ?

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20210203/cde5a43c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 160820 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20210203/cde5a43c/attachment.jpg>


More information about the Spacewalk-list mailing list