sbcli-dev 19.0.3__tar.gz → 19.0.4__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-19.0.3 → sbcli_dev-19.0.4}/PKG-INFO +1 -1
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/PKG-INFO +1 -1
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/env_var +1 -1
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/storage_node.py +6 -3
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_port_allow.py +9 -3
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/README.md +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/pyproject.toml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/requirements.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/SOURCES.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/dependency_links.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/entry_points.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/requires.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/sbcli_dev.egg-info/top_level.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/setup.cfg +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/setup.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_cli/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_cli/cli.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_cli/clibase.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_cli/main.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/cluster_ops.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/constants.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/caching_node_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/cluster_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/device_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/device_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/events_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/health_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/lvol_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/pool_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/snapshot_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/tasks_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/tasks_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/controllers/tcp_ports_events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/db_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/distr_controller.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/mgmt_node_ops.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/deployer.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/events.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/hublvol.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/iface.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/job_schedule.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/nvme_device.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/pool.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/models/stats.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/rpc_client.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboard.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/cluster.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/deploy_fdb.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/deploy_stack.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/docker-compose-swarm.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/foundation.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/haproxy.cfg +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/helpers/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/helpers/deploy_cluster.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/helpers/destroy_cluster.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/helpers/nvme_disconnect_by_ip.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/install_deps.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/objstore.yml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/prepare_fdb.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/prometheus.yml.j2 +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/cached_lvol_stat_collector.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/capacity_and_stats_collector.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/device_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/health_check_service.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/lvol_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/lvol_stat_collector.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/main_distr_event_collector.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/new_device_discovery.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/spdk/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/spdk/client.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/spdk_http_proxy_server.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/storage_node_monitor.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_cluster_status.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_failed_migration.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_migration.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_new_dev_migration.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_node_add.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_restart.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/snode_client.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/storage_node_ops.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/test/test_models.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/test/test_utils.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/utils.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/workers/cleanup_foundationdb.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/README.md +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/app.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/snode_ops.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/snode_ops_k8s.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/swagger_ui_blueprint.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_cluster.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_deployer.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_device.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_lvol.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_metrics.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_pool.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/blueprints/web_api_storage_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/node_configure.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/node_utils.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/node_utils_k8s.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/SimplyBlock-API.postman_collection.json +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/delete.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/swagger.yaml +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/tst.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/templates/caching_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/templates/storage_deploy_spdk.yaml.j2 +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/api/test_lvol.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/api/test_pool.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/api/test_snapshot.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/api/test_storage_node.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/conftest.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/pytest.ini +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/requirements.txt +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/test/util.py +0 -0
- {sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/utils.py +0 -0
|
@@ -236,12 +236,15 @@ class StorageNode(BaseNodeObject):
|
|
|
236
236
|
remote_bdev = f"{primary_node.hublvol.bdev_name}n1"
|
|
237
237
|
|
|
238
238
|
if not rpc_client.get_bdevs(remote_bdev):
|
|
239
|
-
|
|
239
|
+
ip_lst = []
|
|
240
240
|
for ip in (iface.ip4_address for iface in primary_node.data_nics):
|
|
241
|
+
ip_lst.append(ip)
|
|
242
|
+
multipath = bool(len(ip_lst) > 1)
|
|
243
|
+
for ip in ip_lst:
|
|
241
244
|
ret = rpc_client.bdev_nvme_attach_controller_tcp(
|
|
242
245
|
primary_node.hublvol.bdev_name, primary_node.hublvol.nqn,
|
|
243
|
-
ip, primary_node.hublvol.nvmf_port, multipath=
|
|
244
|
-
if not ret:
|
|
246
|
+
ip, primary_node.hublvol.nvmf_port, multipath=multipath)
|
|
247
|
+
if not ret and not multipath:
|
|
245
248
|
logger.warning(f'Failed to connect to hublvol on {ip}')
|
|
246
249
|
|
|
247
250
|
if not rpc_client.bdev_lvol_set_lvs_opts(
|
|
@@ -3,7 +3,7 @@ import time
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
from simplyblock_core import db_controller, utils
|
|
6
|
-
from simplyblock_core.controllers import tasks_events, tcp_ports_events
|
|
6
|
+
from simplyblock_core.controllers import tasks_events, tcp_ports_events, health_controller
|
|
7
7
|
from simplyblock_core.models.job_schedule import JobSchedule
|
|
8
8
|
from simplyblock_core.models.cluster import Cluster
|
|
9
9
|
from simplyblock_core.models.storage_node import StorageNode
|
|
@@ -57,8 +57,14 @@ while True:
|
|
|
57
57
|
task.write_to_db(db.kv_store)
|
|
58
58
|
continue
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
lvstore_check = True
|
|
61
|
+
if node.lvstore_status == "ready":
|
|
62
|
+
lvstore_check &= health_controller._check_node_lvstore(node.lvstore_stack, node, auto_fix=True)
|
|
63
|
+
if node.secondary_node_id:
|
|
64
|
+
lvstore_check &= health_controller._check_node_hublvol(node)
|
|
65
|
+
|
|
66
|
+
if lvstore_check is False:
|
|
67
|
+
msg = f"Node LVolStore check fail, retry later"
|
|
62
68
|
logger.warning(msg)
|
|
63
69
|
task.function_result = msg
|
|
64
70
|
task.status = JobSchedule.STATUS_SUSPENDED
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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-19.0.3 → sbcli_dev-19.0.4}/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
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/alerting/alert_resources.yaml.j2
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/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-19.0.3 → sbcli_dev-19.0.4}/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-19.0.3 → sbcli_dev-19.0.4}/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
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/scripts/helpers/nvme_disconnect_by_ip.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
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/cached_lvol_stat_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/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
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/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
|
|
File without changes
|
|
File without changes
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_core/services/tasks_runner_failed_migration.py
RENAMED
|
File without changes
|
|
File without changes
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/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
|
{sbcli_dev-19.0.3 → sbcli_dev-19.0.4}/simplyblock_web/static/SimplyBlock-API.postman_collection.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|