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

Problems with saltification #13

Open
rmader opened this issue Apr 24, 2018 · 1 comment
Open

Problems with saltification #13

rmader opened this issue Apr 24, 2018 · 1 comment

Comments

@rmader
Copy link

rmader commented Apr 24, 2018

Hej there,
I'm trying to get the saltification working, but I hit the following error:

          ID: lxd_container_local_ae-adhocracy4-dev_bse_3
    Function: module.run
        Name: lxd.container_execute
      Result: True
     Comment: Module function lxd.container_execute executed
     Started: 17:21:10.234416
    Duration: 2405.501 ms
     Changes:   
              ----------
              ret:
                  ----------
                  exit_code:
                      2
                  stderr:
                      [ERROR   ] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
                  stdout:
                      Minion failed to authenticate with the master, has the minion key been accepted?

The new key gets listed in salt-key -L as unaccepted.

Maybe related to that I get another error earlier:

          ID: lxd_container_local_ae-adhocracy4-dev_check_executed
    Function: module.run
        Name: lxd.container_file_get
      Result: False
     Comment: Module function lxd.container_file_get threw an exception. Exception: [Errno 2] No such file or directory: '/tmp/salt_lxd_bootstraped_local_ae-adhocracy4-dev/salt_lxd_bootstraped'
     Started: 17:20:01.547593
    Duration: 15.675 ms
     Changes:

Any ideas?

Salt: 2017.7.4
Ubuntu 18.04 Beta
lxd: 3.0.0

@rmader rmader mentioned this issue Apr 24, 2018
@jochumdev
Copy link
Member

Yeah, you need either auto_accept: True or some other way to transfer the key to your container.

Or you wait for: saltstack/salt#46233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants