Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-958

hw-info only storing keys from `match_nodes_on` config

    XMLWordPrintable

Details

    • Hide

      `razor nodes nodeX hw_info` yields more than `mac` by default.

      Show
      `razor nodes nodeX hw_info` yields more than `mac` by default.
    • Analytics
    • 1
    • Analytics 2016-11-02

    Description

      When a node gets identified, only the hw_info that is used to identify the node is stored on the node. By default, only the mac (which comes from the netX properties) get stored:

      [root@puppet-razor-01 /]# razor nodes node1 hw_info
      From https://localhost:8151/api/collections/nodes/node1:
       
        mac: [01-01-01-01-01-01]
      

      That makes things more complicated when you want to change how you identify a node. Instead, all properties that iPXE sends should be recorded for future usage and lookup.

      The fix for this should work retroactively for nodes already in a system when they reboot. Out of scope. This will be done via set-node-hw-info.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scott.mcclellan Scott McClellan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support