Volume creation failed , according there is no any cinder services on node with cinder role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Critical
|
Vladimir Kuklin |
Bug Description
Reproduced on 319 iso:
http://
Configuration:
KVM
CentOs simple (1 controller + 1 compute + 1 cinder) + Neutron Vlan
Steps to reproduce:
Deploy env
Execute OSTF
Actual result:
Volume goes to error state when we try to create it. I have node-3 with cinder role
ssh on node-3 from admin node and execute:
[root@node-3 ~]# ps uax| grep api
root 18692 0.0 0.0 103236 848 pts/0 S+ 18:52 0:00 grep api
[root@node-3 ~]# ps uax| grep cinder
root 18694 0.0 0.0 103236 848 pts/0 S+ 18:52 0:00 grep cinder
[root@node-3 ~]# ps uax| grep volume
root 18696 0.0 0.0 103236 848 pts/0 S+ 18:52 0:00 grep volume
But services are included in init.d, just not run here:
[root@node-3 ~]# /etc/init.
openstack-
[root@node-3 ~]# /etc/init.
openstack-
also cinder config sample is placed in /etc/cinder/
As soon as service try to start with 2 config I try to see config from /usr/share/
and here it is
logdir = /var/log/cinder
state_path = /var/lib/cinder
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper = tgtadm
sql_connection = mysql:/
rpc_backend = cinder.
rootwrap_config = /etc/cinder/
auth_strategy = keystone
[keystone_
admin_tenant_name = %SERVICE_
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
As we can see there is no defined cvolume group(to succesfuul start of lvm backend) also why we have here rpc backend defined as qpid if we have rabbit on Centos?
also there is missed parameters like:
use_syslog=true
api_paste_
volume_group=cinder
rabbit_userid=nova
bind_host=0.0.0.0
osapi_volume_
iscsi_ip_address=
More over if we ssh on controller node we can see running cinder services here
cinder 8138 0.1 5.0 414348 51360 ? S 17:41 0:05 /usr/bin/python /usr/bin/cinder-api --config-file /usr/share/
cinder 8190 1.2 0.3 251956 3924 ? S 17:41 0:58 /usr/bin/python /usr/bin/
cinder 8226 0.1 1.7 372448 17368 ? S 17:41 0:05 /usr/bin/python /usr/bin/
cinder 8331 0.0 2.2 375768 22676 ? S 17:42 0:04 /usr/bin/python /usr/bin/
But with stopped backup
[root@node-1 ~]# /etc/init.
openstack-
And missed data (and qpid for rpc)in /etc/cinder/
As result we can see next error in the cinder-lvm logs (and others)
cindcinder-
2013-11-
in volume scheduler:
2013-11-
2013-11-
2013-11-
2013-11-
2013-11-
2013-11-
2013-11-
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
raise exception.
Full logs find in attachment
Changed in fuel: | |
importance: | Undecided → Critical |
assignee: | nobody → Vladimir Kuklin (vkuklin) |
Changed in fuel: | |
status: | Confirmed → New |
status: | New → Triaged |