cisco-sso/k8s-devkit

KDK provisioning fails because of yq dependency

darkyat opened this issue · 3 comments

Provisioning the KDK will fail right now, as ansible-role-k8s-devkit - which is run at the provisioning stage - pulls in yq which is not installable with go get at this point. See: mikefarah/yq#152

Error in provisioning the KDK:

default: failed: [localhost] (item={'name': 'yq', 'url': 'github.com/mikefarah/yq'}) => {"changed": false, 
"cmd": "/usr/local/go/bin/go get -u github.com/mikefarah/yq", "delta": "0:00:08.747096", "end": 
"2018-06-15 23:48:48.773677", "item": {"name": "yq", "url": "github.com/mikefarah/yq"}, "msg": 
"non-zero return code", "rc": 2, "start": "2018-06-15 23:48:40.026581", "stderr": "# 
github.com/mikefarah/yq\n/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:39:2: undefined: 
yaml.DefaultMapType\n/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:406:2: undefined: 
yaml.DefaultMapType\n/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:407:17: undefined: 
yaml.DefaultMapType", "stderr_lines": ["# github.com/mikefarah/yq", 
"/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:39:2: undefined: yaml.DefaultMapType", 
"/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:406:2: undefined: yaml.DefaultMapType", 
"/home/vagrant/go/src/github.com/mikefarah/yq/yq.go:407:17: undefined: yaml.DefaultMapType"], 
"stdout": "", "stdout_lines": []}

Hmmh yeah. We should change the installation to install based on the released binary, and name it something else like yq-go.

-dave

I didn't hit this problem. Does this issue still exist?

This issue does no longer persist. Hence closing it.