fuel-agent installs grub2 config in invalid location on rhel7

Bug #1627794 reported by Pavel Gluschak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
Medium
Pavel Gluschak

Bug Description

Currently fuel-agent determines grub2 config location by probing /boot/grub/ and /boot/grub2/ directories existence (see [1]). But on CentOS 7 both directories exist and as soon as grub2 is used by default config file should be installed in /boot/grub2/. However, as /boot/grub/ goes first, config file is installed in invalid location and node cannot boot.

[1] https://github.com/openstack/fuel-agent/blob/master/fuel_agent/utils/grub.py#L30-L32

Tags: area-python
Pavel Gluschak (scsnow)
description: updated
Changed in fuel:
assignee: nobody → Pavel Gluschak (scsnow)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (master)

Fix proposed to branch: master
Review: https://review.openstack.org/376995

Changed in fuel:
status: New → In Progress
Pavel Gluschak (scsnow)
summary: - fuel-agent installs grub2 config in invalid location
+ fuel-agent installs grub2 config in invalid location on rhel7
Pavel Gluschak (scsnow)
description: updated
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: none → 9.2
milestone: 9.2 → 10.0
importance: Undecided → Medium
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-agent (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/376995
Reason: This repo is retired now, no further work will get merged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.