Matteo,

The question is better asked to the ceph-users list that aside; You can
reference the cinder-volume config from the puppet-cinder moduel [1] to see
what we typically do to get ceph working with Cinder. The usual cause for
your issue is the lack of the 'export CEPH_ARGS="--id ceph"' in your
service config files. For debian/ubuntu (use "env" not "export") its
/etc/init/cinder-volume.override for RHEL/CentOS
its /etc/sysconfig/openstack-cinder-volume

[1]
https://github.com/stackforge/puppet-cinder/blob/master/manifests/backend/rbd.pp



On Mon, Apr 14, 2014 at 3:19 AM, Matteo Stettner
<matteostett...@gmail.com>wrote:

> Hello,
>
> I followed the guide on Ceph to integrate Ceph into OpenStack (
> https://ceph.com/docs/master/rbd/rbd-openstack/ ).
> But I'm running into an error with cinder-volume at the moment . I didn't
> installed cinder-volume on a different node but it's installed on my
> OpenStack controller.
> When I want to start the service I get this error log:
>
> ProcessExecutionError: Unexpected error while running command.
>>
>> Command: rados lspools
>>
>> Exit code: 254
>>
>> Stdout: ''
>>
>> Stderr: "2014-04-14 12:03:46.248294 7f29fccb87c0 -1 monclient(hunting):
>>> ERROR: missing keyring, cannot use cephx for authentication\n2014-04-14
>>> 12:03:46.248301 7f29fccb87c0  0 librados: client.admin initialization error
>>> (2) No such file or directory\ncouldn't connect to cluster! error -2\n"
>>
>> 2014-04-14 12:03:46     INFO [cinder.service] Child 30077 exited with
>>> status 2
>>
>> 2014-04-14 12:03:46     INFO [cinder.service] _wait_child 1
>>
>> 2014-04-14 12:03:46     INFO [cinder.service] wait wrap.failed True
>>
>>
>>
> I assume that cinder-volume isn't able to read the client.admin keyring.
> But it shouldn't need to read this one. As I wrote into the config it
> should use the "ceph.client.cinder.keyring " or am I wrong?
>
>
>
> --
> best regards
>
> Matteo Stettner
>
> _______________________________________________
> Ceph-community mailing list
> ceph-commun...@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-community-ceph.com
>
>


-- 
Andrew
Mirantis
Ceph community
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to