Bug 1396547
| Summary: | Async upgrade of embedded etcd in 3.3 fails due to yum error | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Scott Dodson <sdodson> |
| Component: | Cluster Version Operator | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.1 | CC: | anli, aos-bugs, aquiroga, chernand, jkaur, jokerman, jwesterl, mmccomas, nschuetz, tobias.genannt |
| Target Milestone: | --- | ||
| Target Release: | 3.3.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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.
|
Story Points: | --- |
| Clone Of: | 1382634 | Environment: | |
| Last Closed: | 2016-11-22 19:33:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1382634 | ||
| Bug Blocks: | |||
|
Comment 1
Scott Dodson
2016-11-18 19:43:50 UTC
The upgrade doesn't install etcd3 now. the upgrade completed without error. 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
```
It's only fixed in openshift-ansible-3.3.53-1.git.0.cc82eb2.el7 and newer. 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 |