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

Service Address displayed incorrectly

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dcos-ui
    • Labels:

      Description

      When deploying a service into the dcos Virtual Network, without the checking the "Load Balanced" box, the Configuration Tab of the service in the DCOS UI correctly shows USER netwrok, but then under Port Definitions show an l4lb Service Address.

      Looking at http://leader.mesos/marathon/v2/tasks, the task was correctly created in the network:

      "tasks": [
      {
      "appId": "/ng",
      "host": "10.0.0.4",
      "id": "ng.4af98db6-a5d3-11e6-bbd7-70b3d5800001",
      "ipAddresses": [

      { "ipAddress": "9.0.1.130", "protocol": "IPv4" }

      ],

      Since the Load Balanced option was not checked no l4lb is configured. In my example, for a service called ng, the UI shows:

      Port Definitions
      Port Definition 1 (web)
      Service Address
      ng.marathon.l4lb.thisdcos.directory:80

      but the DNS name ng.marathon.l4lb.thisdcos.directory is not (ans should not) be configured:
      azureuser@dcos-master-21884700-0:~$ curl http://ng.marathon.l4lb.thisdcos.directory
      curl: (6) Could not resolve host: ng.marathon.l4lb.thisdcos.directory

      azureuser@dcos-master-21884700-0:~$ dig ng.marathon.l4lb.thisdcos.directoryyyyyyyyy
      dig: /opt/mesosphere/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libdns.so.162)

      ; <<>> DiG 9.10.3-P4-Ubuntu <<>> ng.marathon.l4lb.thisdcos.directory
      ;; global options: +cmd
      ;; Got answer:
      ;; >>HEADER<< opcode: QUERY, status: NXDOMAIN, id: 39412
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

      Instead the UI could show the DNS name resolving to the containerip:

      azureuser@dcos-master-21884700-0:~$ curl *http://ng.marathon.containerip.dcos.thisdcos.directoryrip.dcos.thisdcos.directory
      *<!DOCTYPE html>
      <html>
      <head>
      <title>Welcome to nginx!</title>
      <style>

      azureuser@dcos-master-21884700-0:~$ dig ng.marathon.containerip.dcos.thisdcos.directoryyyyyyyyy
      dig: /opt/mesosphere/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libdns.so.162)

      ; <<>> DiG 9.10.3-P4-Ubuntu <<>> ng.marathon.containerip.dcos.thisdcos.directory
      ;; global options: +cmd
      ;; Got answer:
      ;; >>HEADER<< opcode: QUERY, status: NOERROR, id: 29027
      ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
      [...]
      ;; ANSWER SECTION:
      ng.marathon.containerip.dcos.thisdcos.directory. 5 IN A 9.0.1.130

        Attachments

          Activity

            People

            • Assignee:
              rafa Rafael Corral (Inactive)
              Reporter:
              christophmsft Christoph Schittko (Inactive)
              Team:
              Frontend Team
              Watchers:
              Christoph Schittko (Inactive), Orlando Hohmeier, Rafael Corral (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: