Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Uppercase keyspace causes Kong migrations to fail #249

Closed
montanaflynn opened this issue May 20, 2015 · 5 comments · Fixed by #271
Closed

Uppercase keyspace causes Kong migrations to fail #249

montanaflynn opened this issue May 20, 2015 · 5 comments · Fixed by #271
Labels

Comments

@montanaflynn
Copy link

$ kong start
[INFO] Using configuration: /etc/kong/kong.yml
[INFO] Proxy port.........8000
       Admin API port.....8001
       Database...........cassandra keepalive=60000 port=9042 timeout=1000 hosts=kongdb.org keyspace=Yoda
[INFO] Database not initialized. Running migrations...
[ERR] Cassandra error: Cassandra returned error (Invalid): "Keyspace 'yoda' does not exist"

The keyspace is lowercase in the error so I changed it to lowercase in kong.yml and it then worked.

@thibaultcha
Copy link
Member

Actually migrations are successful but a keyspace will always be lower case, so a fix would be to force it to be lower case in the configuration loading I guess

@thibaultcha
Copy link
Member

Sorry, I meant the keyspace creation is successful*

@subnetmarco
Copy link
Member

@thibaultcha is this closed?

@thibaultcha
Copy link
Member

No

@thibaultcha
Copy link
Member

Ok fixed by #271!

ctranxuan pushed a commit to streamdataio/kong that referenced this issue Aug 25, 2015
Fix Kong#249


Former-commit-id: 1a908b7a82b559a1da1352473293cd64cd11d4e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants