Bug 1608961
| Summary: | tear down ovirt-provider-ovn when an host is removed from ovirt-engine | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Miguel Duarte Barroso <mduarted> |
| Component: | RFEs | Assignee: | Miguel Duarte Barroso <mduarted> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.5.1 | CC: | bugs, danken, mburman |
| Target Milestone: | ovirt-4.2.6 | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2?
rule-engine: planning_ack? rule-engine: devel_ack+ mburman: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.6.1_SNAPSHOT-89.g295078e.0.scratch.master.el7ev.noarch.rpm | Doc Type: | No Doc Update |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-03 15:07:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miguel Duarte Barroso
2018-07-26 14:56:50 UTC
Miguel, the bug should be in POST until all of its patches are merged to the intended branch (4.2 in this case). It should move to ON_QA once a build is available for QE. FailedQA on 4.2.6.1_SNAPSHOT-89.g295078e.0.scratch.master.el7ev
After host is removed from engine the ovn tunnel still exist
2018-08-06 11:28:53,233 p=23997 u=ovirt | TASK [ovirt-provider-ovn-driver : Fetch ovirt-provider-ovn-driver version] *****
2018-08-06 11:28:54,722 p=23997 u=ovirt | changed: [zeus-vds1.qa.lab.tlv.redhat.com] => {
"changed": true,
"cmd": [
"rpm",
"-q",
"ovirt-provider-ovn-driver",
"--qf",
"%{VERSION}"
],
"delta": "0:00:00.081250",
"end": "2018-08-06 11:28:55.085915",
"rc": 0,
"start": "2018-08-06 11:28:55.004665"
}
STDOUT:
1.2.13
2018-08-06 11:28:54,911 p=23997 u=ovirt | TASK [ovirt-provider-ovn-driver : Unconfigure the OVN chassis] *****************
2018-08-06 11:28:54,997 p=23997 u=ovirt | skipping: [zeus-vds1.qa.lab.tlv.redhat.com] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
The updated ansible role requires ovirt-provider-ovn-driver's version to be 1.2.14 for the ovs tunnel to be removed and for the ovn related information to be removed. As seen in the comment#2, the current version is 1.2.13. The required driver version is only available for 4.2.6, not 4.2. (In reply to Miguel Duarte Barroso from comment #3) > The updated ansible role requires ovirt-provider-ovn-driver's version to be > 1.2.14 for the ovs tunnel to be removed and for the ovn related information > to be removed. > > As seen in the comment#2, the current version is 1.2.13. > > The required driver version is only available for 4.2.6, not 4.2. Hi Miguel, So i tested again on 4.2.6.1_SNAPSHOT-89.g295078e.0.scratch.master.el7ev with ovirt-provider-ovn-1.2.14-1.el7ev.noarch STDOUT: 1.2.13 2018-08-07 10:13:49,810 p=13429 u=ovirt | TASK [ovirt-provider-ovn-driver : Unconfigure the OVN chassis] ***************** 2018-08-07 10:13:49,895 p=13429 u=ovirt | skipping: [zeus-vds1.qa.lab.tlv.redhat.com] => { "changed": false, "skip_reason": "Conditional result was False" } This task is still skipped and ovn tunnels remain on the hos after removed from RHV. failingQA I have no idea why the STDOUT is 1.2.13, but i'm running ovirt-provider-ovn-1.2.14-1.el7ev.noarch There are 2 RPMs: ovirt-provider-ovn, *and* ovirt-provider-ovn-driver. The ansible task checks the driver - e.g. ovirt-provider-ovn-driver - version which, on your system, is at version 1.2.13. Ok, so now this is more clear, both ovirt-provider-ovn-driver and ovirt-provider-ovn should be 1.2.14
Verified on - 4.2.6.1_SNAPSHOT-89.g295078e.0.scratch.master.el7ev and
ovirt-provider-ovn-1.2.14-1.el7ev.noarch
ovirt-provider-ovn-driver-1.2.14-1.el7ev.noarch
vdsm-4.20.36-1.el7ev.x86_64
2018-08-07 12:01:05,664 p=20788 u=ovirt | TASK [ovirt-provider-ovn-driver : Unconfigure the OVN chassis] *****************
2018-08-07 12:01:07,841 p=20788 u=ovirt | changed: [zeus-vds1.qa.lab.tlv.redhat.com] => {
"changed": true,
"cmd": [
"vdsm-tool",
"ovn-unconfigure"
],
"delta": "0:00:01.113893",
"end": "2018-08-07 12:01:07.725614",
"rc": 0,
"start": "2018-08-07 12:01:06.611721"
}
|