[LU-9801] kmod-lustre-osd-zfs install failure due to missing packages Created: 27/Jul/17  Updated: 08/Aug/17  Resolved: 08/Aug/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Abe Assignee: Malcolm Cowe (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Hi,

we are unable to install this kmod rpm on centos 7 or redhat 7 os due to missing packages:

os:
[root@OSS1-A212 x86_64]# uname -r
3.10.0-514.2.2.el7.x86_64

yum install kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm
Loaded plugins: fastestmirror
Examining kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
Marking kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kmod-lustre-osd-zfs.x86_64 0:2.10.0-1.el7 will be installed
--> Processing Dependency: lustre-osd-zfs-mount = 2.10.0 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
Loading mirror speeds from cached hostfile

  • base: mirrors.unifiedlayer.com
  • epel: mirror.sjc02.svwh.net
  • extras: centos.sonn.com
  • updates: mirror.san.fastserv.com
    --> Processing Dependency: ksym(__cv_broadcast) = 0x97fb9a11 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(arc_add_prune_callback) = 0x6fa427c8 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(arc_buf_size) = 0x200a6087 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(arc_remove_prune_callback) = 0xd014a73b for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dbuf_create_bonus) = 0x3db839e8 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dbuf_read) = 0x26b83cc1 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_assign_arcbuf) = 0x127df8fa for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_bonus_hold) = 0x4e547c34 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_buf_hold_array_by_bonus) = 0x330ef227 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_buf_rele) = 0x53e356d2 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_buf_rele_array) = 0x46d80b8c for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_free_long_range) = 0x3321cb2f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_free_range) = 0x7b02d653 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_object_alloc) = 0xc6fd1135 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_object_free) = 0xcea03098 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_object_next) = 0x4a72152f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_object_set_blocksize) = 0xca1aabaf for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_disown) = 0x97857130 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_ds) = 0x413dc6c5 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_own) = 0x861d7fa7 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_pool) = 0xb524b986 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_spa) = 0xf32ede4c for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_space) = 0xdd6f9b59 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_objset_userused_enabled) = 0x785fbbe9 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_prefetch) = 0x9503b84d for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_read) = 0x1d4e7818 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_request_arcbuf) = 0xd877830c for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_return_arcbuf) = 0xf5f82bbb for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_abort) = 0x25c64f47 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_assign) = 0x4cad2510 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_callback_register) = 0x3ba8b9e8 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_commit) = 0xc5fa3853 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_create) = 0xa5fb980b for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_get_txg) = 0x1e964c8b for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_bonus) = 0xebbb7705 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_free) = 0x90f85057 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_sa) = 0x99d26080 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_sa_create) = 0x34a71a73 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_spill) = 0x5f1e8c34 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_write) = 0x818e2943 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_tx_hold_zap) = 0x0921e256 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dmu_write) = 0x7d836097 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dsl_pool_config_enter) = 0xdf6814d8 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dsl_pool_config_exit) = 0xfe90cd42 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dsl_prop_register) = 0x2869f407 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(dsl_prop_unregister) = 0x01a3a969 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_add_byte_array) = 0x4ea06afa for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_alloc) = 0x75a78768 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_free) = 0x9d9f80c4 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_lookup_byte_array) = 0xcb59902f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_next_nvpair) = 0x29c88b11 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_pack) = 0x424ac2e1 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_remove) = 0xcf24ceff for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_size) = 0x730e1886 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvlist_unpack) = 0x1cd81596 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(nvpair_name) = 0xd42a96fa for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_bulk_lookup) = 0xcbb17a27 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_bulk_update) = 0x28755c91 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_handle_destroy) = 0xd3e92078 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_handle_get) = 0x5a89c11b for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_handle_get_from_db) = 0xcaa2face for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_lookup) = 0x6c565287 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_object_size) = 0x92005375 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_replace_all_by_template) = 0xf981e3d2 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_setup) = 0xf4af989e for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_size) = 0xe5210b6d for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_spill_rele) = 0xb2edfaed for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(sa_update) = 0x2fe1928c for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(spa_freeze) = 0x404a0201 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(spa_get_dsl) = 0xab70a030 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(spa_maxblocksize) = 0xa23848e6 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(spa_writeable) = 0xbc5c21ea for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(spl_panic) = 0xbc32eee7 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(txg_wait_callbacks) = 0x159c7f03 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(txg_wait_synced) = 0x3ca327e1 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_add) = 0xd7d0ece4 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_add_uint64) = 0x945aa714 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_create_flags) = 0x576b159a for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_advance) = 0xacfa9c80 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_fini) = 0x1db3578b for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_init) = 0x7a47ab51 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_init_serialized) = 0xe14f6134 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_retrieve) = 0x148b243f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_cursor_serialize) = 0x9fc2d604 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_lookup) = 0x18f06e6f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_lookup_uint64) = 0x6fb23a23 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_remove) = 0x0be74ac7 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_remove_uint64) = 0xcb5497ca for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zap_update) = 0x9c1bd0d7 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zfs_attr_table) = 0x7ae721f2 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zfs_prop_to_name) = 0xa483a8c3 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zio_buf_alloc) = 0x0c211976 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zio_buf_free) = 0x6e7a7166 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zrl_add) = 0x5ac99f0f for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: ksym(zrl_remove) = 0x17cdc7fe for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: zfs-kmod for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_unpack) = 0x1cd81596
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_setup) = 0xf4af989e
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_object_next) = 0x4a72152f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_request_arcbuf) = 0xd877830c
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_buf_hold_array_by_bonus) = 0x330ef227
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_assign) = 0x4cad2510
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_bulk_lookup) = 0xcbb17a27
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_spill) = 0x5f1e8c34
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dsl_pool_config_exit) = 0xfe90cd42
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_handle_destroy) = 0xd3e92078
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_object_alloc) = 0xc6fd1135
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_lookup) = 0x6c565287
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_free_long_range) = 0x3321cb2f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_zap) = 0x0921e256
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_remove_uint64) = 0xcb5497ca
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(__cv_broadcast) = 0x97fb9a11
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_pack) = 0x424ac2e1
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(spa_writeable) = 0xbc5c21ea
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_replace_all_by_template) = 0xf981e3d2
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dsl_prop_register) = 0x2869f407
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(spa_freeze) = 0x404a0201
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_retrieve) = 0x148b243f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(spl_panic) = 0xbc32eee7
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_update) = 0x2fe1928c
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_lookup_byte_array) = 0xcb59902f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_own) = 0x861d7fa7
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: zfs-kmod
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zio_buf_free) = 0x6e7a7166
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_handle_get) = 0x5a89c11b
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_write) = 0x7d836097
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_get_txg) = 0x1e964c8b
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_fini) = 0x1db3578b
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_bulk_update) = 0x28755c91
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(txg_wait_synced) = 0x3ca327e1
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_buf_rele) = 0x53e356d2
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_sa) = 0x99d26080
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_update) = 0x9c1bd0d7
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_bonus) = 0xebbb7705
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zio_buf_alloc) = 0x0c211976
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zrl_add) = 0x5ac99f0f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_commit) = 0xc5fa3853
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_ds) = 0x413dc6c5
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_assign_arcbuf) = 0x127df8fa
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_add_byte_array) = 0x4ea06afa
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(arc_add_prune_callback) = 0x6fa427c8
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_object_free) = 0xcea03098
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_remove) = 0xcf24ceff
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(arc_remove_prune_callback) = 0xd014a73b
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_handle_get_from_db) = 0xcaa2face
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_create) = 0xa5fb980b
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_abort) = 0x25c64f47
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dbuf_read) = 0x26b83cc1
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_spill_rele) = 0xb2edfaed
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_remove) = 0x0be74ac7
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_userused_enabled) = 0x785fbbe9
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_next_nvpair) = 0x29c88b11
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_buf_rele_array) = 0x46d80b8c
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvpair_name) = 0xd42a96fa
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dsl_pool_config_enter) = 0xdf6814d8
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_add_uint64) = 0x945aa714
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(txg_wait_callbacks) = 0x159c7f03
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_object_size) = 0x92005375
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_return_arcbuf) = 0xf5f82bbb
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_prefetch) = 0x9503b84d
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_alloc) = 0x75a78768
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(spa_get_dsl) = 0xab70a030
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dsl_prop_unregister) = 0x01a3a969
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_space) = 0xdd6f9b59
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_callback_register) = 0x3ba8b9e8
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_init) = 0x7a47ab51
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_disown) = 0x97857130
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_add) = 0xd7d0ece4
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_pool) = 0xb524b986
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_size) = 0x730e1886
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_write) = 0x818e2943
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_object_set_blocksize) = 0xca1aabaf
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_create_flags) = 0x576b159a
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(sa_size) = 0xe5210b6d
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_lookup) = 0x18f06e6f
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dbuf_create_bonus) = 0x3db839e8
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_init_serialized) = 0xe14f6134
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(arc_buf_size) = 0x200a6087
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(nvlist_free) = 0x9d9f80c4
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_spa) = 0xf32ede4c
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_advance) = 0xacfa9c80
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: lustre-osd-zfs-mount = 2.10.0
    Installed: lustre-osd-zfs-mount-2.7.19.6-3.10.0_514.el7_lustre.x86_64.x86_64 (installed)
    lustre-osd-zfs-mount = 2.7.19.6-3.10.0_514.el7_lustre.x86_64
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_free) = 0x90f85057
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_lookup_uint64) = 0x6fb23a23
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(spa_maxblocksize) = 0xa23848e6
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_serialize) = 0x9fc2d604
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_read) = 0x1d4e7818
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zfs_attr_table) = 0x7ae721f2
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zrl_remove) = 0x17cdc7fe
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_tx_hold_sa_create) = 0x34a71a73
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_free_range) = 0x7b02d653
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zfs_prop_to_name) = 0xa483a8c3
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_bonus_hold) = 0x4e547c34
    You could try using --skip-broken to work around the problem
    • Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openshmem_gcc_hfi-1.0h-20.x86_64 has missing requires of elfutils-libelf-devel


 Comments   
