sbcli-dev 12.0.1__tar.gz → 12.0.3__tar.gz
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-12.0.1 → sbcli_dev-12.0.3}/PKG-INFO +1 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/PKG-INFO +1 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/cluster_ops.py +12 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/device_events.py +9 -8
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/lvol_controller.py +24 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/env_var +1 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/storage_node_ops.py +25 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_lvol.py +1 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_storage_node.py +1 -1
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/README.md +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/pyproject.toml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/requirements.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/SOURCES.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/dependency_links.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/entry_points.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/requires.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/sbcli_dev.egg-info/top_level.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/setup.cfg +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/setup.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_cli/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_cli/cli.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_cli/main.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/constants.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/caching_node_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/cluster_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/device_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/events_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/health_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/pool_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/snapshot_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/tasks_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/controllers/tasks_events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/db_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/distr_controller.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/mgmt_node_ops.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/deployer.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/events.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/iface.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/job_schedule.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/nvme_device.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/pool.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/stats.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/models/storage_node.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/rpc_client.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboard.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/cluster.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/deploy_fdb.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/deploy_stack.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/docker-compose-swarm.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/foundation.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/haproxy.cfg +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/install_deps.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/objstore.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/prepare_fdb.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/prometheus.yml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/cached_lvol_stat_collector.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/capacity_and_stats_collector.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/device_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/health_check_service.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/log_agg_service.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/lvol_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/lvol_stat_collector.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/main_distr_event_collector.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/new_device_discovery.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/port_stat_collector.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/spdk_http_proxy_server.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/storage_node_monitor.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_failed_migration.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_migration.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_new_dev_migration.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_node_add.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_restart.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/snode_client.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/utils.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/workers/cleanup_foundationdb.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/README.md +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/app.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/node_api_caching_docker.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/node_api_caching_ks.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/snode_ops.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/snode_ops_k8s.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_cluster.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_deployer.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_device.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_pool.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/caching_node_app.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/caching_node_app_k8s.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/node_utils.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/requirements.txt +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/snode_app.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/snode_app_k8s.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/delete.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/static/tst.py +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/templates/caching_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/templates/storage_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_web/utils.py +0 -0
|
@@ -836,6 +836,18 @@ def get_iostats_history(cluster_id, history_string, records_count=20, parse_size
|
|
|
836
836
|
"size_free",
|
|
837
837
|
"size_util",
|
|
838
838
|
"size_prov_util",
|
|
839
|
+
"read_latency_ticks",
|
|
840
|
+
"record_duration",
|
|
841
|
+
"record_end_time",
|
|
842
|
+
"record_start_time",
|
|
843
|
+
"unmap_bytes",
|
|
844
|
+
"unmap_bytes_ps",
|
|
845
|
+
"unmap_io",
|
|
846
|
+
"unmap_io_ps",
|
|
847
|
+
"unmap_latency_ps",
|
|
848
|
+
"unmap_latency_ticks",
|
|
849
|
+
"write_bytes_ps",
|
|
850
|
+
"write_latency_ticks",
|
|
839
851
|
]
|
|
840
852
|
)
|
|
841
853
|
# combine records
|
|
@@ -10,14 +10,15 @@ db_controller = DBController()
|
|
|
10
10
|
|
|
11
11
|
def _device_event(device, message, caused_by, event):
|
|
12
12
|
snode = db_controller.get_storage_node_by_id(device.node_id)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
if snode:
|
|
14
|
+
ec.log_event_cluster(
|
|
15
|
+
cluster_id=snode.cluster_id,
|
|
16
|
+
domain=ec.DOMAIN_CLUSTER,
|
|
17
|
+
event=event,
|
|
18
|
+
db_object=device,
|
|
19
|
+
caused_by=caused_by,
|
|
20
|
+
message=message,
|
|
21
|
+
node_id=device.get_id())
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
def device_create(device, caused_by=ec.CAUSED_BY_CLI):
|
|
@@ -1260,7 +1260,7 @@ def get_capacity(lvol_uuid, history, records_count=20, parse_sizes=True):
|
|
|
1260
1260
|
return out
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
def get_io_stats(lvol_uuid, history, records_count=20, parse_sizes=True):
|
|
1263
|
+
def get_io_stats(lvol_uuid, history, records_count=20, parse_sizes=True, with_sizes=False):
|
|
1264
1264
|
lvol = db_controller.get_lvol_by_id(lvol_uuid)
|
|
1265
1265
|
if not lvol:
|
|
1266
1266
|
logger.error(f"LVol not found: {lvol_uuid}")
|
|
@@ -1289,6 +1289,29 @@ def get_io_stats(lvol_uuid, history, records_count=20, parse_sizes=True):
|
|
|
1289
1289
|
"write_latency_ps",
|
|
1290
1290
|
"connected_clients",
|
|
1291
1291
|
]
|
|
1292
|
+
if with_sizes:
|
|
1293
|
+
io_stats_keys.extend(
|
|
1294
|
+
[
|
|
1295
|
+
"size_total",
|
|
1296
|
+
"size_prov",
|
|
1297
|
+
"size_used",
|
|
1298
|
+
"size_free",
|
|
1299
|
+
"size_util",
|
|
1300
|
+
"size_prov_util",
|
|
1301
|
+
"read_latency_ticks",
|
|
1302
|
+
"record_duration",
|
|
1303
|
+
"record_end_time",
|
|
1304
|
+
"record_start_time",
|
|
1305
|
+
"unmap_bytes",
|
|
1306
|
+
"unmap_bytes_ps",
|
|
1307
|
+
"unmap_io",
|
|
1308
|
+
"unmap_io_ps",
|
|
1309
|
+
"unmap_latency_ps",
|
|
1310
|
+
"unmap_latency_ticks",
|
|
1311
|
+
"write_bytes_ps",
|
|
1312
|
+
"write_latency_ticks",
|
|
1313
|
+
]
|
|
1314
|
+
)
|
|
1292
1315
|
# combine records
|
|
1293
1316
|
new_records = utils.process_records(records_list, records_count, keys=io_stats_keys)
|
|
1294
1317
|
|
|
@@ -2406,7 +2406,7 @@ def get_node_capacity(node_id, history, records_count=20, parse_sizes=True):
|
|
|
2406
2406
|
return out
|
|
2407
2407
|
|
|
2408
2408
|
|
|
2409
|
-
def get_node_iostats_history(node_id, history, records_count=20, parse_sizes=True):
|
|
2409
|
+
def get_node_iostats_history(node_id, history, records_count=20, parse_sizes=True, with_sizes=False):
|
|
2410
2410
|
db_controller = DBController()
|
|
2411
2411
|
node = db_controller.get_storage_node_by_id(node_id)
|
|
2412
2412
|
if not node:
|
|
@@ -2436,6 +2436,30 @@ def get_node_iostats_history(node_id, history, records_count=20, parse_sizes=Tru
|
|
|
2436
2436
|
"write_io_ps",
|
|
2437
2437
|
"write_latency_ps",
|
|
2438
2438
|
]
|
|
2439
|
+
|
|
2440
|
+
if with_sizes:
|
|
2441
|
+
io_stats_keys.extend(
|
|
2442
|
+
[
|
|
2443
|
+
"size_total",
|
|
2444
|
+
"size_prov",
|
|
2445
|
+
"size_used",
|
|
2446
|
+
"size_free",
|
|
2447
|
+
"size_util",
|
|
2448
|
+
"size_prov_util",
|
|
2449
|
+
"read_latency_ticks",
|
|
2450
|
+
"record_duration",
|
|
2451
|
+
"record_end_time",
|
|
2452
|
+
"record_start_time",
|
|
2453
|
+
"unmap_bytes",
|
|
2454
|
+
"unmap_bytes_ps",
|
|
2455
|
+
"unmap_io",
|
|
2456
|
+
"unmap_io_ps",
|
|
2457
|
+
"unmap_latency_ps",
|
|
2458
|
+
"unmap_latency_ticks",
|
|
2459
|
+
"write_bytes_ps",
|
|
2460
|
+
"write_latency_ticks",
|
|
2461
|
+
]
|
|
2462
|
+
)
|
|
2439
2463
|
# combine records
|
|
2440
2464
|
new_records = utils.process_records(records, records_count, keys=io_stats_keys)
|
|
2441
2465
|
|
|
@@ -62,7 +62,7 @@ def lvol_iostats(uuid, history):
|
|
|
62
62
|
if req_secret != pool.secret:
|
|
63
63
|
return utils.get_response_error(f"Pool secret doesn't mach the value in the request header", 400)
|
|
64
64
|
|
|
65
|
-
data = lvol_controller.get_io_stats(uuid, history, parse_sizes=False)
|
|
65
|
+
data = lvol_controller.get_io_stats(uuid, history, parse_sizes=False, with_sizes=True)
|
|
66
66
|
ret = {
|
|
67
67
|
"object_data": lvol.get_clean_dict(),
|
|
68
68
|
"stats": data or []
|
|
@@ -62,7 +62,7 @@ def storagenode_iostats(uuid, history):
|
|
|
62
62
|
if not node:
|
|
63
63
|
return utils.get_response_error(f"node not found: {uuid}", 404)
|
|
64
64
|
|
|
65
|
-
data = storage_node_ops.get_node_iostats_history(uuid, history, parse_sizes=False)
|
|
65
|
+
data = storage_node_ops.get_node_iostats_history(uuid, history, parse_sizes=False, with_sizes=True)
|
|
66
66
|
ret = {
|
|
67
67
|
"object_data": node.get_clean_dict(),
|
|
68
68
|
"stats": data or []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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-12.0.1 → sbcli_dev-12.0.3}/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
|
{sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/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-12.0.1 → sbcli_dev-12.0.3}/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
|
|
File without changes
|
{sbcli_dev-12.0.1 → sbcli_dev-12.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
|
{sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/cached_lvol_stat_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-12.0.1 → sbcli_dev-12.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
|
{sbcli_dev-12.0.1 → sbcli_dev-12.0.3}/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-12.0.1 → sbcli_dev-12.0.3}/simplyblock_core/services/tasks_runner_failed_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-12.0.1 → sbcli_dev-12.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
|
|
File without changes
|