Build container - no networks connected

Bug #1632814 reported by Lubosz Kosnik
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-lxd
Invalid
Undecided
Unassigned

Bug Description

I'm using nova-lxd to setup devstack to test Octavia project.
I'm building Amphora image using diskimage-builder and changing base image:
BASE_IMAGE_FILE=trusty-server-cloudimg-amd64-root.tar.gz ./diskimage-create.sh -s 2 -t tar

After building image and uploading into glance I'm trying to start load balancer:
neutron lbaas-loadbalancer-create --name lb1 private-subnet

Status from neutron lbaas-loadbalancer-list:
| 1d042d45-1fbf-4af4-bfc9-751010d59e2a | lb1 | 10.0.0.4 | PENDING_CREATE | octavia |

Status from nova list:
| 12372459-d148-4a0a-928b-d55a9299cecc | amphora-7eab15d3-3d7c-4e5e-ae9b-6e3fd1377903 | ACTIVE | - | Running | lb-mgmt-net=192.168.0.3; private=10.0.0.6, 2001:db8:8000:0:f816:3eff:fef9:94f1 |

So look all OK.
Status from lxc list:
| instance-00000009 | RUNNING | | | PERSISTENT | 0 |

There is container but without any network connected and configured.
I just found one log in n-cpu:
2016-10-12 17:09:46.765 WARNING nova.compute.manager [req-dd074dce-3641-4b64-af9b-1bfbb30e18b6 nova service] [instance: 345c2064-5bae-4e70-a5b6-a11bef98fabe] Received unexpected event network-vif-plugged-df826454-bc38-478e-8e2d-9279843826b1 for instance

Generated profile for container looks like this:
name: instance-00000009
config:
  boot.autostart: "True"
  limits.cpu: "1"
  limits.memory: 1024MB
  raw.lxc: |
    lxc.console.logfile=/var/log/lxd/instance-00000009/console.log
description: ""
devices:
  configdrive:
    path: /var/lib/cloud/data
    source: /opt/stack/data/nova/instances/instance-00000009/configdrive
    type: disk
  qbr1a9072b6-8b:
    host_name: tap1a9072b6-8b
    hwaddr: fa:16:3e:6f:ef:5d
    nictype: bridged
    parent: qbr1a9072b6-8b
    type: nic
  root:
    path: /
    type: disk

Revision history for this message
Lubosz Kosnik (diltram) wrote :

Issue is with just starting container not networks.

Changed in nova-lxd:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.