Comment by Abe [ 27/Jul/17 ]

os: centos

uname -r
3.10.0-514.26.2.el7.x86_64

kernel installed:
rpm -qa | grep kernel
kernel-tools-3.10.0-514.26.2.el7.x86_64
kernel-devel-3.10.0-514.26.2.el7.x86_64
kernel-tools-libs-devel-3.10.0-514.26.2.el7.x86_64
kernel-tools-libs-3.10.0-514.26.2.el7.x86_64
kernel-3.10.0-514.26.2.el7.x86_64
kernel-headers-3.10.0-514.26.2.el7.x86_64

Comment by Malcolm Cowe (Inactive) [ 27/Jul/17 ]

Is the kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm package taken from the Lustre download site? And is the kernel that is installed taken from the regular OS distribution?

If so, then I think there is a compatibility issue between the kmod-osd-zfs binary from the Lustre download site and the kernel that's been installed. This is most likely because the kmod-osd-zfs binary packages is compiled against a Lustre-patched kernel, not a stock kernel.

Also, is ZFS installed? And if so, how did you install it? It might be that the kmod package cannot resolve the symbols for the ZFS binaries – again, probably because of differences in the kernels that were used to compile the modules.

Could you try the following process as an alternative installation strategy? It's lifted from a different document I'm preparing, os might need a couple of tweaks, but should be more or less sound.

