Thanks Gary for detailing the work around. For some reason, we do not see this issue in Windriver lab environment (SB04 instance) while doing integration/pairwise testing. There everything works.
However, we have seen this issue consistently in TLab environment. The Portal team is investigating to find any alternatives for avoiding the db-config pod initialization failures. It is tracked here - https://jira.onap.org/browse/PORTAL-399 Manoop From: <[email protected]> on behalf of Gary Wu <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tuesday, October 30, 2018 at 10:50 AM To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Cc: "Przybysz, Marcin (Nokia - PL/Wroclaw)" <[email protected]>, "Pondel, Marek (Nokia - PL/Wroclaw)" <[email protected]>, Yunxia Chen <[email protected]> Subject: Re: [onap-discuss] [integration][portal] Portal app is in infinite Waiting: PodInitializing state portal-db had issues where it was taking so long to initialize that it aborted halfway, leaving the DB files in a corrupted state. The quickest workaround is to delete the mysql directory under /dockerdata-nfs/dev-portal/ and then deleting the portal-db pod to allow it to redo the DB initialization. The same issue can potentially occur for any of ONAP’s mysql databases. Thanks, Gary From: [email protected] [mailto:[email protected]] On Behalf Of Krzysztof Kuzmicki Sent: Tuesday, October 30, 2018 7:32 AM To: [email protected] Cc: Przybysz, Marcin (Nokia - PL/Wroclaw) <[email protected]>; Pondel, Marek (Nokia - PL/Wroclaw) <[email protected]>; Yunxia Chen <[email protected]> Subject: [onap-discuss] [integration][portal] Portal app is in infinite Waiting: PodInitializing state Hi I have installed newest OOM staging release for Casablanca and portal app is not working after several undeployments and deployments of whole dev-portal releas. I think that thi issue is cause by dev-portal-portal-db-config pod that doesn't finish successfully, After couple of retries, when it is able to connect to dev-portal-portal-db, executed script doesn't introduce any changes and all inserts finish with error similar to : ERROR 1046 (3D000) at line 363: No database selected As I checked in portal-db pod following databases are available: MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.006 sec) MariaDB [(none)]> Maybe there is some issue with portal-db initialization ? Has anybody observed similar issue? Maybe somebody has some WA for that. br, Krzysztof -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13398): https://lists.onap.org/g/onap-discuss/message/13398 Mute This Topic: https://lists.onap.org/mt/27792647/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
