Hi Xin Miao,

The hostname is defined in various application.properties files of OOM repo 
like this:

schema.service.base.url=https://aai-schema-service.{{ include 
"common.namespace" . }}:8452/aai/schema-service/v1/

so I guess that you just need to update your hosts file to have this name with 
the IP address of your server.


Keong


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Tuesday, August 27, 2019 8:21 PM
To: Keong Lim <[email protected]>
Subject: RE: [onap-discuss] [AAI]

Hi, Lim,

The service is running.

What exactly do I need to do to fix the aai-schema-service.onap home name 
mapping?

Thanks.

Xin Miao
Solution Engineering
Fujitsu Network Communication
(W)972-479-2263 (M)469-268-5226
2811 Telecom Drive
Richardson, TX 75081, USA

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Tuesday, August 6, 2019 9:28 PM
To: Keong Lim <[email protected]>; [email protected]
Subject: Re: [onap-discuss] [AAI]

Thanks a lot, Keong. I will try to fix it and let you know@

-----Original Message-----
From: Keong Lim [mailto:[email protected]]
Sent: Tuesday, August 6, 2019 8:17 PM
To: Miao, Xin <[email protected]>; [email protected]
Subject: Re: [onap-discuss] [AAI]

Hi,

On Tue, Aug  6, 2019 at 10:58 PM, [email protected] wrote:
> I am trying to deploy ONAP (Dublin) cluster but running into the 
> following
> error:

The key error is this failure to resolve the hostname for the schema-service:

> 2019-08-06 21:54:38.820  INFO   --- [           main]
> org.onap.aai.util.ExceptionTranslator    : Exception is
> aai-schema-service.onap: Temporary failure in name resolutionRoot 
> cause
> isjava.net.UnknownHostException: aai-schema-service.onap: Temporary 
> failure in name resolution

The next part shows that the call to schema-service fails, which means that the 
createDBSchema script cannot initialise.
You should probably also see similar errors in AAI-Resources and AAI-Traversal 
as well.

> exception is org.springframework.web.client.ResourceAccessException: 
> I/O error on GET request for
> "https://urldefense.proofpoint.com/v2/url?u=https-3A__aai-2Dschema-2Dservice.onap-3A8452_aai_schema-2Dservice_v1_versions&d=DwIFaQ&c=09aR81AqZjK9FqV5BSCPBw&r=As6QfCoiP67wYLg7fQ1rTc8kY3c9bJ0Ud3siuUSJSEY&m=j5GkflPvKDUH-DiD_0kmrzg-ikFMfPbli6Vne9Hk6uY&s=exOvAxrwjT0OzzQ2_mCc35A3nEClcZgtUCN3Y2D-8Ak&e=
>  ":
> aai-schema-service.onap: Temporary failure in name resolution; nested 
> exception is java.net.UnknownHostException: aai-schema-service.onap:
> Temporary failure in name resolution, resolve and retry ClassName-

Please confirm that:
- your schema-service microservice is running and
- you have the hostname mapping for aai-schema-service.onap


Keong




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18717): https://lists.onap.org/g/onap-discuss/message/18717
Mute This Topic: https://lists.onap.org/mt/32748954/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to