Hi All
I've upgraded to Foreman v1.1, and have noticed that facts for my NetApp
filers aren't being populated in Foreman…
Have used the Foreman installer module to setup and configure Foreman with
Puppet under Passenger.
Node.rb is set to ":facts => true", and I'm getting successful fact storage
for other nodes…
However any fact reports from my NetApp filers get rejected with a HTTP 400
code:
192.168.150.123 - - [05/Apr/2013:09:30:04 +0100] "POST /fact_values/create
HTTP/1.1" 400 919 "-" "-"
I've had a look at the base Facts.yaml files, and cant notice anything
syntactically different between a netapp report that isnt work and one that
is working…
Couple of examples:
$ cat /var/lib/puppet/yaml/facts/actint-star-nactl01.yaml
— !ruby/object:Puppet::Node::Facts
values:
memorysize: "1151"
clientcert: actint-star-nactl01
hostname: actint-star-nactl01
system_revision: ""
system_machine_type: SIMBOX
hardwaremodel: SIMBOX
partner_system_id: ""
number_of_processors: "2"
operatingsystem: "NetApp Release 8.0.4RC1 7-Mode: Wed Sep 5 10:55:52
PDT 2012"
partner_serial_number: ""
system_id: "4061490550"
clientversion: "3.1.0"
!ruby/sym "_timestamp": 2013-04-05 09:32:55.682040 +01:00
system_serial_number: "4061490-55-0"
processor: ""
expiration: 2013-04-05 11:32:55.620438 +01:00
name: actint-star-nactl01
$ cat /var/lib/puppet/yaml/facts/actint-star-f501.card.co.uk.yaml
— !ruby/object:Puppet::Node::Facts
values:
system_name: Linux
pva_version: ""
hardware_name: cpus
annunciator_board_serial: ""
fqdn: actint-star-f501.card.co.uk
macaddress: "00:50:56:8F:00:24"
partition: Common
disk_size_shared: "20158 MB"
uptime_seconds: "1275125"
clientcert: actint-star-f501.card.co.uk
os_release: "2.6.32-71.18.2.el6.f5.x86_64"
hardware_cpus: cpus
hostname: actint-star-f501
version: BIG-IP_v11.1.0
hardware_slot: "0"
switch_board_serial: ""
annunciator_board_part_revision: ""
hardwaremodel: x86_64
os_version: "#1 SMP Wed Feb 20 01:30:12 PST 2013"
host_board_part_revision: ""
group_id: DefaultGroup
disk_size_var: "3023 MB"
disk_free_config: "2796 MB"
disk_size_varlibmysql: "12095 MB"
chassis_serial: "420f6693-8d63-a1e9-bbe03a83193a"
uptime_hours: "354"
disk_size_usr: "1685 MB"
disk_free_usr: "531 MB"
uptime_days: "14"
platform: Z100
hardware_model: "Six-Core AMD Opteron™ Processor 2435"
disk_free_shared: "17528 MB"
system_id: F52941D5-1974-EED0-D29B-75ED436856F0
hardware_cpus_slot: "0"
disk_size_varlog: "7055 MB"
clientversion: "3.1.0"
domain: card.co.uk
!ruby/sym "timestamp": 2013-04-05 09:12:22.660220 +01:00
disk_free: "46 MB"
hardware_cpu_mhz: "2600.169"
disk_size_: "247 MB"
host_board_serial: ""
marketing_name: "BIG-IP Virtual Edition"
disk_free_varlibmysql: "10741 MB"
switch_board_part_revision: ""
uptime: "14 days"
timezone: BST
product_category: "Virtual Edition"
disk_free_var: "2609 MB"
disk_size_config: "3023 MB"
hardware_cores: "2"
hardware_cpus_model: "Six-Core AMD Opteron™ Processor 2435"
hardware_versions:
"#<SOAP::Mapping::Object:0x7fc25367cd08>#<SOAP::Mapping::Object:0x7fc25367b278>#<SOAP::Mapping::Object:0x7fc253679a90>"
disk_free_varlog: "6409 MB"
hardware_cache_size: "512 KB"
expiration: 2013-04-05 11:12:22.406777 +01:00
name: actint-star-f501.card.co.uk
I'm pretty sure these facts used to work pre v1.1, so not sure what has
changed to make them not work now… My fact code hasn't changed in a
while, and closely mirrors the Puppetlabs-F5 fact code…
Any ideas???
Cheers
Gavin