dayhoff-tools 1.3.18__py3-none-any.whl → 1.3.20__py3-none-any.whl
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.
- dayhoff_tools/cli/engine_commands.py +5 -5
- {dayhoff_tools-1.3.18.dist-info → dayhoff_tools-1.3.20.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.3.18.dist-info → dayhoff_tools-1.3.20.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.3.18.dist-info → dayhoff_tools-1.3.20.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.3.18.dist-info → dayhoff_tools-1.3.20.dist-info}/entry_points.txt +0 -0
@@ -381,7 +381,7 @@ def update_ssh_config_entry(engine_name: str, instance_id: str, username: str):
|
|
381
381
|
new_entry = f"""
|
382
382
|
Host {engine_name} {SSH_MANAGED_COMMENT}
|
383
383
|
HostName {instance_id}
|
384
|
-
User
|
384
|
+
User ec2-user
|
385
385
|
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"
|
386
386
|
"""
|
387
387
|
|
@@ -632,7 +632,7 @@ def engine_status(
|
|
632
632
|
res = ssm.send_command(
|
633
633
|
InstanceIds=[engine["instance_id"]],
|
634
634
|
DocumentName="AWS-RunShellScript",
|
635
|
-
Parameters={"commands": ["cat /var/run/engine-health.json || true"], "executionTimeout": ["10"]},
|
635
|
+
Parameters={"commands": ["cat /opt/dayhoff/state/engine-health.json 2>/dev/null || cat /var/run/engine-health.json 2>/dev/null || true"], "executionTimeout": ["10"]},
|
636
636
|
)
|
637
637
|
cid = res["Command"]["CommandId"]
|
638
638
|
time.sleep(1)
|
@@ -903,7 +903,7 @@ def config_ssh(
|
|
903
903
|
"",
|
904
904
|
f"Host {engine['name']} {SSH_MANAGED_COMMENT}",
|
905
905
|
f" HostName {engine['instance_id']}",
|
906
|
-
f" User
|
906
|
+
f" User ec2-user",
|
907
907
|
f" ProxyCommand sh -c \"aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'\"",
|
908
908
|
]
|
909
909
|
)
|
@@ -2090,8 +2090,8 @@ def debug_engine(
|
|
2090
2090
|
|
2091
2091
|
# Check multiple files and systemd status
|
2092
2092
|
checks = [
|
2093
|
-
("Stage file", "cat /var/run/engine-init.stage 2>/dev/null || echo 'MISSING'"),
|
2094
|
-
("Health file", "cat /var/run/engine-health.json 2>/dev/null || echo 'MISSING'"),
|
2093
|
+
("Stage file", "cat /opt/dayhoff/state/engine-init.stage 2>/dev/null || cat /var/run/engine-init.stage 2>/dev/null || echo 'MISSING'"),
|
2094
|
+
("Health file", "cat /opt/dayhoff/state/engine-health.json 2>/dev/null || cat /var/run/engine-health.json 2>/dev/null || echo 'MISSING'"),
|
2095
2095
|
("Sentinel file", "ls -la /opt/dayhoff/first_boot_complete.sentinel 2>/dev/null || echo 'MISSING'"),
|
2096
2096
|
("Setup service", "systemctl status setup-aws-vm.service --no-pager || echo 'Service not found'"),
|
2097
2097
|
("Bootstrap log tail", "tail -20 /var/log/engine-setup.log 2>/dev/null || echo 'No log'"),
|
@@ -3,7 +3,7 @@ dayhoff_tools/chemistry/standardizer.py,sha256=uMn7VwHnx02nc404eO6fRuS4rsl4dvSPf
|
|
3
3
|
dayhoff_tools/chemistry/utils.py,sha256=jt-7JgF-GeeVC421acX-bobKbLU_X94KNOW24p_P-_M,2257
|
4
4
|
dayhoff_tools/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
dayhoff_tools/cli/cloud_commands.py,sha256=33qcWLmq-FwEXMdL3F0OHm-5Stlh2r65CldyEZgQ1no,40904
|
6
|
-
dayhoff_tools/cli/engine_commands.py,sha256=
|
6
|
+
dayhoff_tools/cli/engine_commands.py,sha256=TadX64j5t6b9tDYIyIpu4oMj_LYWaAAVQuHGHUIQs1s,79375
|
7
7
|
dayhoff_tools/cli/main.py,sha256=rgeEHD9lJ8SBCR34BTLb7gVInHUUdmEBNXAJnq5yEU4,4795
|
8
8
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
9
9
|
dayhoff_tools/cli/utility_commands.py,sha256=qs8vH9TBFHsOPC3X8cU3qZigM3dDn-2Ytq4o_F2WubU,27874
|
@@ -27,7 +27,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
|
|
27
27
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
28
28
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
29
29
|
dayhoff_tools/warehouse.py,sha256=8YbnQ--usrEgDQGfvpV4MrMji55A0rq2hZaOgFGh6ag,15896
|
30
|
-
dayhoff_tools-1.3.
|
31
|
-
dayhoff_tools-1.3.
|
32
|
-
dayhoff_tools-1.3.
|
33
|
-
dayhoff_tools-1.3.
|
30
|
+
dayhoff_tools-1.3.20.dist-info/METADATA,sha256=_-UfE9AGWCsqIE1aeS9WwQtodsryxZCrIRMAqhUq6T8,2825
|
31
|
+
dayhoff_tools-1.3.20.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
32
|
+
dayhoff_tools-1.3.20.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
33
|
+
dayhoff_tools-1.3.20.dist-info/RECORD,,
|
File without changes
|
File without changes
|