Running Turtle
Running Turtle

Reputation: 12752

How to get correct connection info for redis cartridge?

I installed the redis cartridge from here: https://github.com/smarterclayton/openshift-redis-cart

Installation is fine and redis works perfectly. However, when I run:

rhc cartridge-status redis -a <yourapp>

I get this: Using smarterclayton-redis-2.6 (Redis) for 'redis'

RESULT:

Redis is running
  slave
  Connect to: [url to application].rhcloud.com: password: [correct redis password]
Redis Sentinel is not running

According the the github page, that should instead give me the url to the redis instance with the port. Also, the info about the instance being a slave is wrong ?

Does anybody know how I could get the correct connection info ?

Upvotes: 2

Views: 606

Answers (1)

user2879327
user2879327

Reputation:

I would suggest two things.
1.) SSH into your application and use the env command to look at your environment variables and see if you have any for the redis connection, maybe something like env | grep redis
2.) Log an issue against the github repo where you found the redis cartridge, and I am sure that clayton will get it sorted out.

Upvotes: 0

Related Questions