Fixes for missing and doubly-packaged files in ceph.spec

2014-02-12 Thread Alexandre Oliva
In order to upgrade my servers to the Fedora-based Hatrack 20, I had to
roll out my own rpms, because there aren't Fedora 20 builds at ceph.com.
This revealed some errors in the ceph spec file, that caused errors
because some ceph_test files were not packaged at all, and warnings
because some fileswithin libdir/ceph were packaged twice.  I added the
ceph_test binaries and avoided the double packaging of
libdir/ceph/erasure stuff by marking libdir/ceph with %dir.  This in
turn left ceph_common.sh out, because it had only been covered by the
recursive packaging of libdir/ceph, so I put it in explicitly.

Signed-off-by: Alexandre Oliva ol...@gnu.org

---
 ceph.spec.in |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ceph.spec.in b/ceph.spec.in
index fb599fa..82eb102 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -416,7 +416,8 @@ fi
 %{_sbindir}/rcceph
 /sbin/mkcephfs
 /sbin/mount.ceph
-%{_libdir}/ceph
+%dir %{_libdir}/ceph
+%{_libdir}/ceph/ceph_common.sh
 %dir %{_libdir}/rados-classes
 %{_libdir}/rados-classes/libcls_rbd.so*
 %{_libdir}/rados-classes/libcls_hello.so*
@@ -630,6 +631,7 @@ fi
 %{_bindir}/ceph_filestore_dump
 %{_bindir}/ceph_filestore_tool
 %{_bindir}/ceph_streamtest
+%{_bindir}/ceph_test_c_headers
 %{_bindir}/ceph_test_cfuse_cache_invalidate
 %{_bindir}/ceph_test_cls_hello
 %{_bindir}/ceph_test_cls_lock
@@ -649,6 +651,7 @@ fi
 %{_bindir}/ceph_test_filestore_idempotent
 %{_bindir}/ceph_test_filestore_idempotent_sequence
 %{_bindir}/ceph_test_filestore_workloadgen
+%{_bindir}/ceph_test_get_blkdev_size
 %{_bindir}/ceph_test_ioctls
 %{_bindir}/ceph_test_keyvaluedb_atomicity
 %{_bindir}/ceph_test_keyvaluedb_iterators

-- 
Alexandre Oliva, freedom fighterhttp://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist Red Hat Brazil Toolchain Engineer
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


packaging: do not package libdir/ceph recursively

2014-02-12 Thread Alexandre Oliva
My earlier patch was partially redundant with commit e60dcfa80dec, that
didn't make 0.76, so here's the non-redundant change, as a separate
patch.

---

Package libdir/ceph non-recursively, to avoid duplicates, and
package libdir/ceph/ceph_common.sh explicitly.

Signed-off-by: Alexandre Oliva ol...@gnu.org
---
 ceph.spec.in |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ceph.spec.in b/ceph.spec.in
index 76c8344..82eb102 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -416,7 +416,8 @@ fi
 %{_sbindir}/rcceph
 /sbin/mkcephfs
 /sbin/mount.ceph
-%{_libdir}/ceph
+%dir %{_libdir}/ceph
+%{_libdir}/ceph/ceph_common.sh
 %dir %{_libdir}/rados-classes
 %{_libdir}/rados-classes/libcls_rbd.so*
 %{_libdir}/rados-classes/libcls_hello.so*


-- 
Alexandre Oliva, freedom fighterhttp://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist Red Hat Brazil Toolchain Engineer
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: packaging: do not package libdir/ceph recursively

2014-02-12 Thread Ken Dreyer
On Wed, Feb 12, 2014 at 10:46 AM, Alexandre Oliva ol...@gnu.org wrote:
 My earlier patch was partially redundant with commit e60dcfa80dec, that
 didn't make 0.76, so here's the non-redundant change, as a separate
 patch.

Thank you! I've added my signed-off-by and submitted it for inclusion
in master here: https://github.com/ceph/ceph/pull/1224

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


ceph-brag ready

2014-02-12 Thread Sebastien Han
Hi guys,

First implementation of the ceph-brag is ready.
We have a public repo available here, so can try it out.