The idea is to install the required kernel, install SPL and ZFS using DKMS, then install the Lustre modules with DKMS and the remaing Lustre packages.

It may also be possible to use the ZFS binaries from the ZFS on Linux project, but I haven't tried that yet.

Outline instructions (may need to be adjusted)

Install the kernel packages that match the latest supported version for the Lustre release:

yum install \
kernel \
kernel-devel \
kernel-headers \
kernel-tools \
kernel-tools-libs \
kernel-tools-libs-devel


It may be necessary to specify the kernel package version number in order to ensure that a kernel that is compatible with Lustre is installed. For example, Lustre 2.10.0 has support for RHEL kernel 3.10.0-514.21.1.el7:

yum install \
kernel-3.10.0-514.21.1.el7 \
kernel-devel-3.10.0-514.21.1.el7 \
kernel-headers-3.10.0-514.21.1.el7 \
kernel-tools-3.10.0-514.21.1.el7 \
kernel-tools-libs-3.10.0-514.21.1.el7 \
kernel-tools-libs-devel-3.10.0-514.21.1.el7


Refer to the Lustre Changelog for the list of supported kernels.

Ensure that a persistent hostid has been generated on the machine. If necessary, generate a persistent hostid (needed to help protect zpools against simultaneous imports on multiple servers). For example:

hid=`[ -f /etc/hostid ] && od -An -tx /etc/hostid|sed 's/ //g'`
[ "$hid" = `hostid` ] || genhostid


Reboot the node.

reboot


Install EPEL (this might be optional but I have not checked):

yum -y install epel-release

Follow the instructions from the ZFS on Linux project to install the ZFS YUM repository definition. Use the DKMS package repository (the default).

For example:

yum -y install \
http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm


Clean the YUM cache:

yum clean all


Install ZFS:

yum install spl-dkms zfs-dkms


Download and install the following packages from https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.0/el7/server/RPMS/x86_64/:

lustre-dkms-2.10.0-1.el7.noarch.rpm
lustre-osd-zfs-mount-2.10.0-1.el7.x86_64.rpm
lustre-2.10.0-1.el7.x86_64.rpm
lustre-resource-agents-2.10.0-1.el7.x86_64.rpm


Comment by Abe [ 27/Jul/17 ]

we are still missing these packages during the download:
Error: Package: kmod-lustre-osd-ldiskfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-ldiskfs-2.10.0-1.el7.x86_64)^M
Requires: kernel(dquot_file_open) = 0x9376e8ae^M
Installed: kernel-3.10.0-514.21.1.el7.x86_64 (@updates)^M
kernel(dquot_file_open) = 0x5ab1bb15^M
Available: kernel-3.10.0-514.el7.x86_64 (base)^M
kernel(dquot_file_open) = 0x5ab1bb15^M

Also, where can retrieve the spl-dkms and zfs-dkms

installed kernel:
rpm -qa | grep kernel
kernel-3.10.0-514.21.1.el7.x86_64
kernel-tools-libs-devel-3.10.0-514.21.1.el7.x86_64
kernel-tools-3.10.0-514.21.1.el7.x86_64
kernel-tools-libs-3.10.0-514.21.1.el7.x86_64
kernel-headers-3.10.0-514.21.1.el7.x86_64
kernel-devel-3.10.0-514.21.1.el7.x86_64

thanks.

Comment by Malcolm Cowe (Inactive) [ 28/Jul/17 ]

Please provide the complete list of command that you are using to install the servers, and the complete list of Lustre packages that you are trying to install. My instructions assume that you are not using LDISKFS, and are using the OS kernels, not the Lustre patched kernels. If you require everything (including LDISKFS), then the instructions are slightly different.

The spl-dkms and zfs-dkms packages are taken from the ZFS on Linux project:

http://zfsonlinux.org

The instructions for installing ZFS on RHEL / CentOS are here:

https://github.com/zfsonlinux/zfs/wiki/RHEL-%26-CentOS

 If you follow my instructions, it will set up the servers such that the ZFS and SPL packages are pulled in via YUM automatically. i.e., running the following will set up a YUM repo description on the server that points to the ZFS on Linux repo:

yum -y install \
http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm
then, you can just run the following to install ZFS:

yum clean all

yum install spl-dkms zfs-dkms
 

 

Comment by Abe [ 28/Jul/17 ]

Hi Malcom,
Tried this step from zfsonlinux setup guide, but still not able to download
spl-dkms zfs-dkms

sudo yum install http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
sudo yum install spl-dkms zfs-dkms

Repository zfs is listed more than once in the configuration
zfs-release.el7_3.noarch.rpm | 5.2 kB 00:00:00
Examining /var/tmp/yum-root-daaOQh/zfs-release.el7_3.noarch.rpm: zfs-release-1-4.el7_3.centos.noarch
/var/tmp/yum-root-daaOQh/zfs-release.el7_3.noarch.rpm: does not update installed package.
Error: Nothing to do
pub 2048R/F14AB620 2013-03-21 ZFS on Linux <zfs@zfsonlinux.org>
Key fingerprint = C93A FFFD 9F3F 7B03 C310 CEB6 A9D5 A1C0 F14A B620
sub 2048R/99685629 2013-03-21
Loaded plugins: fastestmirror
Repository zfs is listed more than once in the configuration
Loading mirror speeds from cached hostfile

  • base: ftp.osuosl.org
  • epel: mirror.sjc02.svwh.net
  • extras: mirrors.sonic.net
  • updates: linux.mirrors.es.net
    No package spl-dkms available.
    No package zfs-dkms available.
    Error: Nothing to do

