Skip to content

Commit

Permalink
Rock-on install debug log re front-end info received rockstor#1588
Browse files Browse the repository at this point in the history
  • Loading branch information
phillxnet committed Aug 12, 2024
1 parent 3275aac commit 3447bef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rockstor/storageadmin/views/rockon_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def _pending_check(request):
@transaction.atomic
def post(self, request, rid, command):
with self._handle_exception(request):

if not docker_status():
e_msg = "Docker service is not running. Start it and try again."
handle_exception(Exception(e_msg), request)
Expand Down Expand Up @@ -107,6 +106,9 @@ def post(self, request, rid, command):
dev_map = request.data.get("devices", {})
cc_map = request.data.get("cc", {})
env_map = request.data.get("environment", {})
logger.debug(
f"install request with share_map={share_map}, port_map={port_map}, dev_map={dev_map}, cc_map={cc_map}, env_map={env_map}"
)
containers = DContainer.objects.filter(rockon=rockon)
for co in containers:
for sname in share_map.keys():
Expand Down

0 comments on commit 3447bef

Please sign in to comment.