Hi,
Can you try setting local_interface = enp3s0f1 in undercloud.conf
assuming enp3s0f1 is the interface used for the provisioning network?
On Mon, May 2, 2016 at 11:32 PM, Laporte, Laurent [CTO]
<Laurent.Laporte(a)sprint.com> wrote:
Thanks for the pointers!
I tried it out and kept running into the same problem. I decided to wipe
the slate clean and reimaged the box. I used the undercloud.conf file shown
below and still received what looks to be the same error (see below). It
looks like the python script is still looking for
/sys/class/net/eth1/address.
_______________________________begin_undercloud.conf________________________
[DEFAULT]
local_ip = x.y.40.11/24
undercloud_public_vip = x.y.40.12
undercloud_admin_vip = x.y.40.13
#local_interface = eth1
masquerade_network = x.y.40.0/24
dhcp_start = x.y.40.150
dhcp_end = x.y.40.199
network_cidr = x.y.40.0/24
network_gateway = x.y.40.11
discovery_iprange = x.y.40.200,x.y.40.230
discovery_runbench = false
undercloud_service_certificate = /etc/pki/instack-certs/undercloud.pem
_______________________________end_undercloud.conf_________________________
_______________________________begin_errorfile______________________________
[2016-05-02 16:04:14,492] (os-refresh-config) [INFO] Starting phase
configure
dib-run-parts Mon May 2 16:04:14 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/00-apply-selinux-policy
+ set -o pipefail
+ '[' -x /usr/sbin/semanage ']'
+ semodule -i /opt/stack/selinux-policy/ipxe.pp
dib-run-parts Mon May 2 16:04:27 CDT 2016 00-apply-selinux-policy completed
dib-run-parts Mon May 2 16:04:27 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/20-os-apply-config
[2016/05/02 04:04:27 PM] [WARNING] DEPRECATED: falling back to
/var/run/os-collect-config/os_config_files.json
[2016/05/02 04:04:27 PM] [INFO] writing /etc/os-net-config/config.json
[2016/05/02 04:04:27 PM] [INFO] writing /root/stackrc
[2016/05/02 04:04:27 PM] [INFO] writing /etc/puppet/hiera.yaml
[2016/05/02 04:04:27 PM] [INFO] writing
/mnt/state/var/lib/ironic/virtual-power-key
[2016/05/02 04:04:27 PM] [INFO] writing /var/opt/undercloud-stack/masquerade
[2016/05/02 04:04:27 PM] [INFO] writing /etc/puppet/hieradata/RedHat.yaml
[2016/05/02 04:04:27 PM] [INFO] writing /root/tripleo-undercloud-passwords
[2016/05/02 04:04:27 PM] [INFO] success
dib-run-parts Mon May 2 16:04:27 CDT 2016 20-os-apply-config completed
dib-run-parts Mon May 2 16:04:27 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/20-os-net-config
++ os-apply-config --key os_net_config --type raw --key-default ''
[2016/05/02 04:04:27 PM] [WARNING] DEPRECATED: falling back to
/var/run/os-collect-config/os_config_files.json
+ NET_CONFIG='{"network_config": [{"ovs_extra":
["br-set-external-id
br-ctlplane bridge-id br-ctlplane"], "type": "ovs_bridge",
"addresses":
[{"ip_netmask": "10.0.40.11/24"}], "members":
[{"type": "interface",
"primary": "true", "name": "eth1"}],
"name": "br-ctlplane"}]}'
+ '[' -n '{"network_config": [{"ovs_extra":
["br-set-external-id br-ctlplane
bridge-id br-ctlplane"], "type": "ovs_bridge",
"addresses": [{"ip_netmask":
"10.0.40.11/24"}], "members": [{"type":
"interface", "primary": "true",
"name": "eth1"}], "name": "br-ctlplane"}]}'
']'
+ trap configure_safe_defaults EXIT
+ os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
[2016/05/02 04:04:27 PM] [INFO] Using config file at:
/etc/os-net-config/config.json
[2016/05/02 04:04:27 PM] [INFO] Using mapping file at:
/etc/os-net-config/mapping.yaml
[2016/05/02 04:04:27 PM] [INFO] Ifcfg net config provider created.
[2016/05/02 04:04:27 PM] [INFO] nic1 mapped to: enp3s0f0
[2016/05/02 04:04:27 PM] [INFO] nic2 mapped to: enp3s0f1
[2016/05/02 04:04:27 PM] [INFO] adding bridge: br-ctlplane
[2016/05/02 04:04:27 PM] [ERROR] Unable to read mac address: eth1
Traceback (most recent call last):
File "/bin/os-net-config", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 185, in
main
provider.add_object(obj)
File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line
55, in add_object
self.add_bridge(obj)
File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line
305, in add_bridge
data = self._add_common(bridge)
File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line
135, in _add_common
mac = utils.interface_mac(base_opt.primary_interface_name)
File "/usr/lib/python2.7/site-packages/os_net_config/utils.py", line 46,
in interface_mac
with open('/sys/class/net/%s/address' % name, 'r') as f:
IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
+ RETVAL=1
+ [[ 1 == 2 ]]
+ [[ 1 != 0 ]]
+ echo 'ERROR: os-net-config configuration failed.'
ERROR: os-net-config configuration failed.
+ exit 1
+ configure_safe_defaults
+ [[ 1 == 0 ]]
+ cat
++ ls /sys/class/net
++ grep -v '^lo$'
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp3s0f0/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp3s0f0 up
++ cat /sys/class/net/enp3s0f0/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp3s0f1/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp3s0f1 up
++ cat /sys/class/net/enp3s0f1/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp4s0f0/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp4s0f0 up
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ TRIES=10
+ '[' 0 == 0 -a 10 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=9
+ '[' 0 == 0 -a 9 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=8
+ '[' 0 == 0 -a 8 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=7
+ '[' 0 == 0 -a 7 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=6
+ '[' 0 == 0 -a 6 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=5
+ '[' 0 == 0 -a 5 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=4
+ '[' 0 == 0 -a 4 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=3
+ '[' 0 == 0 -a 3 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=2
+ '[' 0 == 0 -a 2 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=1
+ '[' 0 == 0 -a 1 -gt 0 ']'
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=0
+ '[' 0 == 0 -a 0 -gt 0 ']'
+ '[' 0 == 1 ']'
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp4s0f1/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp4s0f1 up
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ TRIES=10
+ '[' 0 == 0 -a 10 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=9
+ '[' 0 == 0 -a 9 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=8
+ '[' 0 == 0 -a 8 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=7
+ '[' 0 == 0 -a 7 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=6
+ '[' 0 == 0 -a 6 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=5
+ '[' 0 == 0 -a 5 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=4
+ '[' 0 == 0 -a 4 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=3
+ '[' 0 == 0 -a 3 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=2
+ '[' 0 == 0 -a 2 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=1
+ '[' 0 == 0 -a 1 -gt 0 ']'
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=0
+ '[' 0 == 0 -a 0 -gt 0 ']'
+ '[' 0 == 1 ']'
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/virbr0/addr_assign_type
+ local mac_addr_type=1
+ '[' 1 '!=' 0 ']'
+ echo 'Device has generated MAC, skipping.'
Device has generated MAC, skipping.
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/virbr0-nic/addr_assign_type
+ local mac_addr_type=3
+ '[' 3 '!=' 0 ']'
+ echo 'Device has generated MAC, skipping.'
Device has generated MAC, skipping.
+ os-net-config -c /etc/os-net-config/dhcp_all_interfaces.yaml -v
--detailed-exit-codes --cleanup
[2016/05/02 04:04:48 PM] [INFO] Using config file at:
/etc/os-net-config/dhcp_all_interfaces.yaml
[2016/05/02 04:04:48 PM] [INFO] Using mapping file at:
/etc/os-net-config/mapping.yaml
[2016/05/02 04:04:48 PM] [INFO] Ifcfg net config provider created.
[2016/05/02 04:04:48 PM] [INFO] nic1 mapped to: enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] nic2 mapped to: enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] adding interface: enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] adding interface: enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] applying network configs...
[2016/05/02 04:04:48 PM] [INFO] running ifdown on interface: enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] running ifdown on interface: enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/ifcfg-enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/ifcfg-enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/route-enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/route-enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/route6-enp3s0f1
[2016/05/02 04:04:48 PM] [INFO] Writing config
/etc/sysconfig/network-scripts/route6-enp3s0f0
[2016/05/02 04:04:48 PM] [INFO] running ifup on interface: enp3s0f1
Traceback (most recent call last):
File "/bin/os-net-config", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 187, in
main
activate=not opts.no_activate)
File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line
572, in apply
self.ifup(interface)
File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line
164, in ifup
self.execute(msg, '/sbin/ifup', interface)
File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line
144, in execute
processutils.execute(cmd, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py",
line 275, in execute
cmd=sanitized_cmd)
oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while
running command.
Command: /sbin/ifup enp3s0f1
Exit code: 1
Stdout: u'\nDetermining IP information for enp3s0f1... failed.\n'
Stderr: u''
+ RETVAL=1
+ [[ 1 == 2 ]]
+ [[ 1 != 0 ]]
+ echo 'ERROR: configuration of safe defaults failed.'
ERROR: configuration of safe defaults failed.
[2016-05-02 16:05:54,126] (os-refresh-config) [ERROR] during configure
phase. [Command '['dib-run-parts',
'/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status
1]
[2016-05-02 16:05:54,126] (os-refresh-config) [ERROR] Aborting...
_______________________________end_errorfile_______________________________
From: Qasim Sarfraz [mailto:qasims@plumgrid.com]
Sent: Sunday, May 01, 2016 11:46 PM
To: Laporte, Laurent [CTO]
Cc: rdo-list(a)redhat.com
Subject: Re: [Rdo-list] TripleO - undercloud deployment failing network
configuration
Hi Laporte,
Yes, this is an issue with your undercloud.conf. Set the appropriate PXE
interface in undercloud.conf using following and retry:
Network interface on the Undercloud that will be handling the PXE
# boots and DHCP for Overcloud instances. (string value)
#local_interface = eth1
On Monday, May 2, 2016, Laporte, Laurent [CTO] <Laurent.Laporte(a)sprint.com>
wrote:
Hello,
I hope that this is the correct forum to post this message.
I am in the process of deploying TripleO. My undercloud machine is a
DL360G7 (36GB RAM) and I’m using CentOS 7. The undercloud installation is
failing while os-refresh-config is running. It appears that the error is:
[ERROR] Unable to read mac address: eth1. On this machine, I have four
interfaces, and they are enp3s0f0, enp3s0f1, enp4s0f0, and enp4s0f1. It
looks like the script is searching for the interface information in
/sys/class/eth<x>, and when I check there, I see links to the ifcfg-xxx
files in /etc/sysconfig/network-scripts and not the eth<x> that the script
is expecting. Has anyone ran into this issue (or something similar)?
Thanks,
Larry
[2016-04-28 10:54:23,615] (os-refresh-config) [INFO] Starting phase
configure
dib-run-parts Thu Apr 28 10:54:23 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/00-apply-selinux-policy
+ set -o pipefail
+ '[' -x /usr/sbin/semanage ']'
+ semodule -i /opt/stack/selinux-policy/ipxe.pp
dib-run-parts Thu Apr 28 10:54:36 CDT 2016 00-apply-selinux-policy completed
dib-run-parts Thu Apr 28 10:54:36 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/20-os-apply-config
[2016/04/28 10:54:36 AM] [WARNING] DEPRECATED: falling back to
/var/run/os-collect-config/os_config_files.json
[2016/04/28 10:54:36 AM] [INFO] writing /etc/os-net-config/config.json
[2016/04/28 10:54:36 AM] [INFO] writing /root/stackrc
[2016/04/28 10:54:36 AM] [INFO] writing /etc/puppet/hiera.yaml
[2016/04/28 10:54:36 AM] [INFO] writing
/mnt/state/var/lib/ironic/virtual-power-key
[2016/04/28 10:54:36 AM] [INFO] writing /var/opt/undercloud-stack/masquerade
[2016/04/28 10:54:36 AM] [INFO] writing /etc/puppet/hieradata/RedHat.yaml
[2016/04/28 10:54:36 AM] [INFO] writing /root/tripleo-undercloud-passwords
[2016/04/28 10:54:36 AM] [INFO] success
dib-run-parts Thu Apr 28 10:54:36 CDT 2016 20-os-apply-config completed
dib-run-parts Thu Apr 28 10:54:36 CDT 2016 Running
/usr/libexec/os-refresh-config/configure.d/20-os-net-config
++ os-apply-config --key os_net_config --type raw --key-default ''
[2016/04/28 10:54:36 AM] [WARNING] DEPRECATED: falling back to
/var/run/os-collect-config/os_config_files.json
+ NET_CONFIG='{"network_config": [{"ovs_extra":
["br-set-external-id
br-ctlplane bridge-id br-ctlplane"], "type": "ovs_bridge",
"addresses":
[{"ip_netmask": "10.0.40.11/24"}], "members":
[{"type": "interface",
"primary": "true", "name": "eth1"}],
"name": "br-ctlplane"}]}'
+ '[' -n '{"network_config": [{"ovs_extra":
["br-set-external-id br-ctlplane
bridge-id br-ctlplane"], "type": "ovs_bridge",
"addresses": [{"ip_netmask":
"10.0.40.11/24"}], "members": [{"type":
"interface", "primary": "true",
"name": "eth1"}], "name": "br-ctlplane"}]}'
']'
+ trap configure_safe_defaults EXIT
+ os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
[2016/04/28 10:54:36 AM] [INFO] Using config file at:
/etc/os-net-config/config.json
[2016/04/28 10:54:36 AM] [INFO] Using mapping file at:
/etc/os-net-config/mapping.yaml
[2016/04/28 10:54:36 AM] [INFO] Ifcfg net config provider created.
[2016/04/28 10:54:36 AM] [INFO] nic1 mapped to: enp3s0f0
[2016/04/28 10:54:36 AM] [INFO] nic2 mapped to: enp3s0f1
[2016/04/28 10:54:36 AM] [INFO] nic3 mapped to: enp4s0f0
[2016/04/28 10:54:36 AM] [INFO] nic4 mapped to: enp4s0f1
[2016/04/28 10:54:36 AM] [INFO] adding bridge: br-ctlplane
[2016/04/28 10:54:36 AM] [ERROR] Unable to read mac address: eth1
Traceback (most recent call last):
File "/bin/os-net-config", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 185, in
main
provider.add_object(obj)
File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line
55, in add_object
self.add_bridge(obj)
File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line
305, in add_bridge
data = self._add_common(bridge)
File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line
135, in _add_common
mac = utils.interface_mac(base_opt.primary_interface_name)
File "/usr/lib/python2.7/site-packages/os_net_config/utils.py", line 46,
in interface_mac
with open('/sys/class/net/%s/address' % name, 'r') as f:
IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
+ RETVAL=1
+ [[ 1 == 2 ]]
+ [[ 1 != 0 ]]
+ echo 'ERROR: os-net-config configuration failed.'
ERROR: os-net-config configuration failed.
+ exit 1
+ configure_safe_defaults
+ [[ 1 == 0 ]]
+ cat
++ ls /sys/class/net
++ grep -v '^lo$'
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp3s0f0/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp3s0f0 up
++ cat /sys/class/net/enp3s0f0/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp3s0f1/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp3s0f1 up
++ cat /sys/class/net/enp3s0f1/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp4s0f0/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp4s0f0 up
++ cat /sys/class/net/enp4s0f0/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/enp4s0f1/addr_assign_type
+ local mac_addr_type=0
+ '[' 0 '!=' 0 ']'
+ ip link set dev enp4s0f1 up
++ cat /sys/class/net/enp4s0f1/carrier
+ HAS_LINK=1
+ TRIES=10
+ '[' 1 == 0 -a 10 -gt 0 ']'
+ '[' 1 == 1 ']'
+ cat
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/virbr0/addr_assign_type
+ local mac_addr_type=1
+ '[' 1 '!=' 0 ']'
+ echo 'Device has generated MAC, skipping.'
Device has generated MAC, skipping.
+ for iface in '$(ls /sys/class/net | grep -v ^lo$)'
++ cat /sys/class/net/virbr0-nic/addr_assign_type
+ local mac_addr_type=3
+ '[' 3 '!=' 0 ']'
+ echo 'Device has generated MAC, skipping.'
Device has generated MAC, skipping.
+ os-net-config -c /etc/os-net-config/dhcp_all_interfaces.yaml -v
--detailed-exit-codes --cleanup
[2016/04/28 10:54:37 AM] [INFO] Using config file at:
/etc/os-net-config/dhcp_all_interfaces.yaml
[2016/04/28 10:54:37 AM] [INFO] Using mapping file at:
/etc/os-net-config/mapping.yaml
[2016/04/28 10:54:37 AM] [INFO] Ifcfg net config provider created.
[2016/04/28 10:54:37 AM] [INFO] nic1 mapped to: enp3s0f0
[2016/04/28 10:54:37 AM] [INFO] nic2 mapped to: enp3s0f1
[2016/04/28 10:54:37 AM] [INFO] nic3 mapped to: enp4s0f0
[2016/04/28 10:54:37 AM] [INFO] nic4 mapped to: enp4s0f1
[2016/04/28 10:54:37 AM] [INFO] adding interface: enp3s0f0
[2016/04/28 10:54:37 AM] [INFO] adding interface: enp3s0f1
[2016/04/28 10:54:37 AM] [INFO] adding interface: enp4s0f0
[2016/04/28 10:54:37 AM] [INFO] adding interface: enp4s0f1
[2016/04/28 10:54:37 AM] [INFO] applying network configs...
[2016/04/28 10:54:37 AM] [INFO] No changes required for interface: enp3s0f1
[2016/04/28 10:54:37 AM] [INFO] No changes required for interface: enp3s0f0
[2016/04/28 10:54:37 AM] [INFO] No changes required for interface: enp4s0f0
[2016/04/28 10:54:37 AM] [INFO] No changes required for interface: enp4s0f1
+ RETVAL=0
+ [[ 0 == 2 ]]
+ [[ 0 != 0 ]]
[2016-04-28 10:54:37,229] (os-refresh-config) [ERROR] during configure
phase. [Command '['dib-run-parts',
'/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status
1]
[2016-04-28 10:54:37,229] (os-refresh-config) [ERROR] Aborting...
________________________________
Learn more on how to switch to Sprint and save 50% on most Verizon, AT&T or
T-Mobile rates. See
sprint.com/50off for details.
________________________________
This e-mail may contain Sprint proprietary information intended for the sole
use of the recipient(s). Any use by others is prohibited. If you are not the
intended recipient, please contact the sender and delete all copies of the
message.
--
Regards,
Qasim Sarfraz
_______________________________________________
Rdo-list mailing list
Rdo-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list
To unsubscribe: rdo-list-unsubscribe(a)redhat.com