Due to changes in glance/cinder image direct url is now broken for kolla-ansible deployed wallaby.
Kolla-ansible deploys with `show_multiple_locations` set to `True` so deploying with volume from images is broken. Creating a file called `/etc/kolla/config/glance` with contents fixes it:
[DEFAULT]
show_multiple_locations = false
show_image_direct_url = false
Below is the error if either value above is true.
Error scheduling 93055f08-aaa5-4e27-869d-7090172c535e from last vol-service: host@rbd-1#rbd-1 : ['Traceback (most recent call last):\n', ' File "/usr/lib/python3/dist-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task\n result = task.execute(**arguments)\n', ' File "/usr/lib/python3/dist-packages/cinder/volume/flows/manager/create_volume.py", line 1132, in execute\n model_update = self._create_from_image(context,\n', ' File "/usr/lib/python3/dist-packages/cinder/utils.py", line 614, in _wrapper\n return r.call(f, *args, **kwargs)\n', ' File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 409, in call\n do = self.iter(retry_state=retry_state)\n', ' File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 356, in iter\n return fut.result()\n', ' File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result\n return self.__get_result()\n', ' File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result\n raise self._exception\n', ' File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 412, in call\n result = fn(*args, **kwargs)\n', ' File "/usr/lib/python3/dist-packages/cinder/volume/flows/manager/create_volume.py", line 998, in _create_from_image\n model_update, cloned = self.driver.clone_image(context,\n', ' File "/usr/lib/python3/dist-packages/cinder/volume/drivers/rbd.py", line 1567, in clone_image\n volume_update = self._clone(volume, pool, image, snapshot)\n', ' File "/usr/lib/python3/dist-packages/cinder/volume/drivers/rbd.py", line 1019, in _clone\n self.RBDProxy().clone(src_client.ioctx,\n', ' File "/usr/lib/python3/dist-packages/eventlet/tpool.py", line 193, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', ' File "/usr/lib/python3/dist-packages/eventlet/tpool.py", line 151, in proxy_call\n rv = execute(f, *args, **kwargs)\n', ' File "/usr/lib/python3/dist-packages/eventlet/tpool.py", line 132, in execute\n six.reraise(c, e, tb)\n', ' File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise\n raise value\n', ' File "/usr/lib/python3/dist-packages/eventlet/tpool.py", line 86, in tworker\n rv = meth(*args, **kwargs)\n', ' File "rbd.pyx", line 698, in rbd.RBD.clone\n', 'rbd.InvalidArgument: [errno 22] RBD invalid argument (error creating clone)\n']
2021-10-21 10:13:54.948 7 INFO cinder.message.api [req-108208ff-af33-48db-8780-7e4799bb7e82 b9f5c03c77957eeed8679325f5a7e764d578d4386bbbc9542b8b0cc09d8c8d08 fec6d11a51a04c2ea079d4bd1c6a525a - - -] Creating message record for request_id = req-108208ff-af33-48db-8780-7e4799bb7e82
2021-10-21 10:13:54.953 7 ERROR cinder.scheduler.flows.create_volume [req-108208ff-af33-48db-8780-7e4799bb7e82 b9f5c03c77957eeed8679325f5a7e764d578d4386bbbc9542b8b0cc09d8c8d08 fec6d11a51a04c2ea079d4bd1c6a525a - - -] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. Exceeded max scheduling attempts 3 for resource 93055f08-aaa5-4e27-869d-7090172c535e: cinder.exception.NoValidBackend: No valid backend was found. Exceeded max scheduling attempts 3 for resource 93055f08-aaa5-4e27-869d-7090172c535e
Forgot to mention I'm on Ceph pacific if that matters.