RE: mkcephfs giving problems

2011-09-15 Thread Smets, Jan (Jan)
Try as root. => failed to open log file '/var/log/ceph/osd.0.log': error 13: Permission denied > -Original Message- > From: ceph-devel-ow...@vger.kernel.org > [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Atish Kathpal > Sent: donderdag 15 september 2011 8:14 > To: ceph-de

Re: mkcephfs giving problems

2011-09-15 Thread Wido den Hollander
Hi, As Jantje said, it seems you are not running as root. But I do have some recommendations for your config: On Thu, 2011-09-15 at 06:14 +, Atish Kathpal wrote: > [global] > auth supported = cephx >keyring = /etc/ceph/ceph.keyring > > [mon] > mon data = /ceph_data/m

Re: News: Github, new documentation

2011-09-15 Thread Wido den Hollander
Hi, On Tue, 2011-09-13 at 13:25 -0700, Tommi Virtanen wrote: > Good afternoon, dear ceph-devel. I have two news items to share with you: > > First, we're moving to Github. This will hopefully make it easier for > all of you to interact with the git repository. You'll see some of our > repositorie

Re: mkcephfs giving problems

2011-09-15 Thread Wido den Hollander
Hi, On Thu, 2011-09-15 at 17:24 +0530, Atish Kathpal wrote: > Hello friends > > > I am running the "mkcephfs -a -c ceph.conf -k ceph.keyring" script as > root (sudo) and have also tried by giving 777 privileges to all > directories being accessed. > > > I also made the suggested change in the

Re: News: Github, new documentation

2011-09-15 Thread Damien Churchill
On 15 September 2011 12:55, Wido den Hollander wrote: > Hi, > > On Tue, 2011-09-13 at 13:25 -0700, Tommi Virtanen wrote: >> Good afternoon, dear ceph-devel. I have two news items to share with you: >> >> First, we're moving to Github. This will hopefully make it easier for >> all of you to interac

Re: News: Github, new documentation

2011-09-15 Thread Wido den Hollander
On Thu, 2011-09-15 at 13:05 +0100, Damien Churchill wrote: > On 15 September 2011 12:55, Wido den Hollander wrote: > > Hi, > > > > On Tue, 2011-09-13 at 13:25 -0700, Tommi Virtanen wrote: > >> Good afternoon, dear ceph-devel. I have two news items to share with you: > >> > >> First, we're moving t

Re: mkcephfs giving problems

2011-09-15 Thread Josh Durgin
>> failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain >> socket to '/var/run/ceph/osd.0.asok': error 2: No such file or >> directory Do the /var/run/ceph and /ceph_data/osd.0 directories exist? -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-15 Thread Sage Weil
On Tue, 13 Sep 2011, Liu Bo wrote: > On 09/11/2011 05:47 AM, Martin Mailand wrote: > > Hi > > I am hitting this Warning reproducible, the workload is a ceph osd, > > kernel ist 3.1.0-rc5. > > > > Have posted a patch for this: > > http://marc.info/?l=linux-btrfs&m=131547325515336&w=2 We're still

Re: ceph kernel bug

2011-09-15 Thread Martin Mailand
Hi Sage, I am still hitting this in -rc6. It happeneds every time I stop an OSD. Do you need more information to reproduce it? Best Regards, martin [103159.164630] libceph: osd0 192.168.42.113:6800 socket closed [103169.153484] [ cut here ] [103169.162935] kernel BUG at

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-15 Thread Josef Bacik
On Thu, Sep 15, 2011 at 11:44:09AM -0700, Sage Weil wrote: > On Tue, 13 Sep 2011, Liu Bo wrote: > > On 09/11/2011 05:47 AM, Martin Mailand wrote: > > > Hi > > > I am hitting this Warning reproducible, the workload is a ceph osd, > > > kernel ist 3.1.0-rc5. > > > > > > > Have posted a patch for th

Re: ceph kernel bug

2011-09-15 Thread Sage Weil
On Thu, 15 Sep 2011, Martin Mailand wrote: > Hi Sage, > I am still hitting this in -rc6. It happeneds every time I stop an OSD. > Do you need more information to reproduce it? Oh, great to hear it's easy to reproduce! I was trying (in my uml environment) and failing. Can run the script below ri

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-15 Thread David Sterba
On Thu, Sep 15, 2011 at 11:44:09AM -0700, Sage Weil wrote: > On Tue, 13 Sep 2011, Liu Bo wrote: > > On 09/11/2011 05:47 AM, Martin Mailand wrote: > > > Hi > > > I am hitting this Warning reproducible, the workload is a ceph osd, > > > kernel ist 3.1.0-rc5. > > > > > > > Have posted a patch for th

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-15 Thread David Sterba
On Thu, Sep 15, 2011 at 03:50:29PM -0400, Josef Bacik wrote: > > We're still seeing this with -rc6, which includes 98c9942 and 65450aa. > > > > I haven't looked at the reservation code in much detail. Is there > > anything I can do to help track this down? > > > > This should be taken care of

Re: News: Github, new documentation

2011-09-15 Thread Tommi Virtanen
On Thu, Sep 15, 2011 at 05:09, Wido den Hollander wrote: >> > The "Source control" on the website is still referring to the old >> > locations: http://ceph.newdream.net/source-control/ >> It's still the current one until 2011-09-16T02:00Z isn't it? > Ah darn, I should read better :-) Stumbled upon

Re: WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()

2011-09-15 Thread Sage Weil
On Thu, 15 Sep 2011, David Sterba wrote: > On Thu, Sep 15, 2011 at 03:50:29PM -0400, Josef Bacik wrote: > > > We're still seeing this with -rc6, which includes 98c9942 and 65450aa. > > > > > > I haven't looked at the reservation code in much detail. Is there > > > anything I can do to help track

[PATCH 0/5] Improve Ceph Qemu+RBD support

2011-09-15 Thread Sage Weil
The current support for qemu and Ceph RBD (rados block device) has two main deficiencies: authentication doesn't work, and it relies on environment variables (which don't work with latest upstream). This patch set addresses both those problems, while trying to integrate as cleanly as possible wi

[PATCH 1/5] secret: add Ceph secret type

2011-09-15 Thread Sage Weil
Add a new secret type to store a Ceph authentication key. The ceph_id field contains the name of the key (e.g. 'admin' for the ceph superuser). Signed-off-by: Sage Weil --- include/libvirt/libvirt.h.in |3 ++ src/conf/secret_conf.c | 45 +- sr

[PATCH 3/5] qemu: pass virConnectPtr into Domain{Attach,Detach}*

2011-09-15 Thread Sage Weil
The qemu RBD driver needs access to the conn in order to get the secret needed for connecting to the ceph cluster. Signed-off-by: Sage Weil --- src/qemu/qemu_command.c |5 +++-- src/qemu/qemu_command.h |3 ++- src/qemu/qemu_driver.c | 17 - src/qemu/qemu_hotplug.c |

[PATCH 2/5] storage: add authId, authDomain to virDomainDiskDef

2011-09-15 Thread Sage Weil
Add additional fields to let you specify the how to authenticate with a network disk type. The authId is the name to authenticate as, and the authDomain optionally describes the domain that user exists in. The latter allows us to locate a secret in using the libvirt secrets API, as the user is ma

[PATCH 5/5] qemu/rbd: improve rbd device specification

2011-09-15 Thread Sage Weil
This improves the support for qemu rbd devices by adding support for a few key features (e.g., authentication) and cleaning up the way in which rbd configuration options are passed to qemu. And member of the disk source xml specifies how librbd should authenticate. The id property is the Ceph/RB

[PATCH 4/5] buf: implement generic virBufferEscape

2011-09-15 Thread Sage Weil
Implement a generic helper to escape a given set of characters with a leading '\'. Generalizes virBufferEscapeSexpr(). Signed-off-by: Sage Weil --- src/libvirt_private.syms |1 + src/util/buf.c | 33 ++--- src/util/buf.h |1 + 3 files ch

Re: ceph kernel bug

2011-09-15 Thread Martin Mailand
Hi Sage, that's quite a bit of output, I put it in a pastebin. http://pastebin.com/9CNJk0Pw. Best Regards, martin Sage Weil schrieb: On Thu, 15 Sep 2011, Martin Mailand wrote: Hi Sage, I am still hitting this in -rc6. It happeneds every time I stop an OSD. Do you need more information to re

[PATCH 3/4] rbd: update comment heading

2011-09-15 Thread Sage Weil
Properly document the configuration string syntax and semantics. Remove (out of date) details about the librbd implementation. Signed-off-by: Sage Weil --- block/rbd.c | 28 +--- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/block/rbd.c b/block/rbd.c

[PATCH 4/4] rbd: call flush, if available

2011-09-15 Thread Sage Weil
librbd recently added async writeback and flush support. If the new rbd_flush() call is available, call it. Signed-off-by: Sage Weil --- block/rbd.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/block/rbd.c b/block/rbd.c index 202e7ec..af65924 100644 --- a

[PATCH 2/4] rbd: allow escaping in config string

2011-09-15 Thread Sage Weil
The config string is variously delimited by =, @, and /, depending on the field. Allow these characters to be escaped by preceeding them with \. Signed-off-by: Sage Weil --- block/rbd.c | 29 +++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/block/r

[PATCH 0/4] More RBD updates

2011-09-15 Thread Sage Weil
Hi, Here are a few more improvements to the qemu rbd support. The first patch makes the configuration file handling cleaner (do not error out if /etc/ceph/ceph.conf doesn't exist). One allows characters in the conf string to be escaped, so you can (for example) specify an ip\:port (':' is us

[PATCH 1/4] rbd: ignore failures when reading from default conf location

2011-09-15 Thread Sage Weil
If we are reading from the default config location, ignore any failures. It is perfectly legal for the user to specify exactly the options they need and to not rely on any config file. Signed-off-by: Sage Weil --- block/rbd.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(

Re: ceph kernel bug

2011-09-15 Thread Sage Weil
On Thu, 15 Sep 2011, Martin Mailand wrote: > Hi Sage, > that's quite a bit of output, I put it in a pastebin. > http://pastebin.com/9CNJk0Pw. Any chance you can include the output of 'objdump -rdS libceph.ko'? ceph.ko too, for good measure. This looks like a sightly different crash than the one