Uploaded image for project: 'Use Case Analysis'
  1. Use Case Analysis
  2. UCA-16

Rackspace 1.1.0 DNS failure on SDC/message-router in Portal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • None

      Update: 20170519: 1.0.0 is ok today - testing 1.1.0 before closing this

       

      Hi, I tried running the 1.1.0-SNAPSHOT version of the rackspace demo

      templates are running versions: artifacts/docker/gitlab at 1.0/1.0-SNAPSHOT/master

      Currently I am unable to navigate the SDC tab in portal.  It looks like DNS resolution has failed.

      Tried hacking the hosts file in the 1610-1 container - didnt fix it.

      in

      http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/applicationsHome

       

      on selecting  SDC

      sdc.api.simpledemo.openecomp.org refused to connect.

        

      checking the VM

       

      root@vm1-portal:~# docker ps
      CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                    NAMES
      5b67c345db19        ep:1610-1           "/PROJECT/OpenSour..."   44 minutes ago      Up 44 minutes       0.0.0.0:8006->8005/tcp, 0.0.0.0:8010->8009/tcp, 0.0.0.0:8989->8080/tcp   1610-1
      4bed7b593bd3        ecompdb:portal      "docker-entrypoint..."   44 minutes ago      Up 44 minutes                                                                                ecompdb_portal
      

       

       

      root@vm1-portal:~# docker exec -it 1610-1 bash

      getting

      root@5b67c345db19:/opt/apache-tomcat-8.0.37/logs/ecompportal#

       

       

      2017-05-18T20:24:36.741Z||EP HealthMonitor thread|ECOMP_PORTAL_BE||||org.openecomp.portalapp.portal.logging.logic.EPLogUtil|CRITICAL|ERR203E|ECOMP-PORTAL Back-end probably lost connectivity to UEB Cluster|  Check connectivity to UEB cluster which is configured under portal.properties file.
      2017-05-18T20:24:41.746Z||EP HealthMonitor thread|ECOMP_PORTAL_BE||||org.openecomp.portalapp.portal.ueb.EPUebHelper|||| Exception occurred while performing the UEB Healthcheck. Details: java.net.UnknownHostException: vm1-message-router
       at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
       at java.net.Socket.connect(Socket.java:589)
       at java.net.Socket.connect(Socket.java:538)
       at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
       at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
       at sun.net.www.http.HttpClient.New(HttpClient.java:308)
       at sun.net.www.http.HttpClient.New(HttpClient.java:326)
       at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
       at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
       at org.openecomp.portalapp.portal.ueb.EPUebHelper.checkAvailability(EPUebHelper.java:169)
       at org.openecomp.portalapp.portal.ueb.EPUebHelper$$FastClassBySpringCGLIB$$20f8a5be.invoke(<generated>)
       at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
       at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
       at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
       at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
       at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
       at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
       at org.openecomp.portalapp.portal.ueb.EPUebHelper$$EnhancerBySpringCGLIB$$5a794b30.checkAvailability(<generated>)
       at org.openecomp.portalapp.portal.listener.HealthMonitor.checkIfUebUp(HealthMonitor.java:344)
       at org.openecomp.portalapp.portal.listener.HealthMonitor.monitorEPHealth(HealthMonitor.java:158)
       at org.openecomp.portalapp.portal.listener.HealthMonitor.access$000(HealthMonitor.java:46)
       at org.openecomp.portalapp.portal.listener.HealthMonitor$1.run(HealthMonitor.java:200)
       
       
      

       

       

      root@5b67c345db19:/opt/apache-tomcat-8.0.37/logs/ecompportal# 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.17.0.2 5b67c345db19
       
      

       

      instead of hacking the hosts file - possibly pick up a recursive DNS fix in UCA-13 (but this is only for openstack?) - I pulled just before the merge of UCA-13 - so will redeploy

      following

      https://wiki.onap.org/display/DW/Installing+and+Running+the+ONAP+Demos

       related fix?

      https://gerrit.onap.org/r/#/c/4333/

            michaelobrien michaelobrien
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: