Bug #13663
closedadditional packages to remove for uninstall as well as nuke
0%
Description
For rpm system:
leveldb and few others which doesn't get uninstalled after teuthology removes the installed ceph packages, these packages along with few others have to be removed to keep the system in as is state. This will create issue when nodes go through various install and uninstall of packages(specifically upstream and downstream like leveldb.so), some of the packages later on will conflict with newer or older versions.
1) Fresh install of RPM system, take a note of installed packages, (original.rpm.txt)
2) Run teuthology install and uninsstall task,
diff after this task for various ceph version:
Firefly - Couldn't install completely due to existing conflict with Ceph Firefly and Epel packages, possible librbd/librados/libcefphs would have been removed.
[ubuntu@magna009 ~]$ diff original.rpm.txt after_firefly.txt > python-urllib3-1.10.2-2.el7_1.noarch < python-kitchen-1.1.1-5.el7.noarch > librbd1-0.80.10-235.gc551622.el7.x86_64 > boost-program-options-1.53.0-23.el7.x86_64 < yum-utils-1.1.31-29.el7.noarch > python-ceph-0.80.10-235.gc551622.el7.x86_64 > leveldb-1.12.0-5.el7.x86_64 > gpg-pubkey-03c3951a-51149b56 > python-chardet-2.2.1-1.el7_1.noarch < python-chardet-2.0.1-7.el7.noarch > librados2-0.80.10-235.gc551622.el7.x86_64 > libcephfs1-0.80.10-235.gc551622.el7.x86_64 > python-requests-2.6.0-1.el7_1.noarch
Hammer:
[ubuntu@magna009 ~]$ diff original.rpm.txt after_hammer.txt > hdparm-9.43-5.el7.x86_64 > python-flask-0.10.1-4.el7.noarch < python-kitchen-1.1.1-5.el7.noarch > python-babel-0.9.6-8.el7.noarch < yum-utils-1.1.31-29.el7.noarch > yum-utils-1.1.31-29.el7.noarch > python-chardet-2.2.1-1.el7_1.noarch > leveldb-1.12.0-5.el7.x86_64 > python-markupsafe-0.11-10.el7.x86_64 > gpg-pubkey-03c3951a-51149b56 > python-requests-2.6.0-1.el7_1.noarch > python-itsdangerous-0.23-2.el7.noarch > python-jinja2-2.7.2-2.el7.noarch < python-chardet-2.0.1-7.el7.noarch > python-werkzeug-0.9.1-2.el7.noarch > python-kitchen-1.1.1-5.el7.noarch > python-urllib3-1.10.2-2.el7_1.noarch > boost-program-options-1.53.0-23.el7.x86_64
Infernalis:
[ubuntu@magna025 ~]$ diff original.rpm.txt after_infernalis.txt > boost-program-options-1.53.0-23.el7.x86_64 > python-jinja2-2.7.2-2.el7.noarch < selinux-policy-targeted-3.13.1-23.el7.noarch > selinux-policy-3.13.1-23.el7_1.18.noarch > python-flask-0.10.1-4.el7.noarch > python-requests-2.6.0-1.el7_1.noarch > selinux-policy-targeted-3.13.1-23.el7_1.18.noarch > leveldb-1.12.0-5.el7.x86_64 < selinux-policy-3.13.1-23.el7.noarch > gpg-pubkey-03c3951a-51149b56 > boost-random-1.53.0-23.el7.x86_64 > python-urllib3-1.10.2-2.el7_1.noarch > python-babel-0.9.6-8.el7.noarch > hdparm-9.43-5.el7.x86_64 < python-chardet-2.0.1-7.el7.noarch > python-markupsafe-0.11-10.el7.x86_64 > python-werkzeug-0.9.1-2.el7.noarch > python-chardet-2.2.1-1.el7_1.noarch > python-itsdangerous-0.23-2.el7.noarch > xmlstarlet-1.6.1-1.el7.x86_64
Updated by Vasu Kulkarni over 8 years ago
No issue with apt for either hammer or infernalis, it actually ends up uninstalling few of the packages that ansible installs (like librados,qemu-kvm and few others)
51d50 < cpu-checker/trusty,now 0.7-0ubuntu4 amd64 [installed,automatic] 54a54 > curl/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed,automatic] 162d161 < ipxe-qemu/trusty-updates,now 1.0.0+git-20131111.c3d1e78-2ubuntu1.1 all [installed,automatic] 229d227 < libbluetooth3/trusty-updates,now 4.101-0ubuntu13.1 amd64 [installed,automatic] 235d232 < libbrlapi0.6/trusty,now 5.0-2ubuntu2 amd64 [installed,automatic] 243d239 < libcaca0/trusty,now 0.99.beta18-1ubuntu5 amd64 [installed,automatic] 258d253 < libconfig-general-perl/trusty,now 2.52-1 all [installed,automatic] 264a260 > libcurl3/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed,automatic] 301d296 < libfdt1/trusty,now 1.4.0+dfsg-1 amd64 [installed,automatic] 383d377 < libibverbs1/trusty-updates,now 1.1.7-1ubuntu1.1 amd64 [installed,automatic] 509,511d502 < librados2/trusty-updates,now 0.80.10-0ubuntu1.14.04.3 amd64 [installed,automatic] < librbd1/trusty-updates,now 0.80.10-0ubuntu1.14.04.3 amd64 [installed,automatic] < librdmacm1/trusty,now 1.0.16-1 amd64 [installed,automatic] 524,525d514 < libsdl1.2debian/trusty-updates,now 1.2.15-8ubuntu1.1 amd64 [installed,automatic] < libseccomp2/trusty,now 2.1.0+dfsg-1 amd64 [installed,automatic] 533d521 < libsgutils2-2/trusty,now 1.36-1ubuntu1 amd64 [installed,automatic] 545d532 < libspice-server1/trusty-updates,trusty-security,now 0.12.4-0nocelt2ubuntu1.2 amd64 [installed,automatic] 586d572 < libusbredirparser1/trusty-updates,now 0.6-2ubuntu1.1 amd64 [installed,automatic] 628,629d613 < libxen-4.4/trusty-updates,trusty-security,now 4.4.2-0ubuntu0.14.04.3 amd64 [installed,automatic] < libxenstore3.0/trusty-updates,trusty-security,now 4.4.2-0ubuntu0.14.04.3 amd64 [installed,automatic] 657d640 < libyajl2/trusty,now 2.0.4-4 amd64 [installed,automatic] 694d676 < msr-tools/trusty,now 1.3-2 amd64 [installed,automatic] 780a763 > python-openssl/trusty,now 0.13-2ubuntu6 amd64 [installed,automatic] 818,821d800 < qemu-keymaps/trusty-updates,trusty-security,now 2.0.0+dfsg-2ubuntu1.19 all [installed,automatic] < qemu-system-common/trusty-updates,trusty-security,now 2.0.0+dfsg-2ubuntu1.19 amd64 [installed,automatic] < qemu-system-x86/trusty-updates,trusty-security,now 2.0.0+dfsg-2ubuntu1.19 amd64 [installed] < qemu-utils/trusty-updates,trusty-security,now 2.0.0+dfsg-2ubuntu1.19 amd64 [installed,automatic] 831d809 < seabios/trusty-updates,now 1.7.4-4ubuntu1 all [installed,automatic] 834d811 < sg3-utils/trusty,now 1.36-1ubuntu1 amd64 [installed,automatic] 837d813 < sharutils/trusty,now 1:4.14-1ubuntu1 amd64 [installed,automatic] 859d834 < tgt/trusty-updates,now 1:1.0.43-0ubuntu4.1~14.04.2 amd64 [installed]
Updated by Vasu Kulkarni over 8 years ago
- Status changed from New to Fix Under Review
Updated by Andrew Schoen over 8 years ago
The branch here just needs a rebase and then I think it's probably good to go. It's dependent PR, https://github.com/ceph/teuthology/pull/709, was merged.
Updated by Zack Cerza about 8 years ago
- Status changed from Fix Under Review to Resolved