Project

General

Custom queries

Profile

Actions

Bug #10505

closed

Missing values in node.rb output

Added by Ben Tullis about 10 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
External Nodes
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'm using the ENC and node.rb mechanism with Foreman version 1.7.4

One of my nodes has suddenly started omitting certain critical classes in the output from the node.rb script.
When I click on the YAML link on the host detail page everything looks OK, but when I run the script there are certain details missing.

It's worth noting that:

  • I think they are the most recently added classes
  • There are a large number of interfaces on this host which have been erroneously uploaded by the puppet facts.

Issue http://projects.theforeman.org/issues/10279 seems relevant here as well.

This host is a docker server, so it has had lots of ephemeral interfaces named veth??????? which were uploaded to foreman automatically by puppet.
There are 619 interfaces beginning with 'veth' listed when I look at the output from the YAML link, but only 422 isted in the output from node.rb.

I don't want any of these interfaces to be defined, so I have temporarily enabled 'ignore_puppet_facts_for_provisioning' but I can't currently delete these interfaces from this host because it happens to be unmanaged, so I don't have the option to delete them in the interface. I haven't yet tried deleting them in the Rails console.

So it seems to me that it might be something to do with the total size of the yaml output. The output form the YAML link is 109KB but the size of the output from the node.rb script is only 76KB

Thanks.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #10279: erroneous collection of interface information in YAML outputResolved04/27/2015Actions
Related to Foreman - Feature #10260: Allow interfaces management for unmanaged hostsClosedMarek Hulán04/24/2015Actions
#1

Updated by Ben Tullis about 10 years ago

  • Related to Bug #10279: erroneous collection of interface information in YAML output added
#2

Updated by Ben Tullis about 10 years ago

  • Related to Feature #10260: Allow interfaces management for unmanaged hosts added
#4

Updated by Marek Hulán over 9 years ago

  • Status changed from New to Feedback
#6

Updated by Anonymous about 8 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF