CLONE - Applications add route - default route - truenas scale

Description

Current Train: TrueNAS-SCALE-Angelfish-BETA

Apps -> Launch Docker Image.

Networking -> Add external interface -> IPAM Type Static

Here you are able to add an ip address and subnet.

Under add static route. you are unable to define a default route of 0.0.0.0/0

the closest you can get is a route to 0.0.0.0/1.

Problem/Justification

None

Impact

None

Activity

Show:

Boris Vasilenko 
June 21, 2022 at 2:22 PM
(edited)

I have double checked and looks like webUI sends correct "0.0.0.0/0". Here's example of JSON request which webUI sends:

{
  "id": "bca7a4cf-68dc-410b-b256-ebb44bccad65",
  "msg": "method",
  "method": "chart.release.create",
  "params": [
    {
      "catalog": "OFFICIAL",
      "item": "ix-chart",
      "release_name": "hello-world3",
      "train": "charts",
      "version": "2206.0.1",
      "values": {
        "release_name": "hello-world3",
        "image": {
          "repository": "hello-world",
          "tag": "latest",
          "pullPolicy": "IfNotPresent"
        },
        "containerCommand": [],
        "containerArgs": [],
        "containerEnvironmentVariables": [],
        "externalInterfaces": [
          {
            "hostInterface": "eth0",
            "ipam": {
              "type": "static",
              "staticIPConfigurations": [],
              "staticRoutes": [
                {
                  "destination": "0.0.0.0/0",
                  "gateway": "192.168.1.1"
                }
              ]
            }
          }
        ],
        "dnsPolicy": "Default",
        "dnsConfig": {
          "nameservers": [],
          "searches": [],
          "options": []
        },
        "portForwardingList": [],
        "hostPathVolumes": [],
        "emptyDirVolumes": [],
        "volumes": [],
        "tty": false,
        "stdin": false,
        "securityContext": {
          "privileged": false,
          "capabilities": []
        },
        "updateStrategy": "RollingUpdate"
      }
    }
  ]
}

Anders Herbjørnsen 
June 18, 2022 at 9:29 AM

The original issue resulted in a PR that allowed for 0.0.0.0/0 to be entered in the GUI.

However this does have no effect on the default route inside the container, which is still 172.x.x..x regardless.

Duplicate

Details

Assignee

Reporter

Impact

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created June 18, 2022 at 9:27 AM
Updated July 1, 2022 at 6:02 PM
Resolved June 28, 2022 at 12:12 PM