Advertisement
Guest User

osad-playbook-errors

a guest
May 15th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.91 KB | None | 0 0
  1. // TASK [lxc_container_create : Run container veth wiring script] *****************
  2. Monday 15 May 2017 22:06:25 +0100 (0:00:02.497) 0:27:32.406 ************
  3.  
  4. failed: [infra1_glance_container-a2ca5c62 -> 172.29.236.11] (item={'key': u'storage_address', 'value': {u'interface': u'eth2', u'bridge': u'br-storage', u'netmask': u'255.255.252.0', u'type': u'veth', u'address': u'172.29.247.42'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "infra1_glance_container-a2ca5c62", "a2ca5c62_eth2", "eth2", "br-storage"], "delta": "0:00:00.270688", "end": "2017-05-15 22:06:35.013753", "failed": true, "failed_when_result": true, "item": {"key": "storage_address", "value": {"address": "172.29.247.42", "bridge": "br-storage", "interface": "eth2", "netmask": "255.255.252.0", "type": "veth"}}, "rc": 1, "start": "2017-05-15 22:06:34.743065", "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)\"\nopenssl rand -hex 4\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\nlxc-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 \"a2ca5c62_eth2\" 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\n\nif ! brctl show \"${BRIDGE}\" | grep -q \"${VETH}\"; then\n brctl addif \"${BRIDGE}\" \"${VETH}\"\n EXIT=3\nfi\ncan't get info No such device\nbridge br-storage does not exist!", "stdout": "77: e7ea95eb@a2ca5c62_eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000\n link/ether 16:f9:1f:60:2c:f5 brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["77: e7ea95eb@a2ca5c62_eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000", " link/ether 16:f9:1f:60:2c:f5 brd ff:ff:ff:ff:ff:ff"], "warnings": []}
  5.  
  6. failed: [infra1_cinder_api_container-72745add -> 172.29.236.11] (item={'key': u'storage_address', 'value': {u'interface': u'eth2', u'bridge': u'br-storage', u'netmask': u'255.255.252.0', u'type': u'veth', u'address': u'172.29.247.29'}}) => {"changed": false, "cmd": ["/usr/local/bin/lxc-veth-wiring", "infra1_cinder_api_container-72745add", "72745add_eth2", "eth2", "br-storage"], "delta": "0:00:00.233395", "end": "2017-05-15 22:06:36.646460", "failed": true, "failed_when_result": true, "item": {"key": "storage_address", "value": {"address": "172.29.247.29", "bridge": "br-storage", "interface": "eth2", "netmask": "255.255.252.0", "type": "veth"}}, "rc": 1, "start": "2017-05-15 22:06:36.413065", "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)\"\nopenssl rand -hex 4\n\n# PID of running container\nPID=\"$(lxc-info -pHn ${CONTAINER_NAME})\"\nlxc-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 \"72745add_eth2\" 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\n\nif ! brctl show \"${BRIDGE}\" | grep -q \"${VETH}\"; then\n brctl addif \"${BRIDGE}\" \"${VETH}\"\n EXIT=3\nfi\ncan't get info No such device\nbridge br-storage does not exist!", "stdout": "95: 7de1af8c@72745add_eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000\n link/ether 7e:a2:8b:0b:8d:4c brd ff:ff:ff:ff:ff:ff", "stdout_lines": ["95: 7de1af8c@72745add_eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000", " link/ether 7e:a2:8b:0b:8d:4c brd ff:ff:ff:ff:ff:ff"], "warnings": []}
  7.  
  8. // RUNNING HANDLER [lxc_container_create : Start Container] ***********************
  9. Monday 15 May 2017 22:06:50 +0100 (0:00:10.502) 0:27:56.830 ************
  10. fatal: [infra1_cinder_api_container-72745add -> 172.29.236.11]: FAILED! => {"attempts": 3, "changed": true, "cmd": ["lxc-start", "--daemon", "--name", "infra1_cinder_api_container-72745add", "--logfile", "/var/log/lxc/lxc-infra1_cinder_api_container-72745add.log", "--logpriority", "INFO"], "delta": "0:00:05.582783", "end": "2017-05-15 22:07:30.210391", "failed": true, "rc": 1, "start": "2017-05-15 22:07:24.627608", "stderr": "lxc-start: tools/lxc_start.c: main: 366 The container failed to start.\nlxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.\nlxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.", "stdout": "", "stdout_lines": [], "warnings": []}
  11. fatal: [infra1_glance_container-a2ca5c62 -> 172.29.236.11]: FAILED! => {"attempts": 3, "changed": true, "cmd": ["lxc-start", "--daemon", "--name", "infra1_glance_container-a2ca5c62", "--logfile", "/var/log/lxc/lxc-infra1_glance_container-a2ca5c62.log", "--logpriority", "INFO"], "delta": "0:00:05.577108", "end": "2017-05-15 22:07:32.715697", "failed": true, "rc": 1, "start": "2017-05-15 22:07:27.138589", "stderr": "lxc-start: tools/lxc_start.c: main: 366 The container failed to start.\nlxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.\nlxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.", "stdout": "", "stdout_lines": [], "warnings": []}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement