[Bug 1815325] Re: nova-lxd fails to boot with TypeError: 'filter' object is not subscriptable

Alex Kavanagh 1815325 at bugs.launchpad.net
Thu Feb 28 16:30:02 UTC 2019


** Also affects: nova-lxd (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova-lxd in Ubuntu.
https://bugs.launchpad.net/bugs/1815325

Title:
  nova-lxd fails to boot with TypeError: 'filter' object is not
  subscriptable

Status in nova-lxd:
  In Progress
Status in nova-lxd rocky series:
  In Progress
Status in nova-lxd trunk series:
  In Progress
Status in nova-lxd package in Ubuntu:
  New

Bug description:
  When attempting to boot a xenial image on a bionic devstack host, I
  get the following error in the devstack at n-cpu log:

  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [None req-f18fc390-d8d1-4bd9-9a3e-2ef029f01add admin admin] [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5] Instance failed to spawn: TypeError: 'filter' object is not subscriptable
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5] Traceback (most recent call last):
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]   File "/opt/stack/nova/nova/compute/manager.py", line 2379, in _build_resources
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]     yield resources
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]   File "/opt/stack/nova/nova/compute/manager.py", line 2142, in _build_and_run_instance
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]     block_device_info=block_device_info)
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]   File "/opt/stack/nova-lxd/nova/virt/lxd/driver.py", line 591, in spawn
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]     network_info)
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]   File "/opt/stack/nova-lxd/nova/virt/lxd/driver.py", line 1280, in _add_configdrive
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]     storage_id = uid_map[0].get("Hostid", 0)
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5] TypeError: 'filter' object is not subscriptable
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: ERROR nova.compute.manager [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5]
  Feb 09 17:32:43 b-lxc-devstack nova-compute[12553]: INFO nova.compute.manager [None req-f18fc390-d8d1-4bd9-9a3e-2ef029f01add admin admin] [instance: 08c9f6ce-ff96-47ba-adb3-34cbe27b93a5] Terminating instance

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova-lxd/+bug/1815325/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list