https://github.com/enovance/ceph-brag

However I don’t have any idea on how to submit this to github.com/ceph.
Can someone help me on that?

Cheers.

 
Sébastien Han 
Cloud Engineer 

Always give 100%. Unless you're giving blood.” 

Phone: +33 (0)1 49 70 99 72 
Mail: sebastien@enovance.com 
Address : 10, rue de la Victoire - 75009 Paris 
Web : www.enovance.com - Twitter : @enovance 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: ceph-brag ready

2014-02-12 Thread Mark Nelson

On 02/12/2014 02:58 PM, Sebastien Han wrote:

Hi guys,

First implementation of the ceph-brag is ready.
We have a public repo available here, so can try it out.

https://github.com/enovance/ceph-brag

However I don’t have any idea on how to submit this to github.com/ceph.
Can someone help me on that?


Just wanted to chime in and say neat. :)



Cheers.


Sébastien Han
Cloud Engineer

Always give 100%. Unless you're giving blood.”

Phone: +33 (0)1 49 70 99 72
Mail: sebastien@enovance.com
Address : 10, rue de la Victoire - 75009 Paris
Web : www.enovance.com - Twitter : @enovance



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


Re: Google Summer of Code 2014

2014-02-12 Thread Li Wang

Hi Patrick and Sage,
  We are pleasure to do this below
ALLOW A TUNABLE “PRIMARY AFFINITY” IN THE OSDMAP,
as well as
Extend CRUSH Policy Language to Support More Interesting Policies
of GSOC 2013, if it has not been done. Both are related to crush
optimization.
  We are ready to be mentees :)

Cheers,
Li Wang

On 2014/2/13 5:17, Patrick McGarry wrote:

Hey Ceph developers,

We are getting ready to submit our project list to be a mentoring
organization for GSoC 2014 and Sage suggested that perhaps there might
be a few more mentors/projects out there.  At the very least perhaps
some of you could help with polishing the (very rough) project
descriptions.

https://docs.google.com/document/d/1TG7Ki6gmQ5SvN0rFbEecaq8u1JUMybqZoVkGZA2KcsQ/edit?usp=sharing

Take a look and let me know if you would like to be a mentor or if you
have any project ideas (especially those that don't require C/C++).
Unfortunately the deadline on this is 48 hours away, so we'll need to
act quickly.  Thanks.


Best Regards,

Patrick McGarry
Director, Community || Inktank
http://ceph.com  ||  http://inktank.com
@scuttlemonkey || @ceph || @inktank
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Google Summer of Code 2014

2014-02-12 Thread Loic Dachary
Hi,

I've added the INCREASE CODE COVERAGE project description and volunteer to be 
a mentor.

ALLOW A TUNABLE “PRIMARY AFFINITY” IN THE OSDMAP is already implemented but 
not merged yet at https://github.com/ceph/ceph/pull/1176

I volunteer to be a co-mentor for ADD ERASURE CODING TO THE DURABILITY 
MODELING and BUILD SDK FOR OBJECT CLASSES

Cheers

On 12/02/2014 22:17, Patrick McGarry wrote:
 Hey Ceph developers,
 
 We are getting ready to submit our project list to be a mentoring
 organization for GSoC 2014 and Sage suggested that perhaps there might
 be a few more mentors/projects out there.  At the very least perhaps
 some of you could help with polishing the (very rough) project
 descriptions.
 
 https://docs.google.com/document/d/1TG7Ki6gmQ5SvN0rFbEecaq8u1JUMybqZoVkGZA2KcsQ/edit?usp=sharing
 
 Take a look and let me know if you would like to be a mentor or if you
 have any project ideas (especially those that don't require C/C++).
 Unfortunately the deadline on this is 48 hours away, so we'll need to
 act quickly.  Thanks.
 
 
 Best Regards,
 
 Patrick McGarry
 Director, Community || Inktank
 http://ceph.com  ||  http://inktank.com
 @scuttlemonkey || @ceph || @inktank
 --
 To unsubscribe from this list: send the line unsubscribe ceph-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 

-- 
Loïc Dachary, Artisan Logiciel Libre



signature.asc
Description: OpenPGP digital signature