Issue #17493 has been updated by Michael Stahnke.

    [root@instance-1352392970 ~(keystone_admin)]$ facter --debug --verbose
    invalid option: --verbose
    [root@instance-1352392970 ~(keystone_admin)]$ facter --debug 
    Caught recursion on kernel
    value for kernel is still nil
    Not an EC2 host
    value for lsbdistid is still nil
    value for ipaddress6_eth0 is still nil
    value for lsbdistrelease is still nil
    value for lsbdistrelease is still nil
    value for lsbmajdistrelease is still nil
    value for arp is still nil
    value for arp_virbr0_nic is still nil
    value for lsbdistdescription is still nil
    value for cfkey is still nil
    value for netmask_virbr0_nic is still nil
    value for ipaddress6_lo is still nil
    value for arp_virbr0 is still nil
    value for ipaddress_eth0 is still nil
    value for lsbrelease is still nil
    value for netmask_vnet0 is still nil
    Found no suitable resolves of 2 for iphostnumber
    value for iphostnumber is still nil
    value for ipaddress6_virbr0 is still nil
    value for network_eth0 is still nil
    value for sshecdsakey is still nil
    value for arp_lo is still nil
    value for lsbdistid is still nil
    Found no suitable resolves of 1 for xendomains
    value for xendomains is still nil
    Found no suitable resolves of 1 for swapencrypted
    value for swapencrypted is still nil
    value for ipaddress6_virbr0_nic is still nil
    value for vlans is still nil
    value for network_vnet0 is still nil
    value for netmask_eth0 is still nil
    value for ipaddress6_vnet0 is still nil
    value for arp_eth0 is still nil
    value for lsbdistrelease is still nil
    value for ipaddress_virbr0_nic is still nil
    value for network_virbr0_nic is still nil
    value for arp_vnet0 is still nil
    Found no suitable resolves of 2 for processor
    value for processor is still nil
    value for ipaddress_vnet0 is still nil
    value for arp_br100 is still nil
    value for ipaddress6_br100 is still nil
    value for lsbdistcodename is still nil
    value for ipaddress6 is still nil
    value for macaddress_lo is still nil
    architecture => x86_64
    augeasversion => 0.9.0
    domain => novalocal
    facterversion => 1.6.6
    fqdn => instance-1352392970.novalocal
    hardwareisa => x86_64
    hardwaremodel => x86_64
    hostname => instance-1352392970
    id => root
    interfaces => br100,eth0,lo,virbr0,virbr0_nic,vnet0
    ipaddress => 192.168.32.1
    ipaddress_br100 => 192.168.32.1
    ipaddress_lo => 127.0.0.1
    ipaddress_virbr0 => 192.168.122.1
    is_virtual => true
    kernel => Linux
    kernelmajversion => 2.6
    kernelrelease => 2.6.32-279.el6.x86_64
    kernelversion => 2.6.32
    macaddress => FA:16:3E:60:84:3C
    macaddress_br100 => FA:16:3E:60:84:3C
    macaddress_eth0 => FA:16:3E:60:84:3C
    macaddress_virbr0 => 52:54:00:A3:7B:C2
    macaddress_virbr0_nic => 52:54:00:A3:7B:C2
    macaddress_vnet0 => FE:16:3E:12:1B:07
    manufacturer => Red Hat
    memoryfree => 2.32 GB
    memorysize => 3.74 GB
    memorytotal => 3.74 GB
    netmask => 255.255.255.0
    netmask_br100 => 255.255.255.0
    netmask_lo => 255.0.0.0
    netmask_virbr0 => 255.255.255.0
    network_br100 => 192.168.32.0
    network_lo => 127.0.0.0
    network_virbr0 => 192.168.122.0
    operatingsystem => RedHat
    operatingsystemrelease => 6.3
    osfamily => RedHat
    path => 
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    physicalprocessorcount => 2
    processor0 => QEMU Virtual CPU version (cpu64-rhel6)
    processor1 => QEMU Virtual CPU version (cpu64-rhel6)
    processorcount => 2
    productname => KVM
    ps => ps -ef
    puppetversion => 2.6.17
    rubysitedir => /usr/lib/ruby/site_ruby/1.8
    rubyversion => 1.8.7
    selinux => true
    selinux_config_mode => enforcing
    selinux_config_policy => targeted
    selinux_current_mode => enforcing
    selinux_enforced => true
    selinux_mode => targeted
    selinux_policyversion => 24
    serialnumber => Not Specified
    sshdsakey => 
AAAAB3NzaC1kc3MAAACBAPAnlf6JvaQCKY93rNZUCCzy3NaD5IDcLetX6uNKsUOGuZP7l35wGQjvV2By+hUPoDmfpNscEQjKKCe6PAMQhfonG+S/hdYdGgc4y5TQhkJM+gCs3sy+TF0DSdu+FA5NDKzd4x1liOYQgJR4z4VdXPRSrQEg/SEOo7jHpDJAPq4xAAAAFQCwERiMd2ToZ9GcWdE58Jv0B438EwAAAIAxcgh1bsk95ug+x7qRO/ZznQ28ClG+4P/iBM+DS1rN9lnDp5ATNv4bFvyc43XKoKnbWxPOcH5nq2X0X3x4a8Vje3t43asoNXvZ7Ygxz2BWEKZ/wjg50vd5KDw0eiRKtM4OwfT8AiEMDBG7HoiVqxZD57mdUbMt6QHy5GDHURgCtAAAAIBQmf1BfetHGMrj53x+rBs7hdJFNDZGep7W723m8o6qflWrbk58bif6GV1vRz1xE/BkllkwUPVJ/eIg8AG3Cy3caZ7zdn/g7gLLB5ccTTVG4u7EhaVb/YOJgPeEUwlv4FqTSeUSqbKknbAs1Zx+S8Od70yFisHyq00Y8y5ynL/Myw==
    sshrsakey => 
AAAAB3NzaC1yc2EAAAABIwAAAQEA7nRzBU7v+R4l53MbWiOkE0FDaPQMXBoLv81CrxRnyfzpcT7/FpOdwDT7zwXS6yTstp67x3oY4oUTbhsje5+QiyAaN0x2pLkbThA1M2bdXldgD2rmppZsXE6lxI1yWTsC7LVQy/l9JT1liLxFoIvshAutIff/5uJE+i+XTnnt38sF7leveCMTPN1E5YRMhXVQp9VS77dcEBgeZLITwPyHNd197yR0j6FThw9CgYX2VEZpCwF7fxPXxbuhY+a6HRO1IevVRqqo88D3mlphHrvSQyGck9uyNpWFSUjtAEwkSFKbfwJmBimig9nae+q94WxPPYufX2H3SCK1+oRGrh0IYQ==
    swapfree => 1.50 GB
    swapsize => 1.50 GB
    timezone => EST
    type => Other
    uniqueid => a8c00800
    uptime => 1:17 hours
    uptime_days => 0
    uptime_hours => 1
    uptime_seconds => 4658
    virtual => kvm
    [root@instance-1352392970 ~(keystone_admin)]$ 
    [root@instance-1352392970 ~(keystone_admin)]$ 
    [root@instance-1352392970 ~(keystone_admin)]$ 
    [root@instance-1352392970 ~(keystone_admin)]$ yum update 
--enablerepo=epel-testing facter
    Loaded plugins: product-id, security, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    epel-testing/metalink                                                       
                                                                                
                                |  11 kB     00:00     
    epel-testing                                                                
                                                                                
                                | 4.3 kB     00:00     
    epel-testing/primary_db                                                     
                                                                                
                                | 304 kB     00:01     
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package facter.x86_64 0:1.6.6-1.el6 will be updated
    ---> Package facter.x86_64 0:1.6.14-1.el6 will be an update
    --> Finished Dependency Resolution
    Dependencies Resolved
    
===================================================================================================================================================================================================================
    Package                                         Arch                        
                    Version                                               
Repository                                             Size
    
===================================================================================================================================================================================================================
    Updating:
    facter                                          x86_64                      
                    1.6.14-1.el6                                          
epel-testing                                           57 k
    Transaction Summary
    
===================================================================================================================================================================================================================
    Upgrade       1 Package(s)
    Total download size: 57 k
    Is this ok [y/N]: y
    Downloading Packages:
    facter-1.6.14-1.el6.x86_64.rpm                                              
                                                                                
                                |  57 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Updating   : facter-1.6.14-1.el6.x86_64                                     
                                                                                
                                                 1/2 
    Cleanup    : facter-1.6.6-1.el6.x86_64                                      
                                                                                
                                                 2/2 
    Installed products updated.
    Verifying  : facter-1.6.14-1.el6.x86_64                                     
                                                                                
                                                 1/2 
    Verifying  : facter-1.6.6-1.el6.x86_64                                      
                                                                                
                                                 2/2 
    Updated:
    facter.x86_64 0:1.6.14-1.el6                                                
                                                                                
                                                     
    Complete!
    [root@instance-1352392970 ~(keystone_admin)]$ facter --debug 
    value for lsbdistid is still nil
    Error: 404 Not Found
    [root@instance-1352392970 ~(keystone_admin)]$ facter --debug --trace
    value for lsbdistid is still nil
    /usr/lib/ruby/1.8/open-uri.rb:277:in `open_http': 404 Not Found 
(OpenURI::HTTPError)
    from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
    from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
    from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
    from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
    from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
    from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
    from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
    from /usr/lib/ruby/site_ruby/1.8/facter/ec2.rb:5:in `metadata'
    from /usr/lib/ruby/site_ruby/1.8/facter/ec2.rb:30
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:81:in `load'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:81:in `load_file'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:43:in `load_all'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `each'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `load_all'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:35:in `each'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:35:in `load_all'
    from /usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:93:in `load_all'
    from /usr/lib/ruby/site_ruby/1.8/facter.rb:100:in `to_hash'
    from /usr/lib/ruby/site_ruby/1.8/facter/application.rb:26:in `run'
    from /usr/bin/facter:71
    [root@instance-1352392970 ~(keystone_admin)]$
----------------------------------------
Bug #17493: facter exits on openstack nodes (exception not caught, just bails)
https://projects.puppetlabs.com/issues/17493#change-76064

Author: Michael Stahnke
Status: Unreviewed
Priority: Normal
Assignee: 
Category: interface
Target version: 
Keywords: openstack ec2 facter
Branch: 
Affected Facter version: 1.6.14


In tracking https://bugzilla.redhat.com/show_bug.cgi?id=871211 from the Fedora 
project we found issues from an OpenStack dev at Red Hat. 
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13392/facter-1.6.14-1.el6
 has more comments as well. 

Apparently a change between 1.6.6 and 1.6.14 causes issues with openstack and 
facter.  

Causes problems with puppet runs on openstack compute nodes, it looks like the 
ec2_* facts fail because of openstack ip rules, which in turn cause puppet 
apply to fail 

    [root@instance ]$ rpm -q facter facter-1.6.14-1.el6.x86_64 
    [root@instance ]$ facter Error: 404 Not Found
    [root@instance ]$

more Info from Red Hat in next update.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to