Public bug reported:
I intentionally make the title of this bug similar to #1259323. Since then, the
default cmdline for libvirt was probably changed to
<cmdline>root=/dev/vda console=tty0 console=ttyS0 console=ttyAMA0</cmdline>
I can't find when the change could have occured. It is weird that I'm getting
it on a fairly standard OpenStack Kilo installation on Ubuntu 14.04, AMD64
platform.
The default cmdline is applied because I'm launching instances in the AMI
format.
The consequence is that I do not see the output of init scripts in the console
log. Everything between the last kernel message and the login prompt is
missing. Because of that, I do not see, e.g., the generated root password of
the image. The graphical console of course works.
The kernel documentation explains it - the LAST console= statement is where
/dev/console is redirected. Kernel messages go to all of them. The login prompt
is then generated by a getty configured in /etc/inittab.
It can be fixed using image properties on image upload to glance, such as:
glance image-create ... --prop os_command_line="root=/dev/vda console=tty0
console=ttyS0"
There are also properties for setting kernel and ramdisk on the command line,
so it's not a big problem to add one more definition, but it took me a few
hours to figure it out...
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1574384
Title:
Libvirt console parameter incorrect for AMD64 KVM
Status in OpenStack Compute (nova):
New
Bug description:
I intentionally make the title of this bug similar to #1259323. Since then,
the default cmdline for libvirt was probably changed to
<cmdline>root=/dev/vda console=tty0 console=ttyS0 console=ttyAMA0</cmdline>
I can't find when the change could have occured. It is weird that I'm getting
it on a fairly standard OpenStack Kilo installation on Ubuntu 14.04, AMD64
platform.
The default cmdline is applied because I'm launching instances in the AMI
format.
The consequence is that I do not see the output of init scripts in the
console log. Everything between the last kernel message and the login prompt is
missing. Because of that, I do not see, e.g., the generated root password of
the image. The graphical console of course works.
The kernel documentation explains it - the LAST console= statement is where
/dev/console is redirected. Kernel messages go to all of them. The login prompt
is then generated by a getty configured in /etc/inittab.
It can be fixed using image properties on image upload to glance, such as:
glance image-create ... --prop os_command_line="root=/dev/vda console=tty0
console=ttyS0"
There are also properties for setting kernel and ramdisk on the command line,
so it's not a big problem to add one more definition, but it took me a few
hours to figure it out...
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1574384/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp