Red Hat Bugzilla – Bug 1001669
openstack-cinder: No error massage in the log when system fail to create a volume
Last modified: 2016-04-26 10:28:01 EDT
Created attachment 790976 [details]
Cinder log files from /var/log/cinder
Description of problem:
The OpenStack-Cinder is has a gluster storage with two nodes, the XFS file system can't create more the 50GB sized volume.
Though the Cinder failed to create the volume, there were no error/warning massages in any of the logs. After the creation attempt the status of the volume was 'Error'.
Version-Release number of selected component (if applicable):
Configure the OpenStack-cinder to work with gluster with two node according to the manual attached (see appendix B).
Steps to Reproduce:
1. Create a volume, 100 GB in size with nova volume-create command.
2. Create a volume, 100 GB in size in the webUI.
3. Create a volume, 10 GB in size with the nova-cli & weUI.
4. Check the cinder logs for errors with regarding the 100GB volumes.
There are no errors nor any indication in the logs that the volume creation failed.
The logs should show errors about the failure of the volume creation.
1.The Cinder logs are attached.
2. The manaul explainig how to configure the cinder with gluster - see appendix B.
Created attachment 790979 [details]
the rhos3 manual
The error for this condition appears in the cinder-scheduler log as:
2013-08-27 15:29:58 WARNING [cinder.scheduler.filters.capacity_filter] Insufficient free space for volume creation (requested / avail): 100/49.0
2013-08-27 15:29:58 ERROR [cinder.scheduler.manager] Failed to schedule_create_volume: No valid host was found.
This indicates that the scheduler received a request for a 100GB volume allocation but only saw 49GB free, so it filtered that host, and no host was found that satisfied the request. The cinder-volume log will not show an error in this scenario because the request is never sent to that service.
Another 50GB attempt:
2013-08-27 16:09:45 WARNING [cinder.scheduler.filters.capacity_filter] Insufficient free space for volume creation (requested / avail): 50/49.0
2013-08-27 16:09:45 ERROR [cinder.scheduler.manager] Failed to schedule_create_volume: No valid host was found.