Activity log for bug #1704376

Date Who What changed Old value New value Message
2017-07-14 11:06:36 Seyeong Kim bug added bug
2017-07-18 08:38:24 Seyeong Kim tags sts
2017-07-19 06:33:58 Dominique Poulain bug added subscriber Dominique Poulain
2017-07-19 08:21:48 Seyeong Kim summary juju failed to parse pre-up, pre-down when making bridge juju failed to deploy lxd when making bridge
2017-07-19 08:24:43 Seyeong Kim description When juju deploy charm to lxd on host, they are trying to bridge NIC. but if /etc/network/interfaces file have pre-up, pre-down like [2], deploying and making bridge fail with this[1] error msg. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g I think this pre-up and down are from spaces. #### [1] #### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} #### [2] #### auto lo iface lo inet loopback dns-nameservers 8.8.8.8 dns-search maas auto ens3 iface ens3 inet static gateway xxx address xxx dns-nameservers 8.8.8.8 mtu 1500 auto ens4 iface ens4 inet manual mtu 1500 auto ens6 iface ens6 inet static address xxx mtu 1500 auto ens7 iface ens7 inet static address xxx mtu 1500 auto ens8 iface ens8 inet static address xxx dns-nameservers xxxx mtu 1500 post-up route add -net 10.3.0.0 netmask 255.255.254.0 gw 10.2.0.1 metric 0 || true pre-down route del -net 10.3.0.0 netmask 255.255.254.0 gw 10.2.0.1 metric 0 || true post-up route add -net 10.4.0.0 netmask 255.255.254.0 gw 10.2.0.1 metric 0 || true pre-down route del -net 10.4.0.0 netmask 255.255.254.0 gw 10.2.0.1 metric 0 || true post-up route add -net 10.3.4.0 netmask 255.255.255.0 gw 10.2.4.1 metric 0 || true pre-down route del -net 10.3.4.0 netmask 255.255.255.0 gw 10.2.4.1 metric 0 || true post-up route add -net 10.4.4.0 netmask 255.255.255.0 gw 10.2.4.1 metric 0 || true pre-down route del -net 10.4.4.0 netmask 255.255.255.0 gw 10.2.4.1 metric 0 || true post-up route add -net 10.3.5.0 netmask 255.255.255.0 gw 10.2.5.1 metric 0 || true pre-down route del -net 10.3.5.0 netmask 255.255.255.0 gw 10.2.5.1 metric 0 || true post-up route add -net 10.4.5.0 netmask 255.255.255.0 gw 10.2.5.1 metric 0 || true pre-down route del -net 10.4.5.0 netmask 255.255.255.0 gw 10.2.5.1 metric 0 || true source /etc/network/interfaces.d/*.cfg When juju deploy charm to lxd on host, they are trying to bridge NIC. before deploying lxd, /etc/network/interfaces looks like [2], deploying and making bridge fail with this[1] error msg. in my the other local env. after deploying lxd, /etc/network/interfaces looks like [3], assuming that "/etc/network/interfaces" string could not be passed correctly.. update after test it code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/
2017-07-19 10:07:20 Seyeong Kim description When juju deploy charm to lxd on host, they are trying to bridge NIC. before deploying lxd, /etc/network/interfaces looks like [2], deploying and making bridge fail with this[1] error msg. in my the other local env. after deploying lxd, /etc/network/interfaces looks like [3], assuming that "/etc/network/interfaces" string could not be passed correctly.. update after test it code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/ When juju deploy charm to lxd on host, they are trying to bridge NIC. if there is /etc/network/interfaces.d/eth0.cfg with below contents pre-up [ -z `cat /proc/net/bonding/* | grep Slave | grep eth0` ] && true deploying is failed with error msgs[1]. tested if we remove that content and deploy lxd, it works. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/
2017-07-20 07:18:27 Seyeong Kim description When juju deploy charm to lxd on host, they are trying to bridge NIC. if there is /etc/network/interfaces.d/eth0.cfg with below contents pre-up [ -z `cat /proc/net/bonding/* | grep Slave | grep eth0` ] && true deploying is failed with error msgs[1]. tested if we remove that content and deploy lxd, it works. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/ When juju deploy charm to lxd on host, they are trying to bridge NIC. if there is /etc/network/interfaces.d/eth0.cfg with below contents pre-up [ -z `cat /proc/net/bonding/* | grep Slave | grep eth0` ] && true deploying is failed with error msgs[1]. tested if we remove that content and deploy lxd, it works. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g This issue introduced from this commit [4] ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/ ##################### [4] ##################### commit 56461ed70ab337b4934642bd7bd3545869c8ac3c Author: Andrew McDermott <andrew.mcdermott@canonical.com> Date: Sun Dec 11 15:19:06 2016 +0000 Go implementation of bridge script
2017-07-21 02:03:09 Seyeong Kim description When juju deploy charm to lxd on host, they are trying to bridge NIC. if there is /etc/network/interfaces.d/eth0.cfg with below contents pre-up [ -z `cat /proc/net/bonding/* | grep Slave | grep eth0` ] && true deploying is failed with error msgs[1]. tested if we remove that content and deploy lxd, it works. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g This issue introduced from this commit [4] ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/ ##################### [4] ##################### commit 56461ed70ab337b4934642bd7bd3545869c8ac3c Author: Andrew McDermott <andrew.mcdermott@canonical.com> Date: Sun Dec 11 15:19:06 2016 +0000 Go implementation of bridge script This issue is affected from juju 2.2 When juju deploy charm to lxd on host, they are trying to bridge NIC. if there is /etc/network/interfaces.d/eth0.cfg with below contents pre-up [ -z `cat /proc/net/bonding/* | grep Slave | grep eth0` ] && true deploying is failed with error msgs[1]. tested if we remove that content and deploy lxd, it works. code tracing is here. https://1drv.ms/u/s!AmUioEoZTo2Lg_p2YOJKaaUAXm0o2g This issue introduced from this commit [4] ##################### [1] ##################### WARNING juju.provisioner provisioner_task.go:739 failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts) 2017-07-13 12:20:37 TRACE juju.rpc.jsoncodec codec.go:225 -> {"request-id":2930,"type":"Provisioner","version":3,"request":"SetInstanceStatus","params":{"entities":[{"tag":"machine-2-lxd-1","status":"allocating","info":"failed to start instance (failed to bridge devices: bridge activaction error: misplaced option), retrying in 10s (7 more attempts)","data":null}]}} ##################### [2] ##################### https://pastebin.canonical.com/193850/ ##################### [3] ##################### https://pastebin.canonical.com/193848/ ##################### [4] ##################### commit 56461ed70ab337b4934642bd7bd3545869c8ac3c Author: Andrew McDermott <andrew.mcdermott@canonical.com> Date: Sun Dec 11 15:19:06 2016 +0000 Go implementation of bridge script
2017-07-21 02:12:54 Anastasia juju: status New Triaged
2017-07-21 02:12:56 Anastasia juju: importance Undecided High
2017-07-21 02:13:11 Anastasia tags sts bridge network sts
2017-07-21 06:42:44 Anastasia juju: status Triaged Incomplete
2017-07-21 07:45:43 Seyeong Kim juju: status Incomplete Confirmed
2017-07-24 23:00:17 Anastasia juju: status Confirmed Triaged
2017-08-09 04:26:02 Tim Penhey juju: status Triaged Incomplete
2017-10-31 04:17:30 Launchpad Janitor juju: status Incomplete Expired