All of lore.kernel.org
 help / color / mirror / Atom feed
* sync Ceph packaging efforts for Debian/Ubuntu
@ 2012-06-16  0:10 Laszlo Boszormenyi (GCS)
  2012-06-16 16:00 ` Sage Weil
  2012-06-16 21:50 ` Sage Weil
  0 siblings, 2 replies; 6+ messages in thread
From: Laszlo Boszormenyi (GCS) @ 2012-06-16  0:10 UTC (permalink / raw)
  To: Ben Collins, James Page; +Cc: Ceph Development, openstack-devel


[-- Attachment #1.1: Type: text/plain, Size: 2168 bytes --]

Hi all parties,

Ceph is packaged at three places: in Ubuntu, at upstream and in Debian.
Its first 'stable' release, 0.48 is coming. At least as Sage wrote some
days ago: "It looks like 0.48 will also be the basis for one of our
first 'stable' releases.".

Hereby I would like to sync our Debian related packaging efforts, not
only for the mentioned stable release. The OpenStack packaging team
would like to add Ceph to their stack. Howtos, helping hands on forums
needs it as well.
I'm not subscribed to the lists, please keep me in the loop with Cc-s.

First patch, 0002-Add-support-PPC.patch is for upstream. Would help the
in tree leveldb to build on PowerPC architectures as well.
Second patch reflect the homepage and git tree changes for Ubuntu.
Third patch is from them, noted as "Switch from libcryptopp to libnss as
libcryptopp is not seeded.". So libnss3-dev is used as build-dependency
instead. Sage, would you commit it?
I've separated gceph out, if someone needs the CLI only, then s/he can
do that without the GTK+ libraries. See below.

Ben, James, can you please share in some sentences why ceph-fuse is
dropped in Ubuntu? Do you need it Sage? If it's feasible, you may drop
that as well.
As I see, you still ship d/librgw1.install , d/librgw1.postrm ,
d/librgw1.postinst and librgw-dev.install . They are not needed anymore.
Maybe the biggest change is that ceph-mds was separated out and such,
ceph-fs-common created for cephfs and mount.ceph .
Please move the configure call to its target, as you can check in git.
Add var/lib/ceph/mon , var/lib/ceph/osd and var/lib/ceph/mds to
d/ceph.dirs .

git patch is for Sage, upstream and contains what needed for the new
packages. May I get commit rights to debian/ or should I go with git
forks and you'll merge the changes?

Also it seems that limit the architectures to build on is not
allowed[1]. I'll write an email to this issue, how to go with failing
leveldb build-dependency on some archs.

Loic, do you need anything or do you have any objections with these
changes?

Regards,
Laszlo/GCS
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677626

[-- Attachment #1.2: 0002-Add-support-PPC.patch --]
[-- Type: text/x-patch, Size: 1433 bytes --]

From 6805877f8913935071fb97c1b76e4f0ce992d8a6 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Wed, 28 Sep 2011 12:27:19 +0900
Subject: [PATCH 2/9] Add support PPC

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
 port/atomic_pointer.h |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

--- leveldb.orig/port/atomic_pointer.h
+++ leveldb/port/atomic_pointer.h
@@ -36,6 +36,8 @@
 #define ARCH_CPU_X86_FAMILY 1
 #elif defined(__ARMEL__)
 #define ARCH_CPU_ARM_FAMILY 1
+#elif defined(__powerpc__) || defined(__powerpc64__) || defined(__ppc__)
+#define ARCH_CPU_PPC_FAMILY 1
 #endif
 
 namespace leveldb {
@@ -102,6 +104,21 @@ inline void WriteMemoryBarrier() {
 }
 #define LEVELDB_HAVE_MEMORY_BARRIER
 
+// PPC
+#elif defined(ARCH_CPU_PPC_FAMILY)
+
+inline void ReadMemoryBarrier() {
+#ifdef __powerpc64__
+  __asm__ __volatile__ ("lwsync" : : : "memory");
+#else
+  __asm__ __volatile__ ("sync" : : : "memory");
+#endif
+}
+inline void WriteMemoryBarrier() {
+  __asm__ __volatile__ ("sync" : : : "memory");
+}
+#define LEVELDB_HAVE_MEMORY_BARRIER
+
 #endif
 
 // AtomicPointer built using platform-specific MemoryBarrier()
@@ -156,6 +173,7 @@ class AtomicPointer {
 #undef LEVELDB_HAVE_MEMORY_BARRIER
 #undef ARCH_CPU_X86_FAMILY
 #undef ARCH_CPU_ARM_FAMILY
+#undef ARCH_CPU_PPC_FAMILY
 
 }  // namespace port
 }  // namespace leveldb

[-- Attachment #1.3: changed_urls.patch --]
[-- Type: text/x-patch, Size: 726 bytes --]

diff -Nur ceph-0.47.2.orig/debian/control ceph-0.47.2/debian/control
--- ceph-0.47.2.orig/debian/control	2012-06-08 18:08:07.000000000 +0200
+++ ceph-0.47.2/debian/control	2012-06-16 00:27:27.932254728 +0200
@@ -1,9 +1,9 @@
 Source: ceph
 Section: admin
 Priority: optional
-Homepage: http://ceph.newdream.net/
-Vcs-Git: git://github.com/NewDreamNetwork/ceph.git
-Vcs-Browser: https://github.com/NewDreamNetwork/ceph
+Homepage: http://ceph.com/
+Vcs-Git: git://github.com/ceph/ceph.git
+Vcs-Browser: https://github.com/ceph/ceph
 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
 XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
 Uploaders: Sage Weil <sage@newdream.net>

[-- Attachment #1.4: libnss_change.patch --]
[-- Type: text/x-patch, Size: 1046 bytes --]

diff --git a/debian/control b/debian/control
index 023e134..927d2bd 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Vcs-Git: git://github.com/ceph/ceph.git
 Vcs-Browser: https://github.com/ceph/ceph
 Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
 Uploaders: Sage Weil <sage@newdream.net>
-Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev
+Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libnss3-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev
 Standards-Version: 3.9.3
 
 Package: ceph

[-- Attachment #1.5: ceph-packaging-git.patch --]
[-- Type: text/x-patch, Size: 14294 bytes --]

diff --git a/debian/ceph-common.install b/debian/ceph-common.install
index 4772663..ffc4675 100644
--- a/debian/ceph-common.install
+++ b/debian/ceph-common.install
@@ -1,6 +1,4 @@
-sbin/mount.ceph
 usr/bin/ceph
-usr/bin/cephfs
 usr/bin/ceph-conf
 usr/bin/ceph-syn
 usr/bin/ceph-authtool
@@ -14,7 +12,5 @@ usr/share/man/man8/ceph-conf.8
 usr/share/man/man8/ceph-dencoder.8
 usr/share/man/man8/rados.8
 usr/share/man/man8/rbd.8
-usr/share/man/man8/mount.ceph.8
-usr/share/man/man8/cephfs.8
 etc/bash_completion.d/rados
 etc/bash_completion.d/rbd
diff --git a/debian/ceph-fs-common.install b/debian/ceph-fs-common.install
new file mode 100644
index 0000000..9a50360
--- /dev/null
+++ b/debian/ceph-fs-common.install
@@ -0,0 +1,4 @@
+sbin/mount.ceph
+usr/bin/cephfs
+usr/share/man/man8/mount.ceph.8
+usr/share/man/man8/cephfs.8
diff --git a/debian/ceph-mds.install b/debian/ceph-mds.install
new file mode 100644
index 0000000..8a5d74e
--- /dev/null
+++ b/debian/ceph-mds.install
@@ -0,0 +1,2 @@
+usr/bin/ceph-mds
+usr/share/man/man8/ceph-mds.8
diff --git a/debian/ceph.install b/debian/ceph.install
index 51fb311..0a975aa 100644
--- a/debian/ceph.install
+++ b/debian/ceph.install
@@ -4,18 +4,14 @@ usr/bin/monmaptool
 usr/bin/osdmaptool
 usr/bin/ceph-run
 usr/bin/ceph-mon
-usr/bin/ceph-mds
 usr/bin/ceph-osd
 usr/bin/ceph-debugpack
-sbin/ceph-disk-prepare usr/sbin/
-sbin/ceph-disk-activate usr/sbin/
 sbin/mkcephfs
 usr/lib/ceph/ceph_common.sh
 usr/lib/rados-classes/*
 usr/share/doc/ceph/sample.ceph.conf
 usr/share/doc/ceph/sample.fetch_config
 usr/share/man/man8/ceph-mon.8
-usr/share/man/man8/ceph-mds.8
 usr/share/man/man8/ceph-osd.8
 usr/share/man/man8/mkcephfs.8
 usr/share/man/man8/ceph-run.8
diff --git a/debian/control b/debian/control
index 023e134..0b07a0f 100644
--- a/debian/control
+++ b/debian/control
@@ -10,18 +10,20 @@ Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse
 Standards-Version: 3.9.3
 
 Package: ceph
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common, uuid-runtime, python
-Recommends: ceph-fuse, libcephfs1, librados2, librbd1, btrfs-tools
-Description: distributed storage and file system
+Recommends: ceph-fuse, libcephfs1, librados2, librbd1, btrfs-tools, gceph
+Description: distributed storage
  Ceph is a distributed storage and network file system designed to provide
  excellent performance, reliability, and scalability.
  .
  This package contains all server daemons and management tools for creating,
- running, and administering a Ceph storage cluster.
+ running, and administering a Ceph storage cluster. This does not include
+ the POSIX filesystem server, as that has been split into the ceph-mds
+ package.
 
 Package: ceph-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: ceph (= ${binary:Version}), ${misc:Depends}
@@ -31,8 +33,52 @@ Description: debugging symbols for ceph
  .
  This package contains the debugging symbols for ceph.
 
+Package: gceph
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: ceph
+Description: Graphical ceph cluster status utility
+ Ceph is a distributed network file system designed to provide
+ excellent performance, reliability, and scalability.  This is a
+ gtk-based gui to monitor cluster status, similar to the 'ceph'
+ command.
+
+Package: gceph-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: gceph (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for gceph
+ Ceph is a distributed network file system designed to provide
+ excellent performance, reliability, and scalability.  This is a
+ gtk-based gui to monitor cluster status, similar to the 'ceph'
+ command.
+ .
+ This package contains the debugging symbols for gceph.
+
+Package: ceph-mds
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ceph, ceph-fs-common
+Description: distributed filesystem service
+ Ceph is a distributed storage and network file system designed to provide
+ excellent performance, reliability, and scalability.
+ .
+ This package contains the ceph-mds daemon, used for serving the distributed
+ ceph filesystem on top of the distributed storage cluster.
+
+Package: ceph-mds-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: ceph (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for ceph
+ Ceph is a distributed storage and network file system designed to provide
+ excellent performance, reliability, and scalability.
+ .
+ This package contains the debugging symbols for ceph-mds
+
 Package: ceph-fuse
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: fuse-utils
 Suggests: ceph
@@ -49,7 +95,7 @@ Description: FUSE-based client for the Ceph distributed file system
  do.
 
 Package: ceph-fuse-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: ceph-fuse (= ${binary:Version}), ${misc:Depends}
@@ -62,7 +108,7 @@ Description: debugging symbols for ceph-fuse
  This package contains the debugging symbols for ceph-fuse.
 
 Package: ceph-common
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}, librbd1 (= ${binary:Version})
 Conflicts: ceph-client-tools
 Replaces: ceph-client-tools
@@ -74,7 +120,7 @@ Description: common utilities to mount and interact with a ceph filesystem
  ceph fs with the kernel client.
 
 Package: ceph-common-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ceph-common (= ${binary:Version}), ${misc:Depends}
 Conflicts: ceph-client-tools-dbg
 Replaces: ceph-client-tools-dbg
@@ -88,8 +134,37 @@ Description: debugging symbols for ceph-common
  .
  This package contains the debugging symbols for ceph-common.
 
+Package: ceph-fs-common
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common (= ${binary:Version})
+Conflicts: ceph-client-tools
+Replaces: ceph-client-tools
+Suggests: ceph
+Description: common utilities to mount and interact with a ceph filesystem
+ Ceph is a distributed network file system designed to provide
+ excellent performance, reliability, and scalability.  This is a collection
+ of common tools, including the mount utility, that allows one to mount the
+ ceph fs with the kernel client.
+ .
+ This package contains common utilities for the Ceph filesystem.
+
+Package: ceph-fs-common-dbg
+Architecture: linux-any
+Depends: ceph-fs-common (= ${binary:Version}), ${misc:Depends}
+Conflicts: ceph-client-tools-dbg
+Replaces: ceph-client-tools-dbg
+Section: debug
+Priority: extra
+Description: debugging symbols for ceph-fs-common
+ Ceph is a distributed network file system designed to provide
+ excellent performance, reliability, and scalability.  This is a collection
+ of common tools, including the mount utility, that allows one to mount the
+ ceph fs with the kernel client.
+ .
+ This package contains the debugging symbols for ceph-fs-common.
+
 Package: ceph-resource-agents
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Recommends: pacemaker
 Priority: extra
 Depends: ceph (= ${binary:Version}), ${misc:Depends}, resource-agents
@@ -104,7 +179,7 @@ Description: OCF-compliant resource agents for Ceph
 Package: librados2
 Conflicts: librados, librados1
 Replaces: librados, librados1
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: RADOS distributed object store client library
@@ -116,7 +191,7 @@ Description: RADOS distributed object store client library
 Package: librados2-dbg
 Conflicts: librados1-dbg
 Replaces: librados1-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: librados2 (= ${binary:Version}), ${misc:Depends}
@@ -129,7 +204,7 @@ Description: debugging symbols for librados
  This package contains debugging symbols for librados.
 
 Package: librados-dev
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libdevel
 Depends: ${misc:Depends}, librados2 (= ${binary:Version})
 Conflicts: librados1-dev, librados2-dev
@@ -144,7 +219,7 @@ Description: RADOS distributed object store client library (development files)
  link against librados.
 
 Package: librbd1
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}, librados2 (= ${binary:Version})
 Description: RADOS block device client library
@@ -154,7 +229,7 @@ Description: RADOS block device client library
  shared library allowing applications to manage these block devices.
 
 Package: librbd1-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: librbd1 (= ${binary:Version}), ${misc:Depends}
@@ -167,7 +242,7 @@ Description: debugging symbols for librbd1
  This package contains debugging symbols for librbd1.
 
 Package: librbd-dev
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libdevel
 Depends: ${misc:Depends}, librbd1 (= ${binary:Version}), librados-dev
 Conflicts: librbd1-dev
@@ -184,7 +259,7 @@ Description: RADOS block device client library (development files)
 Package: libcephfs1
 Conflicts: libcephfs, libceph, libceph1
 Replaces: libcephfs, libceph, libceph1
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Ceph distributed file system client library
@@ -194,7 +269,7 @@ Description: Ceph distributed file system client library
  file system via a POSIX-like interface.
 
 Package: libcephfs1-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: libcephfs1 (= ${binary:Version}), ${misc:Depends}
@@ -209,7 +284,7 @@ Description: debugging symbols for libcephfs1
  This package contains debugging symbols for libcephfs1.
 
 Package: libcephfs-dev
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: libdevel
 Depends: ${misc:Depends}, libcephfs1 (= ${binary:Version})
 Conflicts: libcephfs1-dev, libceph1-dev, libceph-dev
@@ -224,7 +299,7 @@ Description: Ceph distributed file system client library (development files)
  link against libcephfs.
 
 Package: radosgw
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common
 Description: REST gateway for RADOS distributed object store
  RADOS is a distributed object store used by the Ceph distributed
@@ -235,7 +310,7 @@ Description: REST gateway for RADOS distributed object store
  This package contains the proxy daemon and related tools only.
 
 Package: radosgw-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: radosgw (= ${binary:Version}), ${misc:Depends}
@@ -248,13 +323,13 @@ Description: debugging symbols for radosgw
  This package contains debugging symbols for radosgw.
 
 Package: rest-bench
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common, xml2, curl
 Description: RESTful bencher that can be used to benchmark
  radosgw performance.
 
 Package: rest-bench-dbg
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: debug
 Priority: extra
 Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common, xml2, curl
@@ -262,7 +337,7 @@ Description: RESTful bencher that can be used to benchmark
  radosgw performance.
 
 Package: obsync
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Depends: ${misc:Depends}, python, python-boto, python-ceph, python-pyxattr, python-lxml
 Description: synchronize data between cloud object storage providers or a local directory
  obsync is a tool to synchronize objects between cloud object
@@ -270,9 +345,9 @@ Description: synchronize data between cloud object storage providers or a local
  Ceph RADOS cluster, or a local directory.
 
 Package: python-ceph
-Architecture: amd64 armel armhf i386 ia64 mipsel
+Architecture: linux-any
 Section: python
-Depends: ${python:Depends}, librados2, librbd1
+Depends: ${misc:Depends}, ${python:Depends}, librados2, librbd1
 Description: Python libraries for the Ceph distributed filesystem
  Ceph is a distributed storage and network file system designed to provide
  excellent performance, reliability, and scalability.
diff --git a/debian/gceph.install b/debian/gceph.install
new file mode 100644
index 0000000..143f837
--- /dev/null
+++ b/debian/gceph.install
@@ -0,0 +1,2 @@
+usr/bin/gceph
+usr/share/ceph_tool/gui_resources/*
diff --git a/debian/librados2.install b/debian/librados2.install
index 8ba139a..8d989d4 100644
--- a/debian/librados2.install
+++ b/debian/librados2.install
@@ -1,2 +1 @@
 usr/lib/librados.so.*
-
diff --git a/debian/rules b/debian/rules
index 941f309..4e6c373 100755
--- a/debian/rules
+++ b/debian/rules
@@ -115,8 +115,11 @@ binary-arch: build install
 	dh_link
 
 	dh_strip -pceph --dbg-package=ceph-dbg -k --exclude=libcls_
+	dh_strip -pgceph --dbg-package=gceph-dbg
 	dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg
+	dh_strip -pceph-mds --dbg-package=ceph-mds-dbg -k --exclude=libcls_
 	dh_strip -pceph-common --dbg-package=ceph-common-dbg
+	dh_strip -pceph-fs-common --dbg-package=ceph-fs-common-dbg
 	dh_strip -plibrados2 --dbg-package=librados2-dbg
 	dh_strip -plibrbd1 --dbg-package=librbd1-dbg
 	dh_strip -plibcephfs1 --dbg-package=libcephfs1-dbg

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: sync Ceph packaging efforts for Debian/Ubuntu
  2012-06-16  0:10 sync Ceph packaging efforts for Debian/Ubuntu Laszlo Boszormenyi (GCS)
@ 2012-06-16 16:00 ` Sage Weil
  2012-06-16 21:50 ` Sage Weil
  1 sibling, 0 replies; 6+ messages in thread
From: Sage Weil @ 2012-06-16 16:00 UTC (permalink / raw)
  To: Laszlo Boszormenyi (GCS)
  Cc: Ben Collins, James Page, Ceph Development, openstack-devel

Hi Laszlo!

On Sat, 16 Jun 2012, Laszlo Boszormenyi (GCS) wrote:
> Hi all parties,
> 
> Ceph is packaged at three places: in Ubuntu, at upstream and in Debian.
> Its first 'stable' release, 0.48 is coming. At least as Sage wrote some
> days ago: "It looks like 0.48 will also be the basis for one of our
> first 'stable' releases.".
> 
> Hereby I would like to sync our Debian related packaging efforts, not
> only for the mentioned stable release. The OpenStack packaging team
> would like to add Ceph to their stack. Howtos, helping hands on forums
> needs it as well.
> I'm not subscribed to the lists, please keep me in the loop with Cc-s.
> 
> First patch, 0002-Add-support-PPC.patch is for upstream. Would help the
> in tree leveldb to build on PowerPC architectures as well.
> Second patch reflect the homepage and git tree changes for Ubuntu.
> Third patch is from them, noted as "Switch from libcryptopp to libnss as
> libcryptopp is not seeded.". So libnss3-dev is used as build-dependency
> instead. Sage, would you commit it?

I haven't looked closely yet, but these should be fine.

> I've separated gceph out, if someone needs the CLI only, then s/he can
> do that without the GTK+ libraries. See below.

gceph is already gone from the 'next' branch.

> Ben, James, can you please share in some sentences why ceph-fuse is
> dropped in Ubuntu? Do you need it Sage? If it's feasible, you may drop
> that as well.

We could package it separately, if necessary, but it should be packaged.  

> As I see, you still ship d/librgw1.install , d/librgw1.postrm ,
> d/librgw1.postinst and librgw-dev.install . They are not needed anymore.

These are already gone from the 'next' branch as well.

> Maybe the biggest change is that ceph-mds was separated out and such,
> ceph-fs-common created for cephfs and mount.ceph.

We can do this as well, but I would prefer not to.  Opinions?

> Please move the configure call to its target, as you can check in git.
> Add var/lib/ceph/mon , var/lib/ceph/osd and var/lib/ceph/mds to
> d/ceph.dirs .

This should be done in 'next'.

> git patch is for Sage, upstream and contains what needed for the new
> packages. May I get commit rights to debian/ or should I go with git
> forks and you'll merge the changes?

Patches or a git merge request are best as they allow for review.

Thanks, Laszlo!  Looking forward to seeing this in wheezy, and easing the 
burden on you and the Ubuntu guys.

sage

 
> Also it seems that limit the architectures to build on is not
> allowed[1]. I'll write an email to this issue, how to go with failing
> leveldb build-dependency on some archs.
> 
> Loic, do you need anything or do you have any objections with these
> changes?
> 
> Regards,
> Laszlo/GCS
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677626
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sync Ceph packaging efforts for Debian/Ubuntu
  2012-06-16  0:10 sync Ceph packaging efforts for Debian/Ubuntu Laszlo Boszormenyi (GCS)
  2012-06-16 16:00 ` Sage Weil
@ 2012-06-16 21:50 ` Sage Weil
  2012-06-18 10:27   ` James Page
  1 sibling, 1 reply; 6+ messages in thread
From: Sage Weil @ 2012-06-16 21:50 UTC (permalink / raw)
  To: Laszlo Boszormenyi (GCS)
  Cc: Ben Collins, clint, James Page, Ceph Development, openstack-devel

Hi Laszlo,

I've take a closer look at these patches, and have a few questions.

- The URL change and nss patches I've applied; they are in the ceph.git 
'debian' branch.

- Has the leveldb patch been sent upstream?  Once it is committed to 
the upstream git, we can update ceph to use it; that's nicer than carrying 
the patch.  However, I thought you needed to link against the existing 
libleveldb1 package... which means we shouldn't do anything on our side, 
right?

- I'm not sure how useful it is to break mount.ceph and cephfs into a 
separate ceph-fs-common package, but we can do it.  Same goes for a 
separate package for ceph-mds.  That was originally motivated by ubuntu 
not wanting the mds in main, but in the end only the libraries went in, so 
it's a moot point.  I'd rather hear from them what their intentions are 
for 12.10 before complicating things...

- That same patch also switched all the Architecture: lines back to 
linux-any.  Was that intentional?  I just changed them from that last 
week.

- I did apply the python-ceph Depends: portion of that patch.

The result so far is in the 'debian' branch of ceph.git.  Please take a 
look.

Thanks!
sage


On Sat, 
16 Jun 2012, Laszlo Boszormenyi (GCS) wrote:

> Hi all parties,
> 
> Ceph is packaged at three places: in Ubuntu, at upstream and in Debian.
> Its first 'stable' release, 0.48 is coming. At least as Sage wrote some
> days ago: "It looks like 0.48 will also be the basis for one of our
> first 'stable' releases.".
> 
> Hereby I would like to sync our Debian related packaging efforts, not
> only for the mentioned stable release. The OpenStack packaging team
> would like to add Ceph to their stack. Howtos, helping hands on forums
> needs it as well.
> I'm not subscribed to the lists, please keep me in the loop with Cc-s.
> 
> First patch, 0002-Add-support-PPC.patch is for upstream. Would help the
> in tree leveldb to build on PowerPC architectures as well.
> Second patch reflect the homepage and git tree changes for Ubuntu.
> Third patch is from them, noted as "Switch from libcryptopp to libnss as
> libcryptopp is not seeded.". So libnss3-dev is used as build-dependency
> instead. Sage, would you commit it?
> I've separated gceph out, if someone needs the CLI only, then s/he can
> do that without the GTK+ libraries. See below.
> 
> Ben, James, can you please share in some sentences why ceph-fuse is
> dropped in Ubuntu? Do you need it Sage? If it's feasible, you may drop
> that as well.
> As I see, you still ship d/librgw1.install , d/librgw1.postrm ,
> d/librgw1.postinst and librgw-dev.install . They are not needed anymore.
> Maybe the biggest change is that ceph-mds was separated out and such,
> ceph-fs-common created for cephfs and mount.ceph .
> Please move the configure call to its target, as you can check in git.
> Add var/lib/ceph/mon , var/lib/ceph/osd and var/lib/ceph/mds to
> d/ceph.dirs .
> 
> git patch is for Sage, upstream and contains what needed for the new
> packages. May I get commit rights to debian/ or should I go with git
> forks and you'll merge the changes?
> 
> Also it seems that limit the architectures to build on is not
> allowed[1]. I'll write an email to this issue, how to go with failing
> leveldb build-dependency on some archs.
> 
> Loic, do you need anything or do you have any objections with these
> changes?
> 
> Regards,
> Laszlo/GCS
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677626
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sync Ceph packaging efforts for Debian/Ubuntu
  2012-06-16 21:50 ` Sage Weil
@ 2012-06-18 10:27   ` James Page
  2012-06-18 16:44     ` Sage Weil
  0 siblings, 1 reply; 6+ messages in thread
From: James Page @ 2012-06-18 10:27 UTC (permalink / raw)
  To: Sage Weil
  Cc: Laszlo Boszormenyi (GCS),
	Ben Collins, clint, Ceph Development, openstack-devel

Hi Sage/Laszlo

Laszlo - thanks for sending the original email - I'd like to get
everything as closely in-sync as possible between the three packaging
sources as well.

On 16/06/12 22:50, Sage Weil wrote:
> I've take a closer look at these patches, and have a few questions.
> 
> - The URL change and nss patches I've applied; they are in the ceph.git 
> 'debian' branch.

Great!

> 
> - Has the leveldb patch been sent upstream?  Once it is committed to 
> the upstream git, we can update ceph to use it; that's nicer than carrying 
> the patch.  However, I thought you needed to link against the existing
> libleveldb1 package... which means we shouldn't do anything on our
> side,
> right?

I can't see any evidence that this has been sent upstream; ideally we
would be building against libleveldb1 rather than using the embedded
copy - I'm not familiar with the reason that this has not happened
already (if there is one).  This package would also need to be reviewed
for inclusion in main if that was the case.

> - I'm not sure how useful it is to break mount.ceph and cephfs into a 
> separate ceph-fs-common package, but we can do it.  Same goes for a 
> separate package for ceph-mds.  That was originally motivated by ubuntu 
> not wanting the mds in main, but in the end only the libraries went in, so 
> it's a moot point.  I'd rather hear from them what their intentions are 
> for 12.10 before complicating things...

ceph-fs-common is in Ubuntu main; so I think the original motivation
still stands IMHO.

For the Ubuntu quantal cycle we still have the same primary objective as
we had during 12.04; namely ensuring that Ceph RBD can be used as a
block store for qemu-kvm which ties nicely into the Ubuntu OpenStack
story through Cinder; In addition we will be looking at Ceph RADOS as a
backend for Glance (see [0] for more details).

The MIR for Ceph occurred quite late in the 12.04 cycle so we had to
trim the scope to actually get it done; We will be looking at libfcgi
and google-perftools this cycle for main inclusion to re-enable the
components that are currently disabled in the Ubuntu packaging.

> - That same patch also switched all the Architecture: lines back to 
> linux-any.  Was that intentional?  I just changed them from that last 
> week.

I think linux-any is correct - the change you have made would exclude
the PPC architecture in Ubuntu and Debian.

[...]

>> Ben, James, can you please share in some sentences why ceph-fuse is
>> dropped in Ubuntu? Do you need it Sage? If it's feasible, you may drop
>> that as well.

There is an outstanding question on the 12.04 MIR as to whether this
package could still be built but not promoted to main - I'll follow up
with the MIR reviewer as to whether that's possible as I don't think it
requires any additional build dependencies.

[...]

I hope that explains the Ubuntu position on Ceph and what plans we have
this development cycle.

I expect Clint will chip in if I have missed anything.

Cheers

James

[0]
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-q-ceph-object-integration
-- 
James Page
Ubuntu Core Developer
Debian Maintainer
james.page@ubuntu.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sync Ceph packaging efforts for Debian/Ubuntu
  2012-06-18 10:27   ` James Page
@ 2012-06-18 16:44     ` Sage Weil
  2012-06-28  5:39       ` Laszlo Boszormenyi (GCS)
  0 siblings, 1 reply; 6+ messages in thread
From: Sage Weil @ 2012-06-18 16:44 UTC (permalink / raw)
  To: James Page
  Cc: Laszlo Boszormenyi (GCS),
	Ben Collins, clint, Ceph Development, openstack-devel

On Mon, 18 Jun 2012, James Page wrote:
> Hi Sage/Laszlo
> 
> Laszlo - thanks for sending the original email - I'd like to get
> everything as closely in-sync as possible between the three packaging
> sources as well.
> 
> On 16/06/12 22:50, Sage Weil wrote:
> > I've take a closer look at these patches, and have a few questions.
> > 
> > - The URL change and nss patches I've applied; they are in the ceph.git 
> > 'debian' branch.
> 
> Great!
> 
> > 
> > - Has the leveldb patch been sent upstream?  Once it is committed to 
> > the upstream git, we can update ceph to use it; that's nicer than carrying 
> > the patch.  However, I thought you needed to link against the existing
> > libleveldb1 package... which means we shouldn't do anything on our
> > side,
> > right?
> 
> I can't see any evidence that this has been sent upstream; ideally we
> would be building against libleveldb1 rather than using the embedded
> copy - I'm not familiar with the reason that this has not happened
> already (if there is one).  This package would also need to be reviewed
> for inclusion in main if that was the case.

We bundled it for expediency, that's all.  I just send the patch off to 
the leveldb mailing list (in case that hadn't happened yet); we'll see if 
they apply it.

> > - I'm not sure how useful it is to break mount.ceph and cephfs into a 
> > separate ceph-fs-common package, but we can do it.  Same goes for a 
> > separate package for ceph-mds.  That was originally motivated by ubuntu 
> > not wanting the mds in main, but in the end only the libraries went in, so 
> > it's a moot point.  I'd rather hear from them what their intentions are 
> > for 12.10 before complicating things...
> 
> ceph-fs-common is in Ubuntu main; so I think the original motivation
> still stands IMHO.

Okay, split that part.

> For the Ubuntu quantal cycle we still have the same primary objective as
> we had during 12.04; namely ensuring that Ceph RBD can be used as a
> block store for qemu-kvm which ties nicely into the Ubuntu OpenStack
> story through Cinder; In addition we will be looking at Ceph RADOS as a
> backend for Glance (see [0] for more details).

I'm reading this to meant hat you still want the mds separated out; did 
that too.

> The MIR for Ceph occurred quite late in the 12.04 cycle so we had to
> trim the scope to actually get it done; We will be looking at libfcgi
> and google-perftools this cycle for main inclusion to re-enable the
> components that are currently disabled in the Ubuntu packaging.

Including those (and libleveldb1) would be ideal.

> > - That same patch also switched all the Architecture: lines back to 
> > linux-any.  Was that intentional?  I just changed them from that last 
> > week.
> 
> I think linux-any is correct - the change you have made would exclude
> the PPC architecture in Ubuntu and Debian.
> 
> [...]
> 
> >> Ben, James, can you please share in some sentences why ceph-fuse is
> >> dropped in Ubuntu? Do you need it Sage? If it's feasible, you may drop
> >> that as well.
> 
> There is an outstanding question on the 12.04 MIR as to whether this
> package could still be built but not promoted to main - I'll follow up
> with the MIR reviewer as to whether that's possible as I don't think it
> requires any additional build dependencies.
> 
> [...]
> 
> I hope that explains the Ubuntu position on Ceph and what plans we have
> this development cycle.

Okay, keep us posted! 

I pushed a new 'debian' branch with those changes; please take a look and 
let me know if it loks okay.

Thanks-
sage

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sync Ceph packaging efforts for Debian/Ubuntu
  2012-06-18 16:44     ` Sage Weil
@ 2012-06-28  5:39       ` Laszlo Boszormenyi (GCS)
  0 siblings, 0 replies; 6+ messages in thread
From: Laszlo Boszormenyi (GCS) @ 2012-06-28  5:39 UTC (permalink / raw)
  To: Sage Weil
  Cc: James Page, Ben Collins, clint, Ceph Development, openstack-devel

Hi all,

On Mon, 2012-06-18 at 09:44 -0700, Sage Weil wrote:
> On Mon, 18 Jun 2012, James Page wrote:
> > Laszlo - thanks for sending the original email - I'd like to get
> > everything as closely in-sync as possible between the three packaging
> > sources as well.
 It seems I could sync with Ubuntu a bit, but you need to get libs3 and
sync that with me if appreciated.

> > On 16/06/12 22:50, Sage Weil wrote:
> > > - Has the leveldb patch been sent upstream?  Once it is committed to 
> > > the upstream git, we can update ceph to use it; that's nicer than carrying 
> > > the patch.  However, I thought you needed to link against the existing
> > > libleveldb1 package... which means we shouldn't do anything on our
> > > side,
> > > right?
 Yes, the leveldb maintainer tries to port it to all architectures. It
would be better to join efforts on this topic.
Especially that Ceph is unbuildable on mips, powerpc, s390, s390x and
sparc architectures (where previously it was built) due to leveldb is
unbuildable on them. This means Ceph looses a lot of and big users. :(

> > > - That same patch also switched all the Architecture: lines back to 
> > > linux-any.  Was that intentional?  I just changed them from that last 
> > > week.
 Well, mostly. My step that Ceph and later leveldb should be limited to
the archs where it's buildable is not accepted. Porting is going on for
leveldb, but I still don't see that it will support all archs for
Wheezy. Sorry for the extra work it caused.

> Okay, keep us posted! 
 To ones whom it may concerns, Ceph 0.47.2 is passed the new queue and
accepted for Wheezy. This means that adding it to OpenStack can start.

> I pushed a new 'debian' branch with those changes; please take a look and 
> let me know if it loks okay.
 Will do. Now I've to run.

Regards,
Laszlo/GCS


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-28  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-16  0:10 sync Ceph packaging efforts for Debian/Ubuntu Laszlo Boszormenyi (GCS)
2012-06-16 16:00 ` Sage Weil
2012-06-16 21:50 ` Sage Weil
2012-06-18 10:27   ` James Page
2012-06-18 16:44     ` Sage Weil
2012-06-28  5:39       ` Laszlo Boszormenyi (GCS)

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.