...
Make the changes in the policy helm charts.
Run make command: make policy onappolicy
Then make onap: make SKIP_LINT=TRUE onap
Update repo: helm repo update
To list deployment names: helm list
...
Redeploy: helm deploy <deployment-name> local/onap -f ~/integration-override.yaml --namespace onap --verbose
Further information can be found here: /oom/docs/oom_quickstart_guide.rst
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Upgrade failed
Manual fix:
update pdpstatistics as p JOIN (select name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num from pdpstatistics GROUP BY name, version, timeStamp) as t ON (p.name=t.name and p.version=t.version and p.timeStamp = t.timeStamp) set
p.id=t.row_num;
Deployment 2:
+ /opt/app/policy/bin/prepare_upgrade.sh policyadmin
278 blocks
Preparing upgrade release version: 0800
Preparing upgrade release version: 0900
Done
+ /opt/app/policy/bin/db-migrator -s policyadmin -o upgrade
upgrade: 0900 -> 0900
Partial upgrade detected
Upgrade will attempt to resume at 0160-pk_pdpstatistics.sql
...