magneticio / vamp

Vamp - canary releasing and autoscaling for microservice systems
http://vamp.io
Apache License 2.0
625 stars 55 forks source link

vamp doesn't forward environment to marathon #902

Open lucadruda opened 7 years ago

lucadruda commented 7 years ago

It sometimes happens that microservices environment is not copied to marathon resulting in missing configuration for services. Most frequent during canary and microservice restart. System is DC/OS 1.8.4 running on Azure

olafmol commented 7 years ago

Tnx Luca! Could you help us debug this by providing the necessary steps, system component versions and relevant logs? http://vamp.io/documentation/troubleshoot/#report-an-issue Tnx!

lucadruda commented 7 years ago

I don't have relevant logs right now because I can't reproduce the problem. It happens without any manual action.

vamp_config.txt vamp_info.txt

olafmol commented 7 years ago

tnx @lucadruda Could you explain in a little more detail what you mean with "microservices environment" and "not copied to marathon". What actions do you do in Vamp, and what would you expect to happen? tnx again!

lucadruda commented 7 years ago

tnx Olaf, I use REST APIs to deploy services through vamp (see example file). For each service I have environment variables both at breed (VAR1...VAR4) and service (VAR5...VAR8) level. Vamp shows the right environment in the UI as well as with a GET request but the service in Marathon appears without values. There are only keys so just ["VAR1":] instead of ["VAR1":"value1"]. I can give you some log when it'll happen again. vamp_deployment_example.txt

olafmol commented 7 years ago

@lucadruda to be clear: this happens sometimes, not every time?

lucadruda commented 7 years ago

Yes, gonna try the latest 0.9.3 and see if something changes

lucadruda commented 7 years ago

happened again even in 0.9.3. these are the logs since vamp started execution. vamp.log.tar.gz

olafmol commented 7 years ago

@lucadruda tnx for reporting, we're investigating!