Yaml errors in keystone-policy config not surfaced to the user
Bug #1850968 reported by
Narinder Gupta
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Fix Released
|
Undecided
|
Mike Wilson |
Bug Description
after change in config for keystone policy getting error yaml to json conversionreact
2019-11-01 17:01:27 INFO juju-log Executing ['kubectl', '--kubeconfig=
2019-11-01 17:01:27 DEBUG config-changed error: error parsing /root/cdk/
Changed in charm-kubernetes-master: | |
assignee: | nobody → Mike Wilson (knobby) |
Changed in charm-kubernetes-master: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.17 |
Changed in charm-kubernetes-master: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
knobby: i think this is real culprit 2019-11-01 08:27:07 INFO juju-log etcd:23: Executing ['kubectl', '--kubeconfig= /root/. kube/config' , 'apply', '-f', '/root/ cdk/keystone/ keystone- policy. yaml'] joined error: unable to recognize "/root/ cdk/keystone/ keystone- policy. yaml": Get https:/ /10.137. 11.30:6443/ api?timeout= 32s: dial tcp 10.137.11.30:6443: connect: no route to host credentials. configured hacluster. py:42:configure _hacluster
(01:40:05 PM) narinderguptahome: 2019-11-01 08:27:13 DEBUG etcd-relation-
(01:40:05 PM) narinderguptahome: 2019-11-01 08:27:13 DEBUG juju-log etcd:23: tracer: set flag keystone.
(01:40:05 PM) narinderguptahome: 2019-11-01 08:27:13 INFO juju-log etcd:23: Invoking reactive handler: reactive/
(01:40:33 PM) narinderguptahome: it configures once but does not check return status