Bug 1396547 - Async upgrade of embedded etcd in 3.3 fails due to yum error
Summary: Async upgrade of embedded etcd in 3.3 fails due to yum error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.3.1
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On: 1382634
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-18 15:36 UTC by Scott Dodson
Modified: 2019-12-16 07:24 UTC (History)
10 users (show)

Fixed In Version: openshift-ansible-3.3.53-1.git.0.cc82eb2.el7
Doc Type: Bug Fix
Doc Text:
Previously, upgrades performed on OCP 3.3 environments utilizing embedded etcd may have failed due to a yum transaction error which prevented backups from being created properly. The yum transaction has been corrected ensuring that etcdctl is upgraded to version 3.0 prior to performing the backup.
Clone Of: 1382634
Environment:
Last Closed: 2016-11-22 19:33:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2814 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix update 2016-11-23 00:23:29 UTC

Comment 1 Scott Dodson 2016-11-18 19:43:50 UTC
Fixed via https://github.com/openshift/openshift-ansible/pull/2828

Comment 4 Anping Li 2016-11-21 09:49:36 UTC
The upgrade doesn't install etcd3 now. the upgrade completed without error.

Comment 5 Christian Hernandez 2016-11-21 20:36:22 UTC
Still getting an error

```

TASK [Install etcd3 (for etcdctl)] *********************************************
fatal: [ose3-master.example.com]: FAILED! => {
    "changed": true, 
    "failed": true, 
    "rc": 1, 
    "results": [
        "Loaded plugins: product-id, search-disabled-repos, subscription-manager,\n              : versionlock\nResolving Dependencies\n--> Running transaction check\n---> Package etcd3.x86_64 0:3.0.3-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package    Arch        Version            Repository                      Size\n================================================================================\nInstalling:\n etcd3      x86_64      3.0.3-1.el7        rhel-7-server-extras-rpms      9.4 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 9.4 M\nInstalled size: 45 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\n"
    ]
}

MSG:



Transaction check error:
  file /usr/bin/etcd from install of etcd3-3.0.3-1.el7.x86_64 conflicts with file from package etcd-2.3.7-4.el7.x86_64
  file /etc/etcd/etcd.conf from install of etcd3-3.0.3-1.el7.x86_64 conflicts with file from package etcd-2.3.7-4.el7.x86_64
  file /usr/bin/etcdctl from install of etcd3-3.0.3-1.el7.x86_64 conflicts with file from package etcd-2.3.7-4.el7.x86_64

[root@ose3-master ~]# rpm -qa atomic-openshift-utils
atomic-openshift-utils-3.3.50-1.git.0.5bdbeaa.el7.noarch

```

Comment 6 Scott Dodson 2016-11-21 21:19:15 UTC
It's only fixed in openshift-ansible-3.3.53-1.git.0.cc82eb2.el7 and newer.

Comment 8 errata-xmlrpc 2016-11-22 19:33:39 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-2016:2814


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