Bug 1038559

Summary: Should show some notification message about the mismatch between the gear upgrade extension version and user provided version
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ImageAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: agoldste, dmcphers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-30 00:52:07 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:

Description Meng Bo 2013-12-05 10:50:53 UTC
Description of problem:
According to this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=999189
The version mismatch between extension version and user specified version will not raise exception.

And this mismatch will not be caught if user do not check the upgrade_result for the succeeded gears.

It should give some notification in the output about the version mismatch if we won't let this to fail the gear upgrade.

I met this issue during the migration testing for sprint37, all the gears are marked as PASS during the upgrade, but actually the package rhc-node did not get upgraded successfully.

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
There is no obvious marker for the version mismatch between gear upgrade extension and user specified.

Expected results:
Should show the notification about the mismatch.

Additional info:

Comment 1 Dan McPherson 2014-01-20 18:27:34 UTC
https://github.com/openshift/origin-server/pull/4528

I've added the message to the warnings in upgrade_results.

Comment 3 Meng Bo 2014-01-21 09:32:16 UTC
Checked on devenv_4248, new warning message added to the log.

        "upgrade_complete": true, 
        "warnings": [
            "Version mismatch between supplied release version (2.0.39) and extension version (2.0.37)"
        ]

Move bug to verified.