changeset 292:9a8861a50512

for longhorn
author drewp@bigasterisk.com
date Sun, 21 Apr 2024 23:10:57 -0700
parents 72cc38fe3973
children d1da81b9ba93
files packages.py
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages.py	Sun Apr 21 17:09:39 2024 -0700
+++ b/packages.py	Sun Apr 21 23:10:57 2024 -0700
@@ -86,10 +86,16 @@
 
 
 def kube_node():
+
+    # avoid having to this workaround:
+    # https://longhorn.io/kb/troubleshooting-volume-with-multipath/
+    apt.packages(packages=['multipath-tools'], force=True, present=False)
+
     apt.packages(packages=[
         # https://longhorn.io/docs/1.6.1/deploy/install/#installation-requirements
         'open-iscsi',
         'nfs-common',
+        'cryptsetup',
     ])
 
 
@@ -120,7 +126,7 @@
 is_kube_node = host.name in ['dash', 'slash', 'ditto', 'ws-printer', 'li-drums']
 if is_kube_node:
     kube_node()
-
+    
 if host.name == 'ditto':
     apt.packages(packages=package_lists.for_ditto, latest=True)
     # should have happened in the previous step, but it gets reverted.