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.
421 Discussions

Failed to install Intel_Edge_Software_Configurator_v5.0

Tiger_Huang
Beginner
2,584 Views

I want to Intel_Edge_Software_Configurator . The operation system is ubuntu 22.04.

I run the command "./edgesoftware install", get an error as follow:

 

Failed to install Edge_Software_Configurator took 14 minutes 22.45 seconds
Installation of package complete
+--------------------------+-----------------------------+---------+
| Id | Module | Status |
+--------------------------+-----------------------------+---------+
| 605cab935a4b53002c272678 | Docker Community Edition CE | SUCCESS |
| 605cab935a4b53002c272678 | Docker Community Edition CE | SUCCESS |
| 60e58fca4c1e9d002a6d6b2a | Docker Compose | SUCCESS |
| 60c8754811f708001f917696 | esc collectd | SUCCESS |
| 60c8831511f708001f91769c | esc esm-server | SUCCESS |
| 60c882e211f708001f91769b | esc spice-web | SUCCESS |
| 60c882ac11f708001f91769a | esc edge-software-manager | SUCCESS |
| 60c87bb411f708001f917699 | esc containerized-vm | SUCCESS |
| 60c87b5c11f708001f917698 | esc vm-agent | SUCCESS |
| 60c87b0211f708001f917697 | esc vm-server | SUCCESS |
| 617a348cdf63bb0020a6f013 | esc bare-metal-server | SUCCESS |
| 617a36afdf63bb0020a6f014 | esc kernel-builder | SUCCESS |
| 6234615a31577d002df8d393 | Edge Software Configurator | FAILED |

+--------------------------+-----------------------------+---------+

 

The attachment provides log information of execution.

How to deal with this problem?

Thanks

 

Labels (1)
0 Kudos
1 Solution
JesusE_Intel
Moderator
1,895 Views

Hi Tiger_Huang,

 

Apologies for the delay, I'm not sure that manually added hostnames will work for this case. This needs to be configured at the router level. The router needs to provide DNS and HDCP service to the private network. Various routers have different setups, so it's hard to determine exactly what needs to be configured on your side. Please note configuring network and router is not part of our support scope.

 

Here are some general guidelines on what to setup.

 

  1. Ensure an IP address and Subnet Mask is assigned to the LAN.
  2. Enable DHCP Server
  3. Enable Static Routes (Not required as default behavior)

 

To confirm setup is correctly:

  1. Ensure device A and device B are able to ping each other using hostname.
    1. If you see a error "Name or service not known" the nthe DNS service is not running properly on your router.
  2. Check that nameserver is pointing to the address of your DNS server in /run/systemd/resolve/resolv.conf

JesusE_Intel_0-1683740473115.png

JesusE_Intel_1-1683740520203.png

 

 

Hope this helps.

 

Regards,

Jesus

 

View solution in original post

0 Kudos
13 Replies
JesusE_Intel
Moderator
2,568 Views

Hi Tiger_Huang,

 

Thanks for reaching out and sending the log files. I took a look and can see the error message is coming from esb_install.so. This may be a compatibility issue with Ubuntu 22.04, could you please try to install Edge Software Configurator on Ubuntu 20.04 or Ubuntu 18.04? At this time, these are the two supported Operating Systems.

 

JesusE_Intel_0-1679502290182.png

 

Regards,

Jesus

 

0 Kudos
Tiger_Huang
Beginner
2,539 Views

Dear Intel,

At present, the ubuntu 20.04 environment has been used for operation.

But also encountered Edge Software Configurator | FAILED.

I see the following error message from Edge_Software_Configurator/components.log,

2023-03-27T10:08:19.222002662Z esm_portainer.1.fasmb15qxvn8@portwell | 2023/03/27 10:08:19 http error: Invalid credentials (err=Unauthorized) (code=422)

In addition, it was also found that the portainer container was forcibly closed after about 5 minutes of execution.

Want to confirm whether this is a failure caused by a problem in the execution of esm_portainer?

If so how to solve it?

Thanks.

0 Kudos
JesusE_Intel
Moderator
2,511 Views

Hi Tiger_Huang,


I'm tested from my end, and I was able to install Edge Software Configurator as network mode: Single Ethernet. In order to try and reproduce as close as possible to your setup, would you mind sharing all the options you selected/entered during the ./edgesoftware install process?


