according to the log, the VID is not answering
what is the status of the vid pod?
ideally could you run the onap-k8s test to get a full status of your ONAP 
cluster?
https://docs.onap.org/projects/onap-integration/en/latest/integration-tests.html#infrastructure-healthcheck-tests

/Morgan


________________________________
De : [email protected] [[email protected]] de la part de 
shwetha.r60 via lists.onap.org [[email protected]]
Envoyé : mardi 22 juin 2021 13:19
À : [email protected]
Objet : [onap-discuss] Robot ./demo-k8s.sh onap init failure with error #robot

Hi All,

I am trying to do following use case ./demo-k8s.sh onap init . we are getting 
following error

<instantiateVFWCL
</a><br>
<br>
we%20are%20doing%20this%20in%20guilin%20release.<br>
<br>
when%20we%20try%20to%20run <span%20style=>
[root@onap-controller robot]# ./demo-k8s.sh onap init
Number of parameters:
2
KEY:
init
++ kubectl --namespace onap get pods
++ sed 's/ .*//'
++ grep robot
+ POD=dev-robot-66b869dc8d-hqj45
++ dirname ./demo-k8s.sh
+ DIR=.
+ SCRIPTDIR=scripts/demoscript
+ ETEHOME=/var/opt/ONAP
+ '[' ']'
++ kubectl --namespace onap exec dev-robot-66b869dc8d-hqj45 -- bash -c 'ls -1q 
/share/logs/ | wc -l'
+ export GLOBAL_BUILD_NUMBER=21
+ GLOBAL_BUILD_NUMBER=21
++ printf %04d 21
+ OUTPUT_FOLDER=0021_demo_init
+ DISPLAY_NUM=111
+ VARIABLEFILES='-V /share/config/robot_properties.py'
+ kubectl --namespace onap exec dev-robot-66b869dc8d-hqj45 -- 
/var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -d 
/share/logs/0021_demo_init -i InitDemo --display 111
Starting Xvfb on display :111 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='vid.onap', port=8080): Max retries 
exceeded with url: /vid/maintenance/category_parameter/lineOfBusiness (Caused 
by NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7fdb04dab290>: Failed to establish a new connection: [Errno 113] No route to 
host',))
------------------------------------------------------------------------------
Initialize SO Openstack Identity For V3                               | PASS |
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL |
2 critical tests, 1 passed, 1 failed
2 tests total, 1 passed, 1 failed
==============================================================================
Testsuites                                                            | FAIL |
2 critical tests, 1 passed, 1 failed
2 tests total, 1 passed, 1 failed
==============================================================================
Output:  /share/logs/0021_demo_init/output.xml
Log:     /share/logs/0021_demo_init/log.html
Report:  /share/logs/0021_demo_init/report.html


Initialize Customer And Models                                        | FAIL |
ConnectionError: HTTPConnectionPool(host='vid.onap', port=8080): Max retries 
exceeded with url: /vid/maintenance/category_parameter/lineOfBusiness (Caused 
by NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7fdb04dab290>: Failed to establish a new connection: [Errno 113] No route to 
host',))

this vid.onap we need to configure somewhere explicitly ??

vid pod is running fine. and the following is the content of values.yaml of vid

[root@onap-controller vid]# cat values.yaml
# Copyright © 2017 Amdocs, Bell Canada
# Copyright © 2020 Samsung Electronics
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Default values for vid.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
  nodePortPrefix: 302
  readinessImage: onap/oom/readiness:3.0.1
  loggingRepository: docker.elastic.co
  loggingImage: beats/filebeat:5.5.0

#################################################################
# Secrets metaconfig
#################################################################
secrets:
  - uid: vid-db-user-secret
    name: '{{ include "common.release" . }}-vid-db-user-secret'
    type: basicAuth
    externalSecret: '{{ tpl (default "" 
.Values.config.db.userCredentialsExternalSecret) . }}'
    login: '{{ .Values.config.db.userName }}'
    password: '{{ .Values.config.db.userPassword }}'

subChartsOnly:
  enabled: true

# application image
repository: nexus3.onap.org:10001
image: onap/vid:7.0.0
pullPolicy: Always

# mariadb image for initializing
mariadb_image: library/mariadb:10

# application configuration
config:
  db:
    userName: vidadmin
#    userCredentialsExternalSecret: some secret
#    userPassword: password
  vidkeystorepassword: 
KmWCGdBQgHnqJTtXnSzijoQfeJD8KQ6ZmJhDeOsRAaNsGwt4pn9idfvI5pLOxwTi
  asdcclientrestauth: "Basic 
dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
  asdcclientrestport: "8443"
  vidaaiport: "8443"
  onapport: "30225"
  onapportrest: "8443"
  portalhost: "portal.api.simpledemo.onap.org"
  msoport: "8080"
  vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz
  msodme2serverurl: http://localhost:8081
  vidcontactuslink: https://todo_contact_us_link.com
  vidmysqlmaxconnections: "5"
  logstashServiceName: log-ls
  logstashPort: 5044
  roleaccesscentralized: remote

mariadb-galera:
  config:
    userCredentialsExternalSecret: '{{ include "common.release" . 
}}-vid-db-user-secret'
    mysqlDatabase: vid_openecomp_epsdk
  nameOverride: vid-galera
  service:
    name: vid-galera
    portName: mysql-vid
    internalPort: "3306"
  replicaCount: 3
  persistence:
    enabled: true
    mountSubPath: vid/maria/data
  externalConfig: |-
    [mysqld]
    lower_case_table_names = 1

# default number of instances
replicaCount: 1

nodeSelector: {}

affinity: {}

# probe configuration parameters
liveness:
  initialDelaySeconds: 120
  periodSeconds: 10
  # necessary to disable liveness probe when setting breakpoints
  # in debugger so K8s doesn't restart unresponsive container
  enabled: true

readiness:
  initialDelaySeconds: 10
  periodSeconds: 10

service:
  type: NodePort
  name: vid
  portName: vid
  externalPort: 8443
  internalPort: 8443
  nodePort: "00"
  externalHttpPort: 8080
  internalHttpPort: 8080

ingress:
  enabled: false
  service:
       - baseaddr: "vid.api"
         name: "vid-http"
         port: 8443
  config:
       ssl: "redirect"

# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
  small:
    limits:
      cpu: 200m
      memory: 2Gi
    requests:
      cpu: 100m
      memory: 1Gi
  large:
    limits:
      cpu: 400m
      memory: 4Gi
    requests:
      cpu: 200m
      memory: 2Gi
  unlimited: {}

Please let me know if we are missing any configuration ??

Any help is much appreciated.

Thanks
Shwetha





_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.



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


Reply via email to