smart-edge-open / edgeapps Goto Github PK
View Code? Open in Web Editor NEWApplications that can be onboarded to an Intel® Smart Edge Open edge node.
License: Apache License 2.0
Applications that can be onboarded to an Intel® Smart Edge Open edge node.
License: Apache License 2.0
Hi , Can I get the sample json files for the various REST API's supported in Openness or if its already there pls share the details for the same.? Like for AF, EAA, EDNS etc.
Regards
Abhijit
Hi,
Please I want to ask where the Binaries or required code files that can be used to create container images for the 5G Network Functions (AMF,SMF,UPF etc) can be found.
Error while starting traffic from client simulator
The time frame set for the producer and consumer pods are very less. Due to which, the testing is getting affected. Also testing steps are not very clear to us. Could you please help us how to check the output of the sample consumer producer app?
can someone please explain what this command does exactly?
taskset -c 8 /root/omz_demos_build/intel64/Release/object_detection_demo_ssd_async -d CPU -i rtp://127.0.0.1:5000?overrun_nonfatal=1 -m pedestrian-detection-adas-0002/FP32/pedestrian-detection-adas-0002.xml
This is executed through exec.Command in openvino.go file of consumer
cdn-service.log
kafka-service.log
live-services.log
redis-service.log
zookeeper-service.log
We tried to deploy CDN-Transcode-Sample, we are seeing issue with kafka-service and live-service.
Kafka-service and live-service pod going in a "CrashLoopBackOff" state.
Following is the cluster information and log snippet. Let me know what other information required for debugging.
[root@openmaster CDN-Transcode-Sample]# kubectl get pods
NAME READY STATUS RESTARTS AGE
cdn-service-5665d5459-frjt8 1/1 Running 0 92m
kafka-service-858d7c4d89-7m55l 0/1 CrashLoopBackOff 21 92m
live-service-0-7b76467668-8bdhm 0/1 CrashLoopBackOff 22 92m
redis-service-5d4bddb55-nmdws 1/1 Running 0 92m
vod-service-8495d66cc5-52pdj 1/1 Running 0 92m
vod-service-8495d66cc5-z5nxh 1/1 Running 0 92m
zookeeper-service-65bc7f7bbc-9qqqm 1/1 Running 0 92m
[root@openmaster CDN-Transcode-Sample]# kubectl logs cdn-service-5665d5459-frjt8
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='ANSI_X3.4-1968'>
BrokenPipeError: [Errno 32] Broken pipe
[root@openmaster CDN-Transcode-Sample]# kubectl logs kafka-service-858d7c4d89-7m55l
[2020-09-18 16:46:52,328] INFO Client environment:os.version=3.10.0-957.12.2.el7.x86_64 (org.apache.zookeeper.ZooKeeper[0/1890]
[2020-09-18 16:46:52,328] INFO Client environment:user.name=root (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,329] INFO Client environment:user.home=/root (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,329] INFO Client environment:user.dir=/ (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,329] INFO Client environment:os.memory.free=976MB (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,329] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,329] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,334] INFO Initiating client connection, connectString=zookeeper-service:2181 sessionTimeout=18000 watcher=
kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@7722c3c3 (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:46:52,345] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket)
[2020-09-18 16:46:52,363] INFO zookeeper.request.timeout value is 0. feature enabled= (org.apache.zookeeper.ClientCnxn)
[2020-09-18 16:46:52,369] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient)
[2020-09-18 16:46:52,397] INFO Opening socket connection to server zookeeper-service/10.110.225.58:2181. Will not attempt to au
thenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)
waiting for kafka to be ready
waiting for kafka to be ready
[2020-09-18 16:47:10,371] INFO [ZooKeeperClient Kafka server] Closing. (kafka.zookeeper.ZooKeeperClient)
[2020-09-18 16:47:10,381] WARN Client session timed out, have not heard from server in 18017ms for sessionid 0x0 (org.apache.zo
okeeper.ClientCnxn)
[2020-09-18 16:47:10,492] INFO Session: 0x0 closed (org.apache.zookeeper.ZooKeeper)
[2020-09-18 16:47:10,548] INFO EventThread shut down for session: 0x0 (org.apache.zookeeper.ClientCnxn)
[2020-09-18 16:47:10,551] INFO [ZooKeeperClient Kafka server] Closed. (kafka.zookeeper.ZooKeeperClient)
[2020-09-18 16:47:10,559] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING
at kafka.zookeeper.ZooKeeperClient.waitUntilConnected(ZooKeeperClient.scala:262)
at kafka.zookeeper.ZooKeeperClient.(ZooKeeperClient.scala:119)
at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1865)
at kafka.server.KafkaServer.createZkClient$1(KafkaServer.scala:419)
at kafka.server.KafkaServer.initZkClient(KafkaServer.scala:444)
at kafka.server.KafkaServer.startup(KafkaServer.scala:222)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44)
at kafka.Kafka$.main(Kafka.scala:82)
at kafka.Kafka.main(Kafka.scala)
[2020-09-18 16:47:10,565] INFO shutting down (kafka.server.KafkaServer)
[2020-09-18 16:47:10,577] INFO shut down completed (kafka.server.KafkaServer)
[2020-09-18 16:47:10,578] ERROR Exiting Kafka. (kafka.server.KafkaServerStartable)
[2020-09-18 16:47:10,580] INFO shutting down (kafka.server.KafkaServer)
[root@openmaster CDN-Transcode-Sample]# kubectl logs live-service-0-7b76467668-8bdhm
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/archive/bbb_sunflower_1080p_30fps_normal.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-12-16T17:44:39.000000Z
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
genre : Animation
composer : Sacha Goedegebure
Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Side data:
audio service type: main
[tcp @ 0x55809c7e60c0] Connection to tcp://cdn-service:1935 failed: Connection timed out
[rtmp @ 0x55809c73c880] Cannot open connection tcp://cdn-service:1935
rtmp://cdn-service/dash/media_0_0: Connection timed out
[root@openmaster CDN-Transcode-Sample]# kubectl logs zookeeper-service-65bc7f7bbc-9qqqm
2020-09-18 15:15:11,543 [myid:1] - INFO [main:ZKDatabase@132] - zookeeper.snapshotSizeFactor = 0.33
2020-09-18 15:15:11,543 [myid:1] - INFO [main:ZKDatabase@152] - zookeeper.commitLogCount=500
2020-09-18 15:15:11,552 [myid:1] - INFO [main:SnapStream@61] - zookeeper.snapshot.compression.method = CHECKED
2020-09-18 15:15:11,553 [myid:1] - INFO [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /data/version-2/snapshot.0
2020-09-18 15:15:11,558 [myid:1] - INFO [main:ZKDatabase@289] - Snapshot loaded in 14 ms, highest zxid is 0x0, digest is 1371985504
2020-09-18 15:15:11,558 [myid:1] - INFO [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /data/version-2/snapshot.0
2020-09-18 15:15:11,559 [myid:1] - INFO [main:ZooKeeperServer@519] - Snapshot taken in 0 ms
2020-09-18 15:15:11,576 [myid:1] - INFO [main:RequestThrottler@74] - zookeeper.request_throttler.shutdownTimeout = 10000
2020-09-18 15:15:11,611 [myid:1] - INFO [main:ContainerManager@83] - Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0
2020-09-18 15:15:11,612 [myid:1] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled.
For OpenVINO Edgeapp, we followed the document to build the producer and consumer docker images. The build was successful.
After deploying using kubectl, the openvino-cons-app is created. But it goes into CrashLoopBackOff
Logs from openvino-cons-app in openvino-cons-app
[setupvars.sh] OpenVINO environment initialized
command-line-arguments
./openvino.go:64:9: undefined: err
./openvino.go:65:16: undefined: err
./openvino.go:70:9: undefined: err
./openvino.go:71:16: undefined: err
./start.sh: line 10: fg: no job control ```
Hello,
I have built a network edge deployment (OpenNESS 20.09.01) cluster between two
QEMU/KVM machines, and have successfully tested producer/consumer apps.
The edge node (worker) is provisioned with two network interfaces (eth0 and eth1) with the idea
of dedicating one to management/control and the 2nd to data. The worker connects
to the master via eth0 and eth1 is on a different subnet.
To route traffic from an external machine to the OpenVINO apps, I am unable to bridge the
2nd (data) network interface on the Edge node to the OVS as suggested in the documentation.
Specifically, a listing of interfaces on the worker node returns two kernel interfaces
(which is expected-eth0 and eth1 respectively for control and data), but the output
does not include the MAC addresses of the interfaces.
[root@controller ~]# kubectl interfaceservice get node01
Kernel interfaces:
0000:00:04.0 | | detached
0000:00:05.0 | | detached
Further, attaching the interface fails as follows:
[root@controller ~]# kubectl interfaceservice attach node01 0000:00:05.0
Error when executing command: [attach] err: rpc error: code = Unknown desc = ovs-vsctl: port name must not be empty
string
: exit status 1
Is anything misconfigured on my Edge node? Please advise.
If it helps, below is a listing of all PCI devices on the Edge/worker node
which indicates the two Ethernet controllers.
[root@node01 ~]# lspci -Dmm
0000:00:00.0 "Host bridge" "Intel Corporation" "440FX - 82441FX PMC [Natoma]" -r02 "Red Hat, Inc." "Qemu virtual ma
chine"
0000:00:01.0 "ISA bridge" "Intel Corporation" "82371AB/EB/MB PIIX4 ISA" -r03 "" ""
0000:00:01.3 "Bridge" "Intel Corporation" "82371AB/EB/MB PIIX4 ACPI" -r03 "" ""
0000:00:03.0 "Non-VGA unclassified device" "Red Hat, Inc." "Virtio SCSI" "Red Hat, Inc." "Device 0008"
0000:00:04.0 "Ethernet controller" "Red Hat, Inc." "Virtio network device" "Red Hat, Inc." "Device 0001"
0000:00:05.0 "Ethernet controller" "Red Hat, Inc." "Virtio network device" "Red Hat, Inc." "Device 0001"
0000:00:06.0 "Unclassified device [00ff]" "Red Hat, Inc." "Virtio RNG" "Red Hat, Inc." "Device 0004"
Also, below is the status of all pods as seen from the master:
kube-system coredns-66bff467f8-q5nmx 1/1 Running 1 15h
kube-system descheduler-cronjob-1605500040-n7kdq 0/1 Completed 0 13h
kube-system descheduler-cronjob-1605500160-9jwbc 0/1 Completed 0 13h
kube-system descheduler-cronjob-1605500280-c2bkc 0/1 Completed 0 13h
kube-system etcd-controller 1/1 Running 1 15h
kube-system kube-apiserver-controller 1/1 Running 1 15h
kube-system kube-controller-manager-controller 1/1 Running 1 15h
kube-system kube-multus-ds-amd64-fl9hr 1/1 Running 1 15h
kube-system kube-multus-ds-amd64-xdxq5 1/1 Running 1 13h
kube-system kube-ovn-cni-f9bbd 1/1 Running 2 15h
kube-system kube-ovn-cni-lcbh5 1/1 Running 1 14h
kube-system kube-ovn-controller-75775847c8-8njqv 1/1 Running 1 15h
kube-system kube-ovn-controller-75775847c8-c7dlf 1/1 Running 1 15h
kube-system kube-proxy-hhv5b 1/1 Running 1 15h
kube-system kube-proxy-rwr8m 1/1 Running 1 14h
kube-system kube-scheduler-controller 1/1 Running 2 14h
kube-system ovn-central-7585cd4b5c-6qcgf 1/1 Running 1 15h
kube-system ovs-ovn-cmg8q 1/1 Running 1 15h
kube-system ovs-ovn-jlv9n 1/1 Running 1 14h
kubevirt virt-api-f94f8b959-tsxkt 1/1 Running 1 13h
kubevirt virt-api-f94f8b959-vwx2v 1/1 Running 1 13h
kubevirt virt-controller-64766f7cbf-hs6vq 1/1 Running 1 13h
kubevirt virt-controller-64766f7cbf-sjf4n 1/1 Running 1 13h
kubevirt virt-handler-hqqgw 1/1 Running 1 13h
kubevirt virt-operator-79c97797-k5k9x 1/1 Running 1 15h
kubevirt virt-operator-79c97797-xf7pv 1/1 Running 1 15h
openness docker-registry-deployment-54d5bb5c-dzvkl 1/1 Running 1 15h
openness eaa-5c87c49c9-bvlfq 1/1 Running 1 13h
openness edgedns-gh8dt 1/1 Running 1 13h
openness interfaceservice-dxb5n 1/1 Running 1 13h
openness nfd-release-node-feature-discovery-master-6cf7cf5f69-m9gbw 1/1 Running 1 14h
openness nfd-release-node-feature-discovery-worker-r6gxx 1/1 Running 1 14h
telemetry cadvisor-j9lcm 2/2 Running 2 14h
telemetry collectd-nd2r5 2/2 Running 2 14h
telemetry custom-metrics-apiserver-54699b845f-h7td4 1/1 Running 1 14h
telemetry grafana-6b79c984b-vjhx7 2/2 Running 2 14h
telemetry otel-collector-7d5b75bbdf-wpnmv 2/2 Running 2 14h
telemetry prometheus-node-exporter-njspv 1/1 Running 3 14h
telemetry prometheus-server-776b5f44f-v2fgh 3/3 Running 3 14h
telemetry telemetry-aware-scheduling-68467c4ccd-q2q7h 2/2 Running 2 14h
telemetry telemetry-collector-certs-dklhx 0/1 Completed 0 14h
telemetry telemetry-node-certs-xh9bv 1/1 Running 1 14h
I am trying to deploy a solution for Azure IoT Edge In Openness. the Edge daemon, Agent and Hub are getting properly deployed.
I was following the document: https://microsoft.github.io/iotedge-k8s-doc/introduction.html
Although when deploying solution i get the following error
If anybody can help resolve this issue it would be the needful.
Hi team!,
we are trying to set up our first sample application in OpenNESS, OpenVINO, following the steps indicated on this github repository link: https://github.com/open-ness/specs/blob/master/doc/applications/openness_openvino.md
We were able set up fine the Client Simulator and OpenVINO Producer applications. But we have a problem installing the OpenVINO Consumer Application. The deployment fails on the step 39. When it tries to run “ RUN git config --global http.proxy $http_proxy “. The command output is: “The command '/bin/sh -c git config --global http.proxy $http_proxy' returned a non-zero code: 1”.
Below we paste the whole output.
Could you help us guiding us how we can solve this initial issue?.
Thanks!.
Julián F.
Console output:
[root@node02 consumer]# pwd
/home/edgeapps/applications/openvino/consumer[root@node02 consumer]# ./build-image.sh
Sending build context to Docker daemon 42.5kB
Step 1/42 : FROM ubuntu:20.04
---> 9873176a8ff5
Step 2/42 : ENV http_proxy=$http_proxy
---> Using cache
---> 1d0a21f01f33
Step 3/42 : ENV https_proxy=$https_proxy
---> Using cache
---> c1d76b44d0c7
Step 4/42 : ENV no_proxy=$no_proxy,eaa.openness,analytics.openness
---> Using cache
---> 701a141f32e6
Step 5/42 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 5f03a1903b2d
Step 6/42 : ENV OPENVINO_TASKSET_CPU=7
---> Using cache
---> f0ead192bee7
Step 7/42 : ARG OPENVINO_LINK=https://registrationcenter-download.intel.com/akdlm/irc_nas/17062/l_openvino_toolkit_p_2021.1.110.tgz
---> Using cache
---> 1090f828420e
Step 8/42 : ARG YEAR=2021
---> Using cache
---> c3cbbda32d3a
Step 9/42 : ARG OPENVINO_DEMOS_DIR=/opt/intel/openvino_$YEAR/deployment_tools/open_model_zoo/demos
---> Using cache
---> 9649f7793326
Step 10/42 : ARG MODEL_ROOT=/opt/intel/openvino_$YEAR/deployment_tools/open_model_zoo/tools/downloader
---> Using cache
---> bf2921a38331
Step 11/42 : ENV APP_DIR=/opt/intel/openvino_$YEAR/deployment_tools/inference_engine/demos/python_demos/object_detection_demo_ssd_async/
---> Using cache
---> 131a1165bd0b
Step 12/42 : RUN apt-get update && apt-get -y install iputils-ping && apt-get -y install build-essential gcc g++ cmake && apt-get -y install cpio && apt-get -y install sudo && apt-get -y install unzip && apt-get -y install wget && apt-get -y install lsb-core && apt-get -y install autoconf libtool && apt-get -y install ffmpeg x264 && apt-get -y install git && apt-get -y install python3-pip && apt-get -y install nginx libnginx-mod-rtmp libjson-c-dev && apt-get -y install util-linux && apt-get -y install libusb-1.0-0-dev libudev-dev libssl-dev libboost-program-options1.71-dev libboost-thread1.71 libboost-filesystem1.71
---> Using cache
---> 72fce8cfe382
Step 13/42 : RUN cd /tmp && wget $OPENVINO_LINK && tar xf l_openvino_toolkit*.tgz && cd l_openvino_toolkit* && sed -i 's/decline/accept/g' silent.cfg && ./install_openvino_dependencies.sh && ./install.sh -s silent.cfg && rm -rf /tmp/l_openvino_toolkit*
---> Using cache
---> 8bb7034cb293
Step 14/42 : RUN pip3 install numpy
---> Using cache
---> ce305e7eca91
Step 15/42 : COPY nginx.conf /etc/nginx/nginx.conf
---> Using cache
---> 79b5a8fee3b0
Step 16/42 : RUN chmod +s /usr/sbin/nginx
---> Using cache
---> 370668d9dbac
Step 17/42 : RUN cd /tmp && wget https://github.com/libusb/libusb/archive/v1.0.22.zip && unzip v1.0.22.zip && cd libusb-1.0.22 && ./bootstrap.sh && ./configure --disable-udev --enable-shared && make -j4 && make install && rm -rf /tmp/1.0.22
---> Using cache
---> 6b214ee2b0b7
Step 18/42 : RUN useradd -ms /bin/bash -G video,users,www-data openvino && chown -R openvino /home/openvino
---> Using cache
---> 7a0a9ea7cd32
Step 19/42 : COPY cmd/ /home/openvino
---> Using cache
---> 162df37c1014
Step 20/42 : ADD start.sh /home/openvino
---> Using cache
---> b9f0e06233fc
Step 21/42 : RUN chown -R openvino:openvino /opt/intel/openvino*
---> Using cache
---> 101c9231cc9c
Step 22/42 : RUN chown -R openvino:openvino /home/openvino/*
---> Using cache
---> d3fd41734c40
Step 23/42 : RUN chmod 0777 /etc/hosts
---> Using cache
---> c0aa4544b482
Step 24/42 : USER openvino
---> Using cache
---> 5cbf498db786
Step 25/42 : RUN echo "source /opt/intel/openvino_$YEAR/bin/setupvars.sh" >> ~/.bashrc
---> Using cache
---> 2fb5b5da4423
Step 26/42 : RUN bash -c "source ~/.bashrc"
---> Using cache
---> daf1421dabd2
Step 27/42 : ADD object_detection_demo_ssd_async.patch $APP_DIR
---> Using cache
---> b4b319340a22
Step 28/42 : RUN cd $APP_DIR && patch -p0 object_detection_demo_ssd_async.py object_detection_demo_ssd_async.patch
---> Using cache
---> 20d1d5871d9e
Step 29/42 : RUN cd $MODEL_ROOT && python3 -mpip install --user -r ./requirements.in && ./downloader.py --name pedestrian-detection-adas-0002 && ./downloader.py --name vehicle-detection-adas-0002
---> Using cache
---> 369be183ebe3
Step 30/42 : RUN cp -r $MODEL_ROOT/intel/vehicle-detection-adas-0002 $APP_DIR/ && cp -r $MODEL_ROOT/intel/pedestrian-detection-adas-0002 $APP_DIR/
---> Using cache
---> 3d66dfe00297
Step 31/42 : RUN cd /tmp && wget https://dl.google.com/go/go1.15.linux-amd64.tar.gz && tar -xvf go1.15.linux-amd64.tar.gz
---> Using cache
---> 01ab39592ec4
Step 32/42 : ENV OPENVINO_ROOT=/opt/intel/openvino_$YEAR
---> Using cache
---> 4689facf64e7
Step 33/42 : ENV GOPATH=/home/openvino/go
---> Using cache
---> 8889983556b6
Step 34/42 : ENV GOROOT=/tmp/go
---> Using cache
---> 913783e47c31
Step 35/42 : ENV GO111MODULE=on
---> Using cache
---> aae2d47bb477
Step 36/42 : ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH
---> Using cache
---> 679fd530e0a2
Step 37/42 : RUN mkdir $GOPATH
---> Using cache
---> be964332b69f
Step 38/42 : WORKDIR /home/openvino
---> Using cache
---> bd06db562782
Step 39/42 : RUN git config --global http.proxy $http_proxy
---> Running in 955946df7c67
The command '/bin/sh -c git config --global http.proxy $http_proxy' returned a non-zero code: 1
[root@node02 consumer]#
Hi Teams,
Can the OpenVINO sample code support VPU acceleration?
And, How to achieve it?
Thank You!
While Deploying Consumer and Producer Sample Application the pod is not running with error of ErrImagePull
Can someone tell whats the issue
Hi Team,
I'm trying to onboard the openvino sample code to the OpenNESS cluster.
But, I'm failed to start the object inferences.
It seems that the openvino-cons-app doesn't discovery the services and then get notification(setting the inference algorithms) from the openvino-prod-app. So, it can't start the inference task once they get video packets from the client simulation side. I attach these two APPs's logs and hope some one can help me on this. Is there anything I should check in advance?
Producer APP:
[root@cn01 ~]# kubectl logs -f openvino-prod-app-787bf68fdc-79jqf
go: finding github.com/pkg/errors v0.9.1
go: downloading github.com/pkg/errors v0.9.1
go: extracting github.com/pkg/errors v0.9.1
2021/02/08 06:21:23 OpenVINO Producer Application Started
2021/02/08 06:21:23 Create Encrypted client
2021/02/08 06:21:23 Loading certificate and key
2021/02/08 06:21:23 &http.Client{Transport:(*http.Transport)(0xc000120280), CheckRedirect:(func(*http.Request, []*http.Request) error)(nil), Jar:http.CookieJar(nil), Timeout:0}
2021/02/08 06:21:23 Service-activation request failed: Post https://eaa.openness:443/services: dial tcp 10.16.0.51:443: connect: connection refused
2021/02/08 06:21:23 Service-activation request failed: Post https://eaa.openness:443/notifications: dial tcp 10.16.0.51:443: connect: connection refused
2021/02/08 06:21:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:22:23 Service-activation request failed: Post https://eaa.openness:443/notifications: dial tcp 10.16.0.51:443: connect: connection refused
2021/02/08 06:22:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:23:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:24:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:25:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:26:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:27:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:28:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:29:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:30:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:31:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:32:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:33:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
2021/02/08 06:34:23 Inference settings: {vehicle-detection-adas-0002 CPU}
2021/02/08 06:35:23 Inference settings: {pedestrian-detection-adas-0002 CPU}
Consumer APP:
[root@cn01 openvino]# kubectl logs -f openvino-cons-app-6744f45755-hqppx
[setupvars.sh] OpenVINO environment initialized
go: downloading github.com/gorilla/websocket v1.4.2
2021/02/08 06:24:47 OpenVINO Consumer Started
2021/02/08 06:24:47 Create Encrypted client
2021/02/08 06:24:47 Loading certificate and key
2021/02/08 06:24:47 &http.Client{Transport:(*http.Transport)(0xc000190280), CheckRedirect:(func(*http.Request, []*http.Request) error)(nil), Jar:http.CookieJar(nil), Timeout:0}
2021/02/08 06:24:47 Establish websocket Started
2021/02/08 06:24:47 WebSocket establishment successful
2021/02/08 06:24:47 Service Discovery Started
Hi,
Is there any development guide in which steps are provided to make my application as a producer and consumer application.
Need to make my sample application producer app and consumer app.
Thanks
Abhijit
Hi @amr-mokhtar
Smart-City-Application has been installed successfully on Network Edge OpenNESS 20.06 using below links as a reference.
https://www.openness.org/docs/doc/applications-onboard/network-edge-applications-onboarding
https://github.com/OpenVisualCloud/Smart-City-Sample/tree/openness-k8s/deployment/openness
but on cloud-web GUI, i am not able to see any cameras.
i appreciate if you help me to find out the issue.
Hi,
Please share some more details on how the wrapper code will work for Service Discovery, subscription and other EAA features.
Questions :
Regards
Abhijit
Hello!,
we are following the procedure to install and try to test OpenVINO application, but we are not able to install "interfaceservice" kubernetes plugin. We can not find the standalone executable file associated to this plugin.
Could you help us sharing with us this file, in order to do move it to our PATH and try to set up it?.
Thanks!.
Julián
Hi,
I deploy Smart City Application using EMCO following the below link:
https://github.com/open-ness/specs/blob/master/doc/building-blocks/emco/openness-emco.md
I was able to deploy it successfully but On the UI I was unable to see camera and sensors.
All the pods are running fine and no error log in them but still unable to see the sensors on GUI.
I am using three openness cluster for deployment their details are below.
Please let me know if any other details are required.
EMCO Cluster:
-> flavor: central_orchestrator (openness 21.03.01)
-> rest all the configuration is default while deploying the cluster
-> pods:
[root@edgeemco2 centos]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
emco emco-db-emco-mongo-0 1/1 Running 195 13d
emco emco-etcd-0 1/1 Running 85 13d
emco emco-services-clm-784bf5c464-4wkqd 1/1 Running 0 13d
emco emco-services-dcm-6774df749f-qzchm 1/1 Running 0 13d
emco emco-services-dtc-6b55485c7d-p22rm 1/1 Running 0 13d
emco emco-services-gac-7dd7d8b759-7lsvj 1/1 Running 0 13d
emco emco-services-ncm-5c6886c5c8-5kr5s 1/1 Running 0 13d
emco emco-services-orchestrator-bbfc74f47-dj8vf 1/1 Running 0 13d
emco emco-services-ovnaction-556bf75d8c-sntv7 1/1 Running 0 13d
emco emco-services-rsync-7848fd4568-ktrjv 1/1 Running 0 13d
emco emco-tools-fluentd-0 1/1 Running 0 13d
emco emco-tools-fluentd-mkv29 1/1 Running 147 13d
harbor harbor-app-harbor-chartmuseum-77cfffbd4d-82v5b 1/1 Running 2 14d
harbor harbor-app-harbor-clair-779df4555b-xlbrd 2/2 Running 936 14d
harbor harbor-app-harbor-core-6849c6fdf8-hj5xm 1/1 Running 324 14d
harbor harbor-app-harbor-database-0 1/1 Running 201 14d
harbor harbor-app-harbor-jobservice-5d9bddcf6b-wk9pd 1/1 Running 7 14d
harbor harbor-app-harbor-nginx-5fd87c9477-fxc79 1/1 Running 8 14d
harbor harbor-app-harbor-notary-server-fc9dd596b-cjvv9 1/1 Running 3 14d
harbor harbor-app-harbor-notary-signer-6bdd4c5784-24chg 1/1 Running 3 14d
harbor harbor-app-harbor-portal-fd5ff4bc9-72lx4 1/1 Running 2 14d
harbor harbor-app-harbor-redis-0 1/1 Running 1 14d
harbor harbor-app-harbor-registry-55b7966fc4-tt7pf 2/2 Running 2 14d
harbor harbor-app-harbor-trivy-0 1/1 Running 1 14d
kube-system calico-kube-controllers-66956989f4-k2lc8 1/1 Running 1 14d
kube-system calico-node-n47fr 1/1 Running 372 14d
kube-system coredns-74ff55c5b-c6gk9 1/1 Running 1 14d
kube-system coredns-74ff55c5b-ctt4v 1/1 Running 1 14d
kube-system etcd-edgecontroller2 1/1 Running 115 14d
kube-system kube-apiserver-edgecontroller2 1/1 Running 370 14d
kube-system kube-controller-manager-edgecontroller2 1/1 Running 413 14d
kube-system kube-proxy-wqqll 1/1 Running 1 14d
kube-system kube-scheduler-edgecontroller2 1/1 Running 382 14d
Cloud Cluster:
-> flavor: minimal (openness 21.03.01)
-> rest all the configuration is default while deploying the cluster
-> pods:
[root@edgecloud centos]# kubectl get pods
NAME READY STATUS RESTARTS AGE
cloud-db-785ff8cd79-mhlps 1/1 Running 0 19h
cloud-storage-ccf8d85d5-t5zsc 1/1 Running 0 19h
cloud-web-9cd779448-p44hv 1/1 Running 0 19h
recycler-for-grafana-volume 0/1 Completed 0 11d
Edge Cluster:
-> flavor: minimal (openness 21.03.01)
-> rest all the configuration is default while deploying the cluster
-> pods:
[root@edgenode centos]# kubectl get pods
NAME READY STATUS RESTARTS AGE
traffic-office1-alert-f678f6497-bmzmg 1/1 Running 0 20h
traffic-office1-analytics-traffic-6dc68dd65c-2fdj2 1/1 Running 0 20h
traffic-office1-camera-discovery-598f4f74-hxqv9 1/1 Running 0 20h
traffic-office1-cameras-6f85bfbb74-xhj2q 1/1 Running 0 20h
traffic-office1-db-6df4fc8c99-v2wbx 1/1 Running 0 20h
traffic-office1-db-init-546697b598-q4lj7 1/1 Running 0 20h
traffic-office1-mqtt-6467bc5779-dc25k 1/1 Running 0 20h
traffic-office1-mqtt2db-6dc97c885f-5s6hj 1/1 Running 0 20h
traffic-office1-smart-upload-5d54d58fd-npm6n 1/1 Running 0 20h
traffic-office1-storage-f9c8c6c95-pnj4t 1/1 Running 0 20h
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.