Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
400 Discussions

where is the orchestrator located ?

AlexandruUngureanu
838 Views

Hi,

 

I have tried to install the edge for instrustrial software on a intel network. I had to use the proxy for the installer to detect the presence of internet.

before (no proxy):

Checking Internet connection
Reconnecting
Check for Internet connection request timed out
Reconnecting
Please check the Internet connection and proxy settings

 

after (with proxy):

Checking Internet connection
Connected to the Internet

 

This was not the single problem. The docker and docker-compose tools cannot be downloaded because of a blocked port. see logs:

Modules to be installed by package are ['Docker_Community_Edition_CE', 'Docker_Compose', 'eii_installer']
Installing Docker_Community_Edition_CE
Installing Docker [..................................................] 100%
13
Permission denied
Failed to install Docker_Community_Edition_CE took 36.54 seconds
Installing Docker_Compose
Verifying Docker [..................................................] 100%
Installing Docker Compose [......................................... ] 83%
Failed to download docker-compose % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0curl: (7) Failed to connect to github.com port 443: Connection timed out

Failed to install Docker_Compose took 2 minutes 21.50 seconds
Installing eii_installer
Verifying Docker [..................................................] 100%
Verifying Docker Compose [......................... ] 50%
sudo: docker-compose: command not found

Failed to verify docker_compose_verify
Failed to install eii_installer took 10.88 seconds
Installation of package complete

 

As a side note, for this you could use the http or https to download the binaries from github, no need for a separate port 443.

Finally the installer result was like:

Installation of package complete
+--------------------------+-----------------------------+---------+
| Id | Module | Status |
+--------------------------+-----------------------------+---------+
| 5f21392e9e63c9002a6fd88d | Docker Community Edition CE | SUCCESS |
| 5f213aae9e63c9002a6fd88e | Docker Compose | FAILED |
| 5face41098a1ef002af292fd | eii installer | FAILED |
+--------------------------+-----------------------------+---------+

 

Now, the question: Where should the orchestrator component be located ? I've searched for "orchestrator" in the installer directory and did not found it. Do you think this could be because the installer was not complete ? I need to investigate the orchestration solution for this components.

I've also tried to install docker-compose separately before but after installer execution, the binary it's not there anymore (/usr/local/bin/docker-compose) and maybe the installer deleted it.

Full logs attached.

 

Regards,

AlexU

Labels (1)
0 Kudos
1 Solution
Jia-Shing_W_Intel
Moderator
821 Views

The installer for the recommended configuration no longer comes with orchestrator by default. You can verify this by looking for "orchestrator" in the edgesoftware_configuration.xml file.

To include it, you need to create a customized installation package by clicking the "Customize & Download" button at https://software.intel.com/iot/edgesoftwarehub/download/home/industrialinsights/. At step 2, you can add Orchestrator to your package. 

About the installation of docker and docker-compose, curl is used to download the official Docker GPG key and the docker-compose binaries via https, and thus a proxy setting is required if you are behind a proxy server.

View solution in original post

0 Kudos
3 Replies
Jia-Shing_W_Intel
Moderator
822 Views

The installer for the recommended configuration no longer comes with orchestrator by default. You can verify this by looking for "orchestrator" in the edgesoftware_configuration.xml file.

To include it, you need to create a customized installation package by clicking the "Customize & Download" button at https://software.intel.com/iot/edgesoftwarehub/download/home/industrialinsights/. At step 2, you can add Orchestrator to your package. 

About the installation of docker and docker-compose, curl is used to download the official Docker GPG key and the docker-compose binaries via https, and thus a proxy setting is required if you are behind a proxy server.

0 Kudos
mbulgaru
Employee
789 Views

What worked for me so far was commenting the last line from:
/etc/apt/sources.list
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

Deleted the bolded S from this file:
/etc/apt/apt.conf.d/proxy.conf
Acquire::https::proxy "https://proxy-chain.intel.com:912";

But first verify if both files below look like this:
cat /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://proxy-chain.intel.com:911"
Environment="HTTPS_PROXY=http://proxy-chain.intel.com:912"
Environment="NO_PROXY=intel.com,.intel.com,localhost,127.0.0.1"
--
cat ~/.docker/config.json
{
"proxies":
{
"default":
{
"httpProxy": "http://proxy-chain.intel.com:911",
"httpsProxy": "http://proxy-chain.intel.com:912"
}
}
}
Regards, 
Maria-Luiza

0 Kudos
Murni_J_Intel
Moderator
772 Views

Hi @mbulgaru 

for /etc/systemd/system/docker.service.d/http-proxy.conf file I would suggest the NO_proxy as below 

Environment="NO_PROXY=*.intel.com,localhost,127.0.0.1"

after done you will need to restart the docker to flush the changes. 

sudo systemctl daemon-reload
$ sudo systemctl restart docker 

You can verify the configuration has been loaded based on the changes you made using the below command

$ sudo systemctl show --property=Environment docker

 

0 Kudos
Reply