Run ./ete-k8s.sh onap postinstall and see if the default schema’s were loaded.
If the model schema has not been loaded see https://jira.onap.org/browse/AAI-1759 kubectl exec -it $(kubectl get pods -n onap | grep 'traversal' | awk '{ print $1; }') -n onap gosu aaiadmin /opt/app/aai-traversal/bin/install/updateQueryData.sh Reinstall of a project without running clean.sh doesn’t remove the data so AAI might be re-using the same Cassandra data that isn’t complete on a re-deploy. Brian From: [email protected] <[email protected]> On Behalf Of Satoshi Fujii Sent: Wednesday, March 11, 2020 3:10 AM To: [email protected] Subject: [onap-discuss] Cannot distribute service model to A&AI #aai #elalto Hi, I'm using El Alto release and am trying to distribute a service template from SDC, but facing deploy error on aai-ml. I found some suspicious record in aai log files: from aai-modelloader pod: 2020-03-11T03:01:16.080Z|90fe5462-742b-4916-9838-f94b61c7a9ef|pool-2-thread-4|ModelLoader|Event-Bus|AAIRESTClient||INFO|AC0001I|AC0001I PUT request a t url = https://aai.onap:8443/aai/v16/service-design-and-creation/models/model/38c28dd6-1d5d-47a1-bd76-6a963186df83<https://urldefense.proofpoint.com/v2/url?u=https-3A__aai.onap-3A8443_aai_v16_service-2Ddesign-2Dand-2Dcreation_models_model_38c28dd6-2D1d5d-2D47a1-2Dbd76-2D6a963186df83&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4JL4vEW9E9Q_Jad6ToErKjXrJciTOqZQn20ikdsHPA8&s=XYICWTAfCHSo8Q76hxskGVr_rh4f-aKaASTqUEb5XV4&e=>| 2020-03-11T03:01:20.835Z|90fe5462-742b-4916-9838-f94b61c7a9ef|pool-2-thread-4|ModelLoader|Event-Bus|AAIRESTClient||INFO|AC0003I|AC0003I PUT request o peration time = 4755 ms for link = https://aai.onap:8443/aai/v16/service-design-and-creation/models/model/38c28dd6-1d5d-47a1-bd76-6a963186df83<https://urldefense.proofpoint.com/v2/url?u=https-3A__aai.onap-3A8443_aai_v16_service-2Ddesign-2Dand-2Dcreation_models_model_38c28dd6-2D1d5d-2D47a1-2Dbd76-2D6a963186df83&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4JL4vEW9E9Q_Jad6ToErKjXrJciTOqZQn20ikdsHPA8&s=XYICWTAfCHSo8Q76hxskGVr_rh4f-aKaASTqUEb5XV4&e=>| 2020-03-11T03:01:20.836Z|90fe5462-742b-4916-9838-f94b61c7a9ef|pool-2-thread-4|ModelLoader|Event-Bus|AAIRESTClient||INFO|AC0004I|AC0004I request at ur l = https://aai.onap:8443/aai/v16/service-design-and-creation/models/model/38c28dd6-1d5d-47a1-bd76-6a963186df83<https://urldefense.proofpoint.com/v2/url?u=https-3A__aai.onap-3A8443_aai_v16_service-2Ddesign-2Dand-2Dcreation_models_model_38c28dd6-2D1d5d-2D47a1-2Dbd76-2D6a963186df83&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4JL4vEW9E9Q_Jad6ToErKjXrJciTOqZQn20ikdsHPA8&s=XYICWTAfCHSo8Q76hxskGVr_rh4f-aKaASTqUEb5XV4&e=> resulted in http response: 404 Not Fo und| 2020-03-11T03:01:20.836Z|90fe5462-742b-4916-9838-f94b61c7a9ef|pool-2-thread-4|ModelLoader|Event-Bus|org.onap.aai.modelloader.entity.model.AbstractMod elArtifact||ERROR|MDLSVC2002E|MDLSVC2002E Distribution event error: Ingestion failed for MODEL 38c28dd6-1d5d-47a1-bd76-6a963186df83|749ada02-d5f4-4ee f-8a52-719f6faa5146 Error creating model. Skipping ingestion.. Rolling back distribution.| from aai-resources pod: 2020-03-11T03:01:16.527+0000|2020-03-11T03:01:16.554+0000|90fe5462-742b-4916-9838-f94b61c7a9ef||qtp1738674023-33||PUT /aai/v16/service-design-and-cre ation/models/model/38c28dd6-1d5d-47a1-bd76-6a963186df83|ModelLoader|COMPLETE||||DEBUG||10.42.9.232|27|aai-resources||org.onap.aai.extensions.Extensio nController|||||||co=ModelLoader:Extension class not found: org.onap.aai.extensions.v16.serviceDesignAndCreation.ModelExtension, method: DynamicAddSe rviceDesignAndCreationModelsModelPreProc. From this I suspect some aai classes have not loaded, so tried redeploying aai with helm and distributed again, but still have the same issue. also I found the exact same issue was posted in onap-discuss before: https://lists.onap.org/g/onap-discuss/message/18776<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_g_onap-2Ddiscuss_message_18776&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4JL4vEW9E9Q_Jad6ToErKjXrJciTOqZQn20ikdsHPA8&s=SN62jDpiRqxELg1iaTjSnO2XsL8U0ywxVg6SGKU0j08&e=> but there is no answer yet. Is there any way to solve this issue? Any help would be appreciated. Thanks, Satoshi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20225): https://lists.onap.org/g/onap-discuss/message/20225 Mute This Topic: https://lists.onap.org/mt/71874565/21656 Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164 Mute #elalto: https://lists.onap.org/mk?hashtag=elalto&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
