Ask Your Question

Razor no serial console output during installation process

asked 2015-09-02 06:09:36 -0600

FranzCC gravatar image

updated 2015-09-02 06:09:52 -0600

Hi again,
there's a fature request from 2014.
When will the serial console feature be supported in PE 2015.2 ?
Razor simply doesn't work with serial console enabled CPEs.
Of course i enables the serial config in /etc/puppetlabs/razor-server/config.yaml


edit retag flag offensive close merge delete


Hello, since there are only 300 chars allowed as comment, how should i provide details ? Email ? Rgds. Franz

FranzCC gravatar imageFranzCC ( 2016-02-22 01:56:09 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-02 08:16:04 -0600

FranzCC gravatar image

Razor in version 2015.2 seems to be quite buggy. The kernelargs, referenced by /etc/puppetlabs/razor-server/config.yaml will not be recognized by the task erb template. I changed the file e.g /opt/puppetlabs/server/apps/razor-server/share/razor-server/tasks/ubuntu.task
and added this:
kernel <%= repo
url("/install/netboot/ubuntu-installer/amd64/linux") %> DEBIANFRONTEND=text BOOTDEBUG=2 biosdevname=0 selinux=0 elevator=cfq console=ttyS0,115200n8 console=tty0 acpienforceresources=lax inteliommu=off <%= rendertemplate("kernel_args").strip %> || goto error
Now i have at least debugging output while booting.
Nevertheless,razor should be aware of the possibility to install embedded CPEs.
BETA release ?


edit flag offensive delete link more


Which "serial config" and "kernelargs" in /etc/puppetlabs/razor-server/config.yaml are you referring to? The configuration in that file is completely separate from task code. The kernel arguments for the Ubuntu task are, as you have noted, in `kernel_args.erb` inside the ubuntu.task folder.

smcclellan gravatar imagesmcclellan ( 2015-09-02 12:26:43 -0600 )edit

Any kernel arguments need to be included/modified in the task code. The `kernel_args` in config.yaml is under `microkernel`, meaning these are only in effect for that boot process and not the installation of e.g. Ubuntu or any other OS.

smcclellan gravatar imagesmcclellan ( 2015-09-02 12:30:38 -0600 )edit

Hi, sadly preseeding and serial console output doesn't work. I spent some time to figure out, what the problem is. Debian-installer and ubuntu-installer don't load any module when changing the console output. My solution was to enable the network-console to debug the debian installer.

FranzCC gravatar imageFranzCC ( 2015-09-11 05:32:15 -0600 )edit

Hey Franz, would you be willing to elaborate a bit on your solution? If this is a pervasive issue with an installer, we can certainly get that included in the stock offering.

smcclellan gravatar imagesmcclellan ( 2016-02-21 22:05:33 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-09-02 06:09:36 -0600

Seen: 196 times

Last updated: Sep 02 '15