Bug 1826265 - 4.4 nightly builds fail to be prepared, as CVO requires semver release
Summary: 4.4 nightly builds fail to be prepared, as CVO requires semver release
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On: 1826349
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-21 10:48 UTC by Vadim Rutkovsky
Modified: 2020-04-22 13:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1826349 (view as bug list)
Environment:
Last Closed: 2020-04-22 13:16:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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