Bug 1566778
Summary: | RHEL-7.5 (OSP10) : python-tripleoclient installation failed | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | shaju <shajuvk> | ||||||||||
Component: | python-tripleoclient | Assignee: | Julie Pichon <jpichon> | ||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Gurenko Alex <agurenko> | ||||||||||
Severity: | urgent | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 10.0 (Newton) | CC: | hbrock, jpichon, jslagle, mburns, rhel-osp-director-maint, shajuvk | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2018-04-16 07:32:29 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: | |||||||||||||
Attachments: |
|
Description
shaju
2018-04-13 00:53:55 UTC
[stack@undercloud ~]$ sudo subscription-manager repos --enable=rhel-7-server-extras-rpms Repository 'rhel-7-server-extras-rpms' is enabled for this system. [stack@undercloud ~]$ sudo yum install libselinux-ruby Loaded plugins: product-id, search-disabled-repos, subscription-manager rhel-7-server-extras-rpms | 3.4 kB 00:00:00 rhel-7-server-nfv-rpms | 4.0 kB 00:00:00 rhel-7-server-openstack-10-devtools-rpms | 4.0 kB 00:00:00 rhel-7-server-openstack-10-rpms | 4.0 kB 00:00:00 rhel-7-server-rh-common-rpms | 3.8 kB 00:00:00 rhel-7-server-rpms | 3.5 kB 00:00:00 rhel-ha-for-rhel-7-server-rpms | 3.4 kB 00:00:00 (1/3): rhel-7-server-extras-rpms/x86_64/group | 104 B 00:00:00 (2/3): rhel-7-server-extras-rpms/x86_64/updateinfo | 255 kB 00:00:00 (3/3): rhel-7-server-extras-rpms/x86_64/primary_db | 379 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package libselinux-ruby.x86_64 0:2.5-11.el7 will be installed --> Processing Dependency: libselinux(x86-64) = 2.5-11.el7 for package: libselinux-ruby-2.5-11.el7.x86_64 --> Finished Dependency Resolution Error: Package: libselinux-ruby-2.5-11.el7.x86_64 (rhel-7-server-rpms) Requires: libselinux(x86-64) = 2.5-11.el7 Installed: libselinux-2.5-12.el7.x86_64 (installed) libselinux(x86-64) = 2.5-12.el7 Available: libselinux-2.2.2-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.2.2-6.el7 Available: libselinux-2.5-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-6.el7 Available: libselinux-2.5-11.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-11.el7 ********************************************************************** yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf ********************************************************************** Error: Package: libselinux-ruby-2.5-11.el7.x86_64 (rhel-7-server-rpms) Requires: libselinux(x86-64) = 2.5-11.el7 Installed: libselinux-2.5-12.el7.x86_64 (installed) libselinux(x86-64) = 2.5-12.el7 Available: libselinux-2.2.2-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.2.2-6.el7 Available: libselinux-2.5-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-6.el7 Available: libselinux-2.5-11.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-11.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [stack@undercloud ~]$ [stack@undercloud ~]$ yum whatprovides libselinux-ruby Loaded plugins: product-id, search-disabled-repos, subscription-manager Repo rhel-7-server-openstack-10-devtools-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-rh-common-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-ha-for-rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-openstack-10-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-nfv-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem libselinux-ruby-2.2.2-6.el7.x86_64 : SELinux ruby bindings for libselinux Repo : rhel-7-server-rh-common-rpms libselinux-ruby-2.2.2-6.el7.x86_64 : SELinux ruby bindings for libselinux Repo : rhel-7-server-rpms libselinux-ruby-2.5-6.el7.x86_64 : SELinux ruby bindings for libselinux Repo : rhel-7-server-rpms libselinux-ruby-2.5-11.el7.x86_64 : SELinux ruby bindings for libselinux Repo : rhel-7-server-rpms Created attachment 1421115 [details]
python-tripleoclient installation log
one of the dependency error: 7.5 comes with libselinux-2.5-12 but OSP10 repo expecting version 2.5-11.el7 === Requires: libselinux(x86-64) = 2.5-11.el7 Installed: libselinux-2.5-12.el7.x86_64 (installed) I have tried this with enabling rhel-7-server-extras-rpms as well as after disabling rhel-7-server-extras-rpms repo. but no chenage. OSP10 + RHEL7.5 has many dependency issue Undercloud installation in 7.4 also failed with 7.4, after seeing the comment on bug: https://bugzilla.redhat.com/show_bug.cgi?id=1566734 I have created a 7.5 undercloud but it failed before installing undercloud. [stack@undercloud ~]$ yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager Repo rhel-7-server-extras-rpms forced skip_if_unavailable=True due /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-openstack-10-devtools-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-rh-common-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-ha-for-rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-openstack-10-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem Repo rhel-7-server-nfv-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6719554955912298400-key.pem repo id repo name status rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 814 rhel-7-server-nfv-rpms/x86_64 Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 Server) (RPMs) 268 rhel-7-server-openstack-10-devtools-rpms/x86_64 Red Hat OpenStack Platform 10 Developer Tools for RHEL 7 (RPMs) 10 rhel-7-server-openstack-10-rpms/x86_64 Red Hat OpenStack Platform 10 for RHEL 7 (RPMs) 1,903 rhel-7-server-rh-common-rpms/x86_64 Red Hat Enterprise Linux 7 Server - RH Common (RPMs) 231 rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 18,263 rhel-ha-for-rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 417 repolist: 21,906 Are you using the same system than in the other bug? It looks like some mix of 7.4 and 7.5 packages. All the selinux packages should be -12 and they come from the RHEL repositories, not OSP. Before anything else, can you run "sudo yum clean all" and try again? If that doesn't work you probably should see if you're using a tool like yum versionlock or if there might be an issue with the satellite configuration. I couldn't reproduce locally on a new system: libselinux-ruby-2.5-12.el7.x86_64 : SELinux ruby bindings for libselinux Repo : rhel-7-server-rpms libselinux-2.5-12.el7.x86_64 : SELinux library and simple utilities Repo : rhel-7-server-rpms This is a new deployment, and I am using subscription-manager (not satellite). Please find the attachments sos report, rpms list from undercloud , tripleoclient installation failure logs after clearing cache as per comment #6 [stack@undercloud ~]$ sudo yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 814 rhel-7-server-nfv-rpms/x86_64 Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 Server) (RPMs) 268 rhel-7-server-openstack-10-devtools-rpms/x86_64 Red Hat OpenStack Platform 10 Developer Tools for RHEL 7 (RPMs) 10 rhel-7-server-openstack-10-rpms/x86_64 Red Hat OpenStack Platform 10 for RHEL 7 (RPMs) 1,903 rhel-7-server-rh-common-rpms/x86_64 Red Hat Enterprise Linux 7 Server - RH Common (RPMs) 231 rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 18,263 rhel-ha-for-rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 417 repolist: 21,906 [stack@undercloud ~]$ [stack@undercloud ~]$ sudo yum clean all Loaded plugins: product-id, search-disabled-repos, subscription-manager Cleaning repos: rhel-7-server-extras-rpms rhel-7-server-nfv-rpms rhel-7-server-openstack-10-devtools-rpms rhel-7-server-openstack-10-rpms : rhel-7-server-rh-common-rpms rhel-7-server-rpms rhel-ha-for-rhel-7-server-rpms Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos [stack@undercloud ~]$ [stack@undercloud ~]$ sudo rm -rf /var/cache/yum [stack@undercloud ~]$ [stack@undercloud ~]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.5 (Maipo) [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ sudo yum install -y python-tripleoclient > python-tripleoclient-new.txt Error: Package: libselinux-ruby-2.5-11.el7.x86_64 (rhel-7-server-rpms) Requires: libselinux(x86-64) = 2.5-11.el7 Installed: libselinux-2.5-12.el7.x86_64 (installed) libselinux(x86-64) = 2.5-12.el7 Available: libselinux-2.2.2-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.2.2-6.el7 Available: libselinux-2.5-6.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-6.el7 Available: libselinux-2.5-11.el7.x86_64 (rhel-7-server-rpms) libselinux(x86-64) = 2.5-11.el7 Error: Package: glibc-2.17-196.el7_4.2.i686 (rhel-7-server-rpms) Requires: glibc-common = 2.17-196.el7_4.2 Installed: glibc-common-2.17-222.el7.x86_64 (installed) glibc-common = 2.17-222.el7 Available: glibc-common-2.17-55.el7.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-55.el7 Available: glibc-common-2.17-55.el7_0.1.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-55.el7_0.1 Available: glibc-common-2.17-55.el7_0.3.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-55.el7_0.3 Available: glibc-common-2.17-55.el7_0.5.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-55.el7_0.5 Available: glibc-common-2.17-78.el7.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-78.el7 Available: glibc-common-2.17-105.el7.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-105.el7 Available: glibc-common-2.17-106.el7_2.1.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-106.el7_2.1 Available: glibc-common-2.17-106.el7_2.4.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-106.el7_2.4 Available: glibc-common-2.17-106.el7_2.6.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-106.el7_2.6 Available: glibc-common-2.17-106.el7_2.8.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-106.el7_2.8 Available: glibc-common-2.17-157.el7.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-157.el7 Available: glibc-common-2.17-157.el7_3.1.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-157.el7_3.1 Available: glibc-common-2.17-157.el7_3.2.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-157.el7_3.2 Available: glibc-common-2.17-157.el7_3.4.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-157.el7_3.4 Available: glibc-common-2.17-157.el7_3.5.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-157.el7_3.5 Available: glibc-common-2.17-196.el7.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-196.el7 Available: glibc-common-2.17-196.el7_4.2.x86_64 (rhel-7-server-rpms) glibc-common = 2.17-196.el7_4.2 [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ rpm -qa | grep versionlock [stack@undercloud ~]$ [stack@undercloud ~]$ [stack@undercloud ~]$ rpm -qa > rpms.txt [stack@undercloud ~]$ [stack@undercloud ~]$ Created attachment 1421483 [details]
sos report
Created attachment 1421484 [details]
rpms list from under cloud
Created attachment 1421485 [details]
python-triplet client installation logs after clearing cache
Thank you for including all the information. The yum repository info still references 7.4, that is the problem: /etc/yum.repos.d/redhat.repo: [rhel-7-server-rpms] [...] baseurl = https://cdn.redhat.com/content/dist/rhel/server/7/7.4/$basearch/os |