Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make prep-dom0 fails when invoked directly #394

Closed
emkll opened this issue Jan 6, 2020 · 0 comments · Fixed by #395
Closed

make prep-dom0 fails when invoked directly #394

emkll opened this issue Jan 6, 2020 · 0 comments · Fixed by #395

Comments

@emkll
Copy link
Contributor

emkll commented Jan 6, 2020

This error does not occur when running the targets are run during a make all run, only when invoked directly through the prep-dom0 Makefile target.

Steps to reproduce:

  1. checkout latest master
  2. make prep-dom0
  3. observe error:
Deploying Salt config...
local:
    ----------
    sd-workstation.top:
        ----------
        status:
            unchanged
sudo qubesctl top.enable sd-vm-updates
[ERROR   ] An un-handled exception was caught by salt's global exception handler:
SaltRenderError: Could not find relpath for sd-vm-updates.top
Traceback (most recent call last):
  File "/bin/qubesctl", line 98, in <module>
    salt_call()
  File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 391, in salt_call
    client.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/call.py", line 58, in run
    caller.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 134, in run
    ret = self.call()
  File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 204, in call
    ret['return'] = func(*args, **kwargs)
  File "/var/cache/salt/minion/extmods/modules/topd.py", line 74, in enable
    return TopUtils(__opts__, **kwargs).enable(paths, saltenv)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 600, in enable
    toppaths, unseen = self.prepare_paths(paths)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 453, in prepare_paths
    toppath = self.toppath(path)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 332, in toppath
    saltenv = saltenv or self.saltenv(path, saltenv)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 128, in saltenv
    relpath = self.relpath(path)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 486, in relpath
    return self.path(path, saltenv)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 269, in path
    return super(TopUtils, self).path(path, saltenv, path_type=path_type)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 445, in path
    raise SaltRenderError('Could not find relpath for {0}'.format(path))
SaltRenderError: Could not find relpath for sd-vm-updates.top
Traceback (most recent call last):
  File "/bin/qubesctl", line 98, in <module>
    salt_call()
  File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 391, in salt_call
    client.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/call.py", line 58, in run
    caller.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 134, in run
    ret = self.call()
  File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 204, in call
    ret['return'] = func(*args, **kwargs)
  File "/var/cache/salt/minion/extmods/modules/topd.py", line 74, in enable
    return TopUtils(__opts__, **kwargs).enable(paths, saltenv)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 600, in enable
    toppaths, unseen = self.prepare_paths(paths)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 453, in prepare_paths
    toppath = self.toppath(path)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 332, in toppath
    saltenv = saltenv or self.saltenv(path, saltenv)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 128, in saltenv
    relpath = self.relpath(path)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 486, in relpath
    return self.path(path, saltenv)
  File "/var/cache/salt/minion/extmods/utils/toputils.py", line 269, in path
    return super(TopUtils, self).path(path, saltenv, path_type=path_type)
  File "/var/cache/salt/minion/extmods/utils/pathutils.py", line 445, in path
    raise SaltRenderError('Could not find relpath for {0}'.format(path))
salt.exceptions.SaltRenderError: Could not find relpath for sd-vm-updates.top
DOM0 configuration failed, not continuing
Makefile:126: recipe for target 'prep-dom0' failed
make: *** [prep-dom0] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant