Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1527007 - After upgrade to 6.3 TFTP files are not created under /var/lib/tftpboot/pxelinux.cfg/ with libvirt hv
Summary: After upgrade to 6.3 TFTP files are not created under /var/lib/tftpboot/pxeli...
Keywords:
Status: CLOSED DUPLICATE of bug 1523059
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.3.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-18 10:36 UTC by Michal Dekan
Modified: 2019-04-01 20:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-17 12:00:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
TFTP: false on internal capsule, tab services (51.38 KB, image/png)
2017-12-18 11:42 UTC, Michal Dekan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1535437 0 low CLOSED Capsule details shows 'TFTP server: false' in services tab, when tftp_servername is not configured 2023-09-07 14:17:50 UTC

Internal Links: 1535437

Description Michal Dekan 2017-12-18 10:36:58 UTC
Description of problem:

TFTP on Satellite 6.3 public beta is not generating TFTP files under  /var/lib/tftpboot/pxelinux.cfg/ when trying to provision VM guest on libvirt hv.

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

[root@provisioning ~]# rpm -qa | egrep "satellite|*tftp*"
satellite-cli-6.3.0-21.0.beta.el7sat.noarch
satellite-common-6.3.0-21.0.beta.el7sat.noarch
tftp-server-5.2-13.el7.x86_64
tfm-rubygem-foreman_theme_satellite-1.0.4.11-1.el7sat.noarch
foreman-bootloaders-redhat-tftpboot-201707171807-1.el7sat.noarch
satellite-6.3.0-21.0.beta.el7sat.noarch
satellite-installer-6.3.0.9-1.beta.el7sat.noarch
satellite-capsule-6.3.0-21.0.beta.el7sat.noarch


==> /var/log/messages <==
Dec 18 10:45:54 provisioning dhcpd: Dynamic and static leases present for 192.168.111.119.
Dec 18 10:45:54 provisioning dhcpd: Remove host declaration mdekan-vst-ftp.sysmgmt.lan or remove 192.168.111.119
Dec 18 10:45:54 provisioning dhcpd: from the dynamic address pool for 192.168.111.0/24
Dec 18 10:45:54 provisioning dhcpd: DHCPREQUEST for 192.168.111.119 (192.168.111.1) from 52:54:00:65:4a:7f via ens8
Dec 18 10:45:54 provisioning dhcpd: DHCPACK on 192.168.111.119 to 52:54:00:65:4a:7f via ens8
Dec 18 10:45:54 provisioning in.tftpd[3405]: RRQ from 192.168.111.119 filename pxelinux.0
Dec 18 10:45:54 provisioning in.tftpd[3405]: Client 192.168.111.119 finished pxelinux.0
Dec 18 10:45:54 provisioning in.tftpd[3406]: RRQ from 192.168.111.119 filename pxelinux.cfg/a5b70b51-63db-2d42-9544-d8984ba1213e
Dec 18 10:45:54 provisioning in.tftpd[3406]: Client 192.168.111.119 File not found pxelinux.cfg/a5b70b51-63db-2d42-9544-d8984ba1213e
Dec 18 10:45:54 provisioning in.tftpd[3407]: RRQ from 192.168.111.119 filename pxelinux.cfg/01-52-54-00-65-4a-7f
Dec 18 10:45:54 provisioning in.tftpd[3407]: Client 192.168.111.119 File not found pxelinux.cfg/01-52-54-00-65-4a-7f
Dec 18 10:45:54 provisioning in.tftpd[3408]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A86F77
Dec 18 10:45:54 provisioning in.tftpd[3408]: Client 192.168.111.119 File not found pxelinux.cfg/C0A86F77
Dec 18 10:45:54 provisioning in.tftpd[3409]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A86F7
Dec 18 10:45:54 provisioning in.tftpd[3409]: Client 192.168.111.119 File not found pxelinux.cfg/C0A86F7
Dec 18 10:45:54 provisioning in.tftpd[3410]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A86F
Dec 18 10:45:54 provisioning in.tftpd[3410]: Client 192.168.111.119 File not found pxelinux.cfg/C0A86F
Dec 18 10:45:54 provisioning in.tftpd[3411]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A86
Dec 18 10:45:54 provisioning in.tftpd[3411]: Client 192.168.111.119 File not found pxelinux.cfg/C0A86
Dec 18 10:45:54 provisioning in.tftpd[3412]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A8
Dec 18 10:45:54 provisioning in.tftpd[3412]: Client 192.168.111.119 File not found pxelinux.cfg/C0A8
Dec 18 10:45:54 provisioning in.tftpd[3413]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0A
Dec 18 10:45:54 provisioning in.tftpd[3413]: Client 192.168.111.119 File not found pxelinux.cfg/C0A
Dec 18 10:45:54 provisioning in.tftpd[3414]: RRQ from 192.168.111.119 filename pxelinux.cfg/C0
Dec 18 10:45:54 provisioning in.tftpd[3414]: Client 192.168.111.119 File not found pxelinux.cfg/C0
Dec 18 10:45:54 provisioning in.tftpd[3415]: RRQ from 192.168.111.119 filename pxelinux.cfg/C
Dec 18 10:45:54 provisioning in.tftpd[3415]: Client 192.168.111.119 File not found pxelinux.cfg/C
Dec 18 10:45:54 provisioning in.tftpd[3416]: RRQ from 192.168.111.119 filename pxelinux.cfg/default
Dec 18 10:45:54 provisioning in.tftpd[3416]: Client 192.168.111.119 finished pxelinux.cfg/default
Dec 18 10:45:54 provisioning in.tftpd[3417]: RRQ from 192.168.111.119 filename menu
Dec 18 10:45:54 provisioning in.tftpd[3417]: Client 192.168.111.119 File not found menu
Dec 18 10:45:54 provisioning in.tftpd[3418]: RRQ from 192.168.111.119 filename menu.cbt
Dec 18 10:45:54 provisioning in.tftpd[3418]: Client 192.168.111.119 File not found menu.cbt
Dec 18 10:45:54 provisioning in.tftpd[3419]: RRQ from 192.168.111.119 filename menu.0
Dec 18 10:45:54 provisioning in.tftpd[3419]: Client 192.168.111.119 File not found menu.0
Dec 18 10:45:54 provisioning in.tftpd[3420]: RRQ from 192.168.111.119 filename menu.com
Dec 18 10:45:54 provisioning in.tftpd[3420]: Client 192.168.111.119 File not found menu.com
Dec 18 10:45:54 provisioning in.tftpd[3421]: RRQ from 192.168.111.119 filename menu.c32
Dec 18 10:45:54 provisioning in.tftpd[3421]: Client 192.168.111.119 finished menu.c32
Dec 18 10:45:54 provisioning in.tftpd[3422]: RRQ from 192.168.111.119 filename pxelinux.cfg/default
Dec 18 10:45:54 provisioning in.tftpd[3422]: Client 192.168.111.119 finished pxelinux.cfg/default

