-
Notifications
You must be signed in to change notification settings - Fork 129
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
Deck shows differences with route that have more than 3 methods defined #503
Comments
Hi @gchristidis , can you please give us more info about how you installed decK, what system are you running etc? I tested installing 1.8.2 both from source and by downloading and running the binary directly, but couldn't be able to reproduce the issue. |
HI @GGabriele, I am just downloading deck 1.8.2 and using it directly. Its running against a Kong 1.5.1 instance backed by a Datastax Enterprise Cassandra instance both of which are running on an ubuntu 16.05. Here is the verbose output from a deck diff of the above yaml file after its already been sync'd You can see the debug message from the /routes call it contains |
Closing this due to lack of activity. Please re-open if needed. |
@GGabriele has this been resolved ? |
@gchristidis I wasn't able to reproduce this issue with the same decK and Kong versions :\ are you able to check if you get the same with a newer Kong version? |
@GGabriele Yes its still occurs, like I said I use deck 1.8.2 with Kong 1.5.1 backed by cassandra (Datastax enterprise 6.7). The output towards the end shows the following. The diff should show no diffs but it outputs the route with only 3 methods shown and a summary that says updated 1. Doing a sync also shows the same.
|
This seems like a Cassandra-specific issue. Also, please note that Cassandra with Kong has been deprecated: https://github.com/Kong/kong/blob/master/CHANGELOG.md#270 |
My comment on the 17th Jan has a link deck_sync.txt that has that output. Yes I was aware of Cassandra deprecation. |
I also experience similar issue with Kong 2.8.0-alpine and DecK 1.11.0 in docker containers
Second run without and change in the /kong.yaml
And this happens each time I ran the command, what could be causing this?! |
It appears that deck (v 1.8.2) does not like having more than 3 methods defined in a route.
The following yaml shows the issue with a route with more than 3 methods, i have used 2 select tags as thats what i am using
Running a deck sync creates the route but when you run a diff or a sync again it shows its updating the route but with no change flags (+-) on any line. Looking at the output closely you see its only showing 3 elements in the methods.
Looking at the route from the admin api you see all the methods
The text was updated successfully, but these errors were encountered: