Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

example/complete fails with salt '*' saltutil.sync_all and "stdin: is not a tty" #102

Description

@vlcinsky

Trying to run "complete" example, learning about preseeding minion keys to a master, the sample fails.

vagrant version: 1.2.7
OS: Ubuntu 13.04 64 bit

  1. installed salty-vagrant from source code as described in readme - Installing from source. Git shows last commit being 0476bcb
  2. cd to examples/complete
  3. in Vagrantfile, commented out the first line:
#require '../../../salty-vagrant/lib/vagrant-salt/plugin'
  1. run $ vagrant up
  2. got and error as follows:
Salt successfully configured and installed!
ATTENTION: 'salt.accept_keys' is deprecated. Please use salt.seed_master to upload your minion keys
Waiting for minion key...
Adding 2 key(s) for minion(s)
Calling state.highstate... (this may take a while)
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

salt '*' saltutil.sync_all

Stdout from the command:

No minions matched the target. No command was sent, no jid was assigned.



Stderr from the command:

stdin: is not a tty
  1. checking status on VM:
$ vagrant ssh
$ sudo su
$ salt-key
Accepted Keys:
Unaccepted Keys:
precise64
Rejected Keys:
$ cd /etc/salt/pki
$ find .
.
./minions
./minions/seed-minion.pub
./minion
./minion/minion.pub
./minion/minion.pem
./master
./master/minions
./master/minions_rejected
./master/master.pem
./master/minions_pre
./master/minions_pre/precise64
./master/master.pub

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions