Hi Raju,
I am getting the same issue for the NBI .
I successfully deployed the service via SO Macro API, but NBI returns the
tenantId error.
In *NBI container:*
*env variables*
ONAP_LCPCLOUDREGIONID=YoloONAP_CLOUDOWNER=CloudOwnerONAP_K8SCLOUDOWNER=CloudOwnerONAP_K8SCLOUDREGIONID=k8sregionfourONAP_TENANTID=2b7538dc18eb45e582149705c4753
ONAP_LCPCLOUDREGIONID=Yolo
ONAP_CLOUDOWNER=CloudOwner
ONAP_K8SCLOUDOWNER=CloudOwner
ONAP_K8SCLOUDREGIONID=k8sregionfour
ONAP_TENANTID=2b7538dc18eb45e582149705c4753
FROM *AAI* :
*GET https:// {{k8s}}*
*:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/k8sregionfour/tenants/*
{ "tenant": [ { *"tenant-id": "2b7538dc18eb45e582149705c4753",* "tenant-name":
"k8stenant", "resource-version": "1611077201876", "relationship-list": {
"relationship": [ { "related-to": "generic-vnf", "relationship-label":
"org.onap.relationships.inventory.BelongsTo", "related-link":
"/aai/v16/network/generic-vnfs/generic-vnf/230eac04-a942-4475-b33c-e4e5cdc021e5",
"relationship-data": [ { "relationship-key": "generic-vnf.vnf-id",
"relationship-value": "230eac04-a942-4475-b33c-e4e5cdc021e5" } ],
"related-to-property": [ { "property-key": "generic-vnf.vnf-name",
"property-value": "vfw-cnf-17-vnf" } ] }, { "related-to": "generic-vnf",
"relationship-label": "org.onap.relationships.inventory.BelongsTo",
"related-link":
"/aai/v16/network/generic-vnfs/generic-vnf/bfbb185d-e6e6-4a56-b5db-2902673b16ed",
"relationship-data": [ { "relationship-key": "generic-vnf.vnf-id",
"relationship-value": "bfbb185d-e6e6-4a56-b5db-2902673b16ed" } ],
"related-to-property": [ { "property-key": "generic-vnf.vnf-name",
"property-value": "vfw-cnf-11-vnf" } ] }, { "related-to": "generic-vnf",
"relationship-label": "org.onap.relationships.inventory.BelongsTo",
"related-link":
"/aai/v16/network/generic-vnfs/generic-vnf/a56625f6-a0b4-4643-bf1a-9f6f29019603",
"relationship-data": [ { "relationship-key": "generic-vnf.vnf-id",
"relationship-value": "a56625f6-a0b4-4643-bf1a-9f6f29019603" } ],
"related-to-property": [ { "property-key": "generic-vnf.vnf-name",
"property-value": "vfw-cnf-12-vnf" } ] }, { "related-to":
"service-subscription", "relationship-label":
"org.onap.relationships.inventory.Uses", "related-link":
"/aai/v16/business/customers/customer/TIM/service-subscriptions/service-subscription/vfwk8s",
"relationship-data": [ { "relationship-key": "customer.global-customer-id",
"relationship-value": "TIM" }, { "relationship-key":
"service-subscription.service-type", "relationship-value": "vfwk8s" } ] } ] }
}, { "tenant-id": "f2cd3b78-de55-4eca-a557-99b6657c89ce", "tenant-name":
"k8s-tenant-1", "tenant-context": "None", "resource-version": "1611070500361"
}, { "tenant-id": "d5e8ac6a-7b52-4deb-ab56-363fd8ca5c8f", "tenant-name":
"k8s-tenant-1", "tenant-context": "None", "resource-version": "1611070476879"
}, { "tenant-id": "87a4b858-752e-4d78-8254-dbd28f926d00", "tenant-name":
"k8s-tenant-1", "tenant-context": "None", "resource-version": "1611072689399" }
] }
I think the configuration beetween NBI and AAI matches.
Any ideas to debug it deeper?
Thanks,
Aniello
--
-----------------------------------------------------------------
*TIM*
*Aniello Paolo Malinconico*
Chief Innovation & Partnership Office
Technology Innovation
*TIM S.p.A.*
Via G. Reiss Romoli, 274 – 10148 TORINO
email: [email protected]
Tim Official: *Facebook* ( https://www.facebook.com/TimOfficialPage ) -
*Twitter* ( https://twitter.com/tim_official ) - *www.tim.it* (
http://www.tim.it/ )
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22754): https://lists.onap.org/g/onap-discuss/message/22754
Mute This Topic: https://lists.onap.org/mt/79390279/21656
Mute #nbi:https://lists.onap.org/g/onap-discuss/mutehashtag/nbi
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-