Created attachment 615084 [details] Screenshot Description of problem: Noticed that my RHEL 5.8 system, once registered against my katello system, was not displaying information about its network interfaces despite having sent the information during the registration process. Version-Release number of selected component (if applicable): * candlepin-0.7.8-1.el6cf.noarch * candlepin-selinux-0.7.8-1.el6cf.noarch * candlepin-tomcat6-0.7.8-1.el6cf.noarch * katello-1.1.12-7.el6cf.noarch * katello-all-1.1.12-7.el6cf.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.1.8-1.el6cf.noarch * katello-cli-1.1.8-4.el6cf.noarch * katello-cli-common-1.1.8-4.el6cf.noarch * katello-common-1.1.12-7.el6cf.noarch * katello-configure-1.1.9-3.el6cf.noarch * katello-glue-candlepin-1.1.12-7.el6cf.noarch * katello-glue-pulp-1.1.12-7.el6cf.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-1.1.1-1.el6cf.noarch * pulp-1.1.12-1.el6cf.noarch * pulp-common-1.1.12-1.el6cf.noarch * pulp-selinux-server-1.1.12-1.el6cf.noarch and * subscription-manager-0.98.16.3-1.el5_8 How reproducible: Steps to Reproduce: 1. Subscribe a RHEL 5.8 Desktop x86 system using subcription-manager command 2. In Katello, check the system's facts for its network interfaces 3. Actual results: No network interface is listed (see screenshot) Expected results: Additional info: Here's the "facts" that my RHEL 5.8 is sending: [DEBUG: 2012-09-20 01:11:43 #12737] Resource PUT request: /candlepin/consumers/d813f367-2714-4781-928e-c34e013e8492, {"environment":{"id":3},"serviceLevel":"","facts":{"dmi.memory.use":"System Memory","network.ipaddr":"10.16.120.184","dmi.processor.status":"Populated:Enabled","dmi.system.family":"Red Hat Enterprise Linux","dmi.bios.version":"0.5.1","cpu.cpu_socket(s)":1,"dmi.system.uuid":"733d516e-9cd4-4f02-360f-1b38efbf7d41","net.interface.sit0.netmask":"Unknown","dmi.chassis.thermal_state":"Safe","dmi.memory.bank_locator":"Not Specified","dmi.memory.array_handle":"0x1000","dmi.bios.runtime_size":"96 KB","dmi.chassis.version":"Not Specified","dmi.bios.vendor":"Seabios","distribution.id":"Tikanga","dmi.system.serial_number":"Not Specified","dmi.system.product_name":"KVM","memory.swaptotal":"2097144","net.interface.eth0.broadcast":"10.16.120.255","dmi.memory.locator":"DIMM 0","dmi.processor.version":"Not Specified","virt.uuid":"733d516e-9cd4-4f02-360f-1b38efbf7d41","net.interface.eth0.netmask":"255.255.255.0","dmi.processor.voltage":" ","dmi.chassis.type":"Other","dmi.memory.data_width":"64 bit","dmi.chassis.boot-up_state":"Safe","net.interface.eth0.ipaddr":"10.16.120.184","net.interface.lo.ipaddr":"127.0.0.1","dmi.system.wake-up_type":"Power Switch","dmi.processor.upgrade":"Other","net.interface.sit0.ipaddr":"Unknown","system.entitlements_valid":"invalid","dmi.memory.speed":" (ns)","dmi.bios.address":"0xe8000","uname.release":"2.6.18-308.el5","uname.machine":"i686","dmi.processor.type":"Central Processor","dmi.bios.relase_date":"01/01/2007","dmi.memory.error_information_handle":"Not Provided","distribution.version":"5.8","dmi.chassis.power_supply_state":"Safe","cpu.core(s)_per_socket":1,"dmi.system.sku_number":"Not Specified","dmi.processor.family":"Other","dmi.system.status":"No errors detected","net.interface.lo.hwaddr":"00:00:00:00:00:00","uname.version":"#1 SMP Fri Jan 27 17:21:15 EST 2012","dmi.chassis.asset_tag":"Not Specified","network.hostname":"qeclient21.usersys.redhat.com","dmi.chassis.lock":"Not Present","net.interface.sit0.hwaddr":"00:00:00:00:00:00","dmi.processor.socket_designation":"CPU 1","memory.memtotal":"1034728","net.interface.sit0.broadcast":"Unknown","dmi.bios.bios_revision":"1.0","cpu.cpu(s)":1,"dmi.memory.type":"RAM","dmi.memory.total_width":"64 bit","distribution.name":"Red Hat Enterprise Linux Client","dmi.chassis.security_status":"Unknown","dmi.memory.maximum_capacity":"1 GB","net.interface.eth0.hwaddr":"52:54:00:20:20:03","dmi.memory.form_factor":"DIMM","uname.sysname":"Linux","net.interface.lo.netmask":"255.0.0.0","dmi.system.version":"RHEL 6.3.0 PC","dmi.memory.location":"Other","dmi.system.manufacturer":"Red Hat","net.interface.lo.broadcast":"0.0.0.0","dmi.chassis.manufacturer":"Red Hat","dmi.memory.error_correction_type":"Multi-bit ECC","dmi.memory.size":"1024 MB","dmi.chassis.serial_number":"Not Specified","virt.is_guest":true,"virt.host_type":"kvm","dmi.bios.rom_size":"64 KB","uname.nodename":"qeclient21.usersys.redhat.com"}}
2012-09-20 15:24:51 < thomasmckay> omaciel-mtg: fyi, the code is looking for ipv4_address and your facts are ipaddr. i assume code should check for both # interface listings come in the form of # # net.interface.em1.ipv4_address # net.interface.eth0.ipv4_broadcast # # there are multiple entries for each interface, but # we only need the ipv4 address def interfaces interfaces = [] facts.keys.each do |key| match = /net\.interface\.([^\.]*)/.match(key) if !match.nil? && !match[1].nil? interfaces << match[1] end end interface_set = [] interfaces.uniq.each do |interface| addr = facts["net.interface.#{interface}.ipv4_address"] interface_set << { :name => interface, :addr => addr } if addr != nil end interface_set end
*** Bug 859877 has been marked as a duplicate of this bug. ***
https://github.com/Katello/katello/pull/802
getting rid of 6.0.0 version since that doesn't exist
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open.