Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1625223

Summary: tempest test tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs is failing for IBM block stroage plugin for iSCSI protocol
Product: Red Hat OpenStack Reporter: atiwary
Component: openstack-cinderAssignee: Cinder Bugs List <cinder-bugs>
Status: CLOSED UPSTREAM QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact: Kim Nylander <knylande>
Priority: unspecified    
Version: 12.0 (Pike)CC: atiwary, pgrist, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-11 14:18:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
cinder api log
none
tempest.conf
none
volume log
none
scheduler
none
cinder manage
none
rowsflush none

Description atiwary 2018-09-04 12:25:25 UTC
Created attachment 1480764 [details]
cinder api log

Description of problem:

tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs  test is failing


Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/admin/test_volume_types.py", line 53, in test_volume_crud_with_volume_type_and_extra_specs
    volume = self.create_volume(**params)
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/base.py", line 138, in create_volume
    volume['id'], wait_until)
  File "/usr/lib/python2.7/site-packages/tempest/common/waiters.py", line 204, in wait_for_volume_resource_status
    resource_name=resource_name, resource_id=resource_id)
tempest.exceptions.VolumeResourceBuildErrorException: volume 74727ffe-cc6c-452a-b4ee-f18833c4d73e failed to build and is in ERROR status

Version-Release number of selected component (if applicable):

RHOSP 12.0 pike
openstack-tempest-17.2.0-1.el7ost.noarch  
openstack-cinder-11.1.0-1.el7ost.noarch 

How reproducible:
Every time when it is tested with iSCSI protocol.The same test is passing with FC protocol

Steps to Reproduce:
1.can be tested via ostester
2.
3.

Actual results:
failed

Expected results:
pass

Additional info:

attached the tempest.conf and cinder log,please let me know if more info required

also cinder scheduler log,it has been found 

2018-08-15 06:31:39.665 1920 WARNING cinder.scheduler.filter_scheduler [req-16b36307-75e7-445a-9166-70067433ceaf f9c8a7eddf754eabb7ce49a281dc3dc3 863ed722eb4d4ade829ada6d510a16f1 - default default] No weighed backend found for volume with properties: {'name': u'tempest-VolumeTypesTest-volume-type-1867016498', 'qos_specs_id': None, 'deleted': False, 'created_at': '2018-08-15T06:31:38.000000', 'updated_at': None, 'extra_specs': {u'vendor_name': u'Open Source', u'storage_protocol': u'iSCSI'}, 'is_public': True, 'deleted_at': None, 'id': 'fdf9deca-77a3-40d6-821b-d1b79a42ff55', 'projects': [], 'description': None}
2018-08-15 06:31:39.666 1920 INFO cinder.message.api [req-16b36307-75e7-445a-9166-70067433ceaf f9c8a7eddf754eabb7ce49a281dc3dc3 863ed722eb4d4ade829ada6d510a16f1 - default default] Creating message record for request_id = req-16b36307-75e7-445a-9166-70067433ceaf
2018-08-15 06:31:39.677 1920 ERROR cinder.scheduler.flows.create_volume [req-16b36307-75e7-445a-9166-70067433ceaf f9c8a7eddf754eabb7ce49a281dc3dc3 863ed722eb4d4ade829ada6d510a16f1 - default default] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available: NoValidBackend: No valid backend was found. No weighed backends available

there are error log in cinder manage too

Comment 1 atiwary 2018-09-04 12:26:24 UTC
Created attachment 1480765 [details]
tempest.conf

Comment 2 atiwary 2018-09-04 12:27:58 UTC
Created attachment 1480768 [details]
volume log

Comment 3 atiwary 2018-09-04 12:29:00 UTC
Created attachment 1480769 [details]
scheduler

Comment 4 atiwary 2018-09-04 12:30:03 UTC
Created attachment 1480770 [details]
cinder manage

Comment 5 atiwary 2018-09-04 12:30:53 UTC
Created attachment 1480771 [details]
rowsflush

Comment 7 atiwary 2018-09-11 08:27:07 UTC
Hi Paul,

They have identified that it is issue on their side and they have fixed it.We can close this BZ.

Regards,
Abhishek