Hi I use the $foreman_interfaces global variable in the puppet manifests that configure the network interfaces of a host.
After upgrading to foreman 1.11.3 (from foreman 1.9) the 'attached_devices' key is no longer present in the $foreman_interfaces hash for interfaces of type bond. In the example below, the comparison is shown between the interface information obtained from the API and the information stored in the $foreman_interfaces variable for the same host. The 'attached_devices' are absent in the latter. API: (https://foreman.dg.viaa.be/api/hosts/73/interfaces) ... {... , "mac":"00:0a:f7:4a:3e:60", "ip":"10.9.136.65", "type":"bond", "name":"dg-qas-tra-01.dg.viaa.be", "virtual":true, "identifier":"bond0", "managed":true, "mode":"balance-alb", "bond_options":"miimon=100", "primary":true, "provision":true, "id":102, *"attached_devices":"p1p1,p1p2"* } ... output of 'notify { $foreman_interfaces:}': Notice: { "mac"=>"00:0a:f7:4a:3e:60", "ip"=>"10.9.136.65", "type"=>"Bond", "name"=>"dg-qas-tra-01.dg.viaa.be", "attrs"=>{}, "virtual"=>true, "link"=>true, "identifier"=>"bond0", "tag"=>"", "attached_to"=>"", "managed"=>true, "mode"=>"balance-alb", "bond_options"=>"miimon=100", "primary"=>true, "provision"=>true, "subnet"=>{.....} } The same problem occurs when defining a new bond interface on a machine in foreman 1.11.3 so it is not a migration problem. -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
