Bug 1717056 - warning on update of rhv-openvswitch
Summary: warning on update of rhv-openvswitch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-openvswitch
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Miguel Duarte Barroso
QA Contact: Michael Burman
URL:
Whiteboard:
: 1725018 (view as bug list)
Depends On:
Blocks: 1734346
TreeView+ depends on / blocked
 
Reported: 2019-06-04 15:46 UTC by Dominik Holler
Modified: 2020-08-04 13:23 UTC (History)
6 users (show)

Fixed In Version: rhv-openvswitch-2.11-5.el7ev
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1734346 (view as bug list)
Environment:
Last Closed: 2020-08-04 13:23:38 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
terminal log (233.03 KB, text/plain)
2019-06-04 15:46 UTC, Dominik Holler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3309 0 None None None 2020-08-04 13:23:56 UTC

Description Dominik Holler 2019-06-04 15:46:51 UTC
Created attachment 1577180 [details]
terminal log

Description of problem:
yum reports
Failed to get unit file state for ovn-northd.service: No such file or directory
/var/tmp/rpm-tmp.5P3a0a: line 5: [: =: unary operator expected
Failed to get unit file state for ovirt-provider-ovn.service: No such file or directory
/var/tmp/rpm-tmp.5P3a0a: line 5: [: =: unary operator expected


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


How reproducible:


Steps to Reproduce:
1. update rhv-openvswitch on host
2.
3.

Actual results:
warning is shown

Expected results:
no warning is shown

Additional info:
rhv-openvswitch              noarch 1:2.10-6.el7ev

Comment 1 Dominik Holler 2019-06-04 16:02:46 UTC
error message on clean install on rhvm:
Failed to get unit file state for openvswitch.service: No such file or directory
/var/tmp/rpm-tmp.ap2vYM: line 5: [: =: unary operator expected
Failed to get unit file state for ovn-northd.service: No such file or directory
/var/tmp/rpm-tmp.ap2vYM: line 5: [: =: unary operator expected
Failed to get unit file state for ovirt-provider-ovn.service: No such file or directory
/var/tmp/rpm-tmp.ap2vYM: line 5: [: =: unary operator expected
Failed to get unit file state for ovn-controller.service: No such file or directory
/var/tmp/rpm-tmp.ap2vYM: line 5: [: =: unary operator expected

Comment 2 Dominik Holler 2019-06-11 13:10:38 UTC
Let us just remove the "/var/tmp/rpm-tmp.ap2vYM: line 5: [: =: unary operator expected" and keep the "Failed to get unit file state for openvswitch.service: No such file or directory"

Comment 3 Milan Zamazal 2019-06-20 07:15:21 UTC
FWIW, I get the same messages when installing rhv-openvswitch-1:2.11-4.el8ev.

Comment 6 Dominik Holler 2019-06-21 13:07:13 UTC
(In reply to Miguel Duarte Barroso from comment #4)
> Created attachment 1582600 [details]
> double quote all the variables
> 
> Dominik, do you mind checking if this patch addresses this issue ?

Yes, looks good, thanks for the fix!
Can you push this to rhv-openvswitch/refs/rhevm-4.4-* ?

Comment 7 Dan Kenigsberg 2019-06-24 05:57:18 UTC
Ouch, a bash-bigginer's bug of mine.

Comment 8 Dominik Holler 2019-06-28 18:48:42 UTC
*** Bug 1725018 has been marked as a duplicate of this bug. ***

Comment 14 Michael Burman 2019-10-23 06:23:08 UTC
Verified with rhv-4.4.0
rhv-openvswitch-2.11-6.el8ev.noarch

Comment 17 errata-xmlrpc 2020-08-04 13:23:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHV Engine and Host Common Packages 4.4), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2020:3309


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