Cinder create a new volume error

Asked by Yue HU

Hello everyone,
I am a beginner in cinder and now I came across a problem when creating new volume.

#cinder create --display-name test 1

+--------------------------------------+--------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+--------+--------------+------+-------------+-------------+
| ab719d8d-42a4-44bc-b627-96b30e3f5002 | error | test | 1 | None | |
+--------------------------------------+--------+--------------+------+-------------+-------------+

this always displays like "error". But I check the command
#lvdisplay
the volume is well created and the status is available.
And in the log:cinder-scheduler.log

these error display:

ERROR[cinder.scheduler.filters.capacity_filter]Free capacity not set:volume node info collection broken.
ERROR[cinder.scheduler.manager]Failed to schedule_create_volume:No valid host was found.

Can someone give me some advice or help?

Thanks a lot!

Question information

Language:
English Edit question
Status:
Solved
For:
Cinder Edit question
Assignee:
No assignee Edit question
Solved by:
Yue HU
Solved:
Last query:
Last reply:
Revision history for this message
Nisha Kadakia (nisha-rk1) said :
#1

I am new to Cinder too but can you check how much free space you have on the host.

Revision history for this message
Yue HU (huyue89ac) said :
#2

Hello ,
Thank you for giving answer, but there are a lot free space on the host.

Revision history for this message
zhangchao (zhangchao010) said :
#3

what's your cinder version? Which driver did you use? LVM?

When creating volume, the scheduler service will choose a valid backend first.
The error shows no valid backend. You can check your cinder scheduler log in debug to see if the "free_capacity_gb" is zero.

Revision history for this message
Yue HU (huyue89ac) said :
#4

Thank you all and this problem is solved. Thank you very much

Revision history for this message
Yi Xuan Huang (yixuan178) said :
#5

can you share how to fix? it may help for other guys.

Revision history for this message
Bhavaniprasad (bhavaniprasadadapaka) said :
#6

I have configured my cinder with glusterfs, My cinder scheduler is giving same issue as above. It would be helpfull for me if you can post your solution here.