openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21163
Re: Could not create volume(Sheepdog)
That's because latest Cinder now uses filter scheduler which requires
back-end (in your case: sheepdog) driver to report capabilities/stats.
Unfortunately, sheepdog driver hasn't been updated (yet).
On Fri, Feb 22, 2013 at 1:36 AM, harryxiyou <harryxiyou@xxxxxxxxx> wrote:
> Hi all,
>
> After i depolied openstack ENV. by Devstack, i could not create
> Volume successfully. The commands of creating a volume are
> like this 'cinder create 5'. At last, I caught following error logs by
> 'screen -r'.
>
> 2013-02-22 01:14:02.237 INFO cinder.api.openstack.wsgi
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> POST http://192.168.1.3:8776/v1/1c13d4432d5c486dbc0c54030d5ceb00/volumes
> 2013-02-22 01:14:02.239 AUDIT cinder.api.v1.volumes
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> Create volume of 5 GB
> 2013-02-22 01:14:02.778 AUDIT cinder.api.v1.volumes
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> vol={'volume_metadata': [], 'availability_zone': 'nova',
> 'terminated_at': None, 'updated_at': None, 'snapshot_id': None,
> 'ec2_id': None, 'mountpoint': None, 'deleted_at': None, 'id':
> 'f3ebeb9d-bc9a-4984-abe2-47bd5e0e773b', 'size': 5, 'user_id':
> u'd863ce5682954b268cd92ad8da440de7', 'attach_time': None,
> 'display_description': None, 'project_id':
> u'1c13d4432d5c486dbc0c54030d5ceb00', 'launched_at': None,
> 'scheduled_at': None, 'status': 'creating', 'volume_type_id': None,
> 'deleted': False, 'provider_location': None, 'host': None,
> 'source_volid': None, 'provider_auth': None, 'display_name': None,
> 'instance_uuid': None, 'created_at': datetime.datetime(2013, 2, 21,
> 17, 14, 2, 434462), 'attach_status': 'detached', 'volume_type': None,
> 'metadata': {}}
> 2013-02-22 01:14:02.780 INFO cinder.api.openstack.wsgi
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> http://192.168.1.3:8776/v1/1c13d4432d5c486dbc0c54030d5ceb00/volumes
> returned with HTTP 200
>
>
>
> $ cd /opt/stack/cinder && /opt/stack/cinder/bin/cinder-scheduler
> --config-file /etc/cinder/cinder.conf || touch
> "/opt/stack/status/stack/c-sch.failure"
> 2013-02-22 01:01:23.277 AUDIT cinder.service [-] Starting
> cinder-scheduler node (version 2013.1)
> 2013-02-22 01:01:25.319 INFO cinder.openstack.common.rpc.common [-]
> Connected to AMQP server on localhost:5672
> 2013-02-22 01:01:25.944 INFO cinder.openstack.common.rpc.common [-]
> Connected to AMQP server on localhost:5672
> 2013-02-22 01:05:02.445 WARNING
> cinder.scheduler.filters.capacity_filter
> [req-f5d7f718-c29f-4ce2-b213-47ec3314622e
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> Free capacity not set;volume node info collection broken.
> 2013-02-22 01:05:02.445 WARNING cinder.scheduler.manager
> [req-f5d7f718-c29f-4ce2-b213-47ec3314622e
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> Failed to schedule_create_volume: No valid host was found.
> 2013-02-22 01:14:02.782 WARNING
> cinder.scheduler.filters.capacity_filter
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> Free capacity not set;volume node info collection broken.
> 2013-02-22 01:14:02.783 WARNING cinder.scheduler.manager
> [req-56d30373-c93b-41f8-8fdd-1d9b123f5f40
> d863ce5682954b268cd92ad8da440de7 1c13d4432d5c486dbc0c54030d5ceb00]
> Failed to schedule_create_volume: No valid host was found.
>
>
> Could anyone give me some suggestions? Thanks in advance.
>
>
> --
> Thanks
> Harry Wei
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
--
Regards
Huang Zhiteng
References