thanks,
Abe

Comment by Abe [ 28/Jul/17 ]

Also, the exact command ran on the system:

yum install kmod-lustre-2.10.0-1.el7.x86_64.rpm kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm
installed kernel on server:
rpm -qa | grep kernel
kernel-3.10.0-514.21.1.el7.x86_64
kernel-tools-libs-devel-3.10.0-514.21.1.el7.x86_64
kernel-tools-3.10.0-514.21.1.el7.x86_64
kernel-tools-libs-3.10.0-514.21.1.el7.x86_64
kernel-headers-3.10.0-514.21.1.el7.x86_64
kernel-devel-3.10.0-514.21.1.el7.x86_64
Thanks,
Abe

Comment by Malcolm Cowe (Inactive) [ 30/Jul/17 ]

There are two items of note in the output you supplied:

  1. The ZFS on Linux repo definition is already installed
  2. There is more than one definition of a zfs repository

The fact that there are more than one repo definitions indicates that there is a conflict when trying to identify the packages to download. It might be something simple like stale metadata, in which case this can be cleaned using the following command:

yum clean all

If this does not resolve the issue, then the conflict exists within the configuration of YUM.

Run the following command to get details of the repos:

yum repoinfo zfs

This will return a high level summary of the ZFS repo. If there is more than one definition, I'm not sure if it will return both. My lab system returns the following output as an example:

[root@ctb-el73 ~]# yum repoinfo zfs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.ausnetservers.net.au
 * epel: mirror.as24220.net
 * extras: mirror.ventraip.net.au
 * updates: mirror.intergrid.com.au
Repo-id      : zfs/x86_64
Repo-name    : ZFS on Linux for EL7 - dkms
Repo-status  : enabled
Repo-revision: 1501111462
Repo-updated : Wed Jul 26 19:24:24 2017
Repo-pkgs    : 67
Repo-size    : 39 M
Repo-baseurl : http://download.zfsonlinux.org/epel/7.3/x86_64/
Repo-expire  : 604,800 second(s) (last: Fri Jul 28 23:27:03 2017)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/zfs.repo
repolist: 67

You need to look in the /etc/yum.repos.d directory for files that contain zfs repo definitions, and disable / remove the one that conflicts with the ZFS on Linux zfs-release rpm. 

Also, check that the zfs-release package has not been compromised, using rpm verify ( rpm -Vv). For example:

[root@ctb-el73 ~]# rpm -Vv zfs-release
.........    /etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux
.........  c /etc/yum.repos.d/zfs.repo

The output should be similar to the above. The first field in the output should all dots. If not, then the file has been altered, overwritten or removed.

You can also check the contents of the ZFS repository using the reposync command:

reposync -r zfs -un

On a correctly configured system, the output will be similar to the following (version numbers may differ slightly if there have been any updates):

[root@ctb-el73 ~]# reposync -r zfs -un
http://download.zfsonlinux.org/epel/7.3/x86_64/libnvpair1-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libuutil1-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzfs2-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzfs2-devel-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzpool2-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/spl-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/debug/spl-debuginfo-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/spl-dkms-0.7.0-1.el7_3.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/debug/zfs-debuginfo-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-dkms-0.7.0-1.el7_3.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-dracut-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-release-1-4.el7_3.centos.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-test-0.7.0-1.el7_3.x86_64.rpm

Note that both spl-dkms and zfs-dkms are listed in this repository.

 

Comment by Malcolm Cowe (Inactive) [ 31/Jul/17 ]

Complete and comprehensive instructions for building Lustre are available on the lustre.org wiki:

http://wiki.lustre.org/Compiling_Lustre

This document provides a description for creating Lustre packages for servers and clients across several operating systems, and includes ZFS, LDISKFS, DKMS build options and descriptions for 3rd party network drivers such as Mellanox OFED (MOFED) and Intel Omni-path Architecture (OPA).

Comment by Abe [ 31/Jul/17 ]

Hi Malcom,

It look like there was one repo for ZFS which previously add with Intel IML release, i have removed that
and the duplicate zfs repo info is resolved.however the install is still showing similar errors..
below are the steps:
OSS1-A212 x86_64]# yum repoinfo zfs
Loaded plugins: fastestmirror
Repository zfs is listed more than once in the configuration
Loading mirror speeds from cached hostfile

  • base: mirror.san.fastserv.com
  • epel: mirror.sjc02.svwh.net
  • extras: mirrors.sonic.net
  • updates: repos.lax.quadranet.com
    Repo-id : zfs/7
    Repo-name : ZFS
    Repo-status : disabled
    Repo-baseurl : https://iml3:443/repo//zfs/7/
    Repo-expire : 21,600 second(s) (last: Wed Jul 26 20:45:54 2017)
    Filter : read-only:present
    Repo-filename: /etc/yum.repos.d/Intel-Lustre-Agent.repo

repolist: 0

after zfs / iml removal:

oot@OSS1-A212 x86_64]# yum repoinfo zfs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.unifiedlayer.com
  • epel: mirror.sfo12.us.leaseweb.net
  • extras: mirrors.sonic.net
  • updates: repos-lax.psychz.net
    Repo-id : zfs/x86_64
    Repo-name : ZFS on Linux for EL7 - dkms
    Repo-status : enabled
    Repo-revision: 1501111462
    Repo-updated : Wed Jul 26 19:24:24 2017
    Repo-pkgs : 67
    Repo-size : 39 M
    Repo-baseurl : http://download.zfsonlinux.org/epel/7.3/x86_64/
    Repo-expire : 604,800 second(s) (last: Mon Jul 31 12:49:07 2017)
    Filter : read-only:present
    Repo-filename: /etc/yum.repos.d/zfs.repo

