The satellite-installer command fails with error "Cannot create <some tftp directory> does not exist" in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • The execution of satellite-installer fails on the Red Hat Satellite server with the following error:

    # satellite-installer 
    2023-12-07 18:28:19 [NOTICE] [root] Loading installer configuration. This will take some time.
    2023-12-07 18:28:25 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
    2023-12-07 18:28:25 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
    Package versions are locked. Continuing with unlock.
    2023-12-07 18:28:32 [NOTICE] [configure] Starting system configuration.
    2023-12-07 18:28:50 [NOTICE] [configure] 250 configuration steps out of 2149 steps complete.
    2023-12-07 18:28:59 [NOTICE] [configure] 500 configuration steps out of 2149 steps complete.
    2023-12-07 18:29:03 [NOTICE] [configure] 750 configuration steps out of 2153 steps complete.
    2023-12-07 18:29:04 [NOTICE] [configure] 1000 configuration steps out of 2162 steps complete.
    2023-12-07 18:29:05 [NOTICE] [configure] 1250 configuration steps out of 2166 steps complete.
    2023-12-07 18:29:45 [NOTICE] [configure] 1500 configuration steps out of 2166 steps complete.
    2023-12-07 18:29:45 [ERROR ] [configure] Cannot create 
    /var/lib/tftpboot/pxelinux.cfg,/var/lib/tftpboot/grub,/var/lib/tftpboot/grub2,/var/lib/tftpboot/boot,/var/lib/tftpboot/ztp.cfg,/var/lib/tftpboot/poap.cfg; parent directory 
    /var/lib/tftpboot/pxelinux.cfg,/var/lib/tftpboot/grub,/var/lib/tftpboot/grub2,/var/lib/tftpboot/boot,/var/lib/tftpboot/ztp.cfg,/var/lib/tftpboot does not exist
    2023-12-07 18:29:45 [ERROR ] [configure] 
    /Stage[main]/Foreman_proxy::Tftp/File[/var/lib/tftpboot/pxelinux.cfg,/var/lib/tftpboot/grub,/var/lib/tftpboot/grub2,/var/lib/tftpboot/boot,/var/lib/tftpboot/ztp.cfg,/var/lib/tftpboot/poap.cfg]/ensure: change from 'absent' to 'directory' failed: Cannot create 
    /var/lib/tftpboot/pxelinux.cfg,/var/lib/tftpboot/grub,/var/lib/tftpboot/grub2,/var/lib/tftpboot/boot,/var/lib/tftpboot/ztp.cfg,/var/lib/tftpboot/poap.cfg; parent directory 
    /var/lib/tftpboot/pxelinux.cfg,/var/lib/tftpboot/grub,/var/lib/tftpboot/grub2,/var/lib/tftpboot/boot,/var/lib/tftpboot/ztp.cfg,/var/lib/tftpboot does not exist
    2023-12-07 18:29:45 [NOTICE] [configure] 1750 configuration steps out of 2166 steps complete.
    2023-12-07 18:29:46 [NOTICE] [configure] 2000 configuration steps out of 2166 steps complete.
    2023-12-07 18:30:04 [NOTICE] [configure] System configuration has finished.
    
    There were errors detected during install.
    Please address the errors and re-run the installer to ensure the system is properly configured.
    Failing to do so is likely to result in broken functionality.
    
    The full log is at /var/log/foreman-installer/satellite.log
    Package versions are being locked.
    

Environment

Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content