Hi all,

I am using OOM Casablanca and I have a similar issue. Particularly, all my 
custom values are not "updated".

I tried several approaches. Below two of them (it worked in Beijing, but not 
now):

*Approach 1. Use a custom onap values.yaml file*
ubuntu@rancher:~/oom/kubernetes$ make all
ubuntu@rancher:~/oom/kubernetes$ make onap
ubuntu@rancher:~/oom/kubernetes$ mkdir environments
ubuntu@rancher:~/oom/kubernetes$ cp /onap/values.yaml environments/onap-dev.yaml
ubuntu@rancher:~/oom/kubernetes$ nano environments/onap-dev.yaml 

# Enable/disable services and customize parameters, e.g.:
# robot:
#   enabled: true
#   config:
#     # openStackEncryptedPasswordHere should match the encrypted string used 
in SO and APPC and overridden per environment
#     openStackEncryptedPasswordHere: "fba5e23d31145a544a07818403ef50be"
#     ...
#     openStackKeyStoneUrl: "http://x.x.x.x/identity";
#     ...
#
# ...
# so:
#  enabled: true
# ...
#   config:
# ...
#      openStackKeyStoneUrl: "http://x.x.x.x/identity";
# ...
 

ubuntu@rancher:~/oom/kubernetes$ sudo helm deploy dev local/onap --namespace 
onap -f environments/onap-dev.yaml  # Deploy with my custom file (I also tried 
to put this file as integration-override.yaml in /root/ and the same result)
# Seems enabled/disabled services actually use my custom onap-dev.yaml file. 
However, the parameters are not updated! This can be confirmed by running 
robot. It fails because it is using default 1.2.3.4:5000 endpoint.
ubuntu@rancher:~/oom/kubernetes/robot$ ./demo-k8s.sh onap init
 
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 
0x7f5d26ca31d0>: Failed to establish a new connection: [Errno 110] Connection 
timed out',))

*Approach 2. Change onap/values.yaml*
ubuntu@rancher:~/oom/kubernetes$ nano onap/values.yaml 

# Enable/disable services and customize parameters, e.g.:
# robot:
#   enabled: true
#   config:
#     # openStackEncryptedPasswordHere should match the encrypted string used 
in SO and APPC and overridden per environment
#     openStackEncryptedPasswordHere: "fba5e23d31145a544a07818403ef50be"
#     ...
#     openStackKeyStoneUrl: "http://x.x.x.x/identity";
#     ...
#
# ...
# so:
#  enabled: true
# ...
#   config:
# ...
#      openStackKeyStoneUrl: "http://x.x.x.x/identity";
# ...

ubuntu@rancher:~/oom/kubernetes$ make all
ubuntu@rancher:~/oom/kubernetes$ make onap
ubuntu@rancher:~/oom/kubernetes$ sudo helm deploy dev local/onap --namespace 
onap
# Seems enabled/disabled services actually use onap/values.yaml file. However, 
the parameters are not updated! This can be confirmed by running robot. It 
fails because it is using default 1.2.3.4:5000 endpoint.
ubuntu@rancher:~/oom/kubernetes/robot$ ./demo-k8s.sh onap init
 
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 
0x7f5d26ca31d0>: Failed to establish a new connection: [Errno 110] Connection 
timed out',))

It is not an issue of Keystone version since I am using the same cloud as I 
used in Beijing and this approach worked in Beijing. It should not output 
"host='1.2.3.4', port=5000".

Kindly help. Don't know what I am missing.

Xoan

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

View/Reply Online (#14262): https://lists.onap.org/g/onap-discuss/message/14262
Mute This Topic: https://lists.onap.org/mt/28580947/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to