Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1431265

Summary: Presence of milestone line in openstack-nova.spec confuses 'rdopkg patch'
Product: Red Hat OpenStack Reporter: Artom Lifshitz <alifshit>
Component: openstack-novaAssignee: Artom Lifshitz <alifshit>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: berrange, dasmith, eglynn, jhakimra, kchamart, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-2014.2.3-77.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 15:43:49 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:
Embargoed:

Description Artom Lifshitz 2017-03-10 19:38:23 UTC
Description of problem:

openstack-nova.spec contains milestone line. This breaks 'rdopkg patch', which has recently been modified to work with upstream changes with respect to milestones. No other rhos dist-git branch contains a milestone line in openstack-nova.spec. Its presence causes rdopkg to become confused and use the wrong version when looking for new patches.

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1. run 'rdopkg patch'
2. 
3.

Actual results:

It fails with:

artom@snow:~/src/rhos/openstack-nova$ rdopkg patch
## get_package_env
RHOS package detected.
## ensure_patches_branch
## get_patches_branch
git update-ref refs/heads/rhos-6.0-rhel-patches refs/remotes/rhos/rhos-6.0-rhel-patches
## check_new_patches
command failed: git log --format=%h%x1f%s%x1f%b%x1e 2014.2.3rc2..rhos/rhos-6.0-rhel-patches
stderr:
fatal: ambiguous argument '2014.2.3rc2..rhos/rhos-6.0-rhel-patches': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

No new patches detected in rhos/rhos-6.0-rhel-patches.

Do you want to continue anyway? [Ny]

Expected results:

rdopatch succeeds and adds a new commit.

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2017-03-10 19:46:08 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 4 errata-xmlrpc 2017-06-14 15:43:49 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://access.redhat.com/errata/RHBA-2017:1449