openstack-cinder-volume dead but pid exist [closed]

asked 2014-07-12 05:54:14 -0600

chandan gravatar image

updated 2014-07-14 17:43:00 -0600

smaffulli gravatar image

when we create nfs in another server and mount in controller node , and change the cinder.conf file and when restart service it will dead or disabled each and every time. plz any one provide a perfect solution for that.

both the server has ntp sync. In details we have controller node and other is nfs server with 50GB free space to mount in /cloud in nfs server.And this /cloud is mount in controller node . I change the packstack answer file these options -CONFIG_CINDER_BACKEND=nfs , CONFIG_CINDER_VOLUMES_SIZE=50G , CONFIG_CINDER_NFS_MOUNTS= and then run the packstack answer file . After successfully completion of this , when we see the cinder-manage service list cinder volume service is dead. the output is here.

Binary           Host                                 Zone             Status     State Updated At
cinder-volume    controller1                          nova             enabled    XXX   2014-07-14 06:41:41
cinder-scheduler controller1                          nova             enabled    :-)   2014-07-14 07:47:03
cinder-backup    controller1                          nova             enabled    :-)   2014-07-14 07:47:03

when we check the schedular log it will show the following error.

2014-07-14 13:02:02.735 2184 WARNING cinder.scheduler.host_manager [req-26f16f38-a403-478c-a3f2-b2a616241192 c8f2c4e84f0a43c2b3c8099dbf1955dd 6fe929671d3043cf84d54d671ca3112e] volume service is down or disabled. (host: controller1)
2014-07-14 13:02:02.761 2184 ERROR cinder.volume.flows.create_volume [req-26f16f38-a403-478c-a3f2-b2a616241192 c8f2c4e84f0a43c2b3c8099dbf1955dd 6fe929671d3043cf84d54d671ca3112e] Failed to schedule_create_volume: No valid host was found.

And in Volume log will show this error.

2014-07-14 13:00:11.388 2707 TRACE cinder.service ProcessExecutionError: Unexpected error while running command.
2014-07-14 13:00:11.388 2707 TRACE cinder.service Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf du -sb --apparent-size --exclude *snapshot* /var/lib/cinder/mnt/17083443afe5cb0139dd2a4e6358e7a8
2014-07-14 13:00:11.388 2707 TRACE cinder.service Exit code: 1
2014-07-14 13:00:11.388 2707 TRACE cinder.service Stdout: '20480\t/var/lib/cinder/mnt/17083443afe5cb0139dd2a4e6358e7a8\n'
2014-07-14 13:00:11.388 2707 TRACE cinder.service Stderr: "/usr/bin/du: cannot read directory `/var/lib/cinder/mnt/17083443afe5cb0139dd2a4e6358e7a8/lost+found': Permission denied\n"
2014-07-14 13:00:11.388 2707 TRACE cinder.service 
2014-07-14 13:00:11.428 2640 INFO cinder.service [-] Child 2707 exited with status 2
2014-07-14 13:00:11.429 2640 INFO cinder.service [-] _wait_child 1
2014-07-14 13:00:11.430 2640 INFO cinder.service [-] wait wrap.failed True

what was the actual reason and how we do it ? help me.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rbowen
close date 2015-06-02 14:46:50.059944


I hope both th machine has NTP synced.

koolhead17 gravatar imagekoolhead17 ( 2014-07-13 00:36:59 -0600 )edit

Edit the question to add more details.

smaffulli gravatar imagesmaffulli ( 2014-07-14 17:43:36 -0600 )edit

My issues is solved ,the error is occured due to error in nfs mounting. And thanks for quick response.

chandan gravatar imagechandan ( 2014-07-15 04:19:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-02 14:46:39 -0600

rbowen gravatar image

Closing - O.P. reports that the problem is resolved.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-07-12 05:54:14 -0600

Seen: 827 times

Last updated: Jun 02 '15