cowbell icon indicating copy to clipboard operation
cowbell copied to clipboard

Redeploy not working in Rancher 1.3

Open adamgoose opened this issue 8 years ago • 2 comments

Not sure if it's an API updated, but I'm getting the following output on a redeploy command.

time="2017-01-10T21:57:24Z" level=fatal msg="Failed to read project: yaml: unmarshal errors:\n  line 1: cannot unmarshal !!str `2` into map[string]interface {}" 

adamgoose avatar Jan 10 '17 23:01 adamgoose

I did an in-service upgrade to the Cowbell service itself, thinking it might have stale API keys, but it's still not working. Here's the full container log:

1/10/2017 5:30:46 PMINFO[0000] Listening on :8080 with token SOME_TOKEN_HERE
1/10/2017 5:31:22 PMINFO[0035] Running in /tmp/compose-051362227 command /usr/bin/rancher-compose [rancher-compose -p Notify up -d --force-upgrade -c -p PAID-Dialer]
1/10/2017 5:31:22 PMtime="2017-01-10T23:31:22Z" level=fatal msg="Failed to read project: yaml: unmarshal errors:\n  line 1: cannot unmarshal !!str `2` into map[string]interface {}"

adamgoose avatar Jan 10 '17 23:01 adamgoose

The {docker|rancher}-compose.yml files that live in /tmp/compose-#### are docker-compose v2. Perhaps that's the issue?

adamgoose avatar Jan 10 '17 23:01 adamgoose