[root@OSS1-A212 x86_64]# reposync -r zfs -un
http://download.zfsonlinux.org/epel/7.3/x86_64/libnvpair1-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libuutil1-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzfs2-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzfs2-devel-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/libzpool2-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/spl-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/debug/spl-debuginfo-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/spl-dkms-0.7.0-1.el7_3.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/debug/zfs-debuginfo-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-dkms-0.7.0-1.el7_3.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-dracut-0.7.0-1.el7_3.x86_64.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-release-1-4.el7_3.centos.noarch.rpm
http://download.zfsonlinux.org/epel/7.3/x86_64/zfs-test-0.7.0-1.el7_3.x86_64.rpm

snapshot of the kmod install:

lustre-2.10/downloads.hpdd.intel.com/public/lustre/latest-feature-release/el7/server/RPMS/x86_64[?1034h[root@OSS1-A212 x86_64]# yum install kmod*rpm
Loaded plugins: fastestmirror
Examining kmod-lustre-2.10.0-1.el7.x86_64.rpm: kmod-lustre-2.10.0-1.el7.x86_64
Marking kmod-lustre-2.10.0-1.el7.x86_64.rpm to be installed
Examining kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
Marking kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64.rpm to be installed
Examining kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm: kmod-lustre-tests-2.10.0-1.el7.x86_64
Marking kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kmod-lustre.x86_64 0:2.10.0-1.el7 will be installed
--> Processing Dependency: kernel(PDE_DATA) = 0xc1b96fb1 for package: kmod-lustre-2.10.0-1.el7.x86_64
Loading mirror speeds from cached hostfile

  • base: mirror.san.fastserv.com
  • epel: mirror.sjc02.svwh.net
  • extras: mirrors.sonic.net
  • updates: repos-lax.psychz.net
    --> Processing Dependency: kernel(current_task) = 0xd5026ba3 for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmalloc_caches) = 0x67f04e83 for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmem_cache_alloc_trace) = 0x04f958be for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(module_layout) = 0x427ba377 for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(seq_lseek) = 0x42719b35 for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(seq_open) = 0x37c3d8af for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(seq_read) = 0xd3224c70 for package: kmod-lustre-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(single_open) = 0xf4d6601b for package: kmod-lustre-2.10.0-1.el7.x86_64
    ---> Package kmod-lustre-osd-zfs.x86_64 0:2.10.0-1.el7 will be installed
    --> Processing Dependency: lustre-osd-zfs-mount = 2.10.0 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(PDE_DATA) = 0xc1b96fb1 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(__free_pages) = 0xf5a3d828 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(alloc_pages_current) = 0x3da264a7 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(current_task) = 0xd5026ba3 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmalloc_caches) = 0x67f04e83 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmem_cache_alloc) = 0x7ec6f7b9 for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmem_cache_alloc_trace) = 0x04f958be for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    --> Processing Dependency: kernel(kmem_cache_free) = 0x7578859a for package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64
    ........................................................................................................
    --> Finished Dependency Resolution
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(zap_cursor_retrieve) = 0x148b243f
    Installed: kmod-zfs-0.7.0-1.el7_3.x86_64 (@zfs-kmod)
    ksym(zap_cursor_retrieve) = 0x91006d40
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(__cv_broadcast) = 0x97fb9a11
    Installed: kmod-spl-0.7.0-1.el7_3.x86_64 (@zfs-kmod)
    ksym(__cv_broadcast) = 0x347a3ab7
    Error: Package: kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64 (/kmod-lustre-osd-zfs-2.10.0-1.el7.x86_64)
    Requires: ksym(dmu_objset_userused_enabled) = 0x785fbbe9

thanks,
Abe

Comment by Abe [ 31/Jul/17 ]

Also, the spl and zfs kmod rpm are installed:
root@OSS1-A212 x86_64]# rpm -qa | grep kmod
kmod-spl-0.7.0-1.el7_3.x86_64
kmod-20-9.el7.x86_64
kmod-zfs-0.7.0-1.el7_3.x86_64
kmod-libs-20-9.el7.x86_64
thanks,
Abe

Comment by Malcolm Cowe (Inactive) [ 01/Aug/17 ]

The kmod-lustre-osd-zfs RPM distributed on the Lustre download site doesn't work with the ZoL packages. The kmod-lustre-osd-zfs RPM is compiled against ZFS 0.6.5.x, whereas the latest release version is 0.7.0. While the ZFS version could be downgraded to match Lustre 2.10.0 binaries, this is not sufficient to resolve the ksym dependency problem. The kmod-lustre-osd-zfs package is also compiled against the Lustre-patched kernel, and uses ZFS RPMs that are also created on the build environment. This means that the ksym dependencies don't match up with the ZoL distribution kmod RPMs.

Due to the licensing incompatibility between CDDL (ZFS) and GPL (kernel and Lustre), the binary kmod ZFS packages used to help compile Lustre are not distributed. 

The Lustre-patched kernel breaks KABI compatibility with kernel modules compiled against the standard RHEL kernel for the same OS release. This means that the ZoL kmod binary RPMS won't load on a lustre-patched kernel, and that the Lustre kmod binary RPMs compiled against a Lustre-patched kernel won't load on a standard RHEL kernel.

The unfortunate side-effect of all this is that the kmod-lustre-osd-zfs binary RPM in the Lustre distribution is not usable by most users, which means that you need to use the DKMS packages for Lustre, SPL and ZFS, per the earlier comment, or compile all of the packages from source.

