Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4110

incorrect DNS name in vips endpoint

    Details

    • Story Points:
      3

      Description

      In some cases, the DNS name in `http://localhost:62080/v1/vips` is incorrect/different as compare to `http://localhost:62080/v1/records`. This happens if an app VIP label contains a dot '.' in its name. For instance,

      "key": "VIP_0",
       "value": "/api.kafka:80"
      

      would generate a DNS record as `api.kafka.marathon.l4lb.thisdcos.directory`. However, the vips endpoint would have `api-kafka.marathon.l4lb.thisdcos.directory`.

      This is happening because of https://github.com/dcos/dcos-net/blob/master/apps/dcos_rest/src/dcos_rest_vips_handler.erl#L45 piece of the code

        Attachments

          Activity

            People

            • Assignee:
              ivanchernetsky Ivan Chernetsky
              Reporter:
              dgoel Deepak Goel
              Team:
              Networking Team
              Watchers:
              Deepak Goel, Mergebot, Sergey Urbanovich
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: