Actions
Bug #8422
closedIP get set to 127.0.0.1
Difficulty:
Triaged:
Description
In web UI afrer new vm deployment finished IP address of primary interfaces get set to 127.0.0.1. And after I can't delete and or manage any vms.
[root@ca01srv00 dhcpd]# cat /var/lib/puppet/yaml/facts/ca01stest02.net.org.yaml --- !ruby/object:Puppet::Node::Facts name: ca01stest02.net.org expiration: 2014-11-17 13:36:59.066550 +00:00 values: operatingsystem: OracleLinux boardproductname: "440BX Desktop Reference Platform" is_pe: "false" serialnumber: "VMware-42 02 57 5f cc 69 1b b8-0e 6e 9f 01 46 cf 37 b0" path: "/sbin:/usr/sbin:/bin:/usr/bin" domain: net.org hardwareisa: x86_64 rubysitedir: /usr/lib/ruby/site_ruby/1.8 sshrsakey: "" selinux_current_mode: enforcing memoryfree: "1.70 GB" operatingsystemrelease: "6.5" puppetversion: "2.7.25" facterversion: "1.6.7" concat_basedir: /var/lib/puppet/concat kernelrelease: "3.10.59-1.el6.elrepo.x86_64" macaddress_eth0: "00:50:56:82:0C:7D" boardserialnumber: None memorysize: "1.96 GB" kernelmajversion: "3.10" environment: staging memorytotal: "1.96 GB" uptime_days: "2" is_virtual: "true" boardmanufacturer: "Intel Corporation" network_eth0: "172.16.104.0" network_lo: "127.0.0.0" kernel: Linux netmask_eth0: "255.255.255.0" macaddress: "00:50:56:82:0C:7D" netmask_lo: "255.0.0.0" uptime_seconds: "206753" augeasversion: "1.0.0" puppet_vardir: /var/lib/puppet ipaddress_eth0: "172.16.104.251" selinux: "true" swapsize: "992.00 MB" clientcert: ca01stest02.net.org clientversion: "2.7.25" swapfree: "992.00 MB" hostname: ca01stest02 sshdsakey: " type: Other selinux_policyversion: "28" virtual: vmware ipaddress: "172.16.104.251" physicalprocessorcount: "1" !ruby/sym "_timestamp": 2014-11-17 07:51:28.508131 -05:00 productname: "VMware Virtual Platform" netmask: "255.255.255.0" processor0: "Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz" selinux_enforced: "true" manufacturer: "VMware, Inc." selinux_config_mode: enforcing fqdn: ca01stest02.net.org rubyversion: "1.8.7" osfamily: RedHat kernelversion: "3.10.59" ipaddress_lo: "127.0.0.1" selinux_config_policy: targeted uptime_hours: "57" ps: "ps -ef" hardwaremodel: x86_64 root_home: /root uptime: "2 days" selinux_mode: targeted processorcount: "1" uniqueid: "10acfb68" interfaces: "eth0,lo" architecture: x86_64 timezone: EST
Files
Added by Marek Hulán over 10 years ago
Added by Marek Hulán over 10 years ago
Fixes #8422 - primary detection for non-discovered
We injected discovery way to chose primary interface to puppet fact
parser that is used also for not discovered host which are missing
discovery specific facts. Mac for such value was evaluated to nil
which matched also macaddress_lo so lo was chosen as primary
interface.
Actions
Fixes #8422 - primary detection for non-discovered
We injected discovery way to chose primary interface to puppet fact
parser that is used also for not discovered host which are missing
discovery specific facts. Mac for such value was evaluated to nil
which matched also macaddress_lo so lo was chosen as primary
interface.