Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Volume creation with size more than 20GB is failing in OCATA

Hi,

I am creating a volume of soze 25GB from Openstack dashboard and its failing with below error.

![Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available]

in logs I see - scheduler.log

 2017-07-03 08:11:47.148 1555 WARNING cinder.scheduler.filters.capacity_filter [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Insufficient free space for volume creation on host openstack@lvm#lvm (requested / avail): 25/20.6
2017-07-03 08:11:47.151 1555 INFO cinder.scheduler.base_filter [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Filtering removed all hosts for the request with volume ID 'fb4ba889-4675-4227-a3ea-d2096997f264'. Filter results: AvailabilityZoneFilter: (start: 1, end: 1), CapacityFilter: (start: 1, end: 0), CapabilitiesFilter: (start: 0, end: 0)
2017-07-03 08:11:47.153 1555 WARNING cinder.scheduler.filter_scheduler [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] No weighed backend found for volume with properties: {'name': u'iscsi', 'qos_specs_id': None, 'deleted': False, 'created_at': '2017-05-24T07:15:12.000000', 'updated_at': None, 'extra_specs': {u'volume_backend_name': u'lvm'}, 'is_public': True, 'deleted_at': None, 'id': '5ec929c6-e98e-4e4d-9c95-a3740ac73d70', 'projects': [], 'description': None}
2017-07-03 08:11:47.155 1555 INFO cinder.message.api [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Creating message record for request_id = req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d
2017-07-03 08:11:47.170 1555 ERROR cinder.scheduler.flows.create_volume [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available

Volume creation with size more than 20GB is failing in OCATA

Hi,

I am creating a volume of soze 25GB from Openstack dashboard and its failing with below error.

![Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available]

in logs I see - scheduler.log

 2017-07-03 08:11:47.148 1555 WARNING cinder.scheduler.filters.capacity_filter [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Insufficient free space for volume creation on host openstack@lvm#lvm (requested / avail): 25/20.6
2017-07-03 08:11:47.151 1555 INFO cinder.scheduler.base_filter [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Filtering removed all hosts for the request with volume ID 'fb4ba889-4675-4227-a3ea-d2096997f264'. Filter results: AvailabilityZoneFilter: (start: 1, end: 1), CapacityFilter: (start: 1, end: 0), CapabilitiesFilter: (start: 0, end: 0)
2017-07-03 08:11:47.153 1555 WARNING cinder.scheduler.filter_scheduler [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] No weighed backend found for volume with properties: {'name': u'iscsi', 'qos_specs_id': None, 'deleted': False, 'created_at': '2017-05-24T07:15:12.000000', 'updated_at': None, 'extra_specs': {u'volume_backend_name': u'lvm'}, 'is_public': True, 'deleted_at': None, 'id': '5ec929c6-e98e-4e4d-9c95-a3740ac73d70', 'projects': [], 'description': None}
2017-07-03 08:11:47.155 1555 INFO cinder.message.api [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Creating message record for request_id = req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d
2017-07-03 08:11:47.170 1555 ERROR cinder.scheduler.flows.create_volume [req-19938c72-7a1a-4aaa-a08d-42c3b9a5d23d 70b8b2776358484590fbc158b3992a82 08244e41f50248f78da47db721d994f4 - default default] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available

I see that I have 2 VG. But cinder is picking up the first one only.

[root@openstack cinder]# vgdisplay
  --- Volume group ---
  VG Name               cinder-volumes
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  11
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               20.60 GiB
  PE Size               4.00 MiB
  Total PE              5273
  Alloc PE / Size       0 / 0
  Free  PE / Size       5273 / 20.60 GiB
  VG UUID               wvICCL-hCBB-WGsh-Huvv-5317-XoJW-y2u5HG

  --- Volume group ---
  VG Name               cl
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               597.80 GiB
  PE Size               4.00 MiB
  Total PE              153036
  Alloc PE / Size       152879 / 597.18 GiB
  Free  PE / Size       157 / 628.00 MiB
  VG UUID               BQ8hW8-OaP1-RpU2-4Q7z-Oud7-Hry6-MwfBeg

[root@openstack cinder]#