Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-413

In portal VNC pod refresh /etc/hosts entries

XMLWordPrintable

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

      Portal application assumes that its client (typically VNC container) has certain entries in /etc/hosts file that map host name alias to appropriate kubernetes service IP. E.g.:

      10.111.126.71 sdc.api.be.simpledemo.onap.org
      10.103.44.19 portal.api.simpledemo.onap.org
      10.110.95.76 policy.api.simpledemo.onap.org
      10.108.34.73 sdc.api.simpledemo.onap.org
      10.107.166.182 vid.api.simpledemo.onap.org
      10.107.100.231 aai.api.simpledemo.onap.org

      Currently the entries are added to the /etc/hosts file using init-container.

      However, the IPs can change (e.g. service redeployed) or kubernetes can rewrite /etc/hosts file as this is managed by kubernetes.

       

            yuryn yuryn
            yuryn yuryn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: