Bug 1378853

Summary: instack-virt-setup fails on grub2-tools dependency issue
Product: Red Hat OpenStack Reporter: Jiri Stransky <jstransk>
Component: diskimage-builderAssignee: Jiri Stransky <jstransk>
Status: CLOSED ERRATA QA Contact: Sergii Nozhka <snozhka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: dtantsur, hguemar, jcoufal, jjoyce, jschluet, jstransk, mburns, rbartal, rhel-osp-director-maint, tvignaud
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: diskimage-builder-1.21.0-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:04:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Verification output of the "instack-virt-setup" command none

Description Jiri Stransky 2016-09-23 11:24:32 UTC
Description of problem:

instack-virt-setup fails with

+ install_grub2
+ '[' -f /tmp/grub/install ']'
+ source /tmp/grub/install
++ rpm -i /tmp/grub/grub2-2.02-0.41.el7.x86_64.rpm
warning: /tmp/grub/grub2-2.02-0.41.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
error: Failed dependencies:
        grub2-tools = 1:2.02-0.41.el7 is needed by grub2-1:2.02-0.41.el7.x86_64


# rpm -q diskimage-builder
diskimage-builder-1.18.2-0.20160802165621.e884309.el7ost.noarch

Comment 1 Dmitry Tantsur 2016-10-17 08:34:25 UTC
Hi Jiri! The patch has merged upstream, could you please backport it or ask for DIB rebase?

Comment 3 Jiri Stransky 2016-10-17 15:25:05 UTC
In the meantime, to have a workaround at least for development purposes, here's a twoliner one can run before instack-virt-setup and before building overcloud images:

https://paste.fedoraproject.org/453957/14767178/raw/

Comment 8 Jiri Stransky 2016-10-18 09:47:36 UTC
Discussed it with Haikel, RDO builds from upstream releases rather than using DLRN promote at this point, we agreed to make an RDO packaging backport, i posted the patch here: https://review.rdoproject.org/r/#/c/3360/

Comment 11 Sergii Nozhka 2016-11-03 11:19:27 UTC
Created attachment 1216932 [details]
Verification output of the "instack-virt-setup" command

Comment 12 Sergii Nozhka 2016-11-03 11:21:35 UTC
The issue not reproduced with diskimage-builder-1.21.0-4.el7ost.noarch,
instack-virt-setup command executed successfully, please refer attachment 1216932 [details] for details.

Comment 15 errata-xmlrpc 2016-12-14 16:04:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html