Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 03 17:09
  • Feb 03 12:39
    codecov[bot] commented #3338
  • Feb 03 12:39
    codecov[bot] commented #3333
  • Feb 03 12:39
    codecov[bot] commented #3326
  • Feb 03 12:38
    codecov[bot] commented #3335
  • Feb 03 12:38
    codecov[bot] commented #3252
  • Feb 03 12:38
    codecov[bot] commented #3313
  • Feb 03 12:38
    codecov[bot] commented #3335
  • Feb 03 12:38
    codecov[bot] commented #3252
  • Feb 03 12:38
    codecov[bot] commented #3252
  • Feb 03 12:38
    codecov[bot] commented #3252
  • Feb 03 12:38
    codecov[bot] commented #3252
  • Feb 03 12:38
    codecov[bot] commented #3315
  • Feb 03 12:22
    meaksh commented #3338
  • Feb 03 12:22
    meaksh edited #3338
  • Feb 03 12:22
    meaksh commented #3338
  • Feb 03 12:20
    meaksh edited #3338
  • Feb 03 12:20
    meaksh commented #3338
  • Feb 03 12:16
    meaksh edited #3338
  • Feb 03 12:11
    codecov[bot] commented #3338
consus
@consus:matrix.org
[m]
Okay, I'm more or less done with the first draft of tests
The tests fail because 'basic-*-rename' catch a bug in master
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
Hi all again
I faced another strange result using cobbler
I added a node on the cobbler web dashboard with the entire MAC address, but later on the generated dhcpd.conf I saw that I'm missing a 0 at the end
is this case normal?
egotthold
@egotthold:matrix.org
[m]
The Django based Webinterface is EOL. If you can reproduce this with the CLI it is a valid bug report. Otherwise you sadly need to wait until the new interface was built.
consus
@consus:matrix.org
[m]
Yeah
That's templating issue
I saw that one too
However dhcpd is fine with that AFAIR
consus
@consus:matrix.org
[m]
But we should fix this nonetheless
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
nice, thanks for your comments
in this case, I will work completely via CLI
consus
@consus:matrix.org
[m]
You can use WEB UI
Well, until 3.3 I guess
Then you have to wait for 4.0 :(
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
non worry, for me it's fine CLI
What do you think on for example define statically all the nodes of a cluster inside /etc/cobbler/dhcpd.template? Maybe it's better than leave the generation of the dhcpd.conf to cobbler?
consus
@consus:matrix.org
[m]
Depends on your case
If you don't have any dynamic configuration (like serving something other than Grub or pxelinux or ipxe) then why not
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
hi all, I'm back, I've running cobbler for the last days testing some of their features, and for the moment is working well
One point is that I'm trying to enable serial console on grub over nodes
but I cannot found any field to enable it
Should I configure it on kernel_parameters? my doubts is because searching on /var/lib/cobbler/grub_config/grub/grub.cfg
I found this:
# Serial console
#-------------------------------------------------------------------------------
if [ $serial_console == true -a "$grub_platform" != "efi" ]; then
  # Do not fiddle with console on EFI, this should already be set
  serial --speed=$serial_baud --unit=$serial_line --word=8 --parity=no --stop=1
  terminal_input --append serial
  terminal_output --append serial
  if [ $serial_console == true ]; then
    # This is used in sourced submenus later
    set k_console="console=ttyS${serial_line},${serial_baud}"
  fi

else
  terminal_input console
  terminal_output console
fi
but not sure how to pass the parameter $serial_console
thanks in advance if somebody could give me one tip again!
consus
@consus:matrix.org
[m]
Hmmm
I bet it's autoinstall parameter
I'll check that out
Ah, no
You should fix the template and change serial_confole to true
wait, no
        # store variables for templating
        if system:
            if system.serial_device or system.serial_baud_rate:
                if system.serial_device:
                    serial_device = system.serial_device
                else:
                    serial_device = 0
                if system.serial_baud_rate:
                    serial_baud_rate = system.serial_baud_rate.value
                else:
                    serial_baud_rate = 115200

                if format == "pxe":
                    buffer += "serial %d %d\n" % (serial_device, serial_baud_rate)
                elif format == "grub":
                    buffer += "set serial_console=true\nset serial_baud={baud}\nset serial_line={device}\n" \
                        .format(baud=serial_baud_rate, device=serial_device)
cobbler system edit --name foobar --serial-device 0
Something like this
Or
cobbler system edit --name foobar --serial-baud-rate 115200
consus
@consus:matrix.org
[m]
baud rate shall be used according to your hardware of course
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
I see
thanks again consus
consus
@consus:matrix.org
[m]
My pleasure
consus
@consus:matrix.org
[m]
Aaand we have a bug
serial_baud_rate is 0 if not set
egotthold
@egotthold:matrix.org
[m]
consus let's put it in an issue. I know how to fix it.