Skip to content
New issue

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

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

Already on GitHub? # to your account

dit.rb a besoin de sudo sur le noeud mais ce n'est pas dit clairement #4

Open
lnussbaum opened this issue Feb 13, 2017 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@lnussbaum
Copy link
Collaborator

$ ./dit.rb -d root@griffon-25.nancy
2017-02-13T17:29:26.581Z (26983) [00:00.081ms] DEBUG: debug mode set to true
2017-02-13T17:29:27.021Z (26983) [00:00.521ms] DEBUG: remote> LC_ALL=C LANG=C DEBIAN_FRONTEND=noninteractive id -u
2017-02-13T17:29:27.099Z (26983) [00:00.599ms] DEBUG: 0
2017-02-13T17:29:27.100Z (26983) [00:00.599ms] DEBUG: ssh cmd exec done
2017-02-13T17:29:27.100Z (26983) [00:00.600ms] INFO: starting sysctl_dump step…
2017-02-13T17:29:27.536Z (26983) [00:01.036ms] DEBUG: remote> LC_ALL=C LANG=C DEBIAN_FRONTEND=noninteractive sudo -E sysctl -a
2017-02-13T17:29:27.614Z (26983) [00:01.113ms] DEBUG: ssh cmd exec done
2017-02-13T17:29:27.614Z (26983) [00:01.114ms] FATAL: 1
2017-02-13T17:29:27.614Z (26983) [00:01.114ms] FATAL: remote failed: "sysctl -a"
2017-02-13T17:29:27.614Z (26983) [00:01.114ms] FATAL: ./dit.rb:278:in `run_cmd'
./dit.rb:196:in `block in run_remote'
/usr/lib/ruby/vendor_ruby/net/ssh.rb:240:in `start'
./dit.rb:195:in `run_remote'
./dit.rb:502:in `run_step!'
./dit.rb:407:in `block in run!'
./dit.rb:407:in `each'
./dit.rb:407:in `run!'
./dit.rb:542:in `<main>'

en fait, le problème est juste que sudo n'est pas installé dans cet environnement (on peut s'y connecter directement en root)

@Val Val self-assigned this Feb 15, 2017
@Val Val added this to the v0.1.0 milestone Feb 15, 2017
@Val Val removed the enhancement label Feb 15, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants