Description of problem: ----------------------- Overcloud upgrade fails: u'TASK [Update all packages] *****************************************************', u'Wednesday 19 September 2018 10:50:25 -0400 (0:00:01.404) 0:15:02.934 *** ', u'fatal: [controller-1]: FAILED! => {"changed": true, "msg": "\\n\\nTransaction check error:\\n file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py conflicts bet ween attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch\\n file /usr/share/openstack-dashboard/openstac k_dashboard/local/local_settings.d/_90_manila_shares.pyc conflicts between attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247. e01d8cf.el7ost.noarch\\n\\nError Summary\\n-------------\\n\\n", "rc": 1, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\ While running manually: ----------------------- Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Updating: openstack-manila-ui noarch 2.16.1-0.20180901155247.e01d8cf.el7ost rhelosp-14.0-puddle 1.3 M Updating for dependencies: openstack-dashboard noarch 1:14.0.1-0.20180906093320.d6c6b79.el7ost myrepo 12 M openstack-dashboard-theme noarch 1:14.0.0-1.el7ost rhelosp-14.0-puddle 703 k python-django-horizon noarch 1:14.0.1-0.20180906093320.d6c6b79.el7ost myrepo 801 k python-oslo-concurrency-lang noarch 3.27.0-0.20180808084759.2429c4c.el7ost rhelosp-14.0-puddle 8.7 k python2-oslo-concurrency noarch 3.27.0-0.20180808084759.2429c4c.el7ost rhelosp-14.0-puddle 35 k python2-osprofiler noarch 2.3.0-0.20180809173726.6d68170.el7ost rhelosp-14.0-puddle 121 k Transaction Summary =================================================================================================================================================================================================================== Upgrade 1 Package (+6 Dependent packages) Total size: 15 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py conflicts between attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.pyc conflicts between attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch Error Summary ------------- Version-Release number of selected component (if applicable): ------------------------------------------------------------- openstack-manila-ui-2.13.0-5.el7ost.noarch How reproducible: ----------------- 100% Steps to Reproduce: ------------------- 1. Setup RHOS-14 repos on oc nodes 2. Run `sudo yum update -y openstack-manila-ui` Actual results: --------------- Package update fails and blocks further upgrade
It looks like the error happens even if you just try to install openstack-manila-ui on osp14, not only on upgrade. Seems like the RPM is broken.
I think I see the problem. The package has both files in /etc/.../local_settings.d and symlinks to them in /usr/share/.../local_settings.d, but now those directories are symlinks to each other, so the symlinks to files collide with the files themselves.
I removed the symlinks between /etc and /usr/share and now the package installs without errors
On OSP14 installation I have the following openstack manilla openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch I tried an update and I received: [heat-admin@controller-0 ~]$ sudo yum update -y openstack-manila-ui Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. rhelosp-14.0-image-build-override | 2.9 kB 00:00:00 rhelosp-14.0-optools-puddle | 1.2 kB 00:00:00 rhelosp-14.0-puddle | 1.3 kB 00:00:00 rhelosp-ceph-3.0-mon | 4.1 kB 00:00:00 rhelosp-ceph-3.0-osd | 4.1 kB 00:00:00 rhelosp-ceph-3.0-tools | 4.0 kB 00:00:00 rhelosp-rhel-7.6-extras | 3.4 kB 00:00:00 rhelosp-rhel-7.6-ha | 3.5 kB 00:00:00 rhelosp-rhel-7.6-image-build-override | 3.0 kB 00:00:00 rhelosp-rhel-7.6-server | 3.5 kB 00:00:00 (1/9): rhelosp-14.0-image-build-override/x86_64/primary_db | 11 kB 00:00:00 (2/9): rhelosp-14.0-optools-puddle/x86_64/primary | 26 kB 00:00:00 (3/9): rhelosp-rhel-7.6-ha/x86_64/updateinfo | 104 kB 00:00:00 (4/9): rhelosp-rhel-7.6-server/x86_64/updateinfo | 3.1 MB 00:00:00 (5/9): rhelosp-rhel-7.6-extras/x86_64/updateinfo | 303 kB 00:00:00 (6/9): rhelosp-rhel-7.6-ha/x86_64/primary_db | 339 kB 00:00:00 (7/9): rhelosp-rhel-7.6-extras/x86_64/primary_db | 479 kB 00:00:00 (8/9): rhelosp-rhel-7.6-image-build-override/x86_64/primary_db | 10 kB 00:00:00 (9/9): rhelosp-rhel-7.6-server/x86_64/primary_db | 53 MB 00:00:02 rhelosp-14.0-optools-puddle 125/125 Package(s) openstack-manila-ui available, but not installed. No packages marked for update **I am assuming No packages marked for update means there is nothing to update, or like the error above says I am not hooked up to and entitlement server** I then ran 'sudo yum install openstack-manila-ui' and it succeeded but I still have the same verion of the manila -ui 2.16.1-0.20180913153755.4865df1.el7ost.noarch I was basing this testing of the commment "It looks like the error happens even if you just try to install openstack-manila-ui on osp14, not only on upgrade. Seems like the RPM is broken."
puddle version is 2018-11-13.1
[heat-admin@controller-0 ~]$ sudo yum erase -y openstack-manila-ui Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package openstack-manila-ui.noarch 0:2.16.1-0.20180913153755.4865df1.el7ost will be erased --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Removing: openstack-manila-ui noarch 2.16.1-0.20180913153755.4865df1.el7ost @rhelosp-14.0-puddle 4.6 M Transaction Summary =================================================================================================================================================================================================================== Remove 1 Package Installed size: 4.6 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch 1/1 Verifying : openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch 1/1 Removed: openstack-manila-ui.noarch 0:2.16.1-0.20180913153755.4865df1.el7ost Complete! Found the package on brew pub https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=761912 Information for build openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost [root@controller-0 ~]# rpm -ivh openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch.rpm Preparing... ################################# [100%] file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py conflicts between attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.pyc conflicts between attempted installs of openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch and openstack-manila-ui-2.16.1-0.20180901155247.e01d8cf.el7ost.noarch [root@controller-0 ~]# yum install -y openstack-manila-ui Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package openstack-manila-ui.noarch 0:2.16.1-0.20180913153755.4865df1.el7ost will be installed --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Installing: openstack-manila-ui noarch 2.16.1-0.20180913153755.4865df1.el7ost rhelosp-14.0-puddle 1.3 M Transaction Summary =================================================================================================================================================================================================================== Install 1 Package Total download size: 1.3 M Installed size: 4.6 M Downloading packages: openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch.rpm | 1.3 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch 1/1 Verifying : openstack-manila-ui-2.16.1-0.20180913153755.4865df1.el7ost.noarch 1/1 Installed: openstack-manila-ui.noarch 0:2.16.1-0.20180913153755.4865df1.el7ost Complete!
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/RHEA-2019:0045