Fwd: (Openstack-Cinder) Error

Adivya Singh adivya1.singh at gmail.com
Mon May 8 17:35:01 UTC 2023


HI,

Can you please guide me, There is this error which i am getting

"fatal: [t1w_cinder_volumes_container-29d71abf]: FAILED! => {"msg": "The
conditional check 'cinder_backend_lvm_inuse | bool' failed. The error was:
error while evaluating conditional (cinder_backend_lvm_inuse | bool): {{
(cinder_backends|default(\"\")|to_json).find(\"cinder.volume.drivers.lvm.LVMVolumeDriver\")
!= -1 }}: {'lvm': {'iscsi_ip_address': '{{ 172.29.244.50 }}',
'volume_backend_name': 'LVM_iSCSI', 'volume_driver':
'cinder.volume.drivers.lvm.LVMVolumeDriver', 'volume_group': 'cloud'}}:
float object has no element 244\n\nThe error appears to be in
'/opt/openstack-ansible/playbooks/common-playbooks/cinder.yml': line 67,
column 7, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n\n    - name: Configure
container (cinder-volume) when lvm is in-use\n      ^ here\n"}

I understand this error to some extent, but want to confirm with you if any
body have seen similiar kind of error

storage_hosts:
 s1w:
   ip: 172.29.236.50
   container_vars:
   #cinder_storage_availability_zone: nova
   #cinder_default_availability_zone: nova
     cinder_backends:
       lvm:
         volume_backend_name: LVM_iSCSI
         volume_driver: cinder.volume.drivers.lvm.LVMDriver
         volume_group: cloud-volume
         iscsi_ip_address: "{{ cinder_storage_address }}"
       limit_container_types: cinder_volume

Regards
Adivya Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230508/fea5d9b9/attachment.htm>


More information about the openstack-discuss mailing list