To use the DKMS packages, you will need to edit /etc/yum.repos.d/zfs.repo, disable the zfs-kmod repo and enable the zfs repo. You may also need to remove the existing ZFS packages.

 

Comment by Abe [ 01/Aug/17 ]

Hi Malcom,
i have update the zfs repo to use DKMS packages, however not able to remove the zfs and spl components:
rpm -qa | grep zfs
zfs-0.7.0-1.el7_3.x86_64
kmod-zfs-0.7.0-1.el7_3.x86_64
libzfs2-0.7.0-1.el7_3.x86_64
[root@OSS1-A212 x86_64]# rpm -e zfs-0.7.0-1.el7_3.x86_64
error: Failed dependencies:
zfs = 0.7.0 is needed by (installed) kmod-zfs-0.7.0-1.el7_3.x86_64
[root@OSS1-A212 x86_64]#

rpm -e kmod-zfs-0.7.0-1.el7_3.x86_64
error: Failed dependencies:
zfs-kmod = 0.7.0 is needed by (installed) zfs-0.7.0-1.el7_3.x86_64

Tried also to remove these with dkms:
root@OSS1-A212 x86_64]# dkms status
[root@OSS1-A212 x86_64]#

Any suggestions ?

thanks,
Abe

Comment by Abe [ 01/Aug/17 ]

now zfs 0.7 version has been removed:
dkms status shows spl and zfs installed
spl, 0.6.5.9, 3.10.0-514.21.1.el7.x86_64, x86_64: installed
zfs, 0.6.5.9, 3.10.0-514.21.1.el7.x86_64, x86_64: installed

now, tried to add lustre 2.10.0 via dkms and it is not
being added:
dkms install lustre/2.10.0 --all
dkms status
spl, 0.6.5.9, 3.10.0-514.21.1.el7.x86_64, x86_64: installed
zfs, 0.6.5.9, 3.10.0-514.21.1.el7.x86_64, x86_64: installed
thanks,
Abe

Comment by Abe [ 01/Aug/17 ]

yum repo has been updated to use dkms as well
[zfs]
name=ZFS on Linux for EL 7 - dkms
baseurl=http://download.zfsonlinux.org/epel/7/$basearch/
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux

Comment by Abe [ 02/Aug/17 ]

I have installed lustre/zfs/spl using the following steps:
1.kernel-tools-3.10.0-514.21.1.el7_lustre.x86_64
kernel-3.10.0-514.21.1.el7_lustre.x86_64
kernel-debuginfo-common-x86_64-3.10.0-514.21.1.el7_lustre.x86_64
kernel-tools-libs-devel-3.10.0-514.21.1.el7_lustre.x86_64
kernel-debuginfo-3.10.0-514.21.1.el7_lustre.x86_64
kernel-devel-3.10.0-514.21.1.el7_lustre.x86_64
kernel-tools-libs-3.10.0-514.21.1.el7_lustre.x86_64
kernel-tools-debuginfo-3.10.0-514.21.1.el7_lustre.x86_64
installed kernel for lustre build:
2. update zfs repo for dkms:
vi /etc/yum.repos.d/zfs.repo.rpmsave
3. [zfs]
name=ZFS on Linux for EL 7 - dkms
baseurl=http://download.zfsonlinux.org/epel/7/$basearch/
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux

4. hid=`[ -f /etc/hostid ] && od -An -tx /etc/hostid|sed 's/ //g'`
[ "$hid" = `hostid` ] || genhostid
5. yum -y install http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm
6. yum clean all
7. yum install spl-dkms zfs-dkms
8. yum install lustre*rpm --skip-broken
dkms status
lustre, 2.10.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
spl, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
zfs, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed

However, not able to run the zfs commands like zpool:
mds-201 x86_64]# zpool
-bash: zpool: command not found
we intend to use zfs version 0.7 for mdt performance improvement..

thanks,
Abe

Comment by Malcolm Cowe (Inactive) [ 02/Aug/17 ]

One of the side-effects of using DKMS is that it only builds the kernel modules – all of the user-space tools need to be installed as well. I thought that when the spl-dkms and zfs-dkms RPMs were installed, YUM would have also installed the user-space packages as dependencies but that does not seem to have happened. 

The following command should rectify the problem:

yum -y install zfs

In fact, I double-checked on my lab system, and it looks like all of the required packages are dependencies of zfs, so the above command should be all that is ever required, even on a clean system.

On step 8, the --skip-broken flag should not be required. This implies that some of the required packages are not being installed. Can you share what happens when the --skip-broken flag is not used?

 

Comment by Abe [ 02/Aug/17 ]

when --skip-broken flag is not set, install fails due to kmod-lustre-tests rpm missing,
if we trying to kmod-lustre-tests rpm it also fails due to incompability..

