Hi List,

I'm having some issues getting 802.1ad bonded interfaces working in
my compute nodes, and was wondering if anyone has had similar issues
and can assist.

I have a working 2.2 installation using Openstack Juno. I'm trying to
add bonded interfaces for the vrouter compute nodes. I start off with
a normal bond0 interface that is functional, then I run "fab
setup_vrouter". It cleanly exits, and I manually reboot. The network
does not come, almost as though the bond section of my testbed.py is
being ignored. It renames the ifcfg-bond0 file, and creates the
ifcfg-vhost0 file.

testbed.py portions

bond = {
    kpdevosch11: { 'name': 'bond0', 'member':
['enp16s0f0','eno1'], 'mode': '802.3ad', 'xmit_hash_policy':
'layer3+4' },
}

env.ostypes = {
     kpdevosch11: 'centos',
}

env.roledefs = {
    'compute': [kpdevosch11],
}

env.interface_rename = False
interface_rename = False

I'm curious, am I supposed to start off with a functional bonded
interface, or allow the setup to create the bond from a single
standalone NIC?

I've attached the log file (without passwords).

Any assistance will be greatly appreciated.

Cheers,
Matt

---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
[[email protected]] Executing task 'setup_vrouter'
2015-08-18 11:32:11:136060: [[email protected]] sudo: python -c 'from platform 
import linux_distribution; print linux_distribution()'
2015-08-18 11:32:11:136773: [[email protected]] out: ('CentOS Linux', 
'7.1.1503', 'Core')
2015-08-18 11:32:11:407737: [[email protected]] out:
2015-08-18 11:32:11:410197:
2015-08-18 11:32:11:417178: [[email protected]] sudo: python -c 'from platform 
import linux_distribution; print linux_distribution()'
2015-08-18 11:32:11:417755: [[email protected]] out: ('CentOS Linux', 
'7.1.1503', 'Core')
2015-08-18 11:32:11:807077: [[email protected]] out:
2015-08-18 11:32:11:807653:
2015-08-18 11:32:11:811097: [[email protected]] sudo: rpm -q 
--queryformat='%{VERSION}' openstack-nova-api
2015-08-18 11:32:11:811463: [[email protected]] out: 2014.2.2
2015-08-18 11:32:12:081879: INFO: Retrieve (/etc/nova/nova.conf) file from 
([email protected]) and copy to (/tmp/tmpaHL4Jg/nova.conf)
2015-08-18 11:32:12:082998: [[email protected]] run: (tempdir=$(mktemp -d); 
echo $tempdir)
2015-08-18 11:32:12:083116: [[email protected]] out: /tmp/tmp.utTFsHNGZ3
2015-08-18 11:32:12:204299: [[email protected]] out:
2015-08-18 11:32:12:205851:
2015-08-18 11:32:12:207260: [[email protected]] sudo: cp -rf 
/etc/nova/nova.conf /tmp/tmp.utTFsHNGZ3/tmpnova.conf
2015-08-18 11:32:12:207468: [[email protected]] sudo: chmod -R 777 
/tmp/tmp.utTFsHNGZ3/tmpnova.conf
2015-08-18 11:32:12:408744: [[email protected]] download: 
/tmp/tmpaHL4Jg/nova.conf <- /tmp/tmp.utTFsHNGZ3/tmpnova.conf
2015-08-18 11:32:12:698950: [[email protected]] sudo: rm -rf /tmp/tmp.utTFsHNGZ3
2015-08-18 11:32:12:708721: Keystone running in different node other than 
[[email protected]]
2015-08-18 11:32:12:853210: No dpdk section in testbed file on host 
[email protected].
2015-08-18 11:32:12:853470: [[email protected]] sudo: python -c 'from platform 
import linux_distribution; print linux_distribution()'
2015-08-18 11:32:12:853632: [[email protected]] out: ('CentOS Linux', 
'7.1.1503', 'Core')
2015-08-18 11:32:12:961533: [[email protected]] out:
2015-08-18 11:32:12:965220:
2015-08-18 11:32:12:969661: setup-vnc-compute --self_ip 10.168.0.167 --cfgm_ip 
10.168.0.180 --cfgm_user root --cfgm_passwd password --ncontrols 1 
--amqp_server_ip 10.168.0.183 --service_token 3ab1a3a925dc444c7930 
--orchestrator openstack --hypervisor libvirt --keystone_ip 10.168.0.183 
--openstack_mgmt_ip 10.168.0.183 --keystone_auth_protocol http 
--keystone_auth_port 35357 --quantum_service_protocol http 
--keystone_admin_user admin --keystone_admin_password password --nova_password 
password --neutron_password password --service_tenant_name service 
--metadata_secret password
2015-08-18 11:32:12:969907: [[email protected]] sudo: setup-vnc-compute 
--self_ip 10.168.0.167 --cfgm_ip 10.168.0.180 --cfgm_user root --cfgm_passwd 
password --ncontrols 1 --amqp_server_ip 10.168.0.183 --service_token 
3ab1a3a925dc444c7930 --orchestrator openstack --hypervisor libvirt 
--keystone_ip 10.168.0.183 --openstack_mgmt_ip 10.168.0.183 
--keystone_auth_protocol http --keystone_auth_port 35357 
--quantum_service_protocol http --keystone_admin_user admin 
--keystone_admin_password password --nova_password password --neutron_password 
password --service_tenant_name service --metadata_secret password
2015-08-18 11:32:12:970018: [[email protected]] out: [localhost] local: sudo 
sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new
2015-08-18 11:32:13:300766: [[email protected]] out: [localhost] local: sudo mv 
config.new /etc/selinux/config
2015-08-18 11:32:13:316378: [[email protected]] out: [localhost] local: 
setenforce 0
2015-08-18 11:32:13:323913: [[email protected]] out: setenforce: SELinux is 
disabled
2015-08-18 11:32:13:331428: [[email protected]] out:
2015-08-18 11:32:13:331557: [[email protected]] out: Warning: local() 
encountered an error (return code 1) while executing 'setenforce 0'
2015-08-18 11:32:13:331638: [[email protected]] out:
2015-08-18 11:32:13:331718: [[email protected]] out: [localhost] local: rm 
config.new
2015-08-18 11:32:13:331792: [[email protected]] out: rm: cannot remove 
âconfig.newâ: No such file or directory
2015-08-18 11:32:13:333482: [[email protected]] out:
2015-08-18 11:32:13:334849: [[email protected]] out: Warning: local() 
encountered an error (return code 1) while executing 'rm config.new'
2015-08-18 11:32:13:334964: [[email protected]] out:
2015-08-18 11:32:13:335045: [[email protected]] out: [localhost] local: sudo 
chkconfig iptables off
2015-08-18 11:32:13:335121: [[email protected]] out: Note: Forwarding request 
to 'systemctl disable iptables.service'.
2015-08-18 11:32:13:350752: [[email protected]] out: [localhost] local: sudo 
iptables --flush
2015-08-18 11:32:13:414588: [[email protected]] out: [localhost] local: sudo 
service iptables stop
2015-08-18 11:32:13:414751: [[email protected]] out: Redirecting to 
/bin/systemctl stop  iptables.service
2015-08-18 11:32:13:430355: [[email protected]] out: [localhost] local: sudo 
service ip6tables stop
2015-08-18 11:32:13:430488: [[email protected]] out: Redirecting to 
/bin/systemctl stop  ip6tables.service
2015-08-18 11:32:13:462908: [[email protected]] out: [localhost] local: sudo 
systemctl stop firewalld
2015-08-18 11:32:13:463163: [[email protected]] out: [localhost] local: sudo 
systemctl status firewalld
2015-08-18 11:32:13:478876: [[email protected]] out: firewalld.service - 
firewalld - dynamic firewall daemon
2015-08-18 11:32:13:494482: [[email protected]] out:    Loaded: loaded 
(/usr/lib/systemd/system/firewalld.service; disabled)
2015-08-18 11:32:13:494591: [[email protected]] out:    Active: inactive (dead)
2015-08-18 11:32:13:494658: [[email protected]] out:
2015-08-18 11:32:13:494719: [[email protected]] out: Aug 18 11:58:20 
kpdevosch11.unix.local systemd[1]: Stopped firewalld - dyna...
2015-08-18 11:32:13:494780: [[email protected]] out: Aug 18 12:02:13 
kpdevosch11.unix.local systemd[1]: Stopped firewalld - dyna...
2015-08-18 11:32:13:494843: [[email protected]] out: Hint: Some lines were 
ellipsized, use -l to show in full.
2015-08-18 11:32:13:494904: [[email protected]] out:
2015-08-18 11:32:13:494964: [[email protected]] out: Warning: local() 
encountered an error (return code 3) while executing 'sudo systemctl status 
firewalld'
2015-08-18 11:32:13:495023: [[email protected]] out:
2015-08-18 11:32:13:495085: [[email protected]] out: [localhost] local: sudo 
chkconfig firewalld off
2015-08-18 11:32:13:495144: [[email protected]] out: Note: Forwarding request 
to 'systemctl disable firewalld.service'.
2015-08-18 11:32:13:503155: [[email protected]] out: [localhost] local: sudo 
/usr/libexec/iptables/iptables.init stop
2015-08-18 11:32:13:567266: [[email protected]] out: iptabl[  OK  ]ing chains 
to policy ACCEPT: filter
2015-08-18 11:32:13:582825: [[email protected]] out:
2015-08-18 11:32:13:583745: [[email protected]] out: iptabl[  OK  ]hing 
firewall rules:
2015-08-18 11:32:13:584162: [[email protected]] out:
2015-08-18 11:32:13:584653: [[email protected]] out: iptabl[  OK  ]ading 
modules:
2015-08-18 11:32:13:685250: [[email protected]] out:
2015-08-18 11:32:13:685815: [[email protected]] out: [localhost] local: sudo 
/usr/libexec/iptables/ip6tables.init stop
2015-08-18 11:32:13:685976: [[email protected]] out: [localhost] local: sudo 
service iptables save
2015-08-18 11:32:13:702119: [[email protected]] out: [localhost] local: sudo 
service ip6tables save
2015-08-18 11:32:13:766118: [[email protected]] out: [localhost] local: 
iptables -L
2015-08-18 11:32:13:798221: [[email protected]] out: Chain INPUT (policy ACCEPT)
2015-08-18 11:32:13:806245: [[email protected]] out: target     prot opt source 
              destination
