Uploaded image for project: 'Music'
  1. Music
  2. MUSIC-72

cassandra music is not opening all required ports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Beijing Release
    • None
    • None

      The portal-cassandra chart is tearing itself down due to lack of open port on 9160 after boot.

      This ticket is to track the investigation into why the process isn't opening the socket.

      From my K8s env:

      kubectl -n onap get service|grep cassandra

      dev-portal-cassandra   ClusterIP   10.43.123.210   <none>        9160/TCP,7000/TCP,7001/TCP,7199/TCP,9042/TCP   1h

       

      root@dev-portal-cassandra-fcff7dd5b-rss2m:/# netstat -anp |grep LISTEN

      tcp        0      0 127.0.0.1:7199          0.0.0.0:*               LISTEN      -                  

      tcp        0      0 127.0.0.1:44740         0.0.0.0:*               LISTEN      -                  

      tcp        0      0 0.0.0.0:9042            0.0.0.0:*               LISTEN      -                  

      tcp        0      0 10.42.134.218:7000      0.0.0.0:*               LISTEN      -

       

      From my HEAT env:

      5d01655ce3e7        onap/music/cassandra_music:beijing   "docker-entrypoint.sh"   About an hour ago   Up About an hour               0.0.0.0:7000-7001->7000-7001/tcp, 0.0.0.0:7199->7199/tcp, 0.0.0.0:9042->9042/tcp, 0.0.0.0:9160->9160/tcp   deliveries_portal-cassandra_1

       

      root@5d01655ce3e7:/# netstat -anp |grep LISTEN

      tcp        0      0 127.0.0.11:32941        0.0.0.0:*               LISTEN      -                  

      tcp        0      0 127.0.0.1:53105         0.0.0.0:*               LISTEN      -                  

      tcp        0      0 0.0.0.0:9042            0.0.0.0:*               LISTEN      -                  

      tcp        0      0 172.18.0.5:7000         0.0.0.0:*               LISTEN      -                  

      tcp        0      0 127.0.0.1:7199          0.0.0.0:*               LISTEN      -

       

      I had to install netstat once in the containers.  I did it like this: apt-get update;apt-get install net-tools -y

            arthurdent3 arthurdent3
            mkhinda mkhinda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: