Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread Abel Lopez
So, in cinder.conf, you have rbd_user=volumes and rbd_secret_uuid=bdf77f5d-bf0b-1053-5f56-cd76b32520dc If so, I'm stumped. On Jul 24, 2013, at 1:12 PM, Abel Lopez wrote: > You are correct, I didn't add that to nova.conf, only cinder.conf. > if you do > virsh secret-get-value bdf77f5d-bf0b-105

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread johnu
Yes. It matches for all nodes in the cluster On Wed, Jul 24, 2013 at 1:12 PM, Abel Lopez wrote: > You are correct, I didn't add that to nova.conf, only cinder.conf. > if you do > virsh secret-get-value bdf77f5d-bf0b-1053-5f56-cd76b32520dc > do you see the key that you have for your client.volum

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread Abel Lopez
You are correct, I didn't add that to nova.conf, only cinder.conf. if you do virsh secret-get-value bdf77f5d-bf0b-1053-5f56-cd76b32520dc do you see the key that you have for your client.volumes? On Jul 24, 2013, at 12:11 PM, johnu wrote: > Abel, >What did you change in nova.conf? . I h

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread johnu
Abel, What did you change in nova.conf? . I have added rbd_username and rbd_secret_uuid in cinder.conf. I verified that rbd_secret_uuid is same as virsh secret-list . On Wed, Jul 24, 2013 at 11:49 AM, Abel Lopez wrote: > One thing I had to do, and it's not really in the documentation, >

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread Abel Lopez
One thing I had to do, and it's not really in the documentation, I Created the secret once on 1 compute node, then I reused the UUID when creating it in the rest of the compute nodes. I then was able to use this value in cinder.conf AND nova.conf. On Jul 24, 2013, at 11:39 AM, johnu wrote: > s

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread johnu
sudo virsh secret-list UUID Usage --- bdf77f5d-bf0b-1053-5f56-cd76b32520dc Unused All nodes have secret set. On Wed, Jul 24, 2013 at 11:30 AM, Abel Lopez wrote: > You need to do this on each compute node, a

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread Abel Lopez
You need to do this on each compute node, and you can verify with virsh secret-list On Jul 24, 2013, at 11:20 AM, johnu wrote: > > I was trying openstack on ceph. I could create volumes but I am not able to > attach the volume to any running instance. If I attach a instance to an > instance

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread johnu
I followed the same steps earlier. How can I verify it? On Wed, Jul 24, 2013 at 11:26 AM, Abel Lopez wrote: > There's your problem: > error rbd username 'volumes' specified but secret not found#033[00m > > You need to follow the steps in the doc for creating the secret using > virsh. > http://

Re: [ceph-users] Error when volume is attached in openstack

2013-07-24 Thread Abel Lopez
There's your problem: error rbd username 'volumes' specified but secret not found#033[00m You need to follow the steps in the doc for creating the secret using virsh. http://ceph.com/docs/next/rbd/rbd-openstack/ On Jul 24, 2013, at 11:20 AM, johnu wrote: > > I was trying openstack on ceph. I

[ceph-users] Error when volume is attached in openstack

2013-07-24 Thread johnu
I was trying openstack on ceph. I could create volumes but I am not able to attach the volume to any running instance. If I attach a instance to an instance and reboot it, it goes to error state. Compute error logs are given below. 15:32.666 ERROR nova.compute.manager [#033[01;36mreq-464776fd-283