As I attempt to instantiate LXD container it fails to boot with an error stating
Failed to execute network driver operation: post.
Perhaps some ubuntu update killed it as it was working before but nothing drastically change on ubuntu 18.04 boxes I run
Here is the github issue:
Here is the log just in case:
Here is the full LXD log:
Fri Aug 16 11:45:11 2019 [Z0][VM][I]: New state is ACTIVE
Fri Aug 16 11:45:11 2019 [Z0][VM][I]: New LCM state is PROLOG
Fri Aug 16 11:45:13 2019 [Z0][VM][I]: New LCM state is BOOT
Fri Aug 16 11:45:13 2019 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/76/deployment.0
Fri Aug 16 11:45:13 2019 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Fri Aug 16 11:45:14 2019 [Z0][VMM][I]: ExitCode: 0
Fri Aug 16 11:45:14 2019 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Processing disk 0
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Using rbd disk mapper for
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Mapping disk at /var/snap/lxd/common/lxd/storage-pools/default/containers/one-76/rootfs using device /dev/nbd1
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Resizing filesystem ext4 on /dev/nbd1
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Mounting /dev/nbd1 at /var/snap/lxd/common/lxd/storage-pools/default/containers/one-76/rootfs
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Mapping disk at /var/lib/one/datastores/101/76/mapper/disk.1 using device /dev/loop0
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: Mounting /dev/loop0 at /var/lib/one/datastores/101/76/mapper/disk.1
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: deploy: — Starting container —
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: ExitCode: 0
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
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VRXT1JLX0lEPjwhW0NEQVRBWzBdXT48L05FVFdPUktfSUQ+PE5JQ19JRD48IVtDREFUQVswXV0+PC9OSUNfSUQ+PFNFQ1VSSVRZX0dST1VQUz48IVtDREFUQVswXV0+PC9TRUNVUklUWV9HUk9VUFM+PFRBUkdFVD48IVtDREFUQVtvbmUtNzYtMF1dPjwvVEFSR0VUPjxWTl9NQUQ+PCFbQ0RBVEFbZnddXT48L1ZOX01BRD48L05JQz48L1RFTVBMQVRFPjwvVk0+ ‘one-76’
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: iptables v1.6.1: interface name --physdev-is-bridged' must be shorter than IFNAMSIZ (15) Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: Try
iptables -h’ or ‘iptables --help’ for more information.
Fri Aug 16 11:45:16 2019 [Z0][VMM][E]: post: Command Error: sudo iptables -I opennebula -m physdev --physdev-out --physdev-is-bridged -j one-76-0-i
Fri Aug 16 11:45:16 2019 [Z0][VMM][E]: post: ["/var/tmp/one/vnm/command.rb:62:in block in run!'", "/var/tmp/one/vnm/command.rb:59:in
each’", “/var/tmp/one/vnm/command.rb:59:in run!'", "/var/tmp/one/vnm/security_groups_iptables.rb:485:in
nic_pre’”, “/var/tmp/one/vnm/sg_driver.rb:92:in block in activate'", "/var/tmp/one/vnm/vnm_driver.rb:79:in
block in process’”, “/var/tmp/one/vnm/vm.rb:64:in block in each_nic'", "/var/tmp/one/vnm/vm.rb:63:in
each’”, “/var/tmp/one/vnm/vm.rb:63:in each_nic'", "/var/tmp/one/vnm/vnm_driver.rb:82:in
process’”, "/var/tmp/one/vnm/sg_driver.rb:84:in activate'", "/var/tmp/one/vnm/fw/post:32:in
'"]
Fri Aug 16 11:45:16 2019 [Z0][VMM][I]: ExitCode: 1
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: — Stopping container —
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Processing disk 0
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Using rbd disk mapper for
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Unmapping disk at /var/snap/lxd/common/lxd/storage-pools/default/containers/one-76/rootfs
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Umounting disk mapped at /dev/nbd1
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Unmapping disk at /var/lib/one/datastores/101/76/mapper/disk.1
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: shutdown: Umounting disk mapped at /dev/loop0
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: ExitCode: 0
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: Successfully execute virtualization driver operation: cancel.
Fri Aug 16 11:45:17 2019 [Z0][VMM][I]: Failed to execute network driver operation: post.
Fri Aug 16 11:45:17 2019 [Z0][VMM][E]: Error deploying virtual machine: fw: -
Fri Aug 16 11:45:17 2019 [Z0][VM][I]: New LCM state is BOOT_FAILURE