2015-08-18 11:32:13:807379: [[email protected]] out:
2015-08-18 11:32:13:807677: [[email protected]] out: Chain FORWARD (policy 
ACCEPT)
2015-08-18 11:32:13:808050: [[email protected]] out: target     prot opt source 
              destination
2015-08-18 11:32:13:808421: [[email protected]] out:
2015-08-18 11:32:13:809143: [[email protected]] out: Chain OUTPUT (policy 
ACCEPT)
2015-08-18 11:32:13:809758: [[email protected]] out: target     prot opt source 
              destination
2015-08-18 11:32:13:810270: [[email protected]] out: [localhost] local: sudo 
sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new
2015-08-18 11:32:13:810760: [[email protected]] out: [localhost] local: sudo mv 
/etc/sysconfig/init.new /etc/sysconfig/init
2015-08-18 11:32:13:827099: [[email protected]] out: [localhost] local: echo 
DAEMON_COREFILE_LIMIT="'unlimited'" >> /etc/sysconfig/init
2015-08-18 11:32:13:835085: [[email protected]] out: kernel.core_pattern = 
/var/crashes/core.%e.%p.%h.%t
2015-08-18 11:32:13:836775: [[email protected]] out: [localhost] local: grep -q 
'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 
'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf
2015-08-18 11:32:13:837202: [[email protected]] out: [localhost] local: sudo 
sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > 
/tmp/sysctl.new
2015-08-18 11:32:13:845145: [[email protected]] out: [localhost] local: sudo mv 
/tmp/sysctl.new /etc/sysctl.conf
2015-08-18 11:32:13:861053: [[email protected]] out: [localhost] local: rm 
/tmp/sysctl.new
2015-08-18 11:32:13:868829: [[email protected]] out: rm: cannot remove 
â/tmp/sysctl.newâ: No such file or directory
2015-08-18 11:32:13:872506: [[email protected]] out:
2015-08-18 11:32:13:872933: [[email protected]] out: Warning: local() 
encountered an error (return code 1) while executing 'rm /tmp/sysctl.new'
2015-08-18 11:32:13:873381: [[email protected]] out:
2015-08-18 11:32:13:873584: [[email protected]] out: [localhost] local: sysctl 
-p
2015-08-18 11:32:13:874022: [[email protected]] out: kernel.core_pattern = 
/var/crashes/core.%e.%p.%h.%t
2015-08-18 11:32:13:878061: [[email protected]] out: [localhost] local: mkdir 
-p /var/crashes
2015-08-18 11:32:13:878564: [[email protected]] out: [localhost] local: chmod 
777 /var/crashes
2015-08-18 11:32:13:882582: [[email protected]] out: Ignoring failure kernel 
core dump
2015-08-18 11:32:13:890408: [[email protected]] out: [localhost] local: 
chkconfig --list | grep kdump
2015-08-18 11:32:13:890815: [[email protected]] out:
2015-08-18 11:32:13:894526: [[email protected]] out: Note: This output shows 
SysV services only and does not include native
2015-08-18 11:32:13:894920: [[email protected]] out:       systemd services. 
SysV configuration data might be overridden by native
2015-08-18 11:32:13:895129: [[email protected]] out:       systemd 
configuration.
2015-08-18 11:32:13:895311: [[email protected]] out:
2015-08-18 11:32:13:895796: [[email protected]] out:       If you want to list 
systemd services use 'systemctl list-unit-files'.
2015-08-18 11:32:13:896048: [[email protected]] out:       To see services 
enabled on particular target use
2015-08-18 11:32:13:896233: [[email protected]] out:       'systemctl 
list-dependencies [target]'.
2015-08-18 11:32:13:896709: [[email protected]] out:
2015-08-18 11:32:13:897008: [[email protected]] out:
2015-08-18 11:32:13:899175: [[email protected]] out: Warning: local() 
encountered an error (return code 1) while executing 'chkconfig --list | grep 
kdump'
2015-08-18 11:32:13:899680: [[email protected]] out:
2015-08-18 11:32:13:899874: [[email protected]] out: WARNING: Seems kexec-tools 
is not installed. Skipping enable kdump
2015-08-18 11:32:13:900408: [[email protected]] out: [localhost] local: sudo 
sed -i 's/rpc_backend = nova.openstack.common.rpc.impl_qpid/#rpc_backend = 
nova.openstack.common.rpc.impl_qpid/g' /etc/nova/nova.conf
2015-08-18 11:32:13:900786: [[email protected]] out: [localhost] local: sudo 
grep -q '^cgroup_device_acl' /etc/libvirt/qemu.conf
2015-08-18 11:32:13:932898: [[email protected]] out: [localhost] local: sudo 
echo "alias bridge off" > /etc/modprobe.conf
2015-08-18 11:32:13:933433: [[email protected]] out: [localhost] local: sudo mv 
/tmp/tmpTHvfli/vrouter_nodemgr_param /etc/contrail/vrouter_nodemgr_param
2015-08-18 11:32:13:949339: [[email protected]] out: lo 10.168.0.167
2015-08-18 11:32:13:957108: [[email protected]] out: eno1 10.168.0.167
2015-08-18 11:32:13:957692: [[email protected]] out: eno2 10.168.0.167
2015-08-18 11:32:13:959108: [[email protected]] out: enp10s0f0 10.168.0.167
2015-08-18 11:32:13:960342: [[email protected]] out: enp10s0f1 10.168.0.167
2015-08-18 11:32:13:960866: [[email protected]] out: enp11s0f0 10.168.0.167
2015-08-18 11:32:13:961552: [[email protected]] out: enp11s0f1 10.168.0.167
2015-08-18 11:32:13:962511: [[email protected]] out: enp15s0f0 10.168.0.167
2015-08-18 11:32:13:963181: [[email protected]] out: enp15s0f1 10.168.0.167
2015-08-18 11:32:13:963369: [[email protected]] out: enp16s0f0 10.168.0.167
2015-08-18 11:32:13:963778: [[email protected]] out: enp16s0f1 10.168.0.167
2015-08-18 11:32:13:964164: [[email protected]] out: bond0 10.168.0.167
2015-08-18 11:32:13:964440: [[email protected]] out: [localhost] local: sudo mv 
/tmp/tmpTHvfli/default_pmac /etc/contrail/default_pmac
2015-08-18 11:32:13:965910: [[email protected]] out: [localhost] local: netstat 
-rn | grep ^"0.0.0.0" | head -n 1 | grep bond0 | awk '{ print $2 }'
2015-08-18 11:32:13:981786: [[email protected]] out: [localhost] local: sudo 
sed 's/dev=.*/dev=bond0/g' /etc/contrail/agent_param.tmpl > agent_param.new
2015-08-18 11:32:13:989547: [[email protected]] out: [localhost] local: sudo mv 
agent_param.new /etc/contrail/agent_param
2015-08-18 11:32:14:005395: [[email protected]] out: [localhost] local: sudo 
openstack-config --set /tmp/tmpTHvfli/vnswad.conf METADATA                      
  metadata_proxy_secret password
