Ask Your Question

Cinder create a new volume error

asked 2013-07-19 12:34:00 -0600

huyue89ac gravatar image

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!

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2013-07-25 06:26:51 -0600

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

edit flag offensive delete link more

answered 2013-07-25 08:51:35 -0600

huyue89ac gravatar image

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

edit flag offensive delete link more

answered 2013-07-25 09:58:45 -0600

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.

edit flag offensive delete link more

answered 2013-08-09 10:59:46 -0600

huyue89ac gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-19 12:34:00 -0600

Seen: 313 times

Last updated: Aug 09 '13