Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-658

pap : db installation failed configurationdataentity table missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: High High
    • Beijing Release
    • Beijing Release
    • None
    • ONAP Windriver lab -> PFPP project -> Policy VM: 10.12.5.207

      This is the error found during the upgrade:

      policy@pap:/opt/app/policy$ cat logs/db_upgrade_remote_20180228232216.err
      ERROR 1146 (42S02) at line 22: Table 'onap_sdk.configurationdataentity' doesn't exist

      It seems that the table is never created:

      policy@pap:/opt/app/policy$ grep -i "create table config" $(find . -type f -name "*.sql")
      policy@pap:/opt/app/policy$

      but it is tried to be updated:
      policy@pap:/opt/app/policy$ grep -i " config" $(find . -type f -name "*.sql")
      ./data/mysql/161000_upgrade_script.sql:-- options valid in configuration files (Option file), or
      ./data/mysql/180201_upgrade_script.sql:alter table configurationdataentity modify configBody mediumtext;
      ./install/mysql/data/161000_upgrade_script.sql:-- options valid in configuration files (Option file), or
      ./install/mysql/data/180201_upgrade_script.sql:alter table configurationdataentity modify configBody mediumtext;

            mmokry mmokry
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: