Looks like this is due to nbd mount code not being py3 compliant. We call _detect_nbd_devices which returns a filter:
https://github.com/openstack/nova/blob/e3a55493ba0cb405f14b9090282d93eb230c5715/nova/virt/disk/mount/nbd.py#L44
Which gets passed to random.shuffle:
https://github.com/openstack/nova/blob/e3a55493ba0cb405f14b9090282d93eb230c5715/nova/virt/disk/mount/nbd.py#L64
https://docs.python.org/3.6/library/random.html#random.shuffle
https://docs.python.org/2.7/library/random.html#random.shuffle
Looks like this is due to nbd mount code not being py3 compliant. We call _detect_nbd_devices which returns a filter:
https:/ /github. com/openstack/ nova/blob/ e3a55493ba0cb40 5f14b9090282d93 eb230c5715/ nova/virt/ disk/mount/ nbd.py# L44
Which gets passed to random.shuffle:
https:/ /github. com/openstack/ nova/blob/ e3a55493ba0cb40 5f14b9090282d93 eb230c5715/ nova/virt/ disk/mount/ nbd.py# L64
https:/ /docs.python. org/3.6/ library/ random. html#random. shuffle
https:/ /docs.python. org/2.7/ library/ random. html#random. shuffle