OSS1-A212 x86_64]# yum install lustre*rpm
Loaded plugins: fastestmirror
Examining lustre-2.10.0-1.el7.x86_64.rpm: lustre-2.10.0-1.el7.x86_64
Marking lustre-2.10.0-1.el7.x86_64.rpm to be installed
Examining lustre-debuginfo-2.10.0-1.el7.x86_64.rpm: lustre-debuginfo-2.10.0-1.el7.x86_64
Marking lustre-debuginfo-2.10.0-1.el7.x86_64.rpm to be installed
Examining lustre-dkms-2.10.0-1.el7.noarch.rpm: lustre-dkms-2.10.0-1.el7.noarch
Marking lustre-dkms-2.10.0-1.el7.noarch.rpm to be installed
Examining lustre-iokit-2.10.0-1.el7.x86_64.rpm: lustre-iokit-2.10.0-1.el7.x86_64
Marking lustre-iokit-2.10.0-1.el7.x86_64.rpm to be installed
Examining lustre-osd-zfs-mount-2.10.0-1.el7.x86_64.rpm: lustre-osd-zfs-mount-2.10.0-1.el7.x86_64
Marking lustre-osd-zfs-mount-2.10.0-1.el7.x86_64.rpm to be installed
Examining lustre-resource-agents-2.10.0-1.el7.x86_64.rpm: lustre-resource-agents-2.10.0-1.el7.x86_64
Marking lustre-resource-agents-2.10.0-1.el7.x86_64.rpm to be installed
Examining lustre-tests-2.10.0-1.el7.x86_64.rpm: lustre-tests-2.10.0-1.el7.x86_64
Marking lustre-tests-2.10.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package lustre.x86_64 0:2.10.0-1.el7 will be installed
---> Package lustre-debuginfo.x86_64 0:2.10.0-1.el7 will be installed
---> Package lustre-dkms.noarch 0:2.10.0-1.el7 will be installed
---> Package lustre-iokit.x86_64 0:2.10.0-1.el7 will be installed
---> Package lustre-osd-zfs-mount.x86_64 0:2.10.0-1.el7 will be installed
---> Package lustre-resource-agents.x86_64 0:2.10.0-1.el7 will be installed
---> Package lustre-tests.x86_64 0:2.10.0-1.el7 will be installed
--> Processing Dependency: kmod-lustre-tests = 2.10.0 for package: lustre-tests-2.10.0-1.el7.x86_64
Loading mirror speeds from cached hostfile

  • base: centos.sonn.com
  • epel: linux.mirrors.es.net
  • extras: mirror.raystedman.net
  • updates: mirrors.unifiedlayer.com
    --> Processing Dependency: attr for package: lustre-tests-2.10.0-1.el7.x86_64
    --> Processing Dependency: libmpi.so.1()(64bit) for package: lustre-tests-2.10.0-1.el7.x86_64
    --> Running transaction check
    ---> Package attr.x86_64 0:2.4.46-12.el7 will be installed
    ---> Package compat-openmpi16.x86_64 0:1.6.4-10.3.el7 will be installed
    --> Processing Dependency: environment-modules for package: compat-openmpi16-1.6.4-10.3.el7.x86_64
    --> Processing Dependency: libosmcomp.so.3()(64bit) for package: compat-openmpi16-1.6.4-10.3.el7.x86_64
    --> Processing Dependency: libhwloc.so.5()(64bit) for package: compat-openmpi16-1.6.4-10.3.el7.x86_64
    --> Processing Dependency: libesmtp.so.6()(64bit) for package: compat-openmpi16-1.6.4-10.3.el7.x86_64
    ---> Package lustre-tests.x86_64 0:2.10.0-1.el7 will be installed
    --> Processing Dependency: kmod-lustre-tests = 2.10.0 for package: lustre-tests-2.10.0-1.el7.x86_64
    --> Running transaction check
    ---> Package environment-modules.x86_64 0:3.2.10-10.el7 will be installed
    ---> Package hwloc-libs.x86_64 0:1.11.2-1.el7 will be installed
    ---> Package libesmtp.x86_64 0:1.0.6-7.el7 will be installed
    ---> Package lustre-tests.x86_64 0:2.10.0-1.el7 will be installed
    --> Processing Dependency: kmod-lustre-tests = 2.10.0 for package: lustre-tests-2.10.0-1.el7.x86_64
    ---> Package opensm-libs.x86_64 0:3.3.19-1.el7 will be installed
    --> Finished Dependency Resolution
    Error: Package: lustre-tests-2.10.0-1.el7.x86_64 (/lustre-tests-2.10.0-1.el7.x86_64)
    Requires: kmod-lustre-tests = 2.10.0
    You could try using --skip-broken to work around the problem
    • Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openshmem_gcc_hfi-1.0h-20.x86_64 has missing requires of elfutils-libelf-devel

[root@OSS1-A212 x86_64]# yum install kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm
Loaded plugins: fastestmirror
Examining kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm: kmod-lustre-tests-2.10.0-1.el7.x86_64
Marking kmod-lustre-tests-2.10.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kmod-lustre-tests.x86_64 0:2.10.0-1.el7 will be installed
--> Processing Dependency: kernel(current_task) = 0xd5026ba3 for package: kmod-lustre-tests-2.10.0-1.el7.x86_64
Loading mirror speeds from cached hostfile

  • base: centos.sonn.com
  • epel: linux.mirrors.es.net
  • extras: mirror.raystedman.net

....
Available: kernel-debug-3.10.0-514.10.2.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
Available: kernel-debug-3.10.0-514.16.1.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
Available: kernel-debug-3.10.0-514.21.1.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
Available: kernel-debug-3.10.0-514.21.2.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
Available: kernel-debug-3.10.0-514.26.1.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
Available: kernel-debug-3.10.0-514.26.2.el7.x86_64 (updates)
kernel(module_layout) = 0xa3173bd4
You could try using --skip-broken to work around the problem

    • Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libosmcomp.so.3()(64bit)
      openmpi_gcc_hfi-1.10.4-9.x86_64 has missing requires of libpapi.so.5.2.0.0()(64bit)
      openshmem_gcc_hfi-1.0h-20.x86_64 has missing requires of elfutils-libelf-devel
Comment by Abe [ 02/Aug/17 ]

Hi Malcolm,
I think that this lustre release has been compiled with zfs version 0.6.5.9 and not zfs 0.7 hence
the mismatch problems..
should we install zfs 0.6.5.9 first and they try to install zfs 0.7 version with dkms ?

thanks,
Abe

Comment by Malcolm Cowe (Inactive) [ 03/Aug/17 ]

Don't try to install all of the RPMs in the Lustre repository – you end up installing more than you are likely to need. Also, if you don't resolve the dependencies, then some of the packages will fail to work – the Lustre tests have applications that use MPI, for example. I'd suggest not installing the lustre test packages unless specifically required for the server, and if they are required, then also install the dependencies.

When using the DKMS packages, you have to use the DKMS kernel modules for Lustre as well. There's a known issue with the kmod-lustre-sd-zfs RPM in the download directory and it will not work properly with ZFS on Linux RPMs.

Instead, I would recommend installing the following Lustre server packages (after installing ZFS DKMS):

lustre-dkms-2.10.0-1.el7.noarch.rpm
lustre-osd-zfs-mount-2.10.0-1.el7.x86_64.rpm
lustre-2.10.0-1.el7.x86_64.rpm
lustre-resource-agents-2.10.0-1.el7.x86_64.rpm

The lustre-dkms package will compile and install the kernel modules, and the other packages will install the Lustre user-space utilities. 

Comment by Abe [ 03/Aug/17 ]

Hi Malcolm,

the suggested lustre rpm install worked fine, however not able to run zfs commands ..
Is there an issue with zfs 0.7 ?
oot@OSS1-A212 x86_64]# modprobe lustre
[root@OSS1-A212 x86_64]# modprobe lnet
[root@OSS1-A212 x86_64]# lctl network up
LNET configured
[root@OSS1-A212 x86_64]# lctl list_nids
10.10.10.212@o2ib
[root@OSS1-A212 x86_64]# zpool
-bash: zpool: command not found
[root@OSS1-A212 x86_64]# pwd
/root/lustre-2.10/downloads.hpdd.intel.com/public/lustre/latest-feature-release/el7/server/RPMS/x86_64
[root@OSS1-A212 x86_64]# dkms status
lustre, 2.10.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
spl, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
zfs, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
[root@OSS1-A212 x86_64]# zpool
-bash: zpool: command not found
[root@OSS1-A212 x86_64]# mkfs
Usage:
mkfs [options] [-t <type>] [fs-options] <device> [<size>]

Options:
-t, --type=<type> filesystem type; when unspecified, ext2 is used
fs-options parameters for the real filesystem builder

thanks,
Abe

Comment by Abe [ 04/Aug/17 ]

Hi Malcolm,
just wondering if zfs 0.7 has been integrated with Lustre 2.10 ?

thanks,
Abe

Comment by Abe [ 07/Aug/17 ]

Hi Malcolm,
I have downgraded spl/zfs to version 0.6.5.9 and re-built lustre 2.10 with dkms
and sill not able to run zfs command lines, is this a know issue with lustre 2.10 ?
are you seeing this problem on your setup ?

dkms status
lustre, 2.10.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
spl, 0.6.5.9, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
zfs, 0.6.5.9, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
[root@OSS1-A212 ~]# zpool
-bash: zpool: command not found
[root@OSS1-A212 ~]# mkfs
Usage:
mkfs [options] [-t <type>] [fs-options] <device> [<size>]

Options:
-t, --type=<type> filesystem type; when unspecified, ext2 is used
fs-options parameters for the real filesystem builder
<device> path to the device to be used
<size> number of blocks to be used on the device
-V, --verbose explain what is being done;
specifying -V more than once will cause a dry-run
-V, --version display version information and exit;
-V as --version must be the only option
-h, --help display this help text and exit

For more information see mkfs(8).

thanks,
Abe

Comment by Malcolm Cowe (Inactive) [ 07/Aug/17 ]

DKMS does not install user-space commands, it only compiles and installs the kernel modules. This is not a Lustre issue. You just need to install the additional packages that have the command-line utilities.

Use the following command to install ZFS:

yum install zfs

This will resolve all of the dependencies, including the user-space packages that contain the zfs and zpool command lines.

Then use something like the following command to install Lustre:

yum localinstall \
lustre-dkms-2.10.0-1.el7.noarch.rpm \
lustre-osd-zfs-mount-2.10.0-1.el7.x86_64.rpm \
lustre-2.10.0-1.el7.x86_64.rpm \
lustre-resource-agents-2.10.0-1.el7.x86_64.rpm 

This will install the kernel modules using DKMS, plus the Lustre user-space utilities and ZFS OSD mount support. The above command assumes that the packages have been downloaded to a local directory. Otherwise amend the command to use install instead of localinstall

I strongly recommend using the latest ZFS version (0.7.0) in order to get the benefit of the metadata performance improvements.

 

Comment by Abe [ 08/Aug/17 ]

it works now, have the 0.7 zfs/spl on another node.
after adding user space packages via yum install zfs
We definitely need the 0.7 version for metadata performance impovements..

dkms status
lustre, 2.10.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
spl, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed
zfs, 0.7.0, 3.10.0-514.21.1.el7_lustre.x86_64, x86_64: installed

I think we can close this ticket now..

@mgs-200 ~]# zpool
missing command
usage: zpool command args ...
where 'command' is one of the following:

create [-fnd] [-o property=value] ...
[-O file-system-property=value] ...
[-m mountpoint] [-R root] <pool> <vdev> ...
destroy [-f] <pool>

thank you Malcolm,
Abe

Comment by Malcolm Cowe (Inactive) [ 08/Aug/17 ]

Hi Abe,

Thanks for the update. Glad to hear you've achieved a successful outcome.

Comment by Malcolm Cowe (Inactive) [ 08/Aug/17 ]

Customer success in installing Lustre + ZFS. Closing per customer recommendation.

Generated at Sat Feb 10 02:29:24 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.