Following are the /etc/hosts file for container and Policy VM: Policy VM:
root@onap-r2-policy:/home/ubuntu# cat /etc/hosts 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 127.0.0.1 onap-r2-policy onap/policy-drools container: policy@drools:/tmp/policy-install$ cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 172.18.0.4 drools Best Regards, Arun Arora From: [email protected] [mailto:[email protected]] On Behalf Of Arun Arora (c) Sent: 31 May 2018 11:58 To: [email protected] Subject: [onap-discuss] ONAP R2 HEAT Based Deployment: Hi All, I am deploying HEAT based ONAP R2. I am seeing the following error in Policy's "onap/policy-drools" container. Due to this the Robot health check also fails. Seems like vm1.mr.simpledemo.openecomp.org cannot be resolved. The debug.log and error.log from /var/log/onap/policy/pdpd of "onap/policy-drools" container are attached as well. Can you suggest any pointers to fix the issue.. Best Regards, Arun Arora [2018-06-01T17:16:18.718+00:00|WARN|HttpClient|UEB-source-unauthenticated.DCAE_CL_OUTPUT] Unknown host vm1.mr.simpledemo.onap.org; blacklisting for 10 minutes [2018-06-01T17:16:18.718+00:00|ERROR|BusConsumer$CambriaConsumerWrapper|UEB-source-unauthenticated.DCAE_CL_OUTPUT] CambriaConsumerWrapper [fetchTimeout=15000]: cannot fetch because of vm1.mr.simpledemo.onap.org - backoff for 15000 ms. [2018-06-01T17:16:30.946+00:00|ERROR|InlineBusTopicSink|UEB-source-PDPD-CONFIGURATION] SingleThreadedUebTopicSource [getTopicCommInfrastructure()=UEB, toString()=SingleThreadedBusTopicSource [consumerGroup=4fb0efde-ccb5-4cb3-a34e-54f394f36701, consumerInstance=drools, fetchTimeout=15000, fetchLimit=100, consumer=CambriaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[UEB-source-PDPD-CONFIGURATION,5,main], topicListeners=1, toString()=BusTopicBase [apiKey=, apiSecret=, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[vm1.mr.simpledemo.openecomp.org], topic=PDPD-CONFIGURATION, #recentEvents=0, locked=false, #topicListeners=1]]]]: cannot fetch because of java.net.UnknownHostException: vm1.mr.simpledemo.openecomp.org: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) at java.net.InetAddress.getAllByName0(InetAddress.java:1276) at java.net.InetAddress.getAllByName(InetAddress.java:1192) at java.net.InetAddress.getAllByName(InetAddress.java:1126) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at com.att.nsa.apiClient.http.HttpClient.runCall(HttpClient.java:708) at com.att.nsa.apiClient.http.HttpClient.get(HttpClient.java:384) at com.att.nsa.apiClient.http.HttpClient.get(HttpClient.java:368) at com.att.nsa.cambria.client.impl.CambriaConsumerImpl.fetch(CambriaConsumerImpl.java:87) at com.att.nsa.cambria.client.impl.CambriaConsumerImpl.fetch(CambriaConsumerImpl.java:64) at org.onap.policy.drools.event.comm.bus.internal.BusConsumer$CambriaConsumerWrapper.fetch(BusConsumer.java:180) at org.onap.policy.drools.event.comm.bus.internal.SingleThreadedBusTopicSource.run(SingleThreadedBusTopicSource.java:230) at java.lang.Thread.run(Thread.java:748) [2018-06-01T17:16:30.947+00:00|WARN|HostSelector|UEB-source-PDPD-CONFIGURATION] All hosts were blacklisted; reverting to full set of hosts. [2018-06-01T17:16:31.373+00:00|WARN|HttpClient|UEB-source-PDPD-CONFIGURATION] Unknown host vm1.mr.simpledemo.openecomp.org; blacklisting for 10 minutes [2018-06-01T17:16:31.373+00:00|ERROR|BusConsumer$CambriaConsumerWrapper|UEB-source-PDPD-CONFIGURATION] CambriaConsumerWrapper [fetchTimeout=15000]: cannot fetch because of vm1.mr.simpledemo.openecomp.org: Name or service not known - backoff for 15000 ms.
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
