sbcli-dev 3.8.64__zip → 3.8.65__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/PKG-INFO +1 -1
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/env_var +1 -1
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/PKG-INFO +1 -1
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/storage_node_ops.py +34 -29
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/README.md +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/pyproject.toml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/SOURCES.txt +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/dependency_links.txt +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/entry_points.txt +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/requires.txt +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/sbcli_dev.egg-info/top_level.txt +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/setup.cfg +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/setup.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_cli/cli.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_cli/main.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/cluster_ops.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/compute_node_ops.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/constants.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/caching_node_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/cluster_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/device_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/device_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/events_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/health_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/lvol_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/pool_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/snapshot_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/tasks_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/tasks_events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/distr_controller.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/kv_store.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/mgmt_node_ops.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/compute_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/deployer.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/events.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/global_settings.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/iface.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/job_schedule.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/nvme_device.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/pool.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/stats.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/models/storage_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/rpc_client.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboard.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/cluster.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/deploy_stack.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/docker-compose-swarm.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/haproxy.cfg +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/install_deps.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/objstore.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/prometheus.yml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/cached_lvol_stat_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/capacity_and_stats_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/device_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/distr_event_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/health_check_service.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/log_agg_service.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/lvol_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/lvol_stat_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/main_distr_event_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/new_device_discovery.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/port_stat_collector.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/spdk_http_proxy_server.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/storage_node_monitor.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_failed_migration.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_migration.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_new_dev_migration.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_node_add.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_restart.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/snode_client.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/utils.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/app.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/node_api_caching_docker.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/node_api_caching_ks.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/snode_ops.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/snode_ops_k8s.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_cluster.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_deployer.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_device.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_lvol.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_pool.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/blueprints/web_api_storage_node.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/caching_node_app.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/caching_node_app_k8s.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/node_utils.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/snode_app.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/snode_app_k8s.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/delete.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/static/tst.py +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/templates/caching_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/templates/storage_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_web/utils.py +0 -0
|
@@ -2608,6 +2608,14 @@ def create_lvstore(snode, ndcs, npcs, distr_bs, distr_chunk_bs, page_size_in_blo
|
|
|
2608
2608
|
},
|
|
2609
2609
|
"distribs_list": distrib_list
|
|
2610
2610
|
},
|
|
2611
|
+
# {
|
|
2612
|
+
# "type": "bdev_ptnonexcl",
|
|
2613
|
+
# "name": "raid_PT",
|
|
2614
|
+
# "params": {
|
|
2615
|
+
# "name": "raid_PT",
|
|
2616
|
+
# "base_bdev_name": raid_device
|
|
2617
|
+
# }
|
|
2618
|
+
# },
|
|
2611
2619
|
{
|
|
2612
2620
|
"type": "bdev_lvstore",
|
|
2613
2621
|
"name": lvs_name,
|
|
@@ -2649,7 +2657,6 @@ def _create_bdev_stack(snode, lvstore_stack=None):
|
|
|
2649
2657
|
else:
|
|
2650
2658
|
stack = lvstore_stack
|
|
2651
2659
|
|
|
2652
|
-
raid_device = None
|
|
2653
2660
|
for bdev in stack:
|
|
2654
2661
|
type = bdev['type']
|
|
2655
2662
|
name = bdev['name']
|
|
@@ -2670,11 +2677,34 @@ def _create_bdev_stack(snode, lvstore_stack=None):
|
|
|
2670
2677
|
elif type == "bdev_lvstore" and lvstore_stack:
|
|
2671
2678
|
ret = rpc_client.create_lvstore(**params)
|
|
2672
2679
|
|
|
2680
|
+
elif type == "bdev_ptnonexcl":
|
|
2681
|
+
ret = rpc_client.bdev_PT_NoExcl_create(**params)
|
|
2682
|
+
if ret:
|
|
2683
|
+
try:
|
|
2684
|
+
# add pass through
|
|
2685
|
+
pt_name = "raid_PT"
|
|
2686
|
+
subsystem_nqn = snode.subsystem + ":dev:raid"
|
|
2687
|
+
logger.info("creating raid subsystem %s", subsystem_nqn)
|
|
2688
|
+
ret = rpc_client.subsystem_create(subsystem_nqn, 'sbcli-cn', 'sbcli-cn')
|
|
2689
|
+
for iface in snode.data_nics:
|
|
2690
|
+
if iface.ip4_address:
|
|
2691
|
+
tr_type = iface.get_transport_type()
|
|
2692
|
+
logger.info("adding listener for %s on IP %s" % (subsystem_nqn, iface.ip4_address))
|
|
2693
|
+
ret = rpc_client.listeners_create(subsystem_nqn, tr_type, iface.ip4_address, "4420")
|
|
2694
|
+
break
|
|
2695
|
+
logger.info(f"add {pt_name} to subsystem")
|
|
2696
|
+
ret = rpc_client.nvmf_subsystem_add_ns(subsystem_nqn, pt_name)
|
|
2697
|
+
if not ret:
|
|
2698
|
+
logger.error(f"Failed to add: {pt_name} to the subsystem: {subsystem_nqn}")
|
|
2699
|
+
return False
|
|
2700
|
+
except:
|
|
2701
|
+
pass
|
|
2702
|
+
|
|
2673
2703
|
elif type == "bdev_raid":
|
|
2674
2704
|
distribs_list = bdev["distribs_list"]
|
|
2675
2705
|
strip_size_kb = params["strip_size_kb"]
|
|
2676
2706
|
ret = rpc_client.bdev_raid_create(name, distribs_list, strip_size_kb=strip_size_kb)
|
|
2677
|
-
|
|
2707
|
+
|
|
2678
2708
|
else:
|
|
2679
2709
|
logger.debug(f"Unknown BDev type: {type}")
|
|
2680
2710
|
continue
|
|
@@ -2688,33 +2718,6 @@ def _create_bdev_stack(snode, lvstore_stack=None):
|
|
|
2688
2718
|
_remove_bdev_stack(created_bdevs[::-1], rpc_client)
|
|
2689
2719
|
return False, f"Failed to create BDev: {name}"
|
|
2690
2720
|
|
|
2691
|
-
if raid_device:
|
|
2692
|
-
try:
|
|
2693
|
-
# add pass through
|
|
2694
|
-
rpc_client = RPCClient(snode.mgmt_ip, snode.rpc_port, snode.rpc_username, snode.rpc_password)
|
|
2695
|
-
pt_name = "raid_PT"
|
|
2696
|
-
ret = rpc_client.bdev_PT_NoExcl_create(pt_name, raid_device)
|
|
2697
|
-
if not ret:
|
|
2698
|
-
logger.error(f"Failed to create pt noexcl bdev: {pt_name}")
|
|
2699
|
-
return False
|
|
2700
|
-
|
|
2701
|
-
subsystem_nqn = snode.subsystem + ":dev:raid"
|
|
2702
|
-
logger.info("creating raid subsystem %s", subsystem_nqn)
|
|
2703
|
-
ret = rpc_client.subsystem_create(subsystem_nqn, 'sbcli-cn', 'sbcli-cn')
|
|
2704
|
-
for iface in snode.data_nics:
|
|
2705
|
-
if iface.ip4_address:
|
|
2706
|
-
tr_type = iface.get_transport_type()
|
|
2707
|
-
logger.info("adding listener for %s on IP %s" % (subsystem_nqn, iface.ip4_address))
|
|
2708
|
-
ret = rpc_client.listeners_create(subsystem_nqn, tr_type, iface.ip4_address, "4420")
|
|
2709
|
-
break
|
|
2710
|
-
logger.info(f"add {pt_name} to subsystem")
|
|
2711
|
-
ret = rpc_client.nvmf_subsystem_add_ns(subsystem_nqn, pt_name)
|
|
2712
|
-
if not ret:
|
|
2713
|
-
logger.error(f"Failed to add: {pt_name} to the subsystem: {subsystem_nqn}")
|
|
2714
|
-
return False
|
|
2715
|
-
except:
|
|
2716
|
-
pass
|
|
2717
|
-
|
|
2718
2721
|
return True, None
|
|
2719
2722
|
|
|
2720
2723
|
|
|
@@ -2730,6 +2733,8 @@ def _remove_bdev_stack(bdev_stack, rpc_client, remove_distr_only=False):
|
|
|
2730
2733
|
ret = rpc_client.bdev_raid_delete(name)
|
|
2731
2734
|
elif type == "bdev_lvstore" and not remove_distr_only:
|
|
2732
2735
|
ret = rpc_client.bdev_lvol_delete_lvstore(name)
|
|
2736
|
+
elif type == "bdev_ptnonexcl":
|
|
2737
|
+
ret = rpc_client.bdev_PT_NoExcl_delete(name)
|
|
2733
2738
|
else:
|
|
2734
2739
|
logger.debug(f"Unknown BDev type: {type}")
|
|
2735
2740
|
continue
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/controllers/caching_node_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/clean_local_storage_deploy.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/dashboards/node-exporter.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/cached_lvol_stat_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/capacity_and_stats_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/main_distr_event_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_failed_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-3.8.64 → sbcli_dev-3.8.65}/simplyblock_core/services/tasks_runner_new_dev_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|