ubuntu@jumphost:~/2021-04-12-TCS-Prod1PCB-215965$ openstack volume type list
+--------------------------------------+------------------------+-----------+
| ID | Name | Is Public |
+--------------------------------------+------------------------+-----------+
| 884217ee-d402-4644-b421-931517025172 | usc01-az01-abs-octavia | True |
| 6af193ca-970d-4b78-9b0d-b90bbceced93 | usc01-az01-abs-stable1 | True |
| a45fe4b1-ac8b-40d8-b3c1-45b00c64b075 | usc01-az01-abs-stable2 | True |
| 5e44595b-012c-41b3-a842-b8c1637a4000 | usc01-az01-abs-arbor | True |
+--------------------------------------+------------------------+-----------+
ubuntu@jumphost:~/2021-04-12-TCS-Prod1PCB-215965$ openstack volume type show usc01-az01-abs-octavia
+--------------------+------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------+------------------------------------------------------------------------------------------+
| access_project_ids | None |
| description | None |
| id | 884217ee-d402-4644-b421-931517025172 |
| is_public | True |
| name | usc01-az01-abs-octavia |
| properties | RESKEY:availability_zones='us-central-1-az01', volume_backend_name='cinder-ceph-stable2' |
| qos_specs_id | None |
+--------------------+------------------------------------------------------------------------------------------+
But when trying to create loadbalancers, I get this error:
2021-05-25 17:29:16.550 3666784 ERROR oslo_messaging.rpc.server taskflow.exceptions.WrappedFailure: WrappedFailure: [Failure: octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-16ce1668-84f6-4e88-84db-724cc3bc1538), Failure: octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-bdae919c-19c2-4ff5-b770-00a8d54a5f18)]
As you can see the volume type does not have multiattach property set (but, just FYI the other three volume types do have it enabled).
Ok, I manually added these options to the octavia.conf file (actually I forked the charm and changed the template):
[controller_worker] retry_interval= 5, create_timeout=300, create_ max_retries= 5 cinder_ driver abs-octavia create_ retry_interval = 5 create_ timeout = 300 create_ max_retries = 5
<...>
# defaults are: size=16GB, type=None, create_
volume_driver = volume_
volume_size = 16
volume_type = usc01-az01-
volume_
volume_
volume_
The usc01-az01- abs-octavia type exists:
ubuntu@ jumphost: ~/2021- 04-12-TCS- Prod1PCB- 215965$ openstack volume type list ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------+ ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------+ d402-4644- b421-9315170251 72 | usc01-az01- abs-octavia | True | 970d-4b78- 9b0d-b90bbceced 93 | usc01-az01- abs-stable1 | True | ac8b-40d8- b3c1-45b00c64b0 75 | usc01-az01- abs-stable2 | True | 012c-41b3- a842-b8c1637a40 00 | usc01-az01- abs-arbor | True | ------- ------- ------- ------- ----+-- ------- ------- ------- -+----- ------+
+------
| ID | Name | Is Public |
+------
| 884217ee-
| 6af193ca-
| a45fe4b1-
| 5e44595b-
+------
ubuntu@ jumphost: ~/2021- 04-12-TCS- Prod1PCB- 215965$ openstack volume type show usc01-az01- abs-octavia ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + d402-4644- b421-9315170251 72 | abs-octavia | availability_ zones=' us-central- 1-az01' , volume_ backend_ name='cinder- ceph-stable2' | ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- +
+------
| Field | Value |
+------
| access_project_ids | None |
| description | None |
| id | 884217ee-
| is_public | True |
| name | usc01-az01-
| properties | RESKEY:
| qos_specs_id | None |
+------
But when trying to create loadbalancers, I get this error:
2021-05-25 17:29:16.550 3666784 ERROR oslo_messaging. rpc.server taskflow. exceptions. WrappedFailure: WrappedFailure: [Failure: octavia. common. exceptions. ComputeBuildExc eption: Failed to build compute instance due to: Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-16ce1668- 84f6-4e88- 84db-724cc3bc15 38), Failure: octavia. common. exceptions. ComputeBuildExc eption: Failed to build compute instance due to: Multiattach volumes are only supported starting with compute API version 2.60. (HTTP 400) (Request-ID: req-bdae919c- 19c2-4ff5- b770-00a8d54a5f 18)]
As you can see the volume type does not have multiattach property set (but, just FYI the other three volume types do have it enabled).
Any ideas of what might be wrong?