Intel® Edge Software Hub
Get help on 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.
245 Discussions

Failed to install Converged Edge Insights

EricHsu
Novice
1,279 Views

Hi Teams,

I tried to install the Converged Edge Insights on a single node configuration, but I failed in this.

After digging into the log files, it seemed caused by adding an old HELM chart repository.

I post parts of log file as below. Could someone help me resolve it? Thank you!

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

TASK [telemetry/prometheus : add default Helm repository] *****************************************************************************************************************************
task path: /root/converged_edge_insights/Converged_Edge_Insights_20.06/OpenNESS/openness-experience-kits/roles/telemetry/prometheus/tasks/main.yml:54
fatal: [controller]: FAILED! => {
"changed": true,
"cmd": [
"helm",
"repo",
"add",
"stable",
"https://kubernetes-charts.storage.googleapis.com/"
],
"delta": "0:00:00.288381",
"end": "2021-03-01 22:31:15.415360",
"rc": 1,
"start": "2021-03-01 22:31:15.126979"
}

STDERR:

Error: looks like "https://kubernetes-charts.storage.googleapis.com/" is not a valid chart repository or cannot be reached: failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden


MSG:

non-zero return code

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

 

Regards,

Eric

0 Kudos
1 Solution
Nadia_J_Intel
Moderator
1,012 Views

Hi Ravi, 

We have new release for the Converged Edge Insights that will help to fix this issue. 

You can go to this link here to download: https://software.intel.com/iot/edgesoftwarehub/download/home/convergededgeinsights/ 

Thanks

View solution in original post

13 Replies
ChunSheong_F_Intel
Moderator
1,275 Views

Hi Eric,

 

Looks like the Helm stable URL location has changed and it causes the openness installation to fail. You can fix it by modifying the following two files.

In file roles/telemetry/grafana/tasks/main.yml,

  - name: add default Helm repository
-    command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
+    command: helm repo add stable https://charts.helm.sh/stable
    changed_when: true
    when: not offline_enable

And in file roles/telemetry/prometheus/tasks/main.yml,

  - name: add default Helm repository
-    command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
+	command: helm repo add stable https://charts.helm.sh/stable
    changed_when: true
    when: not offline_enable

 

Source:

https://github.com/open-ness/openness-experience-kits/issues/78

https://helm.sh/blog/new-location-stable-incubator-charts/ 

RaviKira
Beginner
1,238 Views

Tried this option but it didn't help. The installation scripts are overwriting these files and failing at the same point Is there any way to prevent that? . 

EricHsu
Novice
1,154 Views

Hi @ChunSheong_F_Intel,

 

I got the same phenomenon with @RaviKira. Is there any way to resolve it?

Such as modify the source version of the OpenNESS.

 

Regards,

Eric

RaviKira
Beginner
1,105 Views

Hi  @ChunSheong_F_Intel,

 Is there any solution? we are stuck at the installation. 

 I tried changing the "edgesoftware_configuration.xml" to take 20.12 version of OpenNESS as github is showing these files corrected. But looks like the edgesoftware binary is downloading it from somewhere else. 

Thanks

Ravi

Nadia_J_Intel
Moderator
1,096 Views

Hi Ravi, 

We're working with the engineering team to provide the solution for this as we're aware that the current installation script will just re-write any changes made in these two files. We will update once we have the solution for this. 

EricHsu
Novice
1,068 Views

Hi @RaviKira ,

I had tried this method before. However, it didn't work.

The version control of it seems embedded in the installation tool. FYI.

I could't find a way to change the version so far.

Regards,

Eric

ChunSheong_F_Intel
Moderator
1,088 Views

Hi Eric,

 

Meanwhile, you can use the following manual steps to install Openness.

1. Modify the two files as I mentioned above
2. cd Converged_Edge_Insights_20.06/OpenNESS/openness-experience-kits/
3. cat inventory.ini -> check ip for controller and node
4. ./deploy_ne.sh
 
Let me know if it doesn't work.
EricHsu
Novice
1,065 Views

Hi @ChunSheong_F_Intel ,

This is a standard installation process of the OpenNESS.

I think it should be work, but just a workaround, right?

Eventually, I hope the installation can be completed by the standard installation method of the Converged Edge Insight package. Thank you!

Regards,

Eric

ChunSheong_F_Intel
Moderator
1,061 Views

Hi @EricHsu 

 

That's right, we will update our installation script internally to fix this issue so that you do not need to do this workaround in the future.

RaviKira
Beginner
1,046 Views

Hi,

 Sorry, there are more obsolete links even with this workaround. 

Error occurred. Will retry after 5 seconds. You can find details below:
Failure downloading http://linuxsoft.cern.ch/scientific/7x/x86_64/os/Packages/tuned-2.11.0-8.el7.noarch.rpm, HTTP Error 404: Not Found

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

I solved it with a workaround by updating the links in the following files. 

group_vars/edgenode_group/10-default.yml:
host_vars/_example_variables.yml:-
roles/machine_setup/configure_tuned/defaults/main.yml:

replaced the following lines 

# - http://linuxsoft.cern.ch/scientific/7x/x86_64/os/Packages/tuned-2.11.0-8.el7.noarch.rpm

# -  http://linuxsoft.cern.ch/scientific/7x/x86_64/os/Packages/tuned-profiles-realtime-2.11.0-8.el7....

with
- http://ftp.pbone.net/mirror/vault.centos.org/7.7.1908/cr/x86_64/Packages/tuned-2.11.0-8.el7.noarch.r...

- ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/7.8/x86_64/os/Packages/tuned-pro...

==========

But still stuck with the below error when I do ./build_ne.sh single

ERROR: unsatisfiable constraints:
sudo-1.9.5p2-r0:
breaks: world[sudo=1.9.0-r0]
....
....
Building edgednssvr
Service 'edgednssvr' failed to build: The command '/bin/sh -c apk add --no-cache sudo=1.9.0-r0' returned a non-zero code: 1
make: *** [edgednssvr] Error 1

PLAY RECAP ******************************************************************************************************************************
controller : ok=353 changed=222 unreachable=0 failed=0 skipped=120 rescued=0 ignored=10
node01 : ok=119 changed=26 unreachable=0 failed=1 skipped=84 rescued=0 ignored=0

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

The SUDO command version issue is I guess is related to:
https://githubmemory.com/repo/open-ness/edgenode/issues/26


Not sure how to resolve this !! Please guide.

RaviKira
Beginner
1,021 Views

Hi @ChunSheong_F_Intel,

 any clue on how to solve this? 

Thanks,

Ravi Kiran

 

Nadia_J_Intel
Moderator
1,013 Views

Hi Ravi, 

We have new release for the Converged Edge Insights that will help to fix this issue. 

You can go to this link here to download: https://software.intel.com/iot/edgesoftwarehub/download/home/convergededgeinsights/ 

Thanks

RaviKira
Beginner
976 Views

Thank you. Now the installation is resolved.

(Worked despite of the fact that the memory requirements of the servers doubled in this new release). 

 

Reply