Skip to content

sdc-server admin-ip fails to retrieve admin nic on CN aggr interfaces #14

Description

@mguegan

It seems that if a Compute Node is running with aggr interfaces (and nic_tag was setted correctly), sdc-server can't find the admin nic because nic_tags_provided is not present.

[root@headnode (brn0-32-212) ~]# sdc-server admin-ip 00000000-0000-0000-0000-0cc47ab2341c
Error: No admin nic found

Output of sdc-server nics :

[...]
  {
    "belongs_to_type": "server",
    "belongs_to_uuid": "00000000-0000-0000-0000-0cc47ab2341c",
    "mac": "0c:c4:7a:b2:34:1c",
    "owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
    "primary": false,
    "state": "provisioning",
    "ip": "10.1.0.58",
    "mtu": 1500,
    "netmask": "255.255.255.0",
    "nic_tag": "admin",
    "resolvers": [
      "10.1.0.14"
    ],
    "vlan_id": 0,
    "network_uuid": "51b5038d-6370-4239-a22e-51ba4c625bed"
  },
[...]

Same output but for a Compute Node without aggr interface :

[...]
  {
    "belongs_to_type": "server",
    "belongs_to_uuid": "00000000-0000-0000-0000-0cc47a524864",
    "mac": "0c:c4:7a:52:48:64",
    "owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
    "primary": false,
    "state": "provisioning",
    "ip": "10.1.0.43",
    "mtu": 1500,
    "netmask": "255.255.255.0",
    "nic_tag": "admin",
    "resolvers": [
      "10.1.0.14"
    ],
    "vlan_id": 0,
    "network_uuid": "51b5038d-6370-4239-a22e-51ba4c625bed",
    "nic_tags_provided": [
      "admin"
    ]
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions