[provision] Remove all conflicting options from GRUB GRUB_CMDLINE_LINUX and make them configurable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Nikolay Markov |
Bug Description
Our partition manager
https:/
currently sets the following default options for GRUB:
"console=tty0 console=ttyS0,9600"
This console=ttyS0,9600 is known as conflicting with built-in kernel drivers for Matrox and nVidia graphics cards.
Customers with Matrox and nVidia graphics on-board cannot deploy OpenStack with Fuel.
I propose the following:
1. Remove "console=
2. Add the following options instead - these should be the safest scenario:
"rootdelay=90 nomodeset vga=791"
"rootdelay=90" - is workaround for hardware, which reports RAID arrays as ready after the GRUB started. Affects Dell hardware.
"nomodeset" and "vga=791" - turns off graphics mode set and sets default VGA mode explicitly.
"vga=791" is workaround for Matrox graphics cards. Looks like these cards have other default mode than VGA.
3. Make partition manager able to read GRUB options from external file. These options from file should completely overwrite the default ones.
Changed in fuel: | |
importance: | High → Medium |
Changed in fuel: | |
milestone: | 4.1.1 → 5.0 |
tags: | added: backports-4.1.1 |
Changed in fuel: | |
status: | New → Triaged |
Changed in fuel: | |
assignee: | Vladimir Kozhukalov (kozhukalov) → Nikolay Markov (nmarkov) |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
assignee: | Nikolay Markov (nmarkov) → Fuel Python Team (fuel-python) |
summary: |
- Remove all conflicting options from GRUB GRUB_CMDLINE_LINUX and make - them configurable + [provision] Remove all conflicting options from GRUB GRUB_CMDLINE_LINUX + and make them configurable |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Nikolay Markov (nmarkov) |
status: | Triaged → Fix Committed |
It was reported the following settings also work well with problematic hardware:
"-e 's/.*GRUB_ TERMINAL. */GRUB_ TERMINAL= console/ g' "
"-e 's/.*GRUB_ GFXMODE. */#GRUB_ GFXMODE= 640x480/ g' "
"-e 's/.*GRUB_ CMDLINE_ LINUX.* /"
"GRUB_ CMDLINE_ LINUX=\ "console= tty0 "
"rootdelay= 90 nomodeset nofb"
"console= ttyS0,9600\ "/g' /etc/default/grub", True)
self.late( "umount /target/proc")
self.late("sed -i "