[root@provisioning ~]# ll /var/lib/tftpboot/pxelinux.cfg/
total 8
-rw-r--r--. 1 foreman-proxy foreman-proxy 164 Dec 14 11:32 01-52-54-00-db-f0-17
-rw-r--r--. 1 foreman-proxy foreman-proxy 523 Oct 28  2016 default
[root@provisioning ~]# 


How reproducible:

100%


Steps to Reproduce:
1. Upgrade 6.2.12 wit set and working libvirt compute resource to 6.3 public beta from cdn repositories
2. Try to provision the VM guest on libvirt with upgraded sat 6.3
3.

Actual results:

VM guest is unable to boot from PXE due to missing files in /var/lib/tftpboot/

Expected results:

Previously working provisioning should work after upgrade.

Additional info

:tftp_servername: undef in /etc/foreman-proxy/settings.d/tftp.yml tried to fix it with

]# satellite-installer --scenario satellite --foreman-proxy-tftp true --foreman-proxy-tftp-servername 192.168.111.1

It did update the config file with ip but still files are not generated on tftp.

Comment 2 Michal Dekan 2017-12-18 11:42:59 UTC
Created attachment 1369384 [details]
TFTP: false on internal capsule, tab services

Internal capsule (provisioning.sysmgmt.lan) used for provisioning and hosting tftp server reports "tftp: false" in webui, see attachment.

Comment 4 Lukas Zapletal 2017-12-18 14:17:17 UTC
This is actually installer/upgrade issue, no TFTP regression in the code itself. I can't tell if the customer turned off TFTP by mistake during their installer runs or this actually regressed somewhere in kafo/installer. I will let installer team to investigate and tell.

Comment 7 Ivan Necas 2018-01-17 12:00:20 UTC
It turned out the issue with tftp files was not cause by the configuration of tftp, but rather an issue with selected PXE loader. Closing as a duplicate of #1523059

I've created a separate issue for the TFTP server false https://bugzilla.redhat.com/show_bug.cgi?id=1535437, but this is not related to upgrades (has been there in 6.2 as well) and should not have any effect on the provisioning itself: it's just an issue with properly displaying the data.

*** This bug has been marked as a duplicate of bug 1523059 ***


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