Bug 1618797 - OSP9/10 upgrade fails with openvswitch-selinux-extra-policy is needed by openvswitch-2.9.0-54.el7fdp.x86_64
Summary: OSP9/10 upgrade fails with openvswitch-selinux-extra-policy is needed by open...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z9
: 10.0 (Newton)
Assignee: Sofer Athlan-Guyot
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-17 15:39 UTC by Sofer Athlan-Guyot
Modified: 2018-09-17 16:57 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-heat-templates-5.3.10-17.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, OpenStack special handling did not upgrade all dependent packages before installing openvswitch during an upgrade, resulting in openvswitch package upgrade failure. With this update, OpenStack special handling upgrades all dependent packages and the openvswitch upgrade is successful.
Clone Of:
Environment:
Last Closed: 2018-09-17 16:56:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2670 0 None None None 2018-09-17 16:57:16 UTC

Description Sofer Athlan-Guyot 2018-08-17 15:39:36 UTC
During OSP9/10 upgrade on the controller upgrade step, the upgrade fails when applying the ovs upgrade workaround:

ng to downloading latest openvswitch with yumdownloader
    Loaded plugins: product-id, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    --> Running transaction check
    ---> Package openvswitch.x86_64 0:2.9.0-54.el7fdp will be installed
    --> Processing Dependency: openvswitch-selinux-extra-policy for package: openvswitch-2.9.0-54.el7fdp.x86_64
    --> Running transaction check
    ---> Package openvswitch-selinux-extra-policy.noarch 0:1.0-3.el7fdp will be installed
    --> Finished Dependency Resolution
    Updating openvswitch-2.9.0-54.el7fdp.x86_64.rpm with --nopostun --notriggerun
  deploy_stderr: |
    [2018/08/17 03:09:28 PM] [INFO] Using config file at: /etc/os-net-config/config.json
    [2018/08/17 03:09:28 PM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml
    [2018/08/17 03:09:28 PM] [INFO] Ifcfg net config provider created.
    [2018/08/17 03:09:28 PM] [INFO] nic3 mapped to: eth2
    [2018/08/17 03:09:28 PM] [INFO] nic2 mapped to: eth1
    [2018/08/17 03:09:28 PM] [INFO] nic1 mapped to: eth0
    [2018/08/17 03:09:28 PM] [INFO] adding interface: eth0
    [2018/08/17 03:09:28 PM] [INFO] adding custom route for interface: eth0
    [2018/08/17 03:09:28 PM] [INFO] adding bridge: br-isolated
    [2018/08/17 03:09:28 PM] [INFO] adding interface: eth1
    [2018/08/17 03:09:28 PM] [INFO] adding vlan: vlan20
    [2018/08/17 03:09:28 PM] [INFO] adding vlan: vlan30
    [2018/08/17 03:09:28 PM] [INFO] adding vlan: vlan40
    [2018/08/17 03:09:28 PM] [INFO] adding vlan: vlan50
    [2018/08/17 03:09:28 PM] [INFO] adding bridge: br-ex
    [2018/08/17 03:09:28 PM] [INFO] adding custom route for interface: br-ex
    [2018/08/17 03:09:28 PM] [INFO] adding interface: eth2
    [2018/08/17 03:09:28 PM] [INFO] applying network configs...
    [2018/08/17 03:09:28 PM] [INFO] No changes required for interface: eth2
    [2018/08/17 03:09:28 PM] [INFO] No changes required for interface: eth1
    [2018/08/17 03:09:28 PM] [INFO] No changes required for interface: eth0
    [2018/08/17 03:09:28 PM] [INFO] No changes required for vlan interface: vlan20
    [2018/08/17 03:09:28 PM] [INFO] No changes required for vlan interface: vlan30
    [2018/08/17 03:09:28 PM] [INFO] No changes required for vlan interface: vlan40
    [2018/08/17 03:09:28 PM] [INFO] No changes required for vlan interface: vlan50
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route6-br-ex
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route-br-ex
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route6-br-isolated
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/route-br-isolated
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/ifcfg-br-ex
    [2018/08/17 03:09:28 PM] [INFO] Writing config /etc/sysconfig/network-scripts/ifcfg-br-isolated
    error: Failed dependencies:
        openvswitch-selinux-extra-policy is needed by openvswitch-2.9.0-54.el7fdp.x86_64

This is certainly related to that change: https://bugzilla.redhat.com/show_bug.cgi?id=1593815

Comment 10 Alex McLeod 2018-09-03 07:59:27 UTC
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex

Comment 14 errata-xmlrpc 2018-09-17 16:56:51 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, 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/RHBA-2018:2670


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