We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the following error while running 'make new-client' to create a new device.
command: ./contrib/gke/make SERVER_NAME=ota-ce.uptanedemo.com SKIP_CLIENT=true new-client
./contrib/gke/make SERVER_NAME=ota-ce.uptanedemo.com SKIP_CLIENT=true new-client
Error:
Starting to serve on 127.0.0.1:8200 Error: 'ssh: rejected: connect failed (Connection refused)' Trying to reach: 'http://10.4.0.11:9001/api/v1/devices'make: Leaving directory '/src'
The following block of script causes the failure from start.sh
local api="http://localhost:${PROXY_PORT}/api/v1/namespaces/${NAMESPACE}/services" http --ignore-stdin PUT "${api}/device-registry/proxy/api/v1/devices" credentials=@"${device_dir}/client.pem" \ deviceUuid="${DEVICE_UUID}" deviceId="${device_id}" deviceName="${device_id}" deviceType=Other kill_pid "${pid}"
Image version used: device-registry:0.3.0-223-gb13d8c5 ( latest versions failing due to #167 )
Config YAML metadata:
apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"device-registry","namespace":"default"},"spec":{"selector":{"matchLabels":{"app":"device-registry"}},"strategy":{"type":"Recreate"},"template":{"metadata":{"labels":{"app":"device-registry"}},"spec":{"containers":[{"envFrom":[{"configMapRef":{"name":"kafka-shared"}},{"configMapRef":{"name":"device-registry-config"}},{"secretRef":{"name":"device-registry-secret"}}],"image":"advancedtelematic/device-registry:0.3.0-223-gb13d8c5","livenessProbe":{"httpGet":{"path":"/health","port":9001},"initialDelaySeconds":300,"periodSeconds":30},"name":"device-registry","ports":[{"containerPort":9001}],"resources":{"requests":{"cpu":"80m","memory":"500Mi"}}}]}}}} creationTimestamp: "2020-09-17T05:50:17Z" generation: 1 name: device-registry namespace: default resourceVersion: "2136" selfLink: /apis/apps/v1/namespaces/default/deployments/device-registry uid: ca46b2d0-2c14-4082-a298-7a4d04120c6a spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: device-registry strategy: type: Recreate template: metadata: creationTimestamp: null labels: app: device-registry spec: containers: - envFrom: - configMapRef: name: kafka-shared - configMapRef: name: device-registry-config - secretRef: name: device-registry-secret image: advancedtelematic/device-registry:0.3.0-223-gb13d8c5 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: path: /health port: 9001 scheme: HTTP initialDelaySeconds: 300 periodSeconds: 30 successThreshold: 1 timeoutSeconds: 1 name: device-registry ports: - containerPort: 9001 protocol: TCP resources: requests: cpu: 80m memory: 500Mi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: "2020-09-17T05:50:48Z" lastUpdateTime: "2020-09-17T05:50:48Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2020-09-17T05:50:18Z" lastUpdateTime: "2020-09-17T05:50:48Z" message: ReplicaSet "device-registry-5ddfc594c9" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing observedGeneration: 1 readyReplicas: 1 replicas: 1 updatedReplicas: 1
env details are below:
$ ./contrib/gke/kubectl exec device-registry-5ddfc594c9-qd9kf -- env PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=device-registry-5ddfc594c9-qd9kf DB_URL=jdbc:mariadb://mysql:3306/device_registry KAFKA_HOST=kafka:9092 KAFKA_TOPIC_SUFFIX=ce ENV_PREFIX=ce JAVA_OPTS=-Xmx450m BIND_HOST=0.0.0.0 DB_MIGRATE=true KAFKA_BOOTSTRAP_SERVERS=kafka:9092 BIND_PORT=9001 DB_USER=device_registry REPORT_METRICS=false AUTH_PROTOCOL=none DB_PASSWORD=device_registry ZOOKEEPER_PORT_2181_TCP=tcp://10.7.249.215:2181 ZOOKEEPER_PORT_3888_TCP_PROTO=tcp WEB_EVENTS_PORT=tcp://10.7.255.15:80 GATEWAY_SERVICE_PORT_80_TCP=tcp://10.7.241.52:80 TREEHUB_PORT=tcp://10.7.254.164:80 MYSQL_SERVICE_PORT=3306 REVERSE_PROXY_SERVICE_HOST=10.7.243.215 ZOOKEEPER_PORT_2181_TCP_PORT=2181 CAMPAIGNER_PORT_80_TCP=tcp://10.7.253.153:80 DIRECTOR_PORT_80_TCP=tcp://10.7.250.95:80 GATEWAY_SERVICE_SERVICE_PORT_HTTPS_HACK=8000 KUBERNETES_SERVICE_HOST=10.7.240.1 REVERSE_PROXY_PORT_8443_TCP=tcp://10.7.243.215:8443 WEB_EVENTS_PORT_80_TCP=tcp://10.7.255.15:80 GATEWAY_SERVICE_PORT=tcp://10.7.241.52:80 ZOOKEEPER_PORT_3888_TCP_ADDR=10.7.249.215 DEVICE_REGISTRY_PORT_80_TCP=tcp://10.7.242.98:80 KUBERNETES_PORT_443_TCP_PROTO=tcp TUF_KEYSERVER_SERVICE_HOST=10.7.252.67 TUF_KEYSERVER_PORT_80_TCP_PROTO=tcp DEVICE_REGISTRY_SERVICE_HOST=10.7.242.98 DEVICE_REGISTRY_SERVICE_PORT=80 KAFKA_PORT_9092_TCP_PROTO=tcp REVERSE_PROXY_SERVICE_PORT_HTTP=80 ZOOKEEPER_PORT_2181_TCP_ADDR=10.7.249.215 GATEWAY_SERVICE_SERVICE_PORT_HTTPS=8443 KAFKA_PORT=tcp://10.7.244.24:9092 TUF_KEYSERVER_DAEMON_PORT_80_TCP_ADDR=10.7.247.63 ZOOKEEPER_PORT=tcp://10.7.249.215:2181 ZOOKEEPER_PORT_2888_TCP=tcp://10.7.249.215:2888 KUBERNETES_PORT_443_TCP_PORT=443 REVERSE_PROXY_PORT_80_TCP_ADDR=10.7.243.215 REVERSE_PROXY_PORT_8443_TCP_PORT=8443 TUF_KEYSERVER_PORT_80_TCP=tcp://10.7.252.67:80 REVERSE_PROXY_PORT_8443_TCP_ADDR=10.7.243.215 TUF_KEYSERVER_PORT_80_TCP_ADDR=10.7.252.67 WEB_EVENTS_SERVICE_PORT=80 DIRECTOR_SERVICE_HOST=10.7.250.95 APP_PORT_80_TCP_PORT=80 KAFKA_PORT_9092_TCP_PORT=9092 KUBERNETES_PORT_443_TCP=tcp://10.7.240.1:443 REVERSE_PROXY_SERVICE_PORT=80 TUF_KEYSERVER_DAEMON_PORT_80_TCP_PORT=80 CAMPAIGNER_PORT_80_TCP_ADDR=10.7.253.153 APP_PORT_80_TCP_ADDR=10.7.248.67 KAFKA_SERVICE_PORT=9092 GATEWAY_SERVICE_PORT_8000_TCP_PROTO=tcp KAFKA_SERVICE_HOST=10.7.244.24 APP_SERVICE_PORT=80 DEVICE_REGISTRY_PORT=tcp://10.7.242.98:80 KUBERNETES_PORT=tcp://10.7.240.1:443 TUF_KEYSERVER_SERVICE_PORT=80 TREEHUB_SERVICE_HOST=10.7.254.164 CAMPAIGNER_PORT=tcp://10.7.253.153:80 CAMPAIGNER_PORT_80_TCP_PORT=80 GATEWAY_SERVICE_PORT_8443_TCP=tcp://10.7.241.52:8443 GATEWAY_SERVICE_PORT_8443_TCP_PROTO=tcp ZOOKEEPER_PORT_2181_TCP_PROTO=tcp REVERSE_PROXY_PORT_80_TCP_PROTO=tcp TREEHUB_SERVICE_PORT=80 GATEWAY_SERVICE_PORT_8443_TCP_ADDR=10.7.241.52 DIRECTOR_PORT_80_TCP_PORT=80 TUF_REPOSERVER_PORT_80_TCP_ADDR=10.7.254.145 REVERSE_PROXY_PORT_8443_TCP_PROTO=tcp TUF_REPOSERVER_PORT_80_TCP_PORT=80 TREEHUB_PORT_80_TCP=tcp://10.7.254.164:80 TREEHUB_PORT_80_TCP_PORT=80 ZOOKEEPER_SERVICE_PORT_ELECTION=3888 DIRECTOR_PORT_80_TCP_PROTO=tcp KUBERNETES_SERVICE_PORT=443 TUF_KEYSERVER_DAEMON_SERVICE_HOST=10.7.247.63 WEB_EVENTS_PORT_80_TCP_PORT=80 KUBERNETES_SERVICE_PORT_HTTPS=443 CAMPAIGNER_SERVICE_PORT=80 APP_PORT_80_TCP_PROTO=tcp KAFKA_PORT_9092_TCP=tcp://10.7.244.24:9092 KAFKA_PORT_9092_TCP_ADDR=10.7.244.24 REVERSE_PROXY_PORT_80_TCP=tcp://10.7.243.215:80 ZOOKEEPER_SERVICE_PORT_PEER=2888 ZOOKEEPER_PORT_2888_TCP_ADDR=10.7.249.215 WEB_EVENTS_PORT_80_TCP_ADDR=10.7.255.15 APP_PORT=tcp://10.7.248.67:80 DEVICE_REGISTRY_PORT_80_TCP_ADDR=10.7.242.98 GATEWAY_SERVICE_PORT_8000_TCP_ADDR=10.7.241.52 DIRECTOR_PORT=tcp://10.7.250.95:80 DEVICE_REGISTRY_PORT_80_TCP_PORT=80 GATEWAY_SERVICE_SERVICE_PORT=80 TUF_KEYSERVER_DAEMON_SERVICE_PORT=80 WEB_EVENTS_PORT_80_TCP_PROTO=tcp MYSQL_PORT=tcp://10.7.241.172:3306 TUF_KEYSERVER_PORT=tcp://10.7.252.67:80 ZOOKEEPER_SERVICE_PORT_CLIENT=2181 MYSQL_SERVICE_HOST=10.7.241.172 TUF_REPOSERVER_PORT_80_TCP=tcp://10.7.254.145:80 REVERSE_PROXY_SERVICE_PORT_HTTPS=8443 REVERSE_PROXY_PORT_80_TCP_PORT=80 TUF_KEYSERVER_DAEMON_PORT_80_TCP=tcp://10.7.247.63:80 TUF_REPOSERVER_PORT=tcp://10.7.254.145:80 CAMPAIGNER_PORT_80_TCP_PROTO=tcp DIRECTOR_SERVICE_PORT=80 GATEWAY_SERVICE_PORT_8000_TCP=tcp://10.7.241.52:8000 KUBERNETES_PORT_443_TCP_ADDR=10.7.240.1 TUF_REPOSERVER_SERVICE_HOST=10.7.254.145 ZOOKEEPER_SERVICE_PORT=2181 ZOOKEEPER_PORT_3888_TCP_PORT=3888 WEB_EVENTS_SERVICE_HOST=10.7.255.15 GATEWAY_SERVICE_PORT_80_TCP_PROTO=tcp GATEWAY_SERVICE_PORT_8000_TCP_PORT=8000 TUF_KEYSERVER_PORT_80_TCP_PORT=80 TREEHUB_PORT_80_TCP_PROTO=tcp GATEWAY_SERVICE_PORT_80_TCP_PORT=80 GATEWAY_SERVICE_PORT_8443_TCP_PORT=8443 GATEWAY_SERVICE_PORT_80_TCP_ADDR=10.7.241.52 MYSQL_PORT_3306_TCP_PROTO=tcp MYSQL_PORT_3306_TCP_ADDR=10.7.241.172 TUF_KEYSERVER_DAEMON_PORT_80_TCP_PROTO=tcp ZOOKEEPER_PORT_2888_TCP_PORT=2888 GATEWAY_SERVICE_SERVICE_HOST=10.7.241.52 GATEWAY_SERVICE_SERVICE_PORT_HTTP=80 TUF_REPOSERVER_PORT_80_TCP_PROTO=tcp ZOOKEEPER_SERVICE_HOST=10.7.249.215 CAMPAIGNER_SERVICE_HOST=10.7.253.153 MYSQL_PORT_3306_TCP=tcp://10.7.241.172:3306 TUF_KEYSERVER_DAEMON_PORT=tcp://10.7.247.63:80 ZOOKEEPER_PORT_2888_TCP_PROTO=tcp DIRECTOR_PORT_80_TCP_ADDR=10.7.250.95 MYSQL_PORT_3306_TCP_PORT=3306 TREEHUB_PORT_80_TCP_ADDR=10.7.254.164 TUF_REPOSERVER_SERVICE_PORT=80 ZOOKEEPER_PORT_3888_TCP=tcp://10.7.249.215:3888 APP_SERVICE_HOST=10.7.248.67 APP_PORT_80_TCP=tcp://10.7.248.67:80 DEVICE_REGISTRY_PORT_80_TCP_PROTO=tcp REVERSE_PROXY_PORT=tcp://10.7.243.215:80 LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk8u222-b10 JAVA_HOME=/opt/java/openjdk HOME=/home/demiourgos728
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting the following error while running 'make new-client' to create a new device.
command:
./contrib/gke/make SERVER_NAME=ota-ce.uptanedemo.com SKIP_CLIENT=true new-client
Error:
The following block of script causes the failure from start.sh
Image version used:
device-registry:0.3.0-223-gb13d8c5 ( latest versions failing due to #167 )
Config YAML metadata:
env details are below:
The text was updated successfully, but these errors were encountered: