xmidt-org / xmidt

Highly scalable pipes for communicating with devices all over the place.
Apache License 2.0
17 stars 19 forks source link

xmidt/simulator error for docker-compose setup #62

Open karthika-ab opened 2 years ago

karthika-ab commented 2 years ago

Hi , We are setting up WEBPA using docker-compose ,using the reference from here https://github.com/xmidt-org/xmidt/tree/master/deploy/docker-compose

But the recent setup of the same is giving the below error.We were not facing the below error when we had tried out the same few months back!

The command '/bin/sh -c cd /build && git clone https://github.com/Comcast/parodus2mockTr181.git && cd parodus2mockTr181 && mkdir build && cd build && cmake .. && make && cd /build && git clone https://github.com/Comcast/parodus.git && cd parodus && git checkout ad2d43b4f6e980a6cc1c1340fc82564104eb1dd8 && mkdir build && cd build && cmake .. && make && cd /build && git clone https://github.com/Comcast/aker.git && cd aker && git checkout cfb54022fa6e0ba70040e419d34655da955637b5 && mkdir build && cd build && cmake .. && make' returned a non-zero code: 2 /home/ubuntu/WEBPA_DOCKER/xmidt Running services... Pulling simulator (xmidt/simulator:latest)... ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y Pulling simulator (xmidt/simulator:latest)... ERROR: pull access denied for xmidt/simulator, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Can someone help

karthika-ab commented 2 years ago

Hi , Is there any restrictions for webpa docker-compose setup to be run on architectures other than amd64?

The docker-compose setup is building fine for amd64 machines and when tried on a machine with architecture aarch64 build failures like the one above are observed .It is also noticed that the docker images from dockerhub are also available for amd64.

Regards Karthika

schmidtw commented 2 years ago

I'm sorry for the delay in responding. I think the only reason the docker setup is tied to amd64 is because that is what the simulator is built against. However, the simulator should be able to be rebuilt for other architectures. The base code is the same as the Parodus code & is meant to be cross architecture & support ARM and others.

karthika-ab commented 2 years ago

@schmidtw ,Thankyou for replying. We will try building the simulator for other architectures and let you know.

Are there any plans to include multiple architecture images for Webpa services in dockerhub in the future?

Regards Karthika