Regards,

Jesus


0 Kudos
Tiger_Huang
Beginner
2,497 Views

Dear Intel,

I reinstall and install Edge Software Configurator as network mode: Single Ethernet.

But the installation still gives an error. Provide operation setting items and logs during installation as attached files.

 

Check the log and find the following information in the esm_portainer.

2023-03-29T07:23:54.592821556Z esm_portainer.1.zdlywqihba4j@portwell | 2023/03/29 07:23:54 http error: Invalid credentials (err=Unauthorized) (code=422)
2023-03-29T07:25:46.437662214Z esm_portainer.1.zdlywqihba4j@portwell | 2023/03/29 07:25:46 No administrator account was created after 5 min. Shutting down the Portainer instance for security reasons.

 

It looks like portainer has a mechanism that needs to create an account within 5 minutes, otherwise an error occurs.

Is it related to the failure of Edge software configurator installation?

Thanks.

 

0 Kudos
JesusE_Intel
Moderator
2,480 Views

Hi Tiger_Huang,

I was able to reproduce the issue on a different system with a fresh Ubuntu 20.04 install. Both Single and Dual network mode failed, I have opened a ticket with the development team for further investigation. I will let you know what I find out.


Regards,

Jesus


0 Kudos
JesusE_Intel
Moderator
2,399 Views

Hi Tiger_Huang,



I heard back from the development team, the local DNS needs to be configured so your devices are able to ping each other using their hostnames. Could you please ensure you are able to ping your devices using the hostname after configuring the local DNS?


