Advertisement
Guest User

osa setup-hosts.yml error

a guest
Feb 15th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 155.18 KB | None | 0 0
  1. TASK [lxc_container_create : Run container veth wiring script] **********************************************************************************************************************
  2. Thursday 15 February 2018 05:50:19 -0500 (0:00:26.986) 0:33:49.066 *****
  3. failed: [openstack-1_keystone_container-9726163a -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.164'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_keystone_container-9726163a", "9726163a_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.081810", "end": "2018-02-15 05:50:21.313864", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.164", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:21.232054", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"9726163a_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"9726163a_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "315: 77950673@9726163a_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ba:63:e1:ee:7f:4f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["315: 77950673@9726163a_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ba:63:e1:ee:7f:4f brd ff:ff:ff:ff:ff:ff"]}
  4. failed: [openstack-2_heat_apis_container-5bb06bb9 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.157'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_heat_apis_container-5bb06bb9", "5bb06bb9_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.105476", "end": "2018-02-15 05:50:43.181909", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.157", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.076433", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"5bb06bb9_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"5bb06bb9_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "335: 2e82b06c@5bb06bb9_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 6a:8d:23:c5:d2:3a brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["335: 2e82b06c@5bb06bb9_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 6a:8d:23:c5:d2:3a brd ff:ff:ff:ff:ff:ff"]}
  5. failed: [openstack-2_nova_api_placement_container-e017543f -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.112'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_api_placement_container-e017543f", "e017543f_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.090480", "end": "2018-02-15 05:50:43.165094", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.112", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.074614", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"e017543f_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"e017543f_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "333: 200a03ae@e017543f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 62:dd:e0:ca:7b:62 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["333: 200a03ae@e017543f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 62:dd:e0:ca:7b:62 brd ff:ff:ff:ff:ff:ff"]}
  6. failed: [openstack-3_utility_container-c2478298 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.59'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_utility_container-c2478298", "c2478298_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.080718", "end": "2018-02-15 05:50:38.682075", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.59", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.601357", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"c2478298_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"c2478298_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "301: e02f35c6@c2478298_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether fe:24:68:c3:c1:10 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["301: e02f35c6@c2478298_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether fe:24:68:c3:c1:10 brd ff:ff:ff:ff:ff:ff"]}
  7. failed: [openstack-3_rabbit_mq_container-c35fc7dd -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.193'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_rabbit_mq_container-c35fc7dd", "c35fc7dd_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.089915", "end": "2018-02-15 05:50:43.248036", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.193", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.158121", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"c35fc7dd_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"c35fc7dd_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "327: 83da993d@c35fc7dd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ce:02:82:28:e3:9e brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["327: 83da993d@c35fc7dd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ce:02:82:28:e3:9e brd ff:ff:ff:ff:ff:ff"]}
  8. failed: [openstack-3_nova_console_container-1f57fc5e -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.5'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_console_container-1f57fc5e", "1f57fc5e_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.099279", "end": "2018-02-15 05:50:43.087473", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.5", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:42.988194", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"1f57fc5e_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"1f57fc5e_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "325: f30f5e93@1f57fc5e_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether fa:29:82:22:da:5f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["325: f30f5e93@1f57fc5e_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether fa:29:82:22:da:5f brd ff:ff:ff:ff:ff:ff"]}
  9. failed: [openstack-3_cinder_api_container-7683d37c -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.203'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_cinder_api_container-7683d37c", "7683d37c_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.084886", "end": "2018-02-15 05:50:42.388220", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.203", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:42.303334", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"7683d37c_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"7683d37c_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "321: 83189004@7683d37c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 22:f1:e1:f6:06:8f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["321: 83189004@7683d37c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 22:f1:e1:f6:06:8f brd ff:ff:ff:ff:ff:ff"]}
  10. failed: [openstack-3_galera_container-5c7d292a -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.38'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_galera_container-5c7d292a", "5c7d292a_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.081180", "end": "2018-02-15 05:50:42.364110", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.38", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:42.282930", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"5c7d292a_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"5c7d292a_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "319: ca60a289@5c7d292a_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 7a:34:58:52:9b:29 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["319: ca60a289@5c7d292a_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 7a:34:58:52:9b:29 brd ff:ff:ff:ff:ff:ff"]}
  11. failed: [openstack-3_nova_conductor_container-29676ea7 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.99'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_conductor_container-29676ea7", "29676ea7_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.087194", "end": "2018-02-15 05:50:41.611059", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.99", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.523865", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"29676ea7_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"29676ea7_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "317: 31542900@29676ea7_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 56:60:93:dc:b2:f1 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["317: 31542900@29676ea7_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 56:60:93:dc:b2:f1 brd ff:ff:ff:ff:ff:ff"]}
  12. failed: [openstack-3_nova_api_metadata_container-ab8eec26 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.206'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_api_metadata_container-ab8eec26", "ab8eec26_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.104864", "end": "2018-02-15 05:50:41.528114", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.206", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.423250", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"ab8eec26_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"ab8eec26_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "315: ebbcd7f7@ab8eec26_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 22:b8:7e:fb:41:db brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["315: ebbcd7f7@ab8eec26_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 22:b8:7e:fb:41:db brd ff:ff:ff:ff:ff:ff"]}
  13. failed: [openstack-3_neutron_agents_container-075a1832 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.105'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_neutron_agents_container-075a1832", "075a1832_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.084568", "end": "2018-02-15 05:50:41.508117", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.105", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.423549", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"075a1832_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"075a1832_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "313: b4403ead@075a1832_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether aa:8e:0c:49:b5:01 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["313: b4403ead@075a1832_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether aa:8e:0c:49:b5:01 brd ff:ff:ff:ff:ff:ff"]}
  14. failed: [openstack-3_nova_api_os_compute_container-d2507ec8 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.174'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_api_os_compute_container-d2507ec8", "d2507ec8_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.096751", "end": "2018-02-15 05:50:40.819073", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.174", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:40.722322", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"d2507ec8_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"d2507ec8_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "311: b95dfc75@d2507ec8_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether a2:9e:71:e3:be:b3 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["311: b95dfc75@d2507ec8_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether a2:9e:71:e3:be:b3 brd ff:ff:ff:ff:ff:ff"]}
  15. changed: [openstack-2_neutron_agents_container-9e775cbc -> 172.26.15.34] => (item={'key': u'tunnel_address', 'value': {u'interface': u'eth1', u'bridge': u'br-vxlan', u'netmask': u'255.255.255.224', u'type': u'veth', u'address': u'10.255.100.8'}})
  16. changed: [openstack-3_neutron_agents_container-075a1832 -> 172.26.15.35] => (item={'key': u'eth2_address', 'value': {u'interface': u'eth2', u'bridge': u'br-vlan', u'netmask': None, u'type': u'veth'}})
  17. failed: [openstack-3_repo_container-bca2a1c0 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.21'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_repo_container-bca2a1c0", "bca2a1c0_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.091058", "end": "2018-02-15 05:50:40.119163", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.21", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:40.028105", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"bca2a1c0_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"bca2a1c0_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "307: 0b32a932@bca2a1c0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 16:c7:f8:91:a6:66 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["307: 0b32a932@bca2a1c0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 16:c7:f8:91:a6:66 brd ff:ff:ff:ff:ff:ff"]}
  18. failed: [openstack-3_neutron_server_container-8ddf0ff8 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.13'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_neutron_server_container-8ddf0ff8", "8ddf0ff8_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.097409", "end": "2018-02-15 05:50:40.011057", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.13", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:39.913648", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"8ddf0ff8_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"8ddf0ff8_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "305: 15dfc4eb@8ddf0ff8_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 42:4e:05:77:48:97 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["305: 15dfc4eb@8ddf0ff8_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 42:4e:05:77:48:97 brd ff:ff:ff:ff:ff:ff"]}
  19. failed: [openstack-3_cinder_scheduler_container-40fbdc82 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.201'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_cinder_scheduler_container-40fbdc82", "40fbdc82_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.094001", "end": "2018-02-15 05:50:39.413720", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.201", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:39.319719", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"40fbdc82_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"40fbdc82_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "303: f0088b95@40fbdc82_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 5a:0c:34:32:06:6e brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["303: f0088b95@40fbdc82_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 5a:0c:34:32:06:6e brd ff:ff:ff:ff:ff:ff"]}
  20. failed: [openstack-3_keystone_container-d9e4cdc2 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.168'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_keystone_container-d9e4cdc2", "d9e4cdc2_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.064626", "end": "2018-02-15 05:50:38.669005", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.168", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.604379", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"d9e4cdc2_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"d9e4cdc2_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "299: 1e027d57@d9e4cdc2_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 7e:15:07:ea:25:29 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["299: 1e027d57@d9e4cdc2_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 7e:15:07:ea:25:29 brd ff:ff:ff:ff:ff:ff"]}
  21. failed: [openstack-3_horizon_container-27fd4108 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.104'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_horizon_container-27fd4108", "27fd4108_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.096933", "end": "2018-02-15 05:50:38.533780", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.104", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.436847", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"27fd4108_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"27fd4108_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "297: c2ce032f@27fd4108_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether f2:45:05:18:96:93 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["297: c2ce032f@27fd4108_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether f2:45:05:18:96:93 brd ff:ff:ff:ff:ff:ff"]}
  22. failed: [openstack-3_nova_scheduler_container-7680f9ba -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.210'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_scheduler_container-7680f9ba", "7680f9ba_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.062183", "end": "2018-02-15 05:50:37.922094", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.210", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:37.859911", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"7680f9ba_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"7680f9ba_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "295: d1ca30e9@7680f9ba_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether d6:aa:c1:2b:ab:87 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["295: d1ca30e9@7680f9ba_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether d6:aa:c1:2b:ab:87 brd ff:ff:ff:ff:ff:ff"]}
  23. failed: [openstack-2_heat_engine_container-4ae8f557 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.94'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_heat_engine_container-4ae8f557", "4ae8f557_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.061115", "end": "2018-02-15 05:50:43.143767", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.94", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.082652", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"4ae8f557_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"4ae8f557_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "331: 4c41f6dc@4ae8f557_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 92:6d:4b:9a:20:df brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["331: 4c41f6dc@4ae8f557_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 92:6d:4b:9a:20:df brd ff:ff:ff:ff:ff:ff"]}
  24. failed: [openstack-2_memcached_container-82c3a396 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.225'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_memcached_container-82c3a396", "82c3a396_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.090691", "end": "2018-02-15 05:50:42.571949", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.225", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:42.481258", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"82c3a396_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"82c3a396_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "329: 3e63d8f2@82c3a396_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 4a:80:ea:12:76:6f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["329: 3e63d8f2@82c3a396_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 4a:80:ea:12:76:6f brd ff:ff:ff:ff:ff:ff"]}
  25. failed: [openstack-2_rabbit_mq_container-886fa3dd -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.198'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_rabbit_mq_container-886fa3dd", "886fa3dd_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.118649", "end": "2018-02-15 05:50:41.670999", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.198", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.552350", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"886fa3dd_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"886fa3dd_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "323: 6dfdcaf1@886fa3dd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 36:ca:75:b1:57:2f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["323: 6dfdcaf1@886fa3dd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 36:ca:75:b1:57:2f brd ff:ff:ff:ff:ff:ff"]}
  26. failed: [openstack-2_nova_console_container-1678e062 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.186'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_console_container-1678e062", "1678e062_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.073591", "end": "2018-02-15 05:50:41.652788", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.186", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.579197", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"1678e062_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"1678e062_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "325: e438468b@1678e062_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether f2:c6:8a:7b:50:d9 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["325: e438468b@1678e062_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether f2:c6:8a:7b:50:d9 brd ff:ff:ff:ff:ff:ff"]}
  27. failed: [openstack-2_galera_container-1ba39a10 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.24'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_galera_container-1ba39a10", "1ba39a10_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.093243", "end": "2018-02-15 05:50:41.620931", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.24", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.527688", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"1ba39a10_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"1ba39a10_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "321: f2b08ad2@1ba39a10_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether aa:93:b8:aa:d2:0e brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["321: f2b08ad2@1ba39a10_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether aa:93:b8:aa:d2:0e brd ff:ff:ff:ff:ff:ff"]}
  28. failed: [openstack-2_neutron_agents_container-9e775cbc -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.188'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_neutron_agents_container-9e775cbc", "9e775cbc_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.091714", "end": "2018-02-15 05:50:41.340739", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.188", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.249025", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"9e775cbc_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"9e775cbc_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "319: 69eafb5e@9e775cbc_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 9e:e6:a5:86:51:f5 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["319: 69eafb5e@9e775cbc_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 9e:e6:a5:86:51:f5 brd ff:ff:ff:ff:ff:ff"]}
  29. failed: [openstack-2_cinder_api_container-af554f05 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.122'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_cinder_api_container-af554f05", "af554f05_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.077151", "end": "2018-02-15 05:50:41.148229", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.122", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:41.071078", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"af554f05_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"af554f05_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "317: 02588b94@af554f05_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether d6:b1:9e:60:36:05 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["317: 02588b94@af554f05_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether d6:b1:9e:60:36:05 brd ff:ff:ff:ff:ff:ff"]}
  30. changed: [openstack-2_neutron_agents_container-9e775cbc -> 172.26.15.34] => (item={'key': u'eth2_address', 'value': {u'interface': u'eth2', u'bridge': u'br-vlan', u'netmask': None, u'type': u'veth'}})
  31. failed: [openstack-2_nova_conductor_container-580b191e -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.149'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_conductor_container-580b191e", "580b191e_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.094053", "end": "2018-02-15 05:50:40.178050", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.149", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:40.083997", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"580b191e_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"580b191e_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "315: 9c64c379@580b191e_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether f6:67:c9:8c:29:e4 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["315: 9c64c379@580b191e_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether f6:67:c9:8c:29:e4 brd ff:ff:ff:ff:ff:ff"]}
  32. failed: [openstack-2_nova_api_metadata_container-f107e5a0 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.246'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_api_metadata_container-f107e5a0", "f107e5a0_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.081686", "end": "2018-02-15 05:50:40.130912", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.246", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:40.049226", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"f107e5a0_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"f107e5a0_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "313: 1d36639f@f107e5a0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether fa:5a:8c:e5:71:03 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["313: 1d36639f@f107e5a0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether fa:5a:8c:e5:71:03 brd ff:ff:ff:ff:ff:ff"]}
  33. failed: [openstack-2_nova_api_os_compute_container-c0c610b3 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.178'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_api_os_compute_container-c0c610b3", "c0c610b3_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.095311", "end": "2018-02-15 05:50:39.993943", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.178", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:39.898632", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"c0c610b3_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"c0c610b3_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "311: d345d9c8@c0c610b3_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether f2:f5:22:b7:e7:43 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["311: d345d9c8@c0c610b3_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether f2:f5:22:b7:e7:43 brd ff:ff:ff:ff:ff:ff"]}
  34. failed: [openstack-2_repo_container-7b5d682b -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.53'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_repo_container-7b5d682b", "7b5d682b_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.094464", "end": "2018-02-15 05:50:39.529188", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.53", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:39.434724", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"7b5d682b_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"7b5d682b_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "307: d9baafd8@7b5d682b_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 06:08:05:21:03:5f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["307: d9baafd8@7b5d682b_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 06:08:05:21:03:5f brd ff:ff:ff:ff:ff:ff"]}
  35. changed: [openstack-1_neutron_agents_container-32cff4da -> 172.26.15.33] => (item={'key': u'tunnel_address', 'value': {u'interface': u'eth1', u'bridge': u'br-vxlan', u'netmask': u'255.255.255.224', u'type': u'veth', u'address': u'10.255.100.19'}})
  36. failed: [openstack-2_neutron_server_container-379d2a2b -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.195'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_neutron_server_container-379d2a2b", "379d2a2b_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.083170", "end": "2018-02-15 05:50:38.571004", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.195", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.487834", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"379d2a2b_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"379d2a2b_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "305: 52f65d09@379d2a2b_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether be:98:a2:bf:51:ae brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["305: 52f65d09@379d2a2b_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether be:98:a2:bf:51:ae brd ff:ff:ff:ff:ff:ff"]}
  37. failed: [openstack-2_cinder_scheduler_container-dcdfcacc -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.220'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_cinder_scheduler_container-dcdfcacc", "dcdfcacc_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.101405", "end": "2018-02-15 05:50:38.356175", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.220", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.254770", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"dcdfcacc_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"dcdfcacc_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "303: f0cc9892@dcdfcacc_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 0a:91:da:68:f1:8d brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["303: f0cc9892@dcdfcacc_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 0a:91:da:68:f1:8d brd ff:ff:ff:ff:ff:ff"]}
  38. failed: [openstack-2_keystone_container-d7f5a6a1 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.139'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_keystone_container-d7f5a6a1", "d7f5a6a1_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.089909", "end": "2018-02-15 05:50:38.327865", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.139", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:38.237956", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"d7f5a6a1_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"d7f5a6a1_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "301: 8365cfa2@d7f5a6a1_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ba:f1:6a:e6:86:23 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["301: 8365cfa2@d7f5a6a1_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ba:f1:6a:e6:86:23 brd ff:ff:ff:ff:ff:ff"]}
  39. failed: [openstack-2_utility_container-b7ed3830 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.127'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_utility_container-b7ed3830", "b7ed3830_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.085852", "end": "2018-02-15 05:50:37.961976", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.127", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:37.876124", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"b7ed3830_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"b7ed3830_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "299: 3556ad85@b7ed3830_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 3a:64:98:52:43:ad brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["299: 3556ad85@b7ed3830_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 3a:64:98:52:43:ad brd ff:ff:ff:ff:ff:ff"]}
  40. failed: [openstack-2_horizon_container-5cd1d470 -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.39'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_horizon_container-5cd1d470", "5cd1d470_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.064952", "end": "2018-02-15 05:50:36.962798", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.39", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:36.897846", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"5cd1d470_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"5cd1d470_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "297: a23f0903@5cd1d470_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether a2:cb:0e:c7:4f:b7 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["297: a23f0903@5cd1d470_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether a2:cb:0e:c7:4f:b7 brd ff:ff:ff:ff:ff:ff"]}
  41. failed: [openstack-2_nova_scheduler_container-bb20d92c -> 172.26.15.34] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.214'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-2_nova_scheduler_container-bb20d92c", "bb20d92c_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.090066", "end": "2018-02-15 05:50:36.862947", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.214", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:36.772881", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"bb20d92c_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"bb20d92c_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "295: 48ae2340@bb20d92c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 22:6d:82:79:b2:d9 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["295: 48ae2340@bb20d92c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 22:6d:82:79:b2:d9 brd ff:ff:ff:ff:ff:ff"]}
  42. failed: [openstack-1_heat_engine_container-f708a128 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.160'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_heat_engine_container-f708a128", "f708a128_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.061515", "end": "2018-02-15 05:50:27.387138", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.160", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:27.325623", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"f708a128_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"f708a128_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "351: 85eb61c0@f708a128_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether a2:ab:33:fb:3c:78 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["351: 85eb61c0@f708a128_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether a2:ab:33:fb:3c:78 brd ff:ff:ff:ff:ff:ff"]}
  43. failed: [openstack-1_heat_apis_container-a8c2aabd -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.234'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_heat_apis_container-a8c2aabd", "a8c2aabd_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.070915", "end": "2018-02-15 05:50:27.157069", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.234", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:27.086154", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"a8c2aabd_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"a8c2aabd_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "349: 908ad25a@a8c2aabd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 4a:7e:3f:87:f9:38 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["349: 908ad25a@a8c2aabd_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 4a:7e:3f:87:f9:38 brd ff:ff:ff:ff:ff:ff"]}
  44. failed: [openstack-1_nova_api_placement_container-81820388 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.129'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_api_placement_container-81820388", "81820388_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.074511", "end": "2018-02-15 05:50:26.141603", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.129", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:26.067092", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"81820388_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"81820388_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "347: 4fc57137@81820388_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 62:88:e7:7c:d7:07 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["347: 4fc57137@81820388_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 62:88:e7:7c:d7:07 brd ff:ff:ff:ff:ff:ff"]}
  45. failed: [openstack-1_memcached_container-d4a3029f -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.144'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_memcached_container-d4a3029f", "d4a3029f_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.079005", "end": "2018-02-15 05:50:25.964826", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.144", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:25.885821", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"d4a3029f_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"d4a3029f_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "345: a9cff33f@d4a3029f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ea:85:19:dc:d2:30 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["345: a9cff33f@d4a3029f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ea:85:19:dc:d2:30 brd ff:ff:ff:ff:ff:ff"]}
  46. failed: [openstack-1_rabbit_mq_container-1d54cc67 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.179'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_rabbit_mq_container-1d54cc67", "1d54cc67_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.061725", "end": "2018-02-15 05:50:25.790136", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.179", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:25.728411", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"1d54cc67_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"1d54cc67_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "343: 9f8739c7@1d54cc67_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 32:03:36:d3:d4:ce brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["343: 9f8739c7@1d54cc67_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 32:03:36:d3:d4:ce brd ff:ff:ff:ff:ff:ff"]}
  47. failed: [openstack-1_nova_console_container-d20013ea -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.171'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_console_container-d20013ea", "d20013ea_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.059691", "end": "2018-02-15 05:50:25.583931", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.171", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:25.524240", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"d20013ea_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"d20013ea_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "341: 9bc2a222@d20013ea_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether e2:6b:0a:14:83:19 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["341: 9bc2a222@d20013ea_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether e2:6b:0a:14:83:19 brd ff:ff:ff:ff:ff:ff"]}
  48. failed: [openstack-1_galera_container-341edcfb -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.241'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_galera_container-341edcfb", "341edcfb_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.069145", "end": "2018-02-15 05:50:24.517033", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.241", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:24.447888", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"341edcfb_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"341edcfb_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "337: 70673192@341edcfb_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ca:7d:b8:67:8f:2f brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["337: 70673192@341edcfb_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ca:7d:b8:67:8f:2f brd ff:ff:ff:ff:ff:ff"]}
  49. failed: [openstack-1_cinder_api_container-120b33a4 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.172'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_cinder_api_container-120b33a4", "120b33a4_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.069422", "end": "2018-02-15 05:50:24.315849", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.172", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:24.246427", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"120b33a4_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"120b33a4_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "335: 8e7da85a@120b33a4_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 9e:e7:0e:44:02:b2 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["335: 8e7da85a@120b33a4_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 9e:e7:0e:44:02:b2 brd ff:ff:ff:ff:ff:ff"]}
  50. failed: [openstack-1_nova_conductor_container-5a549302 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.131'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_conductor_container-5a549302", "5a549302_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.068281", "end": "2018-02-15 05:50:24.156809", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.131", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:24.088528", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"5a549302_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"5a549302_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "333: 4dbdbf5d@5a549302_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether b6:c6:8a:c8:a0:c0 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["333: 4dbdbf5d@5a549302_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether b6:c6:8a:c8:a0:c0 brd ff:ff:ff:ff:ff:ff"]}
  51. failed: [openstack-1_neutron_agents_container-32cff4da -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.110'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_neutron_agents_container-32cff4da", "32cff4da_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.082744", "end": "2018-02-15 05:50:24.099883", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.110", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:24.017139", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"32cff4da_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"32cff4da_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "331: ff7056b2@32cff4da_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 8a:e8:31:18:0a:94 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["331: ff7056b2@32cff4da_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 8a:e8:31:18:0a:94 brd ff:ff:ff:ff:ff:ff"]}
  52. failed: [openstack-1_nova_api_metadata_container-28593ff3 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.20'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_api_metadata_container-28593ff3", "28593ff3_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.061893", "end": "2018-02-15 05:50:24.006489", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.20", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:23.944596", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"28593ff3_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"28593ff3_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "329: fa286c8a@28593ff3_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether b6:be:56:af:2a:3a brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["329: fa286c8a@28593ff3_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether b6:be:56:af:2a:3a brd ff:ff:ff:ff:ff:ff"]}
  53. changed: [openstack-1_neutron_agents_container-32cff4da -> 172.26.15.33] => (item={'key': u'eth2_address', 'value': {u'interface': u'eth2', u'bridge': u'br-vlan', u'netmask': None, u'type': u'veth'}})
  54. failed: [openstack-1_nova_api_os_compute_container-c98f8df4 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.202'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_api_os_compute_container-c98f8df4", "c98f8df4_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.077571", "end": "2018-02-15 05:50:22.975862", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.202", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:22.898291", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"c98f8df4_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"c98f8df4_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "327: 6359a39f@c98f8df4_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ce:c3:93:59:57:fd brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["327: 6359a39f@c98f8df4_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ce:c3:93:59:57:fd brd ff:ff:ff:ff:ff:ff"]}
  55. failed: [openstack-1_glance_container-873f8c87 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.75'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_glance_container-873f8c87", "873f8c87_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.067130", "end": "2018-02-15 05:50:22.768812", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.75", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:22.701682", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"873f8c87_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"873f8c87_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "323: e66442fc@873f8c87_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether e6:00:61:87:25:73 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["323: e66442fc@873f8c87_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether e6:00:61:87:25:73 brd ff:ff:ff:ff:ff:ff"]}
  56. failed: [openstack-1_repo_container-c7f2281c -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.196'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_repo_container-c7f2281c", "c7f2281c_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.058962", "end": "2018-02-15 05:50:22.641883", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.196", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:22.582921", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"c7f2281c_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"c7f2281c_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "321: 84a81d31@c7f2281c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether f2:8c:81:8d:01:3d brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["321: 84a81d31@c7f2281c_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether f2:8c:81:8d:01:3d brd ff:ff:ff:ff:ff:ff"]}
  57. failed: [openstack-1_neutron_server_container-98a6a5d0 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.113'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_neutron_server_container-98a6a5d0", "98a6a5d0_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.059502", "end": "2018-02-15 05:50:22.471859", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.113", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:22.412357", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"98a6a5d0_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"98a6a5d0_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "319: 54173229@98a6a5d0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether d6:b9:25:72:e1:2b brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["319: 54173229@98a6a5d0_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether d6:b9:25:72:e1:2b brd ff:ff:ff:ff:ff:ff"]}
  58. failed: [openstack-1_cinder_scheduler_container-17068efa -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.232'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_cinder_scheduler_container-17068efa", "17068efa_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.081043", "end": "2018-02-15 05:50:21.458005", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.232", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:21.376962", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"17068efa_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"17068efa_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "317: e4b14aa5@17068efa_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 56:d2:38:ce:ec:d9 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["317: e4b14aa5@17068efa_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 56:d2:38:ce:ec:d9 brd ff:ff:ff:ff:ff:ff"]}
  59. failed: [openstack-1_utility_container-5a7aeb03 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.165'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_utility_container-5a7aeb03", "5a7aeb03_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.084451", "end": "2018-02-15 05:50:21.295901", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.165", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:21.211450", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"5a7aeb03_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"5a7aeb03_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "313: 72f9040b@5a7aeb03_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 96:f5:c1:92:bb:fd brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["313: 72f9040b@5a7aeb03_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 96:f5:c1:92:bb:fd brd ff:ff:ff:ff:ff:ff"]}
  60. failed: [openstack-1_nova_scheduler_container-eae71609 -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.91'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_nova_scheduler_container-eae71609", "eae71609_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.057558", "end": "2018-02-15 05:50:21.197823", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.91", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:21.140265", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"eae71609_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"eae71609_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "311: eeca574f@eae71609_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether de:52:2c:a5:4d:c9 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["311: eeca574f@eae71609_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether de:52:2c:a5:4d:c9 brd ff:ff:ff:ff:ff:ff"]}
  61. failed: [openstack-1_horizon_container-7c88d82f -> 172.26.15.33] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.109'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-1_horizon_container-7c88d82f", "7c88d82f_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.068748", "end": "2018-02-15 05:50:21.129101", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.109", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:21.060353", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"7c88d82f_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"7c88d82f_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "309: 95644500@7c88d82f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 6e:23:43:c8:5d:69 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["309: 95644500@7c88d82f_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 6e:23:43:c8:5d:69 brd ff:ff:ff:ff:ff:ff"]}
  62. failed: [openstack-3_nova_api_placement_container-7783d0e6 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.154'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_nova_api_placement_container-7783d0e6", "7783d0e6_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.067287", "end": "2018-02-15 05:50:43.961078", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.154", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.893791", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"7783d0e6_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"7783d0e6_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "329: 2cd69735@7783d0e6_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 06:5a:cc:fa:24:7a brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["329: 2cd69735@7783d0e6_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 06:5a:cc:fa:24:7a brd ff:ff:ff:ff:ff:ff"]}
  63. failed: [openstack-3_memcached_container-f06d25b7 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.211'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_memcached_container-f06d25b7", "f06d25b7_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.092314", "end": "2018-02-15 05:50:44.017125", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.211", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:43.924811", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"f06d25b7_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"f06d25b7_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "331: 324ab8bf@f06d25b7_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ea:9f:7d:b3:96:63 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["331: 324ab8bf@f06d25b7_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ea:9f:7d:b3:96:63 brd ff:ff:ff:ff:ff:ff"]}
  64. failed: [openstack-3_heat_apis_container-710e52f5 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.71'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_heat_apis_container-710e52f5", "710e52f5_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.088014", "end": "2018-02-15 05:50:44.729951", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.71", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:44.641937", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"710e52f5_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"710e52f5_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "333: 704b1d90@710e52f5_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether 76:99:9c:c2:39:6e brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["333: 704b1d90@710e52f5_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether 76:99:9c:c2:39:6e brd ff:ff:ff:ff:ff:ff"]}
  65. failed: [openstack-3_heat_engine_container-b775fd24 -> 172.26.15.35] (item={'key': u'container_address', 'value': {u'interface': u'eth0', u'bridge': u'br-mgmt', u'netmask': u'255.255.255.0', u'type': u'veth', u'address': u'172.26.15.22'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "openstack-3_heat_engine_container-b775fd24", "b775fd24_eth0", "eth0", "br-mgmt"], "delta": "0:00:00.064509", "end": "2018-02-15 05:50:44.842171", "failed": true, "failed_when_result": true, "item": {"key": "container_address", "value": {"address": "172.26.15.22", "bridge": "br-mgmt", "interface": "eth0", "netmask": "255.255.255.0", "type": "veth"}}, "rc": 2, "start": "2018-02-15 05:50:44.777662", "stderr": "\n# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt\n\n# CLI variables\nCONTAINER_NAME=\"${1}\"\nVETH=\"${2}\"\nINTERFACE=\"${3}\"\nBRIDGE=\"${4}\"\nVETH_PEER=\"$(openssl rand -hex 4)\"\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\n\n# Exit 0 means no change, exit 3 is changed, any other exit is fail.\nEXIT_CODE=0\n\nif ! ip a l \"${VETH}\";then\n ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"\n ip link set dev \"${VETH}\" up\n EXIT=3\nelse\n ip link set dev \"${VETH}\" up\nfi\nDevice \"b775fd24_eth0\" does not exist.\n\nif ip a l \"${VETH_PEER}\";then\n ip link set dev \"${VETH_PEER}\" up\n ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"\n EXIT=3\nfi\nRTNETLINK answers: File exists", "stderr_lines": ["", "# Execution example: lxc-veth-wiring.sh testing VETHTEST eth1 br-mgmt", "", "# CLI variables", "CONTAINER_NAME=\"${1}\"", "VETH=\"${2}\"", "INTERFACE=\"${3}\"", "BRIDGE=\"${4}\"", "VETH_PEER=\"$(openssl rand -hex 4)\"", "", "# PID of running container", "PID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"", "", "# Exit 0 means no change, exit 3 is changed, any other exit is fail.", "EXIT_CODE=0", "", "if ! ip a l \"${VETH}\";then", " ip link add name \"${VETH}\" type veth peer name \"${VETH_PEER}\"", " ip link set dev \"${VETH}\" up", " EXIT=3", "else", " ip link set dev \"${VETH}\" up", "fi", "Device \"b775fd24_eth0\" does not exist.", "", "if ip a l \"${VETH_PEER}\";then", " ip link set dev \"${VETH_PEER}\" up", " ip link set dev \"${VETH_PEER}\" netns \"${PID}\" name \"${INTERFACE}\"", " EXIT=3", "fi", "RTNETLINK answers: File exists"], "stdout": "335: f1f71390@b775fd24_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\n link/ether ee:f4:6f:e2:8d:65 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["335: f1f71390@b775fd24_eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000", " link/ether ee:f4:6f:e2:8d:65 brd ff:ff:ff:ff:ff:ff"]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement