Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16549 test: pool/create.py - Use storage: auto #15709

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 36 additions & 138 deletions src/tests/ftest/pool/create_all_hw.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
setup:
start_agents_once: False
start_servers_once: False
server_config_namespace: /run/server_configurations/*/server_config/*

hosts:
test_servers: 3
Expand Down Expand Up @@ -39,145 +38,44 @@ test_two_pools_hw:
scm: 2147483648 # 2GiB
nvme: 0

# Mux the number of targets per engine (1-4) with both engines using the same number of targets
server_configurations: !mux
server_config_1_target:
server_config:
name: daos_server
engines_per_host: 2
engines:
0:
server_config:
name: daos_server
engines_per_host: 2
# Mux the number of targets per engine (1-4) with both engines using the same number of targets
engines:
0:
target_mux: !mux
1_target:
targets: 1
pinned_numa_node: 0
nr_xs_helpers: 1
fabric_iface: ib0
fabric_iface_port: 31317
log_file: daos_server0.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem0"]
scm_mount: /mnt/daos0
1:
class: nvme
bdev_list: ["aaaa:aa:aa.a"]
1:
targets: 1
pinned_numa_node: 1
nr_xs_helpers: 1
fabric_iface: ib1
fabric_iface_port: 31417
log_file: daos_server1.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem1"]
scm_mount: /mnt/daos1
1:
class: nvme
bdev_list: ["bbbb:bb:bb.b"]
server_config_2_target:
server_config:
name: daos_server
engines_per_host: 2
engines:
0:
targets: 2
pinned_numa_node: 0
nr_xs_helpers: 1
fabric_iface: ib0
fabric_iface_port: 31317
log_file: daos_server0.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem0"]
scm_mount: /mnt/daos0
1:
class: nvme
bdev_list: ["aaaa:aa:aa.a"]
1:
2_targets:
targets: 2
pinned_numa_node: 1
nr_xs_helpers: 1
fabric_iface: ib1
fabric_iface_port: 31417
log_file: daos_server1.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem1"]
scm_mount: /mnt/daos1
1:
class: nvme
bdev_list: ["bbbb:bb:bb.b"]
server_config_3_target:
server_config:
name: daos_server
engines_per_host: 2
engines:
0:
targets: 3
pinned_numa_node: 0
nr_xs_helpers: 1
fabric_iface: ib0
fabric_iface_port: 31317
log_file: daos_server0.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem0"]
scm_mount: /mnt/daos0
1:
class: nvme
bdev_list: ["aaaa:aa:aa.a"]
1:
3_target:
targets: 3
pinned_numa_node: 1
nr_xs_helpers: 1
fabric_iface: ib1
fabric_iface_port: 31417
log_file: daos_server1.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem1"]
scm_mount: /mnt/daos1
1:
class: nvme
bdev_list: ["bbbb:bb:bb.b"]
server_config_5_target:
server_config:
name: daos_server
engines_per_host: 2
engines:
0:
5_targets:
targets: 5
pinned_numa_node: 0
nr_xs_helpers: 1
fabric_iface: ib0
fabric_iface_port: 31317
log_file: daos_server0.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem0"]
scm_mount: /mnt/daos0
1:
class: nvme
bdev_list: ["aaaa:aa:aa.a"]
1:
pinned_numa_node: 0
nr_xs_helpers: 1
fabric_iface: ib0
fabric_iface_port: 31317
log_file: daos_server0.log
storage: auto
1:
target_mux: !mux
1_target:
targets: 1
!filter-only : /run/server_config/engines/0/target_mux/1_target # yamllint disable-line rule:colons
2_targets:
targets: 2
!filter-only : /run/server_config/engines/0/target_mux/2_targets # yamllint disable-line rule:colons
3_target:
targets: 3
!filter-only : /run/server_config/engines/0/target_mux/3_target # yamllint disable-line rule:colons
5_targets:
targets: 5
pinned_numa_node: 1
nr_xs_helpers: 1
fabric_iface: ib1
fabric_iface_port: 31417
log_file: daos_server1.log
storage:
0:
class: dcpm
scm_list: ["/dev/pmem1"]
scm_mount: /mnt/daos1
1:
class: nvme
bdev_list: ["bbbb:bb:bb.b"]
!filter-only : /run/server_config/engines/0/target_mux/5_targets # yamllint disable-line rule:colons
pinned_numa_node: 1
nr_xs_helpers: 1
fabric_iface: ib1
fabric_iface_port: 31417
log_file: daos_server1.log
storage: auto
Loading