From the documentation (Requirements (intel.com)

  • "Configure the router to provide DNS service to the network. To test if DNS service is working, attach 2 devices to router's network using LAN cables. Try to ping Device A from Device B using Device A hostname. Ping should be able to resolve the Device A hostname to its IP address."


Please let me know if this resolves your issue.


Regards,

Jesus




0 Kudos
Tiger_Huang
Beginner
2,360 Views

Dear Intel,

 

I tried to modify /etc/hosts, and I was able to ping my own hostname. But I still couldn’t execute Intel Edge Software Configurator successfully.

My first step is just to make the web page of Intel Edge Software Configurator run on the host in the local network. Does this have to be able to work with the underlying Device?

I have confirmed the log information of esm-server, and it seems that some APIs cannot be connected. Is this part also related to the hostname setting?

If the Dual Ethernet setting is used, is there a way for the Host to execute the Intel Edge Software Configurator first?

 

Thanks.

 

 esc esm-server module log:

WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x55d4c2f31910 pid: 58 (default app)
WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x55d4c2f31910 pid: 57 (default app)
WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x55d4c2f31910 pid: 59 (default app)
[2023-04-11 09:32:15,959] [ERROR] Error occurred while Pushing Notification.Error = HTTPSConnectionPool(host='localhost', port=5052): Max retries exceeded with url: /message?token=AfuXUoz1OOKq9of (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f63b05acd90>: Failed to establish a new connection: [Errno 111] Connection refused'))
[2023-04-11 09:32:16,010] [ERROR] Error occurred while Pushing Notification.Error = HTTPSConnectionPool(host='localhost', port=5052): Max retries exceeded with url: /message?token=AfuXUoz1OOKq9of (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f63b05613a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
[2023-04-11 09:32:16,084] [ERROR] Error occurred while Pushing Notification.Error = HTTPSConnectionPool(host='localhost', port=5052): Max retries exceeded with url: /message?token=AfuXUoz1OOKq9of (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f63b05614c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
[2023-04-11 09:32:16,260] [ERROR] Error occurred while Pushing Notification.Error = HTTPSConnectionPool(host='localhost', port=5052): Max retries exceeded with url: /message?token=AfuXUoz1OOKq9of (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f63b05613d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x55d4c2f31910 pid: 56 (default app)
[2023-04-11 09:34:15,816] [WARNING] [AGENT STATUS UPDATE]: Unauthorized - Invalid credentials, 422
[2023-04-11 09:36:15,813] [WARNING] [AGENT STATUS UPDATE]: Unauthorized - Invalid credentials, 422

0 Kudos
JesusE_Intel
Moderator
2,316 Views

Hi Tiger_Huang,

 

It would have to be at the router level, you need to be able to ping the system by hostname from another computer. I did a quick test and setup my system behind a different router and confirmed the system was responding to pings from another computer using it's host name. The installation was successful, see output below. Are you able to make changes to your router or have another network available to test?

Select mode (1 or 2, Default value is Dual Ethernet): 1
You selected Dual Ethernet


You can select the Gateway and DHCP Interfaces listed below:
1 eth0  :  NO IP
2 eno1  :  192.168.1.65
3 wlo1  :  NO IP

Enter your choice for Gateway Interface - Upstream (a number between 1 to 3): 2
You selected eno1

Enter DHCP Interface - Downstream (a number between 1 to 3, except 2): 1
You selected eth0

===============================================================================================

DHCP Server (Downstream) parameters

Enter DHCP range (Default value: 192.168.10.0/24): 192.168.10.0/24              
192.168.10.0/24

Enter DHCP Server Name (Default value: ubuntu20): esc-host
esc-host

Enter DNS IPs
Format: <IP_address>,<IP_address>
Example:122.23.2.1,1.2.3.4,122.23.22.5
Note: 8.8.8.8 and 8.8.4.4 are already configured
192.168.10.1
192.168.10.1,192.168.10.1


Do you want to customize proxy parameters? Press 'Y' to customize or 'N' to skip
n
===============================================================================================
Summary for bare metal provisioning plugin installation
===============================================================================================

Network Mode:			 Dual Ethernet
Gateway Interface - Upstream:	 eno1
DHCP Interface - Downstream:	 eth0

DHCP Server  (Downstream)  parameters

DHCP Range:			 192.168.10.0/24
DHCP Server Name:		 esc-host
DNS_IPs:			 192.168.10.1,192.168.10.1
===============================================================================================
Confirm to start the bare metal plugin installation, Press 'Y' to confirm or 'R' to re-enter values
Y
Setting up Edge Software Configurator              [..................................................] 100%          
Starting services                                  [..................................................] 100%          
Plugin Installation takes 5-10 minutes.
BareMetal Plugin Installation Started.
Installing..............
-Successfully Installed BareMetal Plugin
Virtual Machine Agent Installation Started.
Installing...
-Successfully Installed Virtual Machine Agent
Successfully stored network setting details.

Verifying Edge Software Configurator               [..................................................] 100%
Please visit https://127.0.0.1:3002 and login with your Linux user credential to access Edge Software Configurator.
To learn how to use Edge Software Configurator, please open the Get Started Guide https://software.intel.com/content/www/us/en/develop/documentation/edge-software-configurator-doc/top.html
Successfully installed Edge_Software_Configurator took 18 minutes 16.46 seconds
Installation of package complete
***Recommended to reboot system after installation***
+--------------------------+-----------------------------+---------+
|            Id            |            Module           |  Status |
+--------------------------+-----------------------------+---------+
| 5f21392e9e63c9002a6fd88d | Docker Community Edition CE | SUCCESS |
| 5f21392e9e63c9002a6fd88d | Docker Community Edition CE | SUCCESS |
| 60e58fca4c1e9d002a6d6b2a |        Docker Compose       | SUCCESS |
| 60c8754811f708001f917696 |         esc collectd        | SUCCESS |
| 60c8831511f708001f91769c |        esc esm-server       | SUCCESS |
| 60c882e211f708001f91769b |        esc spice-web        | SUCCESS |
| 60c882ac11f708001f91769a |  esc edge-software-manager  | SUCCESS |
| 60c87bb411f708001f917699 |     esc containerized-vm    | SUCCESS |
| 60c87b5c11f708001f917698 |         esc vm-agent        | SUCCESS |
| 60c87b0211f708001f917697 |        esc vm-server        | SUCCESS |
| 617a348cdf63bb0020a6f013 |    esc bare-metal-server    | SUCCESS |
| 617a36afdf63bb0020a6f014 |      esc kernel-builder     | SUCCESS |
| 6234615a31577d002df8d393 |  Edge Software Configurator | SUCCESS |
+--------------------------+-----------------------------+---------+

Regards,

Jesus

 

0 Kudos
Tiger_Huang
Beginner
2,249 Views

Dear Intel,

 

Thanks for your reply, Unfortunately, my current test still fails.

From the log information you provided, I found that the intel esc module ID I installed is different from yours.

The ESC module ID you are using is 6234615a31577d002df8d393, while the module ID I am using is 617a3a221ed17e0021bb5d77.

So I have to re-download the file to ensure that the file is the same.

 

Below is how I set it up.
ESC-host <----> Router <---> A-PC
I did the following operations on ESC-host.

I did the following on ESC-host, and I confirmed that I can ping from A-PC to ESC-host.

# edit /etc/hosts
127.0.0.1 localhost
192.168.118.73 esc-host

# edit /etc/hostname
esc-host

# edit /etc/resolve.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

But it failed after edgesoftware install.
How should I set it up correctly?

Thanks.

 

Test fail log infoamtion:

===============================================================================================
Summary for bare metal provisioning plugin installation
===============================================================================================

Network Mode: Single Ethernet
===============================================================================================
Confirm to start the bare metal plugin installation, Press 'Y' to confirm or 'R' to re-enter values
Y
Setting up Edge Software Configurator [..................................................] 100%
Starting services [.................... ] 40% 00:41:28
ERROR: Failed to push the docker image esc_collectd:latest to local registry
Failed command: sudo docker push portwellans:5055/esc_collectd:latest
Setup Failed. Cleaning up ...
Removing docker container
Removing docker stacks
Removing files
Removing docker volumes
Failed to install Edge_Software_Configurator took 24 minutes 54.07 seconds
Installation of package complete
+--------------------------+-----------------------------+---------+
| Id | Module | Status |
+--------------------------+-----------------------------+---------+
| 605cab935a4b53002c272678 | Docker Community Edition CE | SUCCESS |
| 605cab935a4b53002c272678 | Docker Community Edition CE | SUCCESS |
| 60e58fca4c1e9d002a6d6b2a | Docker Compose | SUCCESS |
| 60c8754811f708001f917696 | esc collectd | SUCCESS |
| 60c8831511f708001f91769c | esc esm-server | SUCCESS |
| 60c882e211f708001f91769b | esc spice-web | SUCCESS |
| 60c882ac11f708001f91769a | esc edge-software-manager | SUCCESS |
| 60c87bb411f708001f917699 | esc containerized-vm | SUCCESS |
| 60c87b5c11f708001f917698 | esc vm-agent | SUCCESS |
| 60c87b0211f708001f917697 | esc vm-server | SUCCESS |
| 617a348cdf63bb0020a6f013 | esc bare-metal-server | SUCCESS |
| 617a36afdf63bb0020a6f014 | esc kernel-builder | SUCCESS |
| 6234615a31577d002df8d393 | Edge Software Configurator | FAILED |
+--------------------------+-----------------------------+---------+

0 Kudos
JesusE_Intel
Moderator
2,230 Views

Hi Tiger_Huang,


I've reached out to the development team for further guidance. I will let you know what I find out.


Regards,

Jesus


0 Kudos
Tiger_Huang
Beginner
2,025 Views

Dear Intel,

 

Do you have any latest information to share?

Thanks for your reply.

 

Thanks.

0 Kudos
JesusE_Intel
Moderator
1,896 Views

Hi Tiger_Huang,

 

Apologies for the delay, I'm not sure that manually added hostnames will work for this case. This needs to be configured at the router level. The router needs to provide DNS and HDCP service to the private network. Various routers have different setups, so it's hard to determine exactly what needs to be configured on your side. Please note configuring network and router is not part of our support scope.

 

Here are some general guidelines on what to setup.

 

  1. Ensure an IP address and Subnet Mask is assigned to the LAN.
  2. Enable DHCP Server
  3. Enable Static Routes (Not required as default behavior)

 

To confirm setup is correctly:

  1. Ensure device A and device B are able to ping each other using hostname.
    1. If you see a error "Name or service not known" the nthe DNS service is not running properly on your router.
  2. Check that nameserver is pointing to the address of your DNS server in /run/systemd/resolve/resolv.conf

JesusE_Intel_0-1683740473115.png

JesusE_Intel_1-1683740520203.png

 

 

Hope this helps.

 

Regards,

Jesus

 

0 Kudos
JesusE_Intel
Moderator
1,758 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply