* ceph osd crush add - uknown command crush
@ 2012-05-22 20:15 Sławomir Skowron
2012-05-22 20:27 ` Greg Farnum
0 siblings, 1 reply; 5+ messages in thread
From: Sławomir Skowron @ 2012-05-22 20:15 UTC (permalink / raw)
To: ceph-devel
/usr/bin/ceph -v
ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5)
root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0
pool=default rack=unknownrack host=obs-10-177-66-4
root@obs-10-177-66-4:/# unknown command crush
Something has changed (there is no change in doc) or it's bug ??
--
-----
Pozdrawiam
Sławek "sZiBis" Skowron
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ceph osd crush add - uknown command crush
2012-05-22 20:15 ceph osd crush add - uknown command crush Sławomir Skowron
@ 2012-05-22 20:27 ` Greg Farnum
2012-06-20 21:53 ` Travis Rhoden
0 siblings, 1 reply; 5+ messages in thread
From: Greg Farnum @ 2012-05-22 20:27 UTC (permalink / raw)
To: Sławomir Skowron; +Cc: ceph-devel, Sage Weil
On Tuesday, May 22, 2012 at 1:15 PM, Sławomir Skowron wrote:
> /usr/bin/ceph -v
> ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5)
>
> root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0
> pool=default rack=unknownrack host=obs-10-177-66-4
> root@obs-10-177-66-4:/# unknown command crush
>
> Something has changed (there is no change in doc) or it's bug ??
Gah, something changed.
Use "ceph osd crush set…"
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ceph osd crush add - uknown command crush
2012-05-22 20:27 ` Greg Farnum
@ 2012-06-20 21:53 ` Travis Rhoden
2012-06-20 21:59 ` Gregory Farnum
0 siblings, 1 reply; 5+ messages in thread
From: Travis Rhoden @ 2012-06-20 21:53 UTC (permalink / raw)
To: Greg Farnum; +Cc: Sławomir Skowron, ceph-devel, Sage Weil
This incorrect syntax is still published in the docs at
http://ceph.com/docs/master/ops/manage/crush/#adjusting-crush
Are the docs that end up on that page in GitHub? I'd be happy to
start making fixes and issuing pull-request. I've run into a few
gotchas when following the commands on those pages.
- Travis
On Tue, May 22, 2012 at 4:27 PM, Greg Farnum <greg@inktank.com> wrote:
> On Tuesday, May 22, 2012 at 1:15 PM, Sławomir Skowron wrote:
>> /usr/bin/ceph -v
>> ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5)
>>
>> root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0
>> pool=default rack=unknownrack host=obs-10-177-66-4
>> root@obs-10-177-66-4:/# unknown command crush
>>
>> Something has changed (there is no change in doc) or it's bug ??
> Gah, something changed.
>
> Use "ceph osd crush set…"
>
> --
> 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
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ceph osd crush add - uknown command crush
2012-06-20 21:53 ` Travis Rhoden
@ 2012-06-20 21:59 ` Gregory Farnum
[not found] ` <B0F7A6F1-020D-4CAB-BCFF-22C8CA4B068A@barryp.org>
0 siblings, 1 reply; 5+ messages in thread
From: Gregory Farnum @ 2012-06-20 21:59 UTC (permalink / raw)
To: Travis Rhoden; +Cc: ceph-devel
On Wed, Jun 20, 2012 at 2:53 PM, Travis Rhoden <trhoden@gmail.com> wrote:
> This incorrect syntax is still published in the docs at
> http://ceph.com/docs/master/ops/manage/crush/#adjusting-crush
>
> Are the docs that end up on that page in GitHub? I'd be happy to
> start making fixes and issuing pull-request. I've run into a few
> gotchas when following the commands on those pages.
Yes, they are in git! All the docs are generated from the sources in
doc/ under the same hierarchy as on the website. The page you're
interested in is at "{ceph_root}/doc/ops/manage/crush.rst".
>
> - Travis
>
> On Tue, May 22, 2012 at 4:27 PM, Greg Farnum <greg@inktank.com> wrote:
>> On Tuesday, May 22, 2012 at 1:15 PM, Sławomir Skowron wrote:
>>> /usr/bin/ceph -v
>>> ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5)
>>>
>>> root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0
>>> pool=default rack=unknownrack host=obs-10-177-66-4
>>> root@obs-10-177-66-4:/# unknown command crush
>>>
>>> Something has changed (there is no change in doc) or it's bug ??
>> Gah, something changed.
>>
>> Use "ceph osd crush set..."
>>
>> --
>> 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
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ceph osd crush add - uknown command crush
[not found] ` <B0F7A6F1-020D-4CAB-BCFF-22C8CA4B068A@barryp.org>
@ 2012-06-23 6:26 ` Gregory Farnum
0 siblings, 0 replies; 5+ messages in thread
From: Gregory Farnum @ 2012-06-23 6:26 UTC (permalink / raw)
To: Barry Pederson; +Cc: ceph-devel
On Thursday, June 21, 2012 at 11:12 AM, Barry Pederson wrote:
>
> On Jun 20, 2012, at 4:59 PM, Gregory Farnum wrote:
> > On Wed, Jun 20, 2012 at 2:53 PM, Travis Rhoden <trhoden@gmail.com (mailto:trhoden@gmail.com)> wrote:
> > > This incorrect syntax is still published in the docs at
> > > http://ceph.com/docs/master/ops/manage/crush/#adjusting-crush
> > >
> > > Are the docs that end up on that page in GitHub? I'd be happy to
> > > start making fixes and issuing pull-request. I've run into a few
> > > gotchas when following the commands on those pages.
> >
> > Yes, they are in git! All the docs are generated from the sources in
> > doc/ under the same hierarchy as on the website. The page you're
> > interested in is at "{ceph_root}/doc/ops/manage/crush.rst".
>
>
>
> I'm playing with ceph, and just now adding a 2nd node to an existing cluster, and unfortunately still see the old commands on that webpage. Can somebody give be a quick hint what the new equivalent to
>
> ceph osd crush add 123 osd.123 1.0 pool=default rack=rackbar host=hostfoo
>
You're looking for "ceph osd crush set…."
The docs have been updated now, thanks to a pull request from Travis. :)
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-23 6:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 20:15 ceph osd crush add - uknown command crush Sławomir Skowron
2012-05-22 20:27 ` Greg Farnum
2012-06-20 21:53 ` Travis Rhoden
2012-06-20 21:59 ` Gregory Farnum
[not found] ` <B0F7A6F1-020D-4CAB-BCFF-22C8CA4B068A@barryp.org>
2012-06-23 6:26 ` Gregory Farnum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox