Bug #2231

ipaddress_pcn0 fact no longer exists on Solaris systems

Added by Jim Pirzyk about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:05/07/2009
Priority:Normal Due date:
Assignee:Paul Nasrat % Done:

0%

Category:-
Target version:1.5.5
Keywords: Affected Facter version:
Branch:
Votes: 0

Description

Below is the output from 1.5.2 and 1.5.5rc1 (also does not work in 1.5.4). Note that ipaddress_pcn0 does not exist, but netmask_pcn0 does.

facter 1.5.5rc1 output

domain => home.pirzyk.org facterversion => 1.5.5rc1 fqdn => sol8.home.pirzyk.org hardwareisa => i386 hardwaremodel => i86pc hostname => sol8 id => pirzyk interfaces => lo0,pcn0 ipaddress => 192.168.1.5 is_virtual => false kernel => SunOS kernelmajversion => Generic_117351-61 kernelrelease => 5.8 kernelversion => Generic_117351-61 netmask_lo0 => 255.0.0.0 netmask_pcn0 => 255.255.255.0 operatingsystem => Solaris operatingsystemrelease => 5.8 ps => /bin/ps -ef puppetversion => 0.24.8 rubysitedir => /usr/local/lib/ruby/site_ruby/1.8 rubyversion => 1.8.7 sshdsakey => AAAAB3NzaC1kc3MAAACBALWdibBWb/Uy1EtVKLbXfb2JWPFwINAboUkIz1mcV8k6H22upVpNJ/apm35/BDlA5b+mWiPOu1GfNLFaELW2Ekjj5mTnu6bpLLkBOFdAgoHL09Extfj+MlPeEeoBP8RyJa1jLGUC0Jd3npmaulJl98vhOWI/+l7t3CHUEnbKDPsdAAAAFQCCioMR5Seyj2kpc2L/NXRJf1ggOwAAAIAgj9ehq/0th7UqLAjfTudhgTXIVgB2koU+JPkZrf3pdbIOUQS5IwinSEUAzYik6CLpJ9VQ4dTWO9jesdneme2Vwc32ZrQmaQ2pShEGC9gc3VS7lWldUR6kgFOz9fQotyrt1pzbg8T8OtHDTlpp+4HZ6GlZMkdJY5ZOKowMYt+9XwAAAIEAsSrmoW6BMBF7VQnXbhRIkRVEXq/g+ea+0Ii4ZnP0M5GxWdh9V+U9IZnjpaOKUCLAHq3ZMfBohLCThVqtg+13RtRXHoAFwv4f4/xzkzLOFLcZLVwMlbuQRZoBFj7f/KiKQclQvcCL0Cc9BZiB1dBlr1/FGBjF3CfpKpj5uFUkj8o= timezone => EDT uniqueid => 1a8f322a uptime => 16:49 hours virtual => physical

The older facter version

domain => home.pirzyk.org facterversion => 1.5.2 fqdn => sol8.home.pirzyk.org hardwareisa => i386 hardwaremodel => i86pc hostname => sol8 interfaces => lo0,pcn0 ipaddress => 192.168.1.5 ipaddress_pcn0 => 192.168.1.5 kernel => SunOS kernelrelease => 5.8 kernelversion => 5.8 netmask_pcn0 => 255.255.255.0 operatingsystem => Solaris operatingsystemrelease => 28_u5 ps => ps -ef puppetversion => 0.24.8 rubysitedir => /usr/local/lib/ruby/site_ruby/1.8 rubyversion => 1.8.7 sshdsakey => AAAAB3NzaC1kc3MAAACBALWdibBWb/Uy1EtVKLbXfb2JWPFwINAboUkIz1mcV8k6H22upVpNJ/apm35/BDlA5b+mWiPOu1GfNLFaELW2Ekjj5mTnu6bpLLkBOFdAgoHL09Extfj+MlPeEeoBP8RyJa1jLGUC0Jd3npmaulJl98vhOWI/+l7t3CHUEnbKDPsdAAAAFQCCioMR5Seyj2kpc2L/NXRJf1ggOwAAAIAgj9ehq/0th7UqLAjfTudhgTXIVgB2koU+JPkZrf3pdbIOUQS5IwinSEUAzYik6CLpJ9VQ4dTWO9jesdneme2Vwc32ZrQmaQ2pShEGC9gc3VS7lWldUR6kgFOz9fQotyrt1pzbg8T8OtHDTlpp+4HZ6GlZMkdJY5ZOKowMYt+9XwAAAIEAsSrmoW6BMBF7VQnXbhRIkRVEXq/g+ea+0Ii4ZnP0M5GxWdh9V+U9IZnjpaOKUCLAHq3ZMfBohLCThVqtg+13RtRXHoAFwv4f4/xzkzLOFLcZLVwMlbuQRZoBFj7f/KiKQclQvcCL0Cc9BZiB1dBlr1/FGBjF3CfpKpj5uFUkj8o= uniqueid => 1a8f322a virtual => physical

ifconfig-a (263 Bytes) Jim Pirzyk, 05/10/2009 06:30 pm

ifconfig_pcn0 (157 Bytes) Jim Pirzyk, 05/10/2009 06:30 pm

History

Updated by Paul Nasrat about 3 years ago

  • Status changed from Unreviewed to Needs More Information
  • Assignee set to Paul Nasrat

Please attach as two seperate files:

ifconfig -a ifconfig pcn0

Updated by Jim Pirzyk about 3 years ago

  • File ifconfig-a added
  • File ifconfig_pcn0 added
  • Status changed from Needs More Information to In Topic Branch Pending Review

Here’s the requested info.

Updated by Paul Nasrat about 3 years ago

  • Status changed from In Topic Branch Pending Review to Tests Insufficient

Thanks.

Due to odd state set, setting to in progress via tests insufficient.

Updated by Paul Nasrat about 3 years ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review

Fixed typo and added test, mailed to list pull from tickets/master/2231 branch of my repo

Updated by Jim Pirzyk about 3 years ago

Works now, but I was wondering if ipaddress_lo0 should be there? The loopback interface does not exist on my Fedora 9 system, although it is called just ‘lo’.

domain => home.pirzyk.org facterversion => 1.5.4 fqdn => sol8.home.pirzyk.org hardwareisa => i386 hardwaremodel => i86pc hostname => sol8 id => root interfaces => lo0,pcn0 ipaddress => 192.168.1.5 ipaddress_lo0 => 127.0.0.1 ipaddress_pcn0 => 192.168.1.5 is_virtual => false kernel => SunOS kernelmajversion => Generic_117351-61 kernelrelease => 5.8 kernelversion => Generic_117351-61 macaddress => 0:c:29:4c:d9:45 macaddress_pcn0 => 0:c:29:4c:d9:45 netmask_lo0 => 255.0.0.0 netmask_pcn0 => 255.255.255.0 network_lo0 => 127.0.0.0 network_pcn0 => 192.168.1.0 operatingsystem => Solaris operatingsystemrelease => 5.8 ps => /bin/ps -ef puppetversion => 0.24.8 rubysitedir => /usr/local/lib/ruby/site_ruby/1.8 rubyversion => 1.8.7 sshdsakey => AAAAB3NzaC1kc3MAAACBALWdibBWb/Uy1EtVKLbXfb2JWPFwINAboUkIz1mcV8k6H22upVpNJ/apm35/BDlA5b+mWiPOu1GfNLFaELW2Ekjj5mTnu6bpLLkBOFdAgoHL09Extfj+MlPeEeoBP8RyJa1jLGUC0Jd3npmaulJl98vhOWI/+l7t3CHUEnbKDPsdAAAAFQCCioMR5Seyj2kpc2L/NXRJf1ggOwAAAIAgj9ehq/0th7UqLAjfTudhgTXIVgB2koU+JPkZrf3pdbIOUQS5IwinSEUAzYik6CLpJ9VQ4dTWO9jesdneme2Vwc32ZrQmaQ2pShEGC9gc3VS7lWldUR6kgFOz9fQotyrt1pzbg8T8OtHDTlpp+4HZ6GlZMkdJY5ZOKowMYt+9XwAAAIEAsSrmoW6BMBF7VQnXbhRIkRVEXq/g+ea+0Ii4ZnP0M5GxWdh9V+U9IZnjpaOKUCLAHq3ZMfBohLCThVqtg+13RtRXHoAFwv4f4/xzkzLOFLcZLVwMlbuQRZoBFj7f/KiKQclQvcCL0Cc9BZiB1dBlr1/FGBjF3CfpKpj5uFUkj8o= timezone => EDT uniqueid => 1a8f322a uptime => 23:46 hours virtual => physical

Updated by Paul Nasrat about 3 years ago

  • Status changed from In Topic Branch Pending Review to Ready For Checkin

Please file a seperate bug for the loopback interface, whilst related it’s probably a seperate issue.

Updated by James Turnbull about 3 years ago

  • Status changed from Ready For Checkin to Closed

Updated by James Turnbull about 3 years ago

Pushed in commit:73e665629ce45230250afc5a354b7f9d7a0a4206 in branch master.

Also available in: Atom PDF