Unable to upload bootable volume to image.
Issue
- Unable to upload bootable volume to image.
- cinder-volume.log shows the errors below:
2019-08-14 16:11:52.030 676269 ERROR cinder.volume.manager [req-cb82fae5-0c5e-42c5-b6f6-b268560b6742 5498725138c646c5bf2c71a9cf900352 a3ef19c843a34c2a95fde8e310f897bb - default default] Failed to register image volume location cinder://5c2dcc9f-7d71-4013-ab2d-4198c5b18b1c.
2019-08-14 16:11:52.030 676269 ERROR cinder.volume.manager Invalid: 400 Bad Request
2019-08-14 16:11:52.030 676269 ERROR cinder.volume.manager Invalid location
2019-08-14 16:11:52.030 676269 ERROR cinder.volume.manager (HTTP 400)
2019-08-14 16:11:52.032 676269 WARNING cinder.volume.manager [req-cb82fae5-0c5e-42c5-b6f6-b268560b6742 5498725138c646c5bf2c71a9cf900352 a3ef19c843a34c2a95fde8e310f897bb - default default] Registration of image volume URI cinder://5c2dcc9f-7d71-4013-ab2d-4198c5b18b1c to image cd4a35ec-ffce-4e54-807a-7cdeff44892d failed.
2019-08-14 16:11:52.063 676269 ERROR oslo_db.sqlalchemy.exc_filters AttributeError: 'Volume' object has no attribute 'translate'
2019-08-14 16:11:52.063 676269 ERROR oslo_db.sqlalchemy.exc_filters
2019-08-14 16:11:52.065 676269 ERROR cinder.volume.manager [req-cb82fae5-0c5e-42c5-b6f6-b268560b6742 5498725138c646c5bf2c71a9cf900352 a3ef19c843a34c2a95fde8e310f897bb - default default] Upload volume to image encountered an error (image-id: cd4a35ec-ffce-4e54-807a-7cdeff44892d).
2019-08-14 16:11:52.244 676269 WARNING cinder.volume.manager [req-cb82fae5-0c5e-42c5-b6f6-b268560b6742 5498725138c646c5bf2c71a9cf900352 a3ef19c843a34c2a95fde8e310f897bb - default default] Deleting image in unexpected status: queued.
Environment
Red Hat OpenStack Platform 10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.