Hi Emin,
Thank you very much. I have checked this issue and the reason maybe that
Modeling/etsicatalog uses readinessCheck component provided by OOM by:
{{ include "common.readinessCheck.waitFor" (dict "dot" . "wait_for"
.Values.readinessCheck.wait_for.msb ) | indent 6 | trim }}.
As a workaround, you can set global.repository when install the chart by: --set
global.repository=nexus3.onap.org:10001
@OOM teamer, could you please take a look for this issue?
To use readinessCheck component, we define the related value in the
values.yaml as following:
readinessCheck:
wait_for:
msb:
name: msb
containers:
- msb-iag
The rendered result is as following:
- name: modeling-etsicatalog-msb-readiness
image: "/onap/oom/readiness:3.0.1"
imagePullPolicy: IfNotPresent
command:
- /app/ready.py
args:
- --container-name
- msb-iag
env:
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
As you can see, the image is not defined in Modeling/etsicatalog values.yaml
file. It should be created by OOM readinessCheck component.
By the way, if I set the global.repository when install the chart, the value of
image will include the repository. So I think it maybe a bug of readinessCheck
component.
@sylvain Could you please share your option about this issue?
Thanks and regards,
Yuanhong
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Sunday, November 15, 2020 3:29 PM
To: [email protected]
Subject: [onap-discuss] All SDC Pods stuck at Init, Image Name Error and Error
Message: could not construct uri for use with A&AI in Frakfurt realese #sdc
#guilin #frankfurt #aai #so
Hi everyone,
Yesterday, I have tried to install ONAP Guilin with guilin tag, unfortenatly,
the sdc pods did not switch to running status. I could not find anything about
the problem. Does anyone have the same issue ?
Also, there is another issue with the image name in dev-modeling-etsicatalog
depmoylent. Whenever I start the installation, it comes like the one in the
screenshot. By just adding the missing part the problem went away.
<https://jira.onap.org/secure/attachment/16739/16739_image-2020-11-14-02-07-38-178.png>
Another thing with the Frankfurt, I have installed ONAP with the latest update
in frankfurt tag. While trying to vLB demo in the Robot, I get this error;
"requestStatus":{"requestState":"FAILED","statusMessage":"STATUS: Error Source:
UNKNOWN, Error Message: could not construct uri for use with A&AI FLOW STATUS:
UnassignServiceInstanceBB has failed. TASK INFORMATION: Last task executed: end
RETRY STATUS: Retries have been exhausted. ROLLBACK STATUS: could not construct
uri for use with A&AI","percentProgress":100,"timestamp":"Sat, 14 Nov 2020
18:16:56 GMT"}}}
After, investigating the error and getting some information from A&AI team, we
think the problem might be on the SO.
The rest of the logs:
Start / End / Elapsed:
20201114 23:39:18.125 / 20201114 23:47:19.776 / 00:08:01.651
23:39:18.125
TRACE
Arguments: [ b'http://so.onap:8080' |
'/onap/so/infra/orchestrationRequests/v7/86dba776-944a-4256-9f0c-10d529dbb7a1'
| tries=30 | interval=60 | auth=[b'bpel', b'password1$'] ]
23:39:18.125
INFO
Creating session http://so.onap:8080 <http://so.onap:8080/>
23:39:18.125
INFO
Creating Session using : alias=so, url=http://so.onap:8080, headers={},
cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f3daa7ae2d0>,
timeout=None, proxies=None, verify=False, debug=0
23:39:18.125
DEBUG
Creating session: so
23:39:18.125
DEBUG
Argument types are: <type 'bool'>
23:39:18.128
DEBUG
Starting new HTTP connection (1): so.onap:8080
23:39:18.285
DEBUG
http://so.onap:8080 <http://so.onap:8080/> "GET
/onap/so/infra/orchestrationRequests/v7/86dba776-944a-4256-9f0c-10d529dbb7a1
HTTP/1.1" 200 4959
23:39:18.285
INFO
Get Request using : alias=so,
uri=/onap/so/infra/orchestrationRequests/v7/86dba776-944a-4256-9f0c-10d529dbb7a1,
headers={'X-FromAppId': 'robot-ete', 'X-TransactionId':
'f4167f57-0489-4a70-b8f5-a51a272081e5', 'Content-Type': 'application/json',
'Accept': 'application/json'} json=None
23:39:18.286
INFO
IN_PROGRESS
23:40:18.286
INFO
Slept 1 minute
23:40:18.286
INFO
Response from SO is not in requested status
23:40:18.286
INFO
Creating session http://so.onap:8080 <http://so.onap:8080/>
23:40:18.287
INFO
Creating Session using : alias=so, url=http://so.onap:8080, headers={},
cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f3daa7830d0>,
timeout=None, proxies=None, verify=False, debug=0
23:40:18.287
DEBUG
Creating session: so
23:40:18.287
DEBUG
Argument types are: <type 'bool'>
23:40:18.290
DEBUG
Starting new HTTP connection (1): so.onap:8080
23:40:18.434
DEBUG
http://so.onap:8080 <http://so.onap:8080/> "GET
/onap/so/infra/orchestrationRequests/v7/86dba776-944a-4256-9f0c-10d529dbb7a1
HTTP/1.1" 200 5240
23:40:18.435
INFO
Get Request using : alias=so,
uri=/onap/so/infra/orchestrationRequests/v7/86dba776-944a-4256-9f0c-10d529dbb7a1,
headers={'X-FromAppId': 'robot-ete', 'X-TransactionId':
'78b55e66-b13c-4d24-a01e-f232d9150b79', 'Content-Type': 'application/json',
'Accept': 'application/json'} json=None
23:47:19.774
INFO
FAILED
23:47:19.776
FAIL
Received failure response from so
{"request":{"requestId":"86dba776-944a-4256-9f0c-10d529dbb7a1","startTime":"Sat,
14 Nov 2020 18:08:57 GMT","finishTime":"Sat, 14 Nov 2020 20:46:55
GMT","requestScope":"service","requestType":"createInstance","requestDetails":{"modelInfo":{"modelInvariantId":"ea2827ee-9fc9-4e98-be5f-c181abac5f09","modelType":"service","modelName":"demoVLB_CDS","modelVersion":"1.0","modelVersionId":"f8bde862-61ee-4aa8-abf5-b680ee8526ab","modelUuid":"f8bde862-61ee-4aa8-abf5-b680ee8526ab","modelInvariantUuid":"ea2827ee-9fc9-4e98-be5f-c181abac5f09"},"requestInfo":{"productFamilyId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb","source":"VID","instanceName":"cds_vlb_svc_2020-11-14_233915","suppressRollback":false,"requestorId":"robot-ete"},"subscriberInfo":{"globalSubscriberId":"Demonstration"},"cloudConfiguration":
23:47:19.776
DEBUG
Traceback (most recent call last): File
"/var/opt/ONAP/robot/library/ONAPLibrary/RequestSOKeywords.py", line 43, in
run_polling_get_request self.builtin.fail("Received failure response from so "
+ resp.text) File
"/usr/local/lib/python2.7/dist-packages/robot/libraries/BuiltIn.py", line 538,
in fail raise AssertionError(msg) if msg else AssertionError()
23:39:14.320
TRACE
Arguments: [ ${service}='vLB_CDS' | ${vf_module_label}='demoVLB_CDS' ]
The response from William Reehil from A&AI team:
Subject: RE: Error message "could not construct uri for use with A&AI"
Emin,
I am not familiar with this SO code, but in looking at their logs I see your
connectivity to aai is fine, and it’s able to make calls and retrieve certain
data. this for example (from debug):
2020-11-12T14:12:36.957Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
- Sending HTTP GET
to:https://aai.onap:8443/aai/v19/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/regionOne/tenants/tenant/89cd6665e5c6490eb8ac718552b06c9c
with request headers:{Authorization=[***REDACTED***],
X-RequestID=[5f496662-a66e-4fec-afe6-a0cbb0d5bb06], X-FromAppId=[MSO],
X-ONAP-PartnerName=[SO.APIH], Accept=[application/json],
X-InvocationID=[5094f76a-707f-49d1-b6ef-f12dca4e0a23],
X-ECOMP-RequestID=[5f496662-a66e-4fec-afe6-a0cbb0d5bb06], X-TransactionId=[],
X-ONAP-RequestID=[5f496662-a66e-4fec-afe6-a0cbb0d5bb06]}
2020-11-12T14:12:36.975Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
- Response from method:GET performed on
uri:https://aai.onap:8443/aai/v19/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/regionOne/tenants/tenant/89cd6665e5c6490eb8ac718552b06c9c
has http status code:200 and response
headers:{Strict-Transport-Security=[max-age=16000000; includeSubDomains;
preload;], X-AAI-TXID=[1-aai-resources-201112-14:12:36:963-719],
vertex-id=[684056], Content-Length=[559], Date=[Thu, 12 Nov 2020 14:12:36 GMT],
Content-Type=[application/json]}
2
2020-11-12T14:12:36.975Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
-
{"tenant-id":"89cd6665e5c6490eb8ac718552b06c9c","tenant-name":"ulak_project","resource-version":"1605190059098","relationship-list":{"relationship":[{"related-to":"service-subscription","relationship-label":"org.onap.relationships.inventory.Uses","related-link":"/aai/v19/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW","relationship-data":[{"relationship-key":"customer.global-customer-id","relationship-value":"Demonstration"},{"relationship-key":"service-subscription.service-type","relationship-value":"vFW"}]}]}}
Some of your calls are getting 404’s, meaning your aai instance does not have
the data in them ie.
2020-11-12T14:12:36.922Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|org.onap.so.client.RestRequest
- RestClient recieved not found on URL:
https://aai.onap:8443/aai/v19/service-design-and-creation/services/service/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb
2020-11-12T14:12:36.922Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.so.apihandlerinfra.infra.rest.AAIDataRetrieval
- No Service found in A&AI ServiceId: a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb
2020-11-12T14:12:36.924Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|org.onap.so.client.RestClient
- RestClientSSL using default SSL context!
2020-11-12T14:12:36.932Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
- Sending HTTP GET
to:https://aai.onap:8443/aai/v19/service-design-and-creation/services/service/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb
with request headers:{Authorization=[***REDACTED***], X-FromAppId=[MSO],
Accept=[application/json], X-TransactionId=[]}
2020-11-12T14:12:36.944Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
- Response from method:GET performed on
uri:https://aai.onap:8443/aai/v19/service-design-and-creation/services/service/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb
has http status code:404 and response
headers:{Strict-Transport-Security=[max-age=16000000; includeSubDomains;
preload;], X-AAI-TXID=[1-aai-resources-201112-14:12:36:938-64591],
Content-Length=[377], Date=[Thu, 12 Nov 2020 14:12:36 GMT],
Content-Type=[application/json]}
2020-11-12T14:12:36.945Z|5f496662-a66e-4fec-afe6-a0cbb0d5bb06|o.o.logging.filter.base.PayloadLoggingClientFilter
- {"requestError":{"serviceException":{"messageId":"SVC3001","text":"Resource
not found for %1 using id %2 (msg=%3)
(ec=%4)","variables":["GET","service-design-and-creation/services/service/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb","Node
Not Found:No Node of type service found at:
service-design-and-creation/services/service/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb","ERR.5.4.6114"]}}}
You may want to check with SO folks to help pinpoint the issue you are seeing
here that would be throwing that particular error. We would need to know the
exact A&AI call that you are having trouble with.
Thanks,
Emin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22460): https://lists.onap.org/g/onap-discuss/message/22460
Mute This Topic: https://lists.onap.org/mt/78266472/21656
Mute #aai:https://lists.onap.org/g/onap-discuss/mutehashtag/aai
Mute #sdc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdc
Mute #so:https://lists.onap.org/g/onap-discuss/mutehashtag/so
Mute #frankfurt:https://lists.onap.org/g/onap-discuss/mutehashtag/frankfurt
Mute #guilin:https://lists.onap.org/g/onap-discuss/mutehashtag/guilin
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-