Bug 1331190 - system/grubby's postupgrade.sh cannot access boot/grub/grub.conf
Summary: system/grubby's postupgrade.sh cannot access boot/grub/grub.conf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant-el6toel7
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Stodulka
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 00:05 UTC by Alois Mahdal
Modified: 2016-04-28 00:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-28 00:22:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Alois Mahdal 2016-04-28 00:05:15 UTC
Description of problem
======================

preupgrade.sh from xccdf_preupg_rule_system_grubby_check produces
following error:

    ./postupgrade.sh: line 42: /boot/grub/grub.conf: No such file or directory

on both ppc64 and x86_64:

    https://beaker.engineering.redhat.com/jobs/1321635


Version-Release number of selected component
============================================

preupgrade-assistant-2.1.6-3.el6
preupgrade-assistant-el6toel7-0.6.46-1.el6
preupgrade-assistant-el6toel7-data-0.20160406-1.el6
redhat-upgrade-tool-0.7.43-1.el6


How reproducible
================

Not sure, see Additional info below


Steps to Reproduce
==================

Schedule /CoreOS/preupgrade-assistant/6to7/upgrade/mysql-sanity using
upgrade ("wrap") workflow.


Actual results
==============

Rule result is "fixed", postupgrade.sh is deployed and ran during upgrade.
Error is generated.


Expected results
================

No errors.  Result may be 'notapplicabble' for some architectures.


Additional info
===============

System boots just fine and upgrade test reports pass (save for one known issue.)

For s390x, result is 'notapplicabble' already.  We're not sure if it
should be also for ppc64; if yes, another bug should be filed for that
and this one will not be relevant to ppc64.  At any rate, the module
should work correctly for x86_64.

Reproducibility is not known;  I'm almost sure I've searched recent test
logs and did not see this so it may be matter of different machine setup.
Look for kickstatt and install logs in the beaker job.

Comment 1 Alois Mahdal 2016-04-28 00:22:30 UTC
Umm, my bad, I have misread my logs:  this happens only for ppc64, where it's sort of expected (2nd paragraph in Additional Info).

x86_64 is fine.


Note You need to log in before you can comment on or make changes to this bug.