Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ipmi_mac in nutanix_foundation_discover_nodes #724

Open
Rapsody09 opened this issue Jan 17, 2025 · 0 comments
Open

Missing ipmi_mac in nutanix_foundation_discover_nodes #724

Rapsody09 opened this issue Jan 17, 2025 · 0 comments

Comments

@Rapsody09
Copy link

Is your feature request related to a problem? Please describe.

We want ro be able to configure ipmi on our nodes, we are using nutanix_foundation_ipmi_config where field ipmi_mac is mandatory.
It seems that when using data nutanix_foundation_discover_nodes, we do not get this information :

              + block_id  = "XXXXXXXXXXXXXXXXX"
              + chassis_n = 1
              + model     = "XXXXXXXXXXXXXXXX"
              + nodes     = [
                  + {
                      + cluster_id                = ""
                      + configured                = false
                      + current_cvm_vlan_tag      = ""
                      + current_network_interface = "eth5.10"
                      + foundation_version        = "unknown"
                      + hypervisor                = "phoenix"
                      + hypervisor_version        = "phoenix-5.7_f86e8a13"
                      + ipv6_address              = "XXXXXXXXXXXXXXXXXX"
                      + model                     = "NX-8170-XX"
                      + node_position             = "A"
                      + node_serial               = "XXXXXXXXXXXXXXXX"
                      + node_uuid                 = "6e503d27-d14c-4d60-95fb-xxxxxxxxxxxxx"
                      + nos_version               = "0.0"
                      + svm_ip                    = ""
                    },
                ]

Describe the solution you'd like

We would like to retrive the mac adress of the ipmi in order to ba able to configure ipmi. Or is there any other way to configure ipmi without mac address ?

Describe alternatives you've considered

We can get ipmi_mac addresss when calling these request on foundation :

http://foundation_ip:8000/foundation/discover_nodes

  {
    "block_id": "XXXXXXXXXXXXX",
    "model": "NX-8170-XX",
    "chassis_n": 1,
    "nodes": [
      {
        "ipv6_address": "fe80::7ec2:55fxxxxxxxxxx",
        "node_position": "A",
        "configured": false,
        "node_uuid": "6e503d27-d14c-4d60-95fb-xxxxxxxxxxxx",
        "svm_ip": "",
        "cluster_id": null,
        "foundation_version": "unknown",
        "nos_version": "0.0",
        "hypervisor": "phoenix",
        "hypervisor_version": "phoenix-5.7_f86e8a13",
        "attributes": {
          "lcm_family": "smc_gen_13",
          "two_node_cluster": true,
          "one_node_cluster": true,
          "default_workload": "high_perf"
        },
        "current_network_interface": "eth5.10",
        "current_cvm_vlan_tag": "10",
        "ipmi_mac": "7c:c2:55:8d:05:XX",
        "node_serial": "XXXXXXXXXXXXX",
        "model": "NX-8170-XX"
      }
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant