aphyr / salticid Goto Github PK
View Code? Open in Web Editor NEWA deployment system, with design goals 1: Magic and 2: More Magic
License: MIT License
A deployment system, with design goals 1: Magic and 2: More Magic
License: MIT License
I am getting following issue on Amazon EC2 Linux instance
[ec2-user@bastion-nv ~]$ salticid -l example.rb -h mongo1 hello
/usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/authentication/ed25519_loader.rb:21:in `raiseUnlessLoaded': OpenSSH keys only supported if ED25519 is available (NotImplementedError)
net-ssh requires the following gems for ed25519 support:
* ed25519 (>= 1.2, < 2.0)
* bcrypt_pbkdf (>= 1.0, < 2.0)
See https://github.com/net-ssh/net-ssh/issues/565 for more information
Gem::LoadError : "Could not find 'ed25519' (~> 1.2) among 14 total gem(s)
Checked in 'GEM_PATH=/home/ec2-user/.gem/ruby/2.2:/usr/share/ruby/gems/2.2:/usr/local/share/ruby/gems/2.2', execute `gem env` for more information"
from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:202:in `classify_key'
from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:53:in `load_data_private_key'
from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:44:in `load_private_key'
Thanks!
In the readme we write the phrase
Take a look at Jepsen's salticid config: https://github.com/aphyr/jepsen/blob/master/salticid/main.rb
Where should this go?
I ran into this today on a RHEL6 box:
[selena@]$ salticid -s salticid
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- ncurses (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /usr/lib/ruby/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid/interface.rb:3
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /usr/lib/ruby/gems/1.8/gems/salticid-0.9.5/bin/salticid:6
from /usr/bin/salticid:19:in `load'
from /usr/bin/salticid:19
I needed the following packages:
And, I needed to install the ncurses gem.
Is this a doc change, or is adding ncurses to the pre-reqs something you want to do? Or something else?
Hi, first of all, your blog posts are both funny and amazingly informative. They led me to try salticid and jepsen.
I want to run salticid+jepsen with hosts n1 through n5 running in linux containers, but that would require not using port 22 for these hosts, I would think...? If so, I would need to specify ports along with the hosts in the salticid configuration.
Is there a way to do this? Thanks!
Hello,
I am getting an error while trying to run sample examples:
example.rb:8:in load': compile error (SyntaxError) example.rb:6: syntax error, unexpected ':', expecting kEND exec! 'ls -la /', echo: true ^ from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:111:in
each'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:111:in load' from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:109:in
each'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:109:in load' from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:24 from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:23:in
each'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:23
from /usr/local/bin/salticid:19:in `load'
from /usr/local/bin/salticid:19
I am using Debian 6.0.
Hey, this is kind of a meta-issue: With the README prominently displaying a picture of a spider, it might trigger panic attacks on readers with arachnophobia.
You might want to go with a clearly labeled link to an image or a wikipedia article instead.
After all, you'd probably like people to make use of that piece of software you built :)
Hi - first off, thanks for the work on this.
I think there is a dependency missing since I don't see an attempt to install the ncurses gem.
I'm running an Ubuntu 13.04 EC2 AMI and I've apt-get installed ruby 1.9.1 along with rubygems. I did a gem install salticid
and when I attempt to run the salticid executable I get this load error message:
# salticid -h
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ncurses (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:3:in `<class:Interface>'
from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:2:in `<class:Salticid>'
from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:1:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.9.1/gems/salticid-0.9.5/bin/salticid:6:in `<top (required)>'
from /usr/local/bin/salticid:23:in `load'
from /usr/local/bin/salticid:23:in `<main>'
I'm sure this might be user-error on my part. I don't know if only Ruby 2+ is supported. But I don't see a wiki and there is no mention in the README (also, I don't see a {{.ruby-version}} file in the repo either).
I see a commit that suggests that the ncurses is a requirement again:
Unfortunately, I can't get the ncurses gem to build right now. I'm working on that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.