2015-08-18 11:32:14:013167: [[email protected]] out: [localhost] local: sudo cp 
/tmp/tmpTHvfli/vnswad.conf /etc/contrail/contrail-vrouter-agent.conf
2015-08-18 11:32:14:077194: [[email protected]] out: [localhost] local: sudo rm 
/tmp/tmpTHvfli/vnswad.conf*
2015-08-18 11:32:14:084969: [[email protected]] out: [localhost] local: grep 
"^nameserver\>" /etc/resolv.conf | awk  '{print $2}'
2015-08-18 11:32:14:100857: [[email protected]] out: [localhost] local: grep 
^"search" /etc/resolv.conf | awk '{$1="";print $0}'
2015-08-18 11:32:14:104861: [[email protected]] out: [localhost] local: 
ifconfig bond0 | grep mtu | awk '{ print $NF }'
2015-08-18 11:32:14:108713: [[email protected]] out: [localhost] local: sudo mv 
/tmp/tmpTHvfli/ifcfg-vhost0 /etc/sysconfig/network-scripts/ifcfg-vhost0
2015-08-18 11:32:14:116481: [[email protected]] out: [localhost] local: sync
2015-08-18 11:32:14:132387: [[email protected]] out: [localhost] local: sudo rm 
-f /tmp/tmpTHvfliifcfg-bond0
2015-08-18 11:32:14:136413: [[email protected]] out: [localhost] local: sudo mv 
/tmp/tmpTHvfli/ifcfg-bond0 /etc/contrail/
2015-08-18 11:32:14:152365: [[email protected]] out: [localhost] local: sudo 
chkconfig network on
2015-08-18 11:32:14:168232: [[email protected]] out: [localhost] local: sudo 
chkconfig supervisor-vrouter on
2015-08-18 11:32:14:232330: [[email protected]] out: [localhost] local: 
groupadd -f nogroup
2015-08-18 11:32:14:296462: [[email protected]] out: [localhost] local: sed -i 
s/'Defaults    requiretty'/'#Defaults    requiretty'/g /etc/sudoers
2015-08-18 11:32:14:297110: [[email protected]] out: [localhost] local: sudo mv 
/tmp/tmpTHvfli/contrail-vrouter-nodemgr.conf 
/etc/contrail/contrail-vrouter-nodemgr.conf
2015-08-18 11:32:14:297319: [[email protected]] out: [localhost] local: sudo 
echo SERVICE_TOKEN=3ab1a3a925dc444c7930 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:297814: [[email protected]] out: [localhost] local: sudo 
echo AUTH_PROTOCOL=http >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:313454: [[email protected]] out: [localhost] local: sudo 
echo QUANTUM_PROTOCOL=http >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:321190: [[email protected]] out: [localhost] local: sudo 
echo ADMIN_TOKEN=password >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:337028: [[email protected]] out: [localhost] local: sudo 
echo CONTROLLER=10.168.0.183 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:344760: [[email protected]] out: [localhost] local: sudo 
echo AMQP_SERVER=10.168.0.183 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:360915: [[email protected]] out: [localhost] local: sudo 
echo HYPERVISOR=libvirt >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:368834: [[email protected]] out: [localhost] local: sudo 
echo NOVA_PASSWORD=password >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:385988: [[email protected]] out: [localhost] local: sudo 
echo NEUTRON_PASSWORD=password >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:389760: [[email protected]] out: [localhost] local: sudo 
echo SERVICE_TENANT_NAME=service >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:405534: [[email protected]] out: [localhost] local: sudo 
echo QUANTUM=10.168.0.180 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:413417: [[email protected]] out: [localhost] local: sudo 
echo QUANTUM_PORT=None >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:429213: [[email protected]] out: [localhost] local: sudo 
echo COMPUTE=10.168.0.167 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:436943: [[email protected]] out: [localhost] local: sudo 
echo CONTROLLER_MGMT=10.168.0.183 >> /tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:452727: [[email protected]] out: [localhost] local: sudo cp 
/tmp/tmpTHvfli/ctrl-details /etc/contrail/ctrl-details
2015-08-18 11:32:14:460454: [[email protected]] out: [localhost] local: sudo rm 
/tmp/tmpTHvfli/ctrl-details
2015-08-18 11:32:14:476293: [[email protected]] out: [localhost] local: sudo 
compute-server-setup.sh
2015-08-18 11:32:14:483990: [[email protected]] out: Note: Forwarding request 
to 'systemctl enable openstack-nova-compute.service'.
2015-08-18 11:32:18:452469: [[email protected]] out: [localhost] local: 
chkconfig openstack-nova-compute on
2015-08-18 11:32:18:516713: [[email protected]] out: Note: Forwarding request 
to 'systemctl enable openstack-nova-compute.service'.
2015-08-18 11:32:18:517343: [[email protected]] out: [localhost] local: service 
openstack-nova-compute restart
2015-08-18 11:32:18:581191: [[email protected]] out: Redirecting to 
/bin/systemctl restart  openstack-nova-compute.service
2015-08-18 11:32:18:581546: [[email protected]] out: [localhost] local: 
chkconfig supervisor-vrouter on
2015-08-18 11:32:19:546690: [[email protected]] out: [localhost] local: python 
/opt/contrail/utils/provision_vrouter.py --host_name kpdevosch11.unix.local 
--host_ip 10.168.0.167 --api_server_ip 10.168.0.180 --oper add --admin_user 
admin --admin_password password --admin_tenant_name admin --openstack_ip 
10.168.0.183
2015-08-18 11:32:19:610919: [[email protected]] out:
2015-08-18 11:32:20:075467:
2015-08-18 11:32:20:076307:
2015-08-18 11:32:20:076562: Done.
2015-08-18 11:32:20:076589: Disconnecting from 10.168.0.167... done.
2015-08-18 11:32:20:190736: Disconnecting from 10.168.0.183... done.
2015-08-18 11:32:20:254645: root@ubuntu14-01:/opt/contrail/utils#
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to