CloudForms inventory fails when an openstack cinder volume contains no 'device' directive in the attachments property

Solution Unverified - Updated -

Issue

  • CloudForms inventory fails when an openstack cinder volume contains no 'device' directive in the attachments property.
MariaDB [cinder]> select mountpoint from volumes where id='a97eeccd-7f99-4038-9fd4-8fe8db61c26a';
+------------+
| mountpoint |
+------------+
| NULL       |
+------------+
  • To workaround this we can add a mountpoint to the offending cinder volume
MariaDB [cinder]> update volumes set mountpoint='/dev/vda' where id='a97eeccd-7f99-4038-9fd4-8fe8db61c26a';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

MariaDB [cinder]> select mountpoint from volumes where id='a97eeccd-7f99-4038-9fd4-8fe8db61c26a';
+------------+
| mountpoint |
+------------+
| /dev/vda   |
+------------+
1 row in set (0.00 sec)

Environment

  • Red Hat CloudForms 3.1 (cfme-5.3.0)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content