Please install push plugin:

helm plugin install https://github.com/chartmuseum/helm-push.git \

    --version 0.9.0

Ref:
https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html?highlight=push#oom-quick-start-guide



 

 

Von: [email protected] <[email protected]> Im Auftrag von 
[email protected]
Gesendet: Donnerstag, 4. August 2022 11:13
An: [email protected]
Betreff: [onap-discuss] ONAP deployment using OOM. Facing issue in creating 
local helm repo #jakarta #helm

 

 Hi all,

 

 We were trying to install ONAP using the link:

 
https://docs.onap.org/projects/onap-oom/en/istanbul/oom_user_guide.html#oom-user-guide

 

 We tried to install jakarta release and istanbul release of ONAP.

 But for both the releases, we got stuck in deploying the local helm repo. We 
were executing the command:

 

make SKIP_LINT=TRUE [HELM_BIN=/usr/local/bin/helm] all

 

 For both the releases we face the following issue:

 

[root@onap-master kubernetes]# make SKIP_LINT=TRUE 
[HELM_BIN=/usr/local/bin/helm] all

Using Helm binary helm which is helm version v3.6.3

\n[common]

make[1]: Entering directory `/kube/oom/kubernetes'

make[2]: Entering directory `/kube/oom/kubernetes/common'

\n[common]

make[3]: Entering directory `/kube/oom/kubernetes/common'

==> Linting common

[INFO] Chart.yaml: icon is recommended

 

1 chart(s) linted, 0 chart(s) failed

Error: unknown command "push" for "helm"

 

Did you mean this?

pull

 

Run 'helm --help' for usage.

make[3]: *** [package-common] Error 1

make[3]: Leaving directory `/kube/oom/kubernetes/common'

make[2]: *** [common] Error 2

make[2]: Leaving directory `/kube/oom/kubernetes/common'

make[1]: *** [make-common] Error 2

make[1]: Leaving directory `/kube/oom/kubernetes'

make: *** [common] Error 2

[root@onap-master kubernetes]#

 

 [Environment details]

 

 1. For istanbul release:

OS: Centos 7.9

helm version: 3.6.3

chartmuseum version: 0.9.0

kubectl version: 1.19.11

docker-ce: 19.03.14

certm-manger version: 1.54

memory: 32G

disk root: 8GB

additional partion /kube: 200GB

Type: VM

 

 2. For jakarta release:

OS: Centos 7.9

helm version: 3.6.3

chartmuseum version: 0.15.0

kubectl version: 1.22.4

docker-ce: 20.10.14

certm-manger version: 1.54

memory: 32G

disk root: 8GB

additional partion /kube: 200GB

Type: VM

 

 We have installed the cm-push plugin for helm using the link: 
https://gist.github.com/jdolitsky/c9ffba57459b7c1876737c27382d863b

 We only have one node setup with only kubernetes master node.

 

 We have tried the following links as well. But they are not working:

 

 1. https://lists.onap.org/g/onap-discuss/topic/81193064#22964

There are no relevant files which matches this link.

 

 2. https://lists.onap.org/g/onap-discuss/topic/87257141#23654

Earlier we were trying with the latest version, but after following the 
mentioned link we switched to v0.9.0 but it also did not solve the issue.

 

 3. 
https://lists.onap.org/g/onap-discuss/topic/80517667?p=,,,20,0,0,0::,,,0,0,0,80517667

    For this we installed the plugin, it resolved the mentioned error but we 
had to install postgres, where we faced other issues like:

    

/tmp/oom/kubernetes/onap                                             
chartmuseum-8879

ab6b4a05a62303fc0563f14d8b3d0e5dff68bac7b0d522fe369a3bca9d62caad

panic: Unable to instantiate SQL driver: pq: SSL is not enabled on the server

 

goroutine 1 [running]:

helm.sh/helm/v3/pkg/action.(*Configuration).Init(0xc0000b2cc0, {0x206e6c0, 
0xc0005a2100}, {0x1d8bb79, 0x7}, {0xc00005402c, 0x5547c0}, 0x1e9ba20)

helm.sh/helm/v3/pkg/action/action.go:407 +0x7c6

main.main.func1()

helm.sh/helm/v3/cmd/helm/helm.go:75 +0x85

github.com/spf13/cobra.(*Command).preRun(0xc000443900)

github.com/spf13/[email protected]/command.go:886 
<mailto:github.com/spf13/[email protected]/command.go:886>  +0x42

github.com/spf13/cobra.(*Command).execute(0xc000443900, {0xc0005bf980, 0x2, 
0x2})

github.com/spf13/[email protected]/command.go:822 
<mailto:github.com/spf13/[email protected]/command.go:822>  +0x1db

github.com/spf13/cobra.(*Command).ExecuteC(0xc0001ad680)

github.com/spf13/[email protected]/command.go:974 
<mailto:github.com/spf13/[email protected]/command.go:974>  +0x3bc

github.com/spf13/cobra.(*Command).Execute(...)

github.com/spf13/[email protected]/command.go:902 
<mailto:github.com/spf13/[email protected]/command.go:902> 

main.main()

helm.sh/helm/v3/cmd/helm/helm.go:83 +0x234

[1]+  Done                    export 
HELM_DRIVER_SQL_CONNECTION_STRING=postgresql://helm-postgres:5432/helm?user=helm

[root@vm-controller-001 onap-offline]

 

Could you please share your thoughts on this. We would like to avoid the 
postgress approach





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24129): https://lists.onap.org/g/onap-discuss/message/24129
Mute This Topic: https://lists.onap.org/mt/92810347/21656
Mute #jakarta:https://lists.onap.org/g/onap-discuss/mutehashtag/jakarta
Mute #helm:https://lists.onap.org/g/onap-discuss/mutehashtag/helm
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to