Bug 1539776 - Role should fail after one failed host
Summary: Role should fail after one failed host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: cluster-upgrade
Version: 1.1.3
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-4.2.2
: ---
Assignee: Ondra Machacek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-29 15:17 UTC by Petr Kubica
Modified: 2018-03-29 11:00 UTC (History)
2 users (show)

Fixed In Version: ovirt-ansible-cluster-upgrade-1.1.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:00:28 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+
pkubica: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-cluster-upgrade pull 14 0 None None None 2018-02-12 14:24:26 UTC

Description Petr Kubica 2018-01-29 15:17:20 UTC
Description of problem:
If role will mark one host as failed, the role now will start with next host and it will migrate the VMs to reamining host. So there at the moment will be two host "down" instead of one (this host can timeout due to amount of migrations and the role will start upgrade of the next host)

Version-Release number of selected component (if applicable):
ovirt-ansible-cluster-upgrade-1.1.3-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch

Comment 1 Petr Kubica 2018-03-07 13:50:43 UTC
failed QA
steps:
1) have host with older repositories
2) run check for upgrade (manually from engine ui)
3) remove repositories / subscriptions on the alphabetically first host
4) run ansible cluster upgrade role
- installation of that host will fail but ansible continued to upgrade next host

version:
ovirt-ansible-cluster-upgrade-1.1.5-1.el7ev.noarch
ansible-2.5.0-0.3.rc1.el7ae.noarch

Comment 2 Petr Kubica 2018-03-20 15:26:19 UTC
verified:
ovirt-ansible-cluster-upgrade-1.1.6-1.el7ev.noarch

Comment 3 Sandro Bonazzola 2018-03-29 11:00:28 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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