Check the portal-db-config logs⦠Could be uncompleted portal-db pod startup, even it was showing completed. Check if portal-db-config jobs logs shows any error messages. In some deployment attempts database portal db was not created as a workaround, insert all sql-files from /docker-entrypoint-initdb.d
kubectl exec -it -n onap dev-portal-portal-db-<your-id> bash mysql -u root -p < PortalDDLMySql_2_1_Common.sql mysql -u root -p < <all other sql files, one by one> Thanks, Prabhu. From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: Wednesday, September 25, 2019 9:22 AM To: [email protected] Subject: [onap-discuss] ONAP Portal Invalid Username or Password #portal [**EXTERNAL EMAIL**] Hi, I deployed ONAP Dublin version and trying to access portal but it says invalid username or password. When I check status of Portal, it seems to me no problem as following: root@onap-control-2:~# kubectl get pods -n onap -o=wide | grep portal dev-portal-portal-app-6d5947dd7b-r8x9c 2/2 Running 0 10m 10.42.14.42 onap-k8s-7 <none> dev-portal-portal-cassandra-678bd754f6-jv482 1/1 Running 0 29m 10.42.9.98 onap-k8s-6 <none> dev-portal-portal-db-8f8b77c99-rp6gg 1/1 Running 0 29m 10.42.3.51 onap-k8s-5 <none> dev-portal-portal-db-config-klvnx 0/2 Completed 0 29m 10.42.4.41 onap-k8s-1 <none> dev-portal-portal-sdk-56768d746b-t6sfv 2/2 Running 0 29m 10.42.6.41 onap-k8s-3 <none> dev-portal-portal-widget-68c68f5db6-vnnhb 1/1 Running 0 29m 10.42.10.39 onap-k8s-11 <none> dev-portal-portal-zookeeper-7957fcfd4-rdc9x 1/1 Running 0 29m 10.42.13.36 onap-k8s-10 <none> Then, I log in to portal-db container and check portal database using mysql console, fn_user table is empty. In other post, I saw that if table is empty, it says to redeploy the portal but it didnt work either and still table is empty. MariaDB [portal]> SELECT first_name, org_user_id, email FROM fn_user; Empty set (0.000 sec) I would be so happy if someone help me to fix this problem. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19089): https://lists.onap.org/g/onap-discuss/message/19089 Mute This Topic: https://lists.onap.org/mt/34285670/21656 Mute #portal: https://lists.onap.org/mk?hashtag=portal&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
