Bug 1421654
Summary: | hosted-engine --upgrade-appliance does not show correct the engine version | ||
---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Artyom <alukiano> |
Component: | Tools | Assignee: | Simone Tiraboschi <stirabos> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1.0.2 | CC: | bugs, didi, ylavi |
Target Milestone: | ovirt-4.1.1 | Keywords: | Triaged |
Target Release: | 2.1.0.4 | Flags: | rule-engine:
ovirt-4.1+
ylavi: exception+ |
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-04-21 09:50:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1379405 |
Description
Artyom
2017-02-13 11:29:48 UTC
> if not e_major:
> # just for compatibility
> # see: bz#1405386
> e_major = engine_api.get_product_info().get_version().major
> e_minor = engine_api.get_product_info().get_version().minor
> if e_major and e_minor: <= if the e_minor = 0, we will skip the if condition
I guess you are right, nice catch :-) Did you test?
yes after the change: if e_major is not None and e_minor is not None: all works fine: Unsupported upgrade path This procedure has been designed and tested only for upgrading the engine VM from ['3.6'] to ['4.0']. Any other usage is highly experimental and potentially dangerous: Current engine: 4.0 Selected appliance: 4.1.20170126.0-1.el7ev Do you want to abort the upgrade process? (Yes, No) [Yes]: Verified on ovirt-hosted-engine-setup-2.1.0.4-1.el7ev.noarch Unsupported upgrade path This procedure has been designed and tested only for upgrading the engine VM from ['3.6'] to ['4.0']. Any other usage is highly experimental and potentially dangerous: Current engine: 4.0 Selected appliance: 4.1.20170221.0-1.el7ev Do you want to abort the upgrade process? (Yes, No) [Yes]: |