I suspect there are steps you are missing to run  start the helm server and run 
make all locally the first time (and maybe copy deploy to your .helm)

If you update helm charts you need a functioning helm repo to save them do 
which is what make onap does.

Integration-override.yaml is how we set environment specific settings but if 
you directly modify values.yaml’s then you need helm.

https://onap.readthedocs.io/en/casablanca/submodules/oom.git/docs/oom_quickstart_guide.html

has steps for that.

https://wiki.onap.org/pages/viewpage.action?pageId=29787124
also has some quick kubectl/helm command lines that might be helpful.

Brian


From: Oyebimpe Oparinde <[email protected]>
Sent: Tuesday, March 19, 2019 9:57 AM
To: FREEMAN, BRIAN D <[email protected]>
Cc: [email protected]
Subject: Re: demo-k8s.sh onap init failing

Thanks for your response.

I ran the make robot; make onap command and I got this error :(


ubuntu@k8s-1:~/oom/kubernetes$ make robot; make onap

[robot]
make[1]: Entering directory '/home/ubuntu/oom/kubernetes'
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository 
(http://127.0.0.1:8879):
               Get http://127.0.0.1:8879/index.yaml: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading common from repo http://127.0.0.1:8879
Save error occurred:  could not download 
http://127.0.0.1:8879/charts/common-3.0.0.tgz: Get 
http://127.0.0.1:8879/charts/common-3.0.0.tgz: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Deleting newly downloaded charts, restoring pre-update state
Error: could not download http://127.0.0.1:8879/charts/common-3.0.0.tgz: Get 
http://127.0.0.1:8879/charts/common-3.0.0.tgz: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Makefile:42: recipe for target 'dep-robot' failed
make[1]: *** [dep-robot] Error 1
make[1]: Leaving directory '/home/ubuntu/oom/kubernetes'
Makefile:35: recipe for target 'robot' failed
make: *** [robot] Error 2

[onap]
make[1]: Entering directory '/home/ubuntu/oom/kubernetes'
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository 
(http://127.0.0.1:8879):
               Get http://127.0.0.1:8879/index.yaml: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Update Complete. ⎈Happy Helming!⎈
Saving 30 charts
Downloading aaf from repo http://127.0.0.1:8879
Save error occurred:  could not download 
http://127.0.0.1:8879/charts/aaf-3.0.0.tgz: Get 
http://127.0.0.1:8879/charts/aaf-3.0.0.tgz: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Deleting newly downloaded charts, restoring pre-update state
Error: could not download http://127.0.0.1:8879/charts/aaf-3.0.0.tgz: Get 
http://127.0.0.1:8879/charts/aaf-3.0.0.tgz: dial tcp 
127.0.0.1:8879<http://127.0.0.1:8879>: connect: connection refused
Makefile:42: recipe for target 'dep-onap' failed
make[1]: *** [dep-onap] Error 1
make[1]: Leaving directory '/home/ubuntu/oom/kubernetes'
Makefile:35: recipe for target 'onap' failed
make: *** [onap] Error 2


Did I miss something? Please help.

Thanks in advance,
Bimpe.

On Tue, Mar 19, 2019 at 1:38 PM FREEMAN, BRIAN D 
<[email protected]<mailto:[email protected]>> wrote:
Did you run make robot ; make onap ?
Your robot is still using the default ip

Brian



Sent via the Samsung Galaxy S8, an AT&T 5G Evolution smartphone


-------- Original message --------
From: Oyebimpe Oparinde 
<[email protected]<mailto:[email protected]>>
Date: 3/19/19 4:35 AM (GMT-05:00)
To: "FREEMAN, BRIAN D" <[email protected]<mailto:[email protected]>>, 
[email protected]<mailto:[email protected]>
Subject: demo-k8s.sh onap init failing

Hi,

I'm trying to implement the vFW use case on ONAP C release.

I ran the ./demo-k8s.sh onap init command but failed with the below error.

btw; I have edited the values.yaml file in the directory  
~/oom/kubernetes/robot/values.yaml



Number of parameters:
2
KEY:
init
++ kubectl --namespace onap get pods
++ sed 's/ .*//'
++ grep robot
+ POD=dev-robot-d474f544c-sjr78
+ ETEHOME=/var/opt/OpenECOMP_ETE
++ kubectl --namespace onap exec dev-robot-d474f544c-sjr78 -- bash -c 'ls -1q 
/share/logs/ | wc -l'
+ export GLOBAL_BUILD_NUMBER=31
+ GLOBAL_BUILD_NUMBER=31
++ printf %04d 31
+ OUTPUT_FOLDER=0031_demo_init
+ DISPLAY_NUM=121
+ VARIABLEFILES='-V /share/config/vm_properties.py -V 
/share/config/integration_robot_properties.py -V 
/share/config/integration_preload_parameters.py'
+ kubectl --namespace onap exec dev-robot-d474f544c-sjr78 -- 
/var/opt/OpenECOMP_ETE/runTags.sh -V /share/config/vm_properties.py -V 
/share/config/integration_robot_properties.py -V 
/share/config/integration_preload_parameters.py -d /share/logs/0031_demo_init 
-i InitDemo --display 121
Starting Xvfb on display :121 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
Testsuites
==============================================================================
Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
==============================================================================
Initialize Customer And Models                                        | FAIL |
ConnectionError: HTTPConnectionPool(host='1.2.3.4', port=5000): Max retries 
exceeded with url: /v2.0/tokens (Caused by 
NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7ff3bd05d890>: Failed to establish a new connection: [Errno 101] Network is 
unreachable',))
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Testsuites                                                            | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output:  /share/logs/0031_demo_init/output.xml
Log:     /share/logs/0031_demo_init/log.html
Report:  /share/logs/0031_demo_init/report.html



Please help solve the problem.

Kind Regards,
Bimpe.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16211): https://lists.onap.org/g/onap-discuss/message/16211
Mute This Topic: https://lists.onap.org/mt/30506217/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to