← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1574384] Re: Libvirt console parameter incorrect for AMD64 KVM

 

Nova doesn't set the cmdline if it is not defined in the image
properties. Your installed libvirt version uses then a default for that
platform and it sounds like an issue in libvirt itself. You can double-
check in the logs of nova-compute, there should be the generated
"libvirt.xml" *without* any cmdline. I'm closing this bug report.

-besides of that-

Kilo is only supported for security fixes and this issue doesn't sound
like one.


** Changed in: nova
       Status: New => Invalid

-- 
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):
  Invalid

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


References