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

Deck 0.6.0 error retrieve workspace during sync action #94

Closed
cello86 opened this issue Nov 4, 2019 · 1 comment · Fixed by #97
Closed

Deck 0.6.0 error retrieve workspace during sync action #94

cello86 opened this issue Nov 4, 2019 · 1 comment · Fixed by #97
Labels
bug Something isn't working
Milestone

Comments

@cello86
Copy link

cello86 commented Nov 4, 2019

HI,
we noticed into deck 0.6.0 an issue during the sync operation, the workspace hasn't been recognized from the APIs but it's present. The output is:

# deck sync --kong-addr http://admin.test.local :8080 --state kong-internal.yml --verbose 1 --parallelism 1

GET /workspace/workspace-test HTTP/1.1
Host: admin.test.local :8080 
User-Agent: Go-http-client/1.1
Accept-Encoding: gzip


HTTP/1.1 404 Not Found
Content-Length: 23
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://admin.test.local 
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Mon, 04 Nov 2019 15:10:11 GMT
Server: kong/0.35-3-enterprise-edition
Vary: Origin


{"message":"Not found"}
Error: workspace 'workspace-test' does not exist in Kong, please create it before running decK.

The error is related to a wrong API call to "/workspace" instead "/workspaces/".

Marcello

@hbagdi hbagdi added the bug Something isn't working label Nov 4, 2019
@hbagdi
Copy link
Member

hbagdi commented Nov 4, 2019

Confirmed. Will be fixed with v0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants