New to FAI, having some issues building
Stuart Green
srg67 at bath.ac.uk
Thu Jan 23 16:23:54 CET 2025
Hello,
I've been testing FAI for a few days now and am persistently running into errors.
I'm doing all my testing in a Proxmox Environment, using VMs. This may be the root cause of why things are erroring but I'm here to check!
Initially I've been through the guides and deployed on our Debian builds, but to make things a little cleaner I have downloaded the large ISO from the website and installed that. In my environment I have the ability to reserve IP addresses on a network range with a MAC reservation, the reservation is added to the DHCP system before starting a machine on the network. For the FAI Server install I selected the install option with External DHCP. This tries to start a service which I don't believe I need. Should I have selected the internal option, or do I just disable the dhcp service on the fai server?
Because I don't control the external dhcp feature - I can't slow it down or add any options, so I believe its the Autodiscover function which I need to use.
The bootable autodiscover iso finds the server no problem and if I select the Simple install which does headless Debian it runs through without error. However if I try Ubuntu then it consistently finishes with ERROR but it does boot to a usable desktop after rebooting.
fai.log:ESC[0;1;31mFailed to disable unit, unit friendly-recovery.service does not exist.ESC[0m
fai.log:ls: cannot access '/etc/NetworkManager/system-connections': No such file or directory
fai.log:info: The home dir /var/lib/usbmux you specified can't be accessed: No such file or directory
fai.log:/usr/share/hplip/base/imagesize.py:186: SyntaxWarning: invalid escape sequence '\#'
fai.log:/usr/share/hplip/base/imagesize.py:187: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/share/hplip/base/imagesize.py:189: SyntaxWarning: invalid escape sequence '\*'
fai.log:/usr/share/hplip/fax/ledmfax.py:46: SyntaxWarning: invalid escape sequence '\d'
fai.log:warn: The home directory `/var/lib/sss' already exists. Not touching this directory.
fai.log:warn: Warning: The home directory `/var/lib/sss' does not belong to the user you are currently creating.
fai.log:invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found.
fai.log:/usr/lib/rhythmbox/plugins/alternative-toolbar/alttoolbar_plugins.py:171: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:64: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:66: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:97: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/JetlyricsParser.py:50: SyntaxWarning: invalid escape sequence '\.'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/JlyricParser.py:49: SyntaxWarning: invalid escape sequence '\.'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/TerraParser.py:39: SyntaxWarning: invalid escape sequence '\w'
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/WinampcnParser.py:87: SyntaxWarning: invalid escape sequence '\['
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:/usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\('
fai.log:start-stop-daemon: unable to stat /usr/libexec/polkitd (No such file or directory)
fai.log:Error: Could not create NMClient object: Could not connect: No such file or directory
fai.log:WARNING: NetworkManager could not reload connections ...
fai.log:Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
fai.log:/usr/lib/python3/dist-packages/aptdaemon/core.py:96: SyntaxWarning: invalid escape sequence '\-'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/core.py:99: SyntaxWarning: invalid escape sequence '\-'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/core.py:101: SyntaxWarning: invalid escape sequence '\-'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/progress.py:57: SyntaxWarning: invalid escape sequence '\['
fai.log:/usr/lib/python3/dist-packages/aptdaemon/progress.py:667: SyntaxWarning: invalid escape sequence '\s'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/progress.py:791: SyntaxWarning: invalid escape sequence '\s'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/aptworker.py:462: SyntaxWarning: invalid escape sequence '\S'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:89: SyntaxWarning: invalid escape sequence '\d'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:325: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:327: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:350: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:352: SyntaxWarning: invalid escape sequence '\/'
fai.log:/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:661: SyntaxWarning: invalid escape sequence '\+'
I've also tried building via fai-diskimage on my previous installs and persistently got
fai.log:start-stop-daemon: unable to stat /usr/libexec/polkitd (No such file or directory)
fai.log:Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
As I suggested in my opening words, is this going to be down to the environment?
I'll note though, within my existing debian 12 vm's the socket is present..
# ls -ltr /run/dbus/system_bus_socket
srw-rw-rw- 1 root root 0 Jan 19 04:32 /run/dbus/system_bus_socket
# systemctl status dbus | grep running
Active: active (running) since Sun 2025-01-19 04:32:04 GMT; 4 days ago
Cheers and Regards,
Stu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20250123/6acfcf00/attachment.html>
More information about the linux-fai
mailing list