Ask Your Question
0

Unable to create cinder volume? [closed]

asked 2016-08-23 02:33:21 -0500

cloudlearner gravatar image

updated 2016-08-31 00:15:35 -0500

configure icehouse miltinode setup all cinder services working fine but when I create volume the status is Error. what i have configured wrong, please suggest something

Scheduler.log
2016-08-23 12:48:33.728 26577 WARNING cinder.context [-] Arguments dropped when creating context: {'user': u'b43c1bd196e4482d91b951e0356fb3a7', 'tenant': u'9edc66f8d08d451f94017c8b2a59de6f', 'user_identity': u'b43c1bd196e4482d91b951e0356fb3a7 9edc66f8d08d451f94017c8b2a59de6f - - -'}
2016-08-23 12:48:33.739 26577 WARNING cinder.scheduler.host_manager [req-3ea4502a-3143-47fc-9abb-429826f0e70a b43c1bd196e4482d91b951e0356fb3a7 9edc66f8d08d451f94017c8b2a59de6f - - -] volume service is down or disabled. (host: newcontroller)
2016-08-23 12:48:33.740 26577 ERROR cinder.scheduler.filters.capacity_filter [req-3ea4502a-3143-47fc-9abb-429826f0e70a b43c1bd196e4482d91b951e0356fb3a7 9edc66f8d08d451f94017c8b2a59de6f - - -] Free capacity not set: volume node info collection broken.
2016-08-23 12:48:33.742 26577 ERROR cinder.scheduler.flows.create_volume [req-3ea4502a-3143-47fc-9abb-429826f0e70a b43c1bd196e4482d91b951e0356fb3a7 9edc66f8d08d451f94017c8b2a59de6f - - -] Failed to schedule_create_volume: No valid host was found.

And

Volume.log
2016-08-23 12:56:19.236 2539 WARNING cinder.volume.manager [-] Unable to update stats, GlusterfsDriver -1.1.1  driver is uninitialized.
2016-08-23 12:57:19.240 2539 WARNING cinder.volume.manager [-] Unable to update stats, GlusterfsDriver -1.1.1  driver is uninitialized.
2016-08-23 12:58:19.244 2539 WARNING cinder.volume.manager [-] Unable to update stats, GlusterfsDriver -1.1.1  driver is uninitialized.

cinder-manage service list shows
Binary           Host                                 Zone             Status     State Updated At
cinder-scheduler newcontroller                        nova             enabled    :-)   2016-08-24 10:56:51
cinder-backup    newcontroller                        nova             enabled    :-)   2016-08-24 10:56:56
cinder-volume    newcontroller                        nova             enabled    XXX   2016-08-24 10:55:47
cinder-volume    newcompute1                          nova             enabled    :-)   2016-08-24 10:57:00
cinder-scheduler newcompute1                          nova             enabled    XXX   2015-11-02 06:43:14
cinder-backup    newcompute1                          nova             enabled    XXX   2015-11-02 06:43:34

image description

cinder.conf on compute node where volume service is enable

[DEFAULT]
rabbit_host=newcontroller
rpc_backend=rabbit
my_ip=newcompute1
auth_strategy=keystone
volume_backend_name=GLUSTER
iscsi_helper=lioadm
glusterfs_shares_config=/etc/cinder/shares.conf
glusterfs_mount_point_base=/mnt/gluster/cinder/
volume_driver=cinder.volume.drivers.glusterfs.GlusterfsDriver
[BRCD_FABRIC_EXAMPLE]
[database]
connection=mysql://cinder:password@newcontroller/cinder
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
auth_host=newcontroller
auth_port=35357
auth_protocol=https
auth_uri=http://newcontroller:5000
identity_uri=http://newcontroller:35357
admin_user=cinder
admin_password=password
admin_tenant_name=service

cinder.conf on controller node where scheduler and api running

[DEFAULT]
rabbit_host=newcontroller
rpc_backend=rabbit
my_ip=newcontroller
auth_strategy=keystone
volume_clear=none
glusterfs_shares_config=/etc/cinder/shares.conf
glusterfs_mount_point_base=/mnt/gluster/cinder/
[BRCD_FABRIC_EXAMPLE]
[database]
connection=mysql://cinder:password@newcontroller/cinder
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
auth_uri=http://newcontroller:5000
identity_uri=http://newcontroller:35357
admin_user=cinder
admin_password=password
admin_tenant_name=service
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by cloudlearner
close date 2016-09-05 05:13:50.869192

Comments

1

Add a comment showing the /etc/cinder/cinder.conf contents (uncommented).

barry.davis gravatar imagebarry.davis ( 2016-08-24 07:26:07 -0500 )edit

i edited my question and add cinder.conf file

cloudlearner gravatar imagecloudlearner ( 2016-08-26 01:35:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-31 05:00:35 -0500

you have cinder-volume service down on newcontroller:

2016-08-23 12:48:33.739 26577 WARNING cinder.scheduler.host_manager [req-3ea4502a-3143-47fc-9abb-429826f0e70a b43c1bd196e4482d91b951e0356fb3a7 9edc66f8d08d451f94017c8b2a59de6f - - -] volume service is down or disabled. (host: newcontroller)

I saw that you have also running cinder-volume service on newcompute1 node, but by the names, I suppose that this node is a nova-compute node, and not a controller node, and remember that cinder-volume is a service that MUST run only on single node, and usually on controller node -> at the time of this writing there are a blueprint to make this seervice active/active:

https://blueprints.launchpad.net/cind...

HTH Amedeo

edit flag offensive delete link more

Comments

thanks amedo, your suggestion works

cloudlearner gravatar imagecloudlearner ( 2016-09-05 05:12:29 -0500 )edit

@amedeo @cloudlearer I am not sure what's the suggestion here , but I was running cinder-compute in controller and 1 compute node and it worked perfectly for me, but for some reason I am not able to get any stats from cinder-volume compute node to cinder-scheduler on controller....any ideas?

vgdub gravatar imagevgdub ( 2018-11-16 03:31:30 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-23 02:33:21 -0500

Seen: 815 times

Last updated: Aug 31 '16