sbcli-dev 4.0.1__zip → 4.0.3__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-4.0.1 → sbcli_dev-4.0.3}/PKG-INFO +1 -1
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/env_var +1 -1
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/PKG-INFO +1 -1
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/lvol_controller.py +1 -1
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/tasks_controller.py +14 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/distr_controller.py +5 -2
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/storage_node_ops.py +5 -5
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/README.md +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/pyproject.toml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/SOURCES.txt +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/dependency_links.txt +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/entry_points.txt +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/requires.txt +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/sbcli_dev.egg-info/top_level.txt +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/setup.cfg +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/setup.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_cli/cli.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_cli/main.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/cluster_ops.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/compute_node_ops.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/constants.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/caching_node_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/cluster_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/device_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/device_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/events_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/health_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/pool_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/snapshot_controller.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/controllers/tasks_events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/kv_store.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/mgmt_node_ops.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/compute_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/deployer.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/events.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/global_settings.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/iface.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/job_schedule.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/nvme_device.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/pool.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/stats.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/models/storage_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/rpc_client.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboard.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/cluster.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/deploy_stack.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/docker-compose-swarm.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/haproxy.cfg +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/install_deps.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/objstore.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/prometheus.yml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/cached_lvol_stat_collector.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/capacity_and_stats_collector.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/device_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/health_check_service.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/log_agg_service.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/lvol_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/lvol_stat_collector.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/main_distr_event_collector.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/new_device_discovery.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/port_stat_collector.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/spdk_http_proxy_server.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/storage_node_monitor.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_failed_migration.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_migration.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_new_dev_migration.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_node_add.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_restart.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/snode_client.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/utils.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/app.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/node_api_caching_docker.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/node_api_caching_ks.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/snode_ops.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/snode_ops_k8s.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_cluster.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_deployer.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_device.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_lvol.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_pool.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/blueprints/web_api_storage_node.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/caching_node_app.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/caching_node_app_k8s.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/node_utils.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/snode_app.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/snode_app_k8s.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/delete.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/static/tst.py +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/templates/caching_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/templates/storage_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/simplyblock_web/utils.py +0 -0
|
@@ -575,7 +575,7 @@ def _create_bdev_stack(lvol, snode, ha_comm_addrs, ha_inode_self):
|
|
|
575
575
|
ret = distr_controller.send_cluster_map_to_node(snode)
|
|
576
576
|
if not ret:
|
|
577
577
|
return False, "Failed to send cluster map"
|
|
578
|
-
time.sleep(3)
|
|
578
|
+
# time.sleep(3)
|
|
579
579
|
|
|
580
580
|
elif type == "bmap_init":
|
|
581
581
|
ret = rpc_client.ultra21_lvol_bmap_init(**params)
|
|
@@ -47,6 +47,11 @@ def _add_task(function_name, cluster_id, node_id, device_id,
|
|
|
47
47
|
if task_id:
|
|
48
48
|
logger.info(f"Task found, skip adding new task: {task_id}")
|
|
49
49
|
return False
|
|
50
|
+
elif function_name == JobSchedule.FN_NEW_DEV_MIG:
|
|
51
|
+
task_id = get_new_device_mig_task(cluster_id, node_id, function_params['distr_name'])
|
|
52
|
+
if task_id:
|
|
53
|
+
logger.info(f"Task found, skip adding new task: {task_id}")
|
|
54
|
+
return False
|
|
50
55
|
|
|
51
56
|
task_obj = JobSchedule()
|
|
52
57
|
task_obj.uuid = str(uuid.uuid4())
|
|
@@ -186,3 +191,12 @@ def get_active_node_task(cluster_id, node_id):
|
|
|
186
191
|
if task.status == JobSchedule.STATUS_RUNNING and task.canceled is False:
|
|
187
192
|
return task.uuid
|
|
188
193
|
return False
|
|
194
|
+
|
|
195
|
+
def get_new_device_mig_task(cluster_id, node_id, distr_name):
|
|
196
|
+
tasks = db_controller.get_job_tasks(cluster_id)
|
|
197
|
+
for task in tasks:
|
|
198
|
+
if task.function_name == JobSchedule.FN_NEW_DEV_MIG and task.node_id == node_id:
|
|
199
|
+
if task.status != JobSchedule.STATUS_DONE and task.canceled is False \
|
|
200
|
+
and "distr_name" in task.function_params and task.function_params["distr_name"] == distr_name:
|
|
201
|
+
return task.uuid
|
|
202
|
+
return False
|
|
@@ -31,7 +31,7 @@ def send_node_status_event(node, node_status):
|
|
|
31
31
|
ret = rpc_client.distr_status_events_update(events)
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
def send_dev_status_event(device, dev_status):
|
|
34
|
+
def send_dev_status_event(device, dev_status, target_node=None):
|
|
35
35
|
db_controller = DBController()
|
|
36
36
|
storage_ID = device.cluster_device_order
|
|
37
37
|
node_status_event = {
|
|
@@ -41,7 +41,10 @@ def send_dev_status_event(device, dev_status):
|
|
|
41
41
|
"status": dev_status}
|
|
42
42
|
events = {"events": [node_status_event]}
|
|
43
43
|
logger.debug(node_status_event)
|
|
44
|
-
|
|
44
|
+
if target_node:
|
|
45
|
+
snodes = [target_node]
|
|
46
|
+
else:
|
|
47
|
+
snodes = db_controller.get_storage_nodes_by_cluster_id(device.cluster_id)
|
|
45
48
|
for node in snodes:
|
|
46
49
|
if node.status not in [StorageNode.STATUS_ONLINE, StorageNode.STATUS_SUSPENDED]:
|
|
47
50
|
continue
|
|
@@ -778,6 +778,7 @@ def _connect_to_remote_devs(this_node):
|
|
|
778
778
|
continue
|
|
779
779
|
dev.remote_bdev = bdev_name
|
|
780
780
|
remote_devices.append(dev)
|
|
781
|
+
distr_controller.send_dev_status_event(dev, dev.status, node)
|
|
781
782
|
return remote_devices
|
|
782
783
|
|
|
783
784
|
|
|
@@ -1683,10 +1684,6 @@ def restart_storage_node(
|
|
|
1683
1684
|
logger.info("Connecting to remote JMs")
|
|
1684
1685
|
snode.remote_jm_devices = _connect_to_remote_jm_devs(snode)
|
|
1685
1686
|
|
|
1686
|
-
logger.info(f"Sending device status event")
|
|
1687
|
-
for dev in snode.nvme_devices:
|
|
1688
|
-
distr_controller.send_dev_status_event(dev, dev.status)
|
|
1689
|
-
|
|
1690
1687
|
logger.info("Setting node status to Online")
|
|
1691
1688
|
set_node_status(node_id, StorageNode.STATUS_ONLINE)
|
|
1692
1689
|
|
|
@@ -1701,6 +1698,9 @@ def restart_storage_node(
|
|
|
1701
1698
|
node.remote_jm_devices = _connect_to_remote_jm_devs(node)
|
|
1702
1699
|
node.write_to_db(kv_store)
|
|
1703
1700
|
|
|
1701
|
+
logger.info(f"Sending device status event")
|
|
1702
|
+
for dev in snode.nvme_devices:
|
|
1703
|
+
distr_controller.send_dev_status_event(dev, dev.status)
|
|
1704
1704
|
|
|
1705
1705
|
logger.info("Starting migration tasks")
|
|
1706
1706
|
for dev in snode.nvme_devices:
|
|
@@ -2658,7 +2658,7 @@ def create_lvstore(snode, ndcs, npcs, distr_bs, distr_chunk_bs, page_size_in_blo
|
|
|
2658
2658
|
snode.lvstore_stack = lvstore_stack
|
|
2659
2659
|
snode.raid = raid_device
|
|
2660
2660
|
snode.write_to_db()
|
|
2661
|
-
time.sleep(1)
|
|
2661
|
+
# time.sleep(1)
|
|
2662
2662
|
return True
|
|
2663
2663
|
|
|
2664
2664
|
|
|
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-4.0.1 → sbcli_dev-4.0.3}/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-4.0.1 → sbcli_dev-4.0.3}/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-4.0.1 → sbcli_dev-4.0.3}/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-4.0.1 → sbcli_dev-4.0.3}/simplyblock_core/services/tasks_runner_failed_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-4.0.1 → sbcli_dev-4.0.3}/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
|