Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
16357
Description
When installing lustre server RPMs on a host that previously had lustre client RPMs, the installation of the lustre server RPMs should remove all lustre-client RPM components before proceeding.
============================================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================================== Installing: dkms noarch 2.2.0.3-28.git.7c3e7c5.el6 /dkms-2.2.0.3-28.git.7c3e7c5.el6.noarch 222 k libnvpair1 x86_64 0.6.3-1.1.el6 /libnvpair1-0.6.3-1.1.el6.x86_64 231 k libuutil1 x86_64 0.6.3-1.1.el6 /libuutil1-0.6.3-1.1.el6.x86_64 223 k libzfs2 x86_64 0.6.3-1.1.el6 /libzfs2-0.6.3-1.1.el6.x86_64 829 k libzpool2 x86_64 0.6.3-1.1.el6 /libzpool2-0.6.3-1.1.el6.x86_64 3.7 M lustre x86_64 2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3 /lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 14 M lustre-dkms noarch 2.5.25-1.el6 /lustre-dkms-2.5.25-1.el6.noarch 29 M lustre-osd-zfs x86_64 2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3 /lustre-osd-zfs-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 484 k spl x86_64 0.6.3-1.1.el6 /spl-0.6.3-1.1.el6.x86_64 48 k spl-dkms noarch 0.6.3-1.1.el6 /spl-dkms-0.6.3-1.1.el6.noarch 2.8 M zfs x86_64 0.6.3-1.1.el6 /zfs-0.6.3-1.1.el6.x86_64 765 k zfs-dkms noarch 0.6.3-1.1.el6 /zfs-dkms-0.6.3-1.1.el6.noarch 11 M zfs-dracut x86_64 0.6.3-1.1.el6 /zfs-dracut-0.6.3-1.1.el6.x86_64 13 k Transaction Summary ============================================================================================================================================================================================================== Install 13 Package(s) Total size: 63 M Installed size: 63 M Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Check Error: file /sbin/mount.lustre from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/bin/lfs from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/bin/req_layout from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/libcfsutil.a from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/liblustre.a from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/liblustre.so from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/liblustreapi.a from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/liblustreapi.so from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/libptlctl.a from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/lib64/lustre/snmp/lustresnmp.so from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/debugctl from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/l_getidentity from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lctl from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lhsmtool_posix from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/ll_decode_filter_fid from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/ll_recover_lost_found_objs from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/llog_reader from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/llverdev from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/llverfs from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/loadgen from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lr_reader from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lshowmount from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lst from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lstclient from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/ltrack_stats from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/lustre_rsync from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/ptlctl from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/routerstat from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/wirecheck from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 file /usr/sbin/wiretest from install of lustre-2.5.25-2.6.32_431.29.2.el6_lustre.ga637590.x86_64_g1acbec3.x86_64 conflicts with file from package lustre-client-2.5.26-2.6.32_431.29.2.el6.x86_64.x86_64 Error Summary -------------
Attachments
Issue Links
- is related to
-
LU-7228 lustre rpm should provide lustre-client
-
- Resolved
-
While it's ironic that it was a member of the HYD team that originally requested this change, I wonder if it's really the behaviour we (the royal we, not the HYD we) desire.
It seems like a good idea on the face of it, but it has undesirable side-effects in certain use cases.
If one has both the server and client repositories configured and enabled on a node and one tries to install lustre-client one gets this behaviour:
This is clearly not what we want to happen. As you can see, the lustre-client package which is what we really wanted is obsoleted by lustre-dkms
If we do a little bit of cajoling, we can get what we want:
But this really does not feel like the element of least surprise.
A lesser surprise to me would be for the installation of the client to just fail with an error that it conflicts with the server such that the admin realises he needs to remove the server first and then install the client.
I've opened
LU-9770to revisit this change.