Bug 1826265

Summary: 4.4 nightly builds fail to be prepared, as CVO requires semver release
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: ReleaseAssignee: Luke Meyer <lmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, ccoleman, jokerman, lmohanty, sdodson, wking
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1826349 (view as bug list) Environment:
Last Closed: 2020-04-22 13:16:17 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:
Bug Depends On: 1826349    
Bug Blocks:    

Description Vadim Rutkovsky 2020-04-21 10:48:52 UTC
4.4 nightly builds cannot be prepared: https://openshift-release.svc.ci.openshift.org/releasestream/4.4.0-0.nightly/release/4.4.0-0.nightly-2020-04-21-080252

 2020/04/21 08:18:44 Importing release image latest
panic: semver: Parse(4.4-202004210601-dirty): No Major.Minor.Patch elements found
goroutine 1 [running]:
github.com/openshift/cluster-version-operator/vendor/github.com/blang/semver.MustParse(0x19fb2e1, 0x16, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/openshift/cluster-version-operator/vendor/github.com/blang/semver/semver.go:356 +0x1c1
github.com/openshift/cluster-version-operator/pkg/version.init()
	/go/src/github.com/openshift/cluster-version-operator/pkg/version/version.go:16 +0x78 

CVO requires component version to be semver, both during initial install and updates.

http://post-office.corp.redhat.com/archives/aos-team-art/2020-April/msg00109.html
https://issues.redhat.com/browse/ART-1159
https://github.com/openshift/doozer/pull/206

Comment 1 Lalatendu Mohanty 2020-04-21 14:01:42 UTC
As discussed with ART, we will fix CVO, so that OCP builds would be able to build using a custom semver string i.e. OS_GIT_VERSION instead of git describe output.

Comment 2 Clayton Coleman 2020-04-21 23:44:38 UTC
Please detail the proposed change before doing anything - this scares me :)

Comment 3 Scott Dodson 2020-04-22 13:16:17 UTC
Build side changes were reverted thus no CVO changes expected at this time.