sbcli-dev 5.0.9__zip → 5.1.0__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.
Potentially problematic release.
This version of sbcli-dev might be problematic. Click here for more details.
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/PKG-INFO +1 -1
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/env_var +1 -1
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/PKG-INFO +1 -1
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/storage_node_ops.py +17 -13
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/README.md +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/pyproject.toml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/SOURCES.txt +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/dependency_links.txt +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/entry_points.txt +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/requires.txt +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/sbcli_dev.egg-info/top_level.txt +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/setup.cfg +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/setup.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_cli/cli.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_cli/main.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/cluster_ops.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/compute_node_ops.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/constants.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/caching_node_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/cluster_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/device_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/device_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/events_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/health_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/lvol_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/pool_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/snapshot_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/tasks_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/controllers/tasks_events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/distr_controller.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/kv_store.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/mgmt_node_ops.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/compute_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/deployer.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/events.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/global_settings.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/iface.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/job_schedule.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/nvme_device.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/pool.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/stats.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/models/storage_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/rpc_client.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboard.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/cluster.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/deploy_stack.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/docker-compose-swarm.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/haproxy.cfg +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/install_deps.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/objstore.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/prometheus.yml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/cached_lvol_stat_collector.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/capacity_and_stats_collector.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/device_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/health_check_service.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/log_agg_service.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/lvol_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/lvol_stat_collector.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/main_distr_event_collector.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/new_device_discovery.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/port_stat_collector.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/spdk_http_proxy_server.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/storage_node_monitor.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_failed_migration.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_migration.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_new_dev_migration.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_node_add.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_restart.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/snode_client.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/utils.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/app.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/node_api_caching_docker.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/node_api_caching_ks.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/snode_ops.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/snode_ops_k8s.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_cluster.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_deployer.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_device.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_lvol.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_pool.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/blueprints/web_api_storage_node.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/caching_node_app.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/caching_node_app_k8s.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/node_utils.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/snode_app.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/snode_app_k8s.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/delete.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/static/tst.py +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/templates/caching_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/templates/storage_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_web/utils.py +0 -0
|
@@ -542,7 +542,7 @@ def _create_device_partitions(rpc_client, nvme, snode, num_partitions_per_dev, j
|
|
|
542
542
|
return True
|
|
543
543
|
|
|
544
544
|
|
|
545
|
-
def _prepare_cluster_devices_partitions(snode, devices
|
|
545
|
+
def _prepare_cluster_devices_partitions(snode, devices):
|
|
546
546
|
db_controller = DBController()
|
|
547
547
|
rpc_client = RPCClient(
|
|
548
548
|
snode.mgmt_ip, snode.rpc_port,
|
|
@@ -551,6 +551,7 @@ def _prepare_cluster_devices_partitions(snode, devices, without_jm=False):
|
|
|
551
551
|
new_devices = []
|
|
552
552
|
jm_devices = []
|
|
553
553
|
dev_order = get_next_cluster_device_order(db_controller, snode.cluster_id)
|
|
554
|
+
bdevs_names = [d['name'] for d in rpc_client.get_bdevs()]
|
|
554
555
|
for index, nvme in enumerate(devices):
|
|
555
556
|
if nvme.status == "not_found":
|
|
556
557
|
continue
|
|
@@ -562,6 +563,12 @@ def _prepare_cluster_devices_partitions(snode, devices, without_jm=False):
|
|
|
562
563
|
|
|
563
564
|
if nvme.is_partition:
|
|
564
565
|
partitioned_devices = [nvme]
|
|
566
|
+
|
|
567
|
+
dev_part = f"{nvme.nvme_bdev[:-2]}p1"
|
|
568
|
+
if dev_part in bdevs_names:
|
|
569
|
+
if dev_part not in jm_devices:
|
|
570
|
+
jm_devices.append(dev_part)
|
|
571
|
+
|
|
565
572
|
else:
|
|
566
573
|
# look for partitions
|
|
567
574
|
partitioned_devices = _search_for_partitions(rpc_client, nvme)
|
|
@@ -579,10 +586,10 @@ def _prepare_cluster_devices_partitions(snode, devices, without_jm=False):
|
|
|
579
586
|
logger.error("Failed to create partitions")
|
|
580
587
|
return False
|
|
581
588
|
|
|
582
|
-
jm_devices.append(partitioned_devices.pop(0))
|
|
589
|
+
jm_devices.append(partitioned_devices.pop(0).nvme_bdev)
|
|
583
590
|
|
|
584
591
|
for dev in partitioned_devices:
|
|
585
|
-
new_device = _create_storage_device_stack(rpc_client, dev, snode, after_restart=
|
|
592
|
+
new_device = _create_storage_device_stack(rpc_client, dev, snode, after_restart=nvme.status==NVMeDevice.STATUS_ONLINE)
|
|
586
593
|
if not new_device:
|
|
587
594
|
logger.error("failed to create dev stack")
|
|
588
595
|
return False
|
|
@@ -598,13 +605,11 @@ def _prepare_cluster_devices_partitions(snode, devices, without_jm=False):
|
|
|
598
605
|
snode.nvme_devices = new_devices
|
|
599
606
|
|
|
600
607
|
if jm_devices:
|
|
601
|
-
|
|
602
|
-
jm_device = _create_jm_stack_on_raid(rpc_client, jm_nvme_bdevs, snode, after_restart=False)
|
|
608
|
+
jm_device = _create_jm_stack_on_raid(rpc_client, jm_devices, snode, after_restart=False)
|
|
603
609
|
if not jm_device:
|
|
604
610
|
logger.error(f"Failed to create JM device")
|
|
605
611
|
return False
|
|
606
|
-
|
|
607
|
-
jm_device.status = JMDevice.STATUS_REMOVED
|
|
612
|
+
|
|
608
613
|
snode.jm_device = jm_device
|
|
609
614
|
|
|
610
615
|
return True
|
|
@@ -1209,14 +1214,13 @@ def add_node(cluster_id, node_ip, iface_name, data_nics_list,
|
|
|
1209
1214
|
logger.error("No NVMe devices was found!")
|
|
1210
1215
|
return False
|
|
1211
1216
|
|
|
1212
|
-
jm_device = nvme_devs[0]
|
|
1213
|
-
for nvme in nvme_devs[1:]:
|
|
1214
|
-
if nvme.size < jm_device.size:
|
|
1215
|
-
jm_device = nvme
|
|
1216
|
-
jm_device.status = NVMeDevice.STATUS_JM
|
|
1217
|
-
|
|
1218
1217
|
# prepare devices
|
|
1219
1218
|
if snode.num_partitions_per_dev == 0 or snode.jm_percent == 0:
|
|
1219
|
+
jm_device = nvme_devs[0]
|
|
1220
|
+
for nvme in nvme_devs[1:]:
|
|
1221
|
+
if nvme.size < jm_device.size:
|
|
1222
|
+
jm_device = nvme
|
|
1223
|
+
jm_device.status = NVMeDevice.STATUS_JM
|
|
1220
1224
|
ret = _prepare_cluster_devices_jm_on_dev(snode, nvme_devs)
|
|
1221
1225
|
else:
|
|
1222
1226
|
ret = _prepare_cluster_devices_partitions(snode, nvme_devs)
|
|
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
|
|
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-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2
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
|
{sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/simplyblock_core/services/tasks_runner_failed_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-5.0.9 → sbcli_dev-5.1.0}/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
|