NetApp with openstack integration error during image upload to volume
Applies to
- ONTAP 9.x
- OpenStack Bobcat - (Kolla-Ansible)
Issue
Attempt to create volumes from images, the operation fails in OpenStack and the volumes go into an error state. Despite this, the LUN's still appear in the mapped state on NetApp.
- Running command to create cinder-volume injecting image fails:
openstack volume create --image <IMAGENAME> --bootable --size 200 --type
<CINDER TYPE> <VOLUME NAME>
2021-02-18 22:20:32.371 781 ERROR os_brick.initiator.linuxscsi [req-33bc5c42-66a4-4df0-a0a0-c2fbb58a00c1 50008fd8137a41fdb9db59c9a4f104ab f81684935ad94ec7b7a85ce1d621240f - default default] multipathd is not running: exit code None: oslo_concurrency.processutils.ProcessExecutionError: [Errno 2] No such file or directory: 'multipathd"
- Volume is created with error:
Command to list volume status:
cinder show <VOLUME ID>
+--------------------------------+-----------------------------------------------------------+
| Property | Value |
+--------------------------------+-----------------------------------------------------------+
| attached_servers | [] |
| attachment_ids | [] |
| availability_zone | XX|
| bootable | true |
| consistencygroup_id | None |
| created_at | 2021-02-24T11:35:20.000000 |
| description | None |
| encrypted | False |
| group_id | None |
| id | 1a7ba921-950a-4125-b5e0-bd43451800a6 |
| metadata | |
| migration_status | None |
| multiattach | False |
| name | iscsi-test-64 |
| os-vol-host-attr:host | str:netapp-iscsi-ssd@netapp2#v_pd15_aff400_002_n02_ssd_01 |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | f81684935ad94ec7b7a85ce1d621240f |
| provider_id | None |
| replication_status | None |
| service_uuid | None |
| shared_targets | True |
| size | 2 |
| snapshot_id | None |
| source_volid | None |
| status | error |
| updated_at | 2021-02-24T11:35:40.000000 |
| user_id | 50008fd8137a41fdb9db59c9a4f104ab |
| volume_image_metadata | signature_verified : False |
| volume_type | netapp2 |
+--------------------------------+-----------------------------------------------------------+