]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
provision/downburst: add PATH to environment
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Thu, 1 Aug 2024 10:01:10 +0000 (12:01 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 7 Aug 2024 20:32:54 +0000 (22:32 +0200)
Need to passthrough the PATH to downburst environment,
otherwise on some system like macos where mkisofs installed
via homebrew it cannot be found.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/provision/downburst.py

index 41ea5a866dadcd7dc75dc368bcb57f8bf6aa4bed..97a511ef970cc863c0b45ec0b58b43a412b1b5d1 100644 (file)
@@ -44,6 +44,7 @@ def downburst_executable():
 
 def downburst_environment():
     env = dict()
+    env['PATH'] = os.environ.get('PATH')
     discover_url = os.environ.get('DOWNBURST_DISCOVER_URL')
     if config.downburst and not discover_url:
         if isinstance(config.downburst, dict):