All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Mick <dan.mick@inktank.com>
To: "ymorita000@gmail.com" <ymorita000@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: found some issues on ceph v0.61.2
Date: Mon, 20 May 2013 17:52:50 -0700	[thread overview]
Message-ID: <519AC562.4010805@inktank.com> (raw)
In-Reply-To: <CAA4Vorp+ZVDjwxaYV4em12QPvW-RAOuwJyc4y9FcmGd1rWyMig@mail.gmail.com>



On 05/20/2013 05:00 PM, ymorita000@gmail.com wrote:
> Hi,
>
> I have found some issues on ceph v0.61.2 on Ubuntu 12.10.
>
> (1) "ceph-deploy osd create" command fails when using --cluster <name> option.
>
> [root@host3 yuji_ceph]# ceph-deploy --cluster yuji osd create host1:sdb
> Traceback (most recent call last):
>    File "/usr/sbin/ceph-deploy", line 8, in <module>
>      load_entry_point('ceph-deploy==0.1', 'console_scripts', 'ceph-deploy')()
>    File "/root/ceph-deploy/ceph_deploy/cli.py", line 112, in main
>      return args.func(args)
>    File "/root/ceph-deploy/ceph_deploy/osd.py", line 428, in osd
>      prepare(args, cfg, activate_prepared_disk=True)
>    File "/root/ceph-deploy/ceph_deploy/osd.py", line 273, in prepare
>      s = '{} returned {}\n{}\n{}'.format(cmd, ret, out, err)
> ValueError: zero length field name in format

This is a symptom of Python < 2.7, but you say Ubuntu 12.10; are all the 
hosts running 12.10?  Have you manually configured the hosts to use 
Python < 2.7?

If the hosts are running < 2.7 on purpose, there's a fix for this in 
git; see http://tracker.ceph.com/issues/5086, but it shouldn't be 
happening on 12.10.

> (2) "service ceph -a start/stop" command is accepted, but nothing happens.
>
> root@host1:~# ceph osd tree
>
> # id    weight  type name       up/down reweight
> -1      0.16    root default
> -2      0.16            host host1
> 0       0.03                    osd.0   up      1
> 1       0.03                    osd.1   up      1
> 2       0.03                    osd.2   up      1
> 3       0.06999                 osd.3   up      1
>
> root@host1:~# /etc/init.d/ceph -a stop
> root@host1:~# ceph osd tree
>
> # id    weight  type name       up/down reweight
> -1      0.16    root default
> -2      0.16            host host1
> 0       0.03                    osd.0   up      1
> 1       0.03                    osd.1   up      1
> 2       0.03                    osd.2   up      1
> 3       0.06999                 osd.3   up      1

If you're running on 12.10 with ceph-deploy, you're using Upstart, so 
you probably want upstart commands (start ceph/stop ceph)

> By the way, I could not find [osd], [host] and [mon] entry in the
> /etc/ceph/ceph.conf anymore when I create ceph cluster using
> "ceph-deploy". Is this information still stored somewhere?

Not directly; it's inferred from the presence of directories in 
/var/lib/ceph.  You can, of course, still add configuration options to 
ceph.conf, it's just that you don't have to specify daemon 
location/address there as you used to.

> Thank you.
> Yuji
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2013-05-21  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21  0:00 found some issues on ceph v0.61.2 ymorita000
2013-05-21  0:52 ` Dan Mick [this message]
2013-05-22 17:34   ` ymorita000

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519AC562.4010805@inktank.com \
    --to=dan.mick@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=ymorita000@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.