Tero Marttila

Results 73 issues of Tero Marttila

Only containers using the standard `json-file` or `journald` log drivers will have docker logs available for reading: https://docs.docker.com/config/containers/logging/configure/#limitations-of-logging-drivers The agent `LogWorker` should not try streaming logs for containers using other...

bug
agent

``` $ kontena stack registry push test/whoami.yaml [fail] Pushing test/whoami.yaml to stack registry as terom/whoami:1.0.0 [error] NoMethodError : undefined method `+' for nil:NilClass See /home/kontena/.kontena/kontena.log or run the command again...

bug
cli

Requires #3277 for service deploys in other states than `running` Requires #3278 for service deploys in the `terminated` state Fixes #3030 Docker container name conflicts when installing a new stack...

enhancement
server

Fixes #3171 by adding trailing newlines to cert PEM fields if missing Improve the `Certificate` model specs and validation to avoid ending up in situations like #3171 again, where certs...

bug
server

Requires #3277 for service deploys in other states than `running` Adds a new `POST /v1/services/.../terminate` => `GridServices::Terminate` API that deploys the service in the `terminated` state. The CLI `kontena service...

enhancement
server
agent
cli

The way the server `MongoPubsub` was using [`@supervision = Celluloid.supervise(...)`](https://github.com/kontena/kontena/blob/dd68aadceb3f8d0cc6e447b54095ae60ea2f1e37/server/app/services/mongo_pubsub.rb#L142) and [`@supervisor.actors.first`](https://github.com/kontena/kontena/blob/dd68aadceb3f8d0cc6e447b54095ae60ea2f1e37/server/app/services/mongo_pubsub.rb#L116) was wrong: calling `MongoPubsub.supervise` or `Celluloid.supervise(type: MongoPubsub` does not return a supervisor for that specific actor: it returns...

server

Mitigation for issues like #2733 and #3067 to have the agent disconnect from the master faster when shutting down or terminating itself If the `Kontena::WebsocketClient` was terminated by Celluloid, the...

enhancement
agent

If you have a `default` service with `KONTENA_LB_VIRTUAL_PATH=/`, and another `service` service with `KONTENA_LB_VIRTUAL_PATH=/foo`, the LB may forward requests for `/foo/...` to the `default` service, not the `server` service. As...

enhancement
lb

Service and container names are case-sensitive, but the resulting `kontena.local` DNS names are not. This can result in overlaps if two services have otherwise identical names: ```yaml stack: test/case services:...

bug
server

Exposes a regression in #3240 because the [`DELETE /oauth2/tokens/...`](https://github.com/kontena/kontena/blob/0e432c439f71ae5a640acfef3c487789522a08fc/server/app/routes/oauth2/tokens_api.rb#L41-L42) route returns `nil`, which is not a valid JSON response: ``` $ curl -v -X DELETE -H "Authorization: Bearer $KONTENA_TOKEN" http://localhost:9292/oauth2/tokens/5a7991c584943f0008d7c6ae...

bug
server