Hi, The getUserInfo error is not related, and can be tracked via VID-223.
As for the pod error, usually restarting or manually removing the pods solves this kind of issues. +Dana, can you take a look? Thanks, Ofir From: [email protected] [mailto:[email protected]] On Behalf Of Morgan Richomme Sent: Wednesday, November 21, 2018 11:16 AM To: [email protected] Cc: [email protected] Subject: [onap-discuss] [Openlab] [VID] [Beijing] how to restart the VID Hi on the Orange Openlab, we are facing some issue with the VID (beijing version installed with OOM) users reported that there was an error when trying to instantiate from the models (Browse SDC Service Models menu), an errors was displayed "Status: Error: Failed to get service models from SDC" We checked that the SDC and the A&AI were still responding when calling the APIs. On the system, we were able to see debian@control01-openlab<mailto:debian@control01-openlab>:~$ kubectl get po -n onap |grep vid onap-vid-54fc55cb99-hdgw6 2/2 Running 0 5d onap-vid-mariadb-galera-0 1/1 Running 0 5d when connecting on the vid docker in /var/log/onap/vid, we were able to see some java exceptions in error.log com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: ; line: 1, column: 0] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3781) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2745) at org.onap.portalsdk.core.restful.client.SharedContextRestClient.getUserContext(SharedContextRestClient.java:141) at org.onap.portalapp.controller.core.MenuListController.getUserInfo(MenuListController.java:202) at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... rg.onap.portalsdk.core.exception.SessionExpiredException: Your session has expired. Please login again. at org.onap.portalsdk.core.web.support.AppUtils.getSession(AppUtils.java:80) at org.onap.portalsdk.core.web.support.UserUtils.getUserSession(UserUtils.java:176) at org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate.setRequestBasedDefaultsIntoGlobalLoggingContext(EELFLoggerDelegate.java:491) at org.onap.portalsdk.core.controller.FusionBaseController.getMenu(FusionBaseController.java:91) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) ... so I decided to delete the pod the pod was deleted but ... not recreated we now have only the galera part kubectl get po -n onap |grep vid onap-vid-mariadb-galera-0 1/1 Running 0 6d the deployment is still there kubectl describe deployment onap-vid -n onap Name: onap-vid Namespace: onap CreationTimestamp: Thu, 15 Nov 2018 08:08:16 +0000 Labels: app=vid chart=vid-2.0.0 heritage=Tiller release=onap Annotations: deployment.kubernetes.io/revision=1 Selector: app=vid,release=onap Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 1 max unavailable, 1 max surge Pod Template: Labels: app=vid release=onap Init Containers:kubectl get rs -n onap |grep vid onap-vid-54fc55cb99 0 1 1 6d vid-readiness: Image: oomk8s/readiness-check:1.0.0 Port: <none> Command: python Args: /tmp/vid-check-job-completion/vid_check_job_completion.py --job-name vid-config-galera Environment: NAMESPACE: (v1:metadata.namespace) Mounts: /tmp/vid-check-job-completion from vid-check-job-completion (rw) Containers: vid: Image: nexus.openlab.onap.eu/onap/vid:2.0.0 Port: 8080/TCP Liveness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3 Readiness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3 Environment: ASDC_CLIENT_REST_HOST: sdc-be.onap ASDC_CLIENT_REST_AUTH: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= ASDC_CLIENT_REST_PORT: 8080 VID_AAI_HOST: aai.onap VID_AAI_PORT: 8443 VID_ECOMP_SHARED_CONTEXT_REST_URL: http://portal-app.onap:8989/ONAPPORTAL/context<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_context&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=yHuIJnJoqOotJzN1OqDz1C4kFLp6QoPmKK4V6IpqByc&e=> VID_MSO_SERVER_URL: http://so.onap:8080<https://urldefense.proofpoint.com/v2/url?u=http-3A__so.onap-3A8080&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=XKR4dV69JMkUSpdVYjy9c1gwI4Zq9Q79ABa5UhE96zQ&e=> VID_MSO_PASS: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz MSO_DME2_SERVER_URL: http://localhost:8081 MSO_DME2_ENABLED: VID_ECOMP_REDIRECT_URL: http://portal-app.onap:8989/ONAPPORTAL/login.htm<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_login.htm&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=T5WE5A7KHE0dQrNhWUnAC0_0BedgmKTdScQySAZ_DZE&e=> VID_ECOMP_REST_URL: http://portal-app.onap:8989/ONAPPORTAL/auxapi<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_auxapi&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=2CBfkK_PSBYzPgmsNIicVYkXfTXI6q75K8m5--bwV10&e=> VID_CONTACT_US_LINK: https://todo_contact_us_link.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__todo-5Fcontact-5Fus-5Flink.com&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=MsBPuHQNl56fAzYuIhXVb3v4ecqAuu8WNWLXBl5fMqE&e=> VID_UEB_URL_LIST: message-router.onap VID_MYSQL_HOST: vid-galera VID_MYSQL_PORT: 3306 VID_MYSQL_DBNAME: vid_openecomp_epsdk VID_MYSQL_USER: vidadmin VID_MYSQL_PASS: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U VID_MYSQL_MAXCONNECTIONS: 5 VID_FOO: 5 Mounts: /etc/localtime from localtime (ro) /tmp/logback.xml from vid-logback (rw) /var/log/onap from vid-logs (rw) filebeat-onap: Image: docker.elastic.co/beats/filebeat:5.5.0 Port: <none> Environment: <none> Mounts: /usr/share/filebeat/data from vid-data-filebeat (rw) /usr/share/filebeat/filebeat.yml from filebeat-conf (rw) /var/log/onap from vid-logs (rw) Volumes: localtime: Type: HostPath (bare host directory volume) Path: /etc/localtime filebeat-conf: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-filebeat-configmap Optional: false vid-logs: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: vid-data-filebeat: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: vid-logback: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-log-configmap Optional: false vid-check-job-completion: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-check-job-completion Optional: false Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable OldReplicaSets: <none> NewReplicaSet: <none> Events: <none> but the replicaset looks strange kubectl get rs -n onap |grep vid onap-vid-54fc55cb99 0 1 1 6d 0 desired, 1 running impossible to delete it we tried to update the deployment by adding new env var, but the edit of the deployment did not trigger any rollout that could have restored the pod $ kubectl describe rs onap-vid-54fc55cb99 -n onap Name: onap-vid-54fc55cb99 Namespace: onap Selector: app=vid,pod-template-hash=1097117655,release=onap Labels: app=vid pod-template-hash=1097117655 release=onap Annotations: deployment.kubernetes.io/desired-replicas=1 deployment.kubernetes.io/max-replicas=2 deployment.kubernetes.io/revision=1 Controlled By: Deployment/onap-vid Replicas: 1 current / 0 desired Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: app=vid pod-template-hash=1097117655 release=onap Init Containers: vid-readiness: Image: oomk8s/readiness-check:1.0.0 Port: <none> Command: python Args: /tmp/vid-check-job-completion/vid_check_job_completion.py --job-name vid-config-galera Environment: NAMESPACE: (v1:metadata.namespace) Mounts: /tmp/vid-check-job-completion from vid-check-job-completion (rw) Containers: vid: Image: nexus.openlab.onap.eu/onap/vid:2.0.0 Port: 8080/TCP Liveness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3 Readiness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3 Environment: ASDC_CLIENT_REST_HOST: sdc-be.onap ASDC_CLIENT_REST_AUTH: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= ASDC_CLIENT_REST_PORT: 8080 VID_AAI_HOST: aai.onap VID_AAI_PORT: 8443 VID_ECOMP_SHARED_CONTEXT_REST_URL: http://portal-app.onap:8989/ONAPPORTAL/context<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_context&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=yHuIJnJoqOotJzN1OqDz1C4kFLp6QoPmKK4V6IpqByc&e=> VID_MSO_SERVER_URL: http://so.onap:8080<https://urldefense.proofpoint.com/v2/url?u=http-3A__so.onap-3A8080&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=XKR4dV69JMkUSpdVYjy9c1gwI4Zq9Q79ABa5UhE96zQ&e=> VID_MSO_PASS: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz MSO_DME2_SERVER_URL: http://localhost:8081 MSO_DME2_ENABLED: VID_ECOMP_REDIRECT_URL: http://portal-app.onap:8989/ONAPPORTAL/login.htm<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_login.htm&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=T5WE5A7KHE0dQrNhWUnAC0_0BedgmKTdScQySAZ_DZE&e=> VID_ECOMP_REST_URL: http://portal-app.onap:8989/ONAPPORTAL/auxapi<https://urldefense.proofpoint.com/v2/url?u=http-3A__portal-2Dapp.onap-3A8989_ONAPPORTAL_auxapi&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=2CBfkK_PSBYzPgmsNIicVYkXfTXI6q75K8m5--bwV10&e=> VID_CONTACT_US_LINK: https://todo_contact_us_link.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__todo-5Fcontact-5Fus-5Flink.com&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=_MzujvfANix0Ur98v2reI9nUBOD7qrpER-88P5w7cNo&s=MsBPuHQNl56fAzYuIhXVb3v4ecqAuu8WNWLXBl5fMqE&e=> VID_UEB_URL_LIST: message-router.onap VID_MYSQL_HOST: vid-galera VID_MYSQL_PORT: 3306 VID_MYSQL_DBNAME: vid_openecomp_epsdk VID_MYSQL_USER: vidadmin VID_MYSQL_PASS: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U VID_MYSQL_MAXCONNECTIONS: 5 Mounts: /etc/localtime from localtime (ro) /tmp/logback.xml from vid-logback (rw) /var/log/onap from vid-logs (rw) filebeat-onap: Image: docker.elastic.co/beats/filebeat:5.5.0 Port: <none> Environment: <none> Mounts: /usr/share/filebeat/data from vid-data-filebeat (rw) /usr/share/filebeat/filebeat.yml from filebeat-conf (rw) /var/log/onap from vid-logs (rw) Volumes: localtime: Type: HostPath (bare host directory volume) Path: /etc/localtime filebeat-conf: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-filebeat-configmap Optional: false vid-logs: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: vid-data-filebeat: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: vid-logback: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-log-configmap Optional: false vid-check-job-completion: Type: ConfigMap (a volume populated by a ConfigMap) Name: onap-vid-check-job-completion Optional: false Events: <none> Any hint to restart the VID part? Thanks Morgan _________________________________________________________________________________________________________________________ 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 (#13937): https://lists.onap.org/g/onap-discuss/message/13937 Mute This Topic: https://lists.onap.org/mt/28275492/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
