Skip to content

Instantly share code, notes, and snippets.

@heschlie
heschlie / gist:e9710ca489f7319d5b5d8ff3d78ac725
Created February 20, 2020 15:58
Cardo registration errors
XML Parsing Error: mismatched tag. Expected: </meta>.
Location: https://www.cardosystems.com/api/v1/configuration
Line Number 22, Column 3: configuration:22:3
Unhandled rejection e/<@https://www.cardosystems.com/update/static/js/main.7f8c0e96.chunk.js:1:46977
u@https://www.cardosystems.com/update/static/js/2.887a1778.chunk.js:1:345761
s/o._invoke</<@https://www.cardosystems.com/update/static/js/2.887a1778.chunk.js:1:345550
O/</e[t]@https://www.cardosystems.com/update/static/js/2.887a1778.chunk.js:1:346184
r@https://www.cardosystems.com/update/static/js/2.887a1778.chunk.js:1:1161
$  ansible-playbook -i inventory.yml site.yml
[WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or
'include_tasks' for dynamic inclusion. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Could not match supplied host pattern, ignoring: agents
[WARNING]: Could not match supplied host pattern, ignoring: mdss
[mons]
media.local
[osds]
ceph-node-0.local
ceph-node-1.local
ceph-node-2.local
ceph-node-3.local
ceph-node-4.local
all.yml
---
# Variables here are applicable to all host groups NOT roles
# This sample file generated by generate_group_vars_sample.sh
# Dummy variable to avoid error because ansible does not recognize the
# file as a good configuration file when no variable in it.
dummy:
@heschlie
heschlie / node_errors
Created October 27, 2017 17:09
Calico Node compile errors
# github.com/projectcalico/calico/calico_node/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1
startup/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1/types.generated.go:95: r.EncodeArrayStart undefined (type codec.encDriver has no field or method EncodeArrayStart)
startup/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1/types.generated.go:103: r.EncodeMapStart undefined (type codec.encDriver has no field or method EncodeMapStart)
startup/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1/types.generated.go:107: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
startup/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1/types.generated.go:124: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
startup/vendor/k8s.io/client-go/pkg/apis/policy/v1beta1/types.generated.go:126: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
startup/vendor/k8s.io/cl
@heschlie
heschlie / policy_controller_debug.log
Created October 19, 2017 21:22
Calico policy controller log
2017-10-19 21:04:05,848 5 INFO Configuring /etc/hosts
2017-10-19 21:04:05,848 5 INFO Appended 'kubernetes.default -> 10.100.0.1' to /etc/hosts
2017-10-19 21:04:05,848 5 INFO Beginning execution
2017-10-19 21:04:05,848 5 DEBUG Getting ServiceAccount token from: /var/run/secrets/kubernetes.io/serviceaccount/token
2017-10-19 21:04:05,848 5 DEBUG Found ServiceAccount token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJjYWxpY28tcG9saWN5LWNvbnRyb2xsZXItdG9rZW4tY2ZqbXQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiY2FsaWNvLXBvbGljeS1jb250cm9sbGVyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiZjU2ZDA1NmEtYjUxMC0xMWU3LTkxMmQtMDgwMDI3NWYxZTQ4Iiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50Omt1YmUtc3lzdGVtOmNhbGljby1wb2xpY3ktY29udHJvbGxlciJ9.BHHGFu6Vh3KNUoYyaFd9dztouf3wbOlf9RnNoGR8S_yVxvSYULUxmoTcGW8pBg3JkIX2
@heschlie
heschlie / canal.yaml
Created March 23, 2017 23:23
Canal deployment for Tectonic
# This ConfigMap can be used to configure a self-hosted Canal installation.
kind: ConfigMap
apiVersion: v1
metadata:
name: canal-config
namespace: kube-system
data:
# Configure this with the location of your etcd cluster.
etcd_endpoints: "http://127.0.0.1:2379"
@heschlie
heschlie / calico.yaml
Last active November 29, 2016 00:17
Calico manifest for kops deployment
## This manifest deploys a Job which performs one time
# configuration of Calico
apiVersion: batch/v1
kind: Job
metadata:
name: configure-calico
namespace: kube-system
labels:
k8s-app: calico
spec: