Closed afsheenb closed 9 years ago
I'll take a look at it later this week. We're also on the same boat, have an unsecure Cassandra cluster currently :-(
Ah, then I'm not missing anything :) Very cool let me know if you'd like a tester and I'd be happy to help if I can. Apparently not using auth w/ Cassandra is fairly common at least from the discussions I've been having (?!) but this is still something I'd like to implement.
This should now be satisfied by this PR https://github.com/hsgubert/cassandra_migrations/pull/45 Basically you can pass authentication information in the yml file by using any of the connection params in http://datastax.github.io/ruby-driver/api/ (look at the connect method) which include :username / :password and more (I would use ERB in the yaml file and ENV variables to pass auth params). Please test and I will close when I get some feedback
I've been using the cassandra_migrations gem on a test cassandra cluster; it fails in production, apparently because the initial connection to the cassandra host fails (no auth credentials are ever requested, and we have authentication enabled in production).
Is this expected behavior / is there a way to get this working short of disabling cassandra authentication?
Cheers (and thanks for the gem!)