Commit Graph

443 Commits

Author SHA1 Message Date
Gary Lowell
bcb210c677 Merge branch 'next' 2013-02-19 14:53:54 -08:00
Gary Lowell
9a7a9d06c0 v0.57 2013-02-19 10:07:42 -08:00
Sage Weil
8e0be54857 debian: allow extra args to get passed to ./configure via the environment
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 17:07:55 -08:00
Sage Weil
aff0bb6fdc debian: fix start of ceph-all
Tolerate failure, and do ceph-all, not ceph-osd-all.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-16 16:49:50 -08:00
Sage Weil
b7b9af5c0d debian: start/stop ceph-all event on install/uninstall
This helps us avoid the confusing situation with upstart where an individual
daemon job is running (like ceph-osd id=2) but the container jobs ceph-osd-all
and ceph-all are not.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 23:11:07 -08:00
Sage Weil
5bd85ee5aa udev: trigger ceph-disk-activate directly from udev
There is no need to depend on upstart for this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 22:18:59 -08:00
Sage Weil
23ad3a46a0 debian: put ceph-mds upstart conf in ceph-mds package
Fixes: #3157
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 12:30:22 -08:00
Sage Weil
e80675a0f3 debian: include /var/lib/ceph/bootstrap-mds in package
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 12:30:22 -08:00
Sage Weil
50cbd10531 debian: implement purge postrm script for ceph, ceph-mds
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 12:30:22 -08:00
Sam Lang
376cca2d4d deb: Add ceph-coverage to ceph-test deb package
Teuthology uses the ceph-coverage script extensively
and expects it to be installed by the ceph task.  Add
the script to the ceph-test debian package so that it
gets installed for that use case.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-02-12 17:12:35 -06:00
Danny Al-Gaaf
125cb7190d ceph-test.install: updated filelist
Add some files which are part of the ceph-test package on RPM based
distributions already: ceph_test_mon_workloadgen, ceph_rgw_jsonparser,
ceph_test_objectcacher_stress.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-10 19:00:40 +01:00
Danny Al-Gaaf
6cecdd86f7 spec/debian: don't install rest-bench twice
Don't install rest-bench in ceph.spec.in section for ceph-test and
ceph-test.install twice. This file is already part of the rest-bench
package.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-10 18:56:47 +01:00
Danny Al-Gaaf
7b89ee666b ceph-test: give binaries from ceph-test package useful names
The files from the ceph-test subpackage are installed to /usr/bin,
give them more useful names to make sure that the user know they
belong to ceph. add a 'ceph_' prefix and change some test* binaries
to ceph_test_*.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-10 18:33:56 +01:00
Yehuda Sadeh
c8eace6ff0 rgw: create a separate logrotate file for radosgw
Fixes: #3813
Since radosgw package is separate from the ceph package,
it also needs to have a separate logrotate. The default
path for radosgw log is changed to /var/log/radosgw,
and it now has a different logrotate script.
Updating both deb and rpm packaging.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-02-05 14:54:38 -08:00
Gary Lowell
4a6924a562 install: remove perl dependency
Change the filter in logrotate to use sed instead of perl, and remove the
package dependency on perl.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-02-04 12:56:01 -08:00
Sage Weil
4be48a6e53 Merge remote-tracking branch 'gh/wip-rbd-bench'
Conflicts:
	ceph.spec.in
	debian/ceph-test.install
	src/.gitignore
2013-02-03 08:59:48 -08:00
Gary Lowell
16cf9dc67e build: Add new rbd-fuse package
rdb-fuse is a new facility to map ceph rdb images to files.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-01-31 20:35:26 -08:00
David Zafman
0758fabaed Add ceph-filestore-dump to the packaging
Feature: #3890

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2013-01-30 22:50:41 -08:00
Josh Durgin
0d172b95de packaging: add smalliobenchrbd
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-22 16:19:27 -08:00
Gary Lowell
bebdc70b42 build: Add perl installation dependency to rpm and debian packages.
There was already a dependency on python in the debian control file,
a similar dependency was added to the rpm spec file.  perl is needed
for the logrotate script, so a dependecy was on perl wass added to
both. Bug 3768.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-01-17 22:43:07 -08:00
Gary Lowell
1a32f0a0b4 v0.56 2012-12-31 17:10:11 -08:00
Sage Weil
f38d891138 Merge branch 'wip-build-fixes' into next 2012-12-20 10:49:34 -08:00
Sage Weil
0dd1302543 Merge remote-tracking branch 'gh/testing' into next 2012-12-17 16:51:20 -08:00
Gary Lowell
e9231fe6c1 Makefiles: Two new packages needed in the debian build depdencies.
The ceph test programs that are now being built by default require the junit
and libboost-program-options packages.  These have been added to the build
dependecies in the debian control file.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2012-12-16 12:29:54 -08:00
James Page
bc9d9d8a2b Refactor rule file to separate arch/indep builds.
Prior to the ceph fs java bindings, all packages where
architecture depdendent so the packaging rules file
worked OK; this fixes up the binary-indep/arch targets
to split the builds of architecture dependent and
independent files.

Signed-off-by: James Page <james.page@ubuntu.com>
2012-12-16 12:29:30 -08:00
Sage Weil
ae100cfdbc mount.fuse.ceph: add ceph-fuse mount helper
Signed-off-by: Sage Weil <sage@inktank.com>
2012-12-12 21:14:38 -08:00
Gary Lowell
8e25c8d984 v0.55.1 2012-12-12 16:24:34 -08:00
Sage Weil
81e567c90d Merge remote-tracking branch 'gh/wip-ceph-test' into next 2012-12-08 09:18:21 -08:00
Dan Mick
8816b39aad debian: add ceph.postinst to remove /etc/init/ceph.conf on update
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-12-07 23:11:39 -08:00
Gary Lowell
690f817560 v0.55 2012-12-03 19:08:35 -08:00
Gary Lowell
37adf2a9f1 packaging: Add ceph-test debian package
The ceph-test package includes optional test and benchmarking programs.
2012-11-27 13:50:25 -08:00
Gary Lowell
7926ef5393 Merge branch 'next'
Conflicts:
	configure.ac
	src/rgw/rgw_common.cc
2012-11-13 17:29:47 -08:00
Gary Lowell
60b84b095b v0.54 2012-11-13 13:18:07 -08:00
Yehuda Sadeh
2475d0143b Merge branch 'wip-keystone' into wip-rgw-integration
Conflicts:
	debian/control

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-08 17:19:18 -08:00
Yehuda Sadeh
a99b0fac88 rgw: fix build
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-08 13:24:30 -08:00
Noah Watkins
b3cc40a333 java: update deb bits from ceph-devel feedback
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-10-19 10:22:38 -07:00
Noah Watkins
9feb4afdd8 debian: add libcephfs-java package
Creates libceph1-java package that contains
the libcephfs Java wrappers .jar file and the
JNI library.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-10-19 09:59:10 -07:00
Gary Lowell
d78ba6af94 Merge branch 'next' 2012-10-16 23:27:21 +00:00
Gary Lowell
2528b5ee10 v0.43 2012-10-16 17:42:36 +00:00
Tommi Virtanen
662c69e525 ceph-disk-prepare, debian/control: Support external journals.
Previously, ceph-disk-* would only let you use a journal that was a
file inside the OSD data directory. With this, you can do:

  ceph-disk-prepare /dev/sdb /dev/sdb

to put the journal as a second partition on the same disk as the OSD
data (might save some file system overhead), or, more interestingly:

  ceph-disk-prepare /dev/sdb /dev/sdc

which makes it create a new partition on /dev/sdc to use as the
journal. Size of the partition is decided by $osd_journal_size.
/dev/sdc must be a GPT-format disk. Multiple OSDs may share the same
journal disk (using separate partitions); this way, a single fast SSD
can serve as journal for multiple spinning disks.

The second use case currently requires parted, so a Recommends: for
parted has been added to Debian packaging.

Closes: #3078
Closes: #3079
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-15 09:34:36 -07:00
Tommi Virtanen
8fab972905 gitignore: Update to match packaging changes and additions, rest-bench addition.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-09 13:38:45 -07:00
Tommi Virtanen
d6b065ce91 debian/control, ceph-disk-prepare: Depend on xfsprogs, use xfs by default.
Ext4 as a default is a bad choice, as we don't perform enough QA with
it. To use XFS as the default for ceph-disk-prepare, we need to depend
on xfsprogs.

btrfs-tools is already recommended, so no change there. If you set
osd_fs_type=btrfs, and don't have the package installed, you'll just
get an error message.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-05 15:41:35 -07:00
Tommi Virtanen
4302f12a60 ceph-create-keys: Create a bootstrap-osd key too.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-05 11:09:06 -07:00
Sage Weil
879b34daa9 v0.52
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJQZIivAAoJEH6/3V0X7TFtgggQAKU97wvpdnqeYdGPDWH5A8sR
 HGzsSvJFTMTDCN42sJA/QFCaBYEO0BUlng8bJBFVCgPrn2Rl8GhMORRyTnzHiRhr
 DHHgI5zoGtteYHYByCXcTGh4iSxcClmXLNIP4kd4TY15By/npcHo5zDZ7fOQENb8
 9OCF38eu7xIU1VhNCo97pNoKCGM0THfCvY+qbRiZ7rSaMPoU2h55+f28n/8NHyoC
 a3COmQB3QHErf9J1o+6zwBRM+z03+5i5J5ojv+FFaOj8r0KgNTssDCuolYPdyhL/
 xaQOtEc6QHH4qYpEMxbMdTgyTkssnn8Qtqb1XqxjCoL7W1YxKiRfQCathVjROQ2b
 wTkyN1JihLxzcWmoFph7z2gtPcTaqajlp800qxUjC8kQj63YhIUiSLMMMUqkxhLw
 GkWRflrzVXRhrVfTajFzKrzjDm9vuzZz+hxvJLVRGwReJ48rxOybzA69hUc9fpbo
 Tgui3CSJAEqlqgXb8VKmwOJJu+IYjJrOEON/5++lNSexN8fAqDyMC2HTPlClQqnp
 fDK9AT9xGsm6V/PB40I8jmhOVH23LttAUqW6M3kEMmIBBdF/krv1K+UPfKCMxFS/
 xsxfRNmVd84ycJWvPSxUPkWdl0bDRj9PQnV9iCuZiAY9f19dYhPWJp3c8v7ThPTB
 oFL9UJFMDcFJ3uWcsa/p
 =MsuW
 -----END PGP SIGNATURE-----

Merge tag 'v0.52'

v0.52

Conflicts:
	src/rgw/rgw_rados.cc
2012-09-27 12:54:07 -07:00
Gary Lowell
e48859474c v0.52 2012-09-27 16:26:11 +00:00
Sage Weil
de930440e7 remove obsync
This now lives at http://github.com/ceph/obsync

Signed-off-by: Sage Weil <sage@inktank.com>
2012-09-17 18:23:39 -07:00
James Page
31560ca55b Rejig the way the shared libraries are processed so that manual postinst/postrm scripts are not required for lib* packages, ensuring that the .so's in the ceph package are not detected 2012-09-12 10:40:01 +01:00
Tommi Virtanen
f2c4510848 upstart, ceph-create-keys: Make client.admin key generation automatic.
This should help simplify Chef etc deployments. Now (when using the
Upstart jobs), when a ceph-mon is started, ceph-create-admin-key is
triggered. If /etc/ceph/$cluster.client.admin.keyring already exists,
it does nothing; otherwise, it waits for ceph-mon to reach quorum, and
then does a "ceph auth get-or-create" to create the key, and writes it
atomically to disk.

The equivalent code can be removed from the Chef cookbook once this is
in.
2012-08-30 13:41:20 -04:00
Sage Weil
0e091d81a1 v0.51
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJQOVjIAAoJEH6/3V0X7TFtdFIQAKyU+6kldJE2YZO5GOO7jPb2
 vGAhsYpvuS/Vx87yrSa7Xavz/C/frKz5m+5SsmxbZl+ditRLCGAD/BlQIuj0UWAW
 MxURFK9hjwJK23fuuuXUXEbMmABmRP8XlzG9IGl5yRM07+IUl8aMGy7+i4yGzGFX
 QVMHC1qMD70SAQ+q2/JVXlVxkVPzqzf9iT+xuFk28V8A0ZLlSAfTuSHD9YLJiWaV
 SjR/vVLpajaTR3ytkSxrG1fwuqENf9OThLXxHuyplZvTUIuAxbxBlWSMJmuLQ3JF
 JNX/N0/z9Omw+ipJAvM/nS6TbT0X2KhMYjObINOVUiDkwC9jBznCl8A1b/hy7wJX
 haTUat6OW3taGysP3AkOddwkyDHLJxz/UoUtPbEgT/mDOB8CwWEdpgkL8wsvNUgK
 n2yEJNpjhQ2QG2LC/n0x67jVlt0B4IRMbijFAoySyklfnJjU8J+Uyjl4bentDvM7
 cQrIIBobQMbc9urcSWzxMd6+fCvxEvtXY027LVP7K3hS3thS2tPRT3WT6vAZ7vih
 foOyc2a9SQxwDWa3bf7d5yoL7nLB9KfRXIbHu31EKgM5pw8Lgy1vRtaqEKOh9Lup
 l8pk5/2ABmy2pYaeLGyTnZN+8BsR5ZYyqJ2nUL/VbSmReto1BIRrI4zhEAAlNWWN
 nKrNwX4xOZjDX9ghsMUv
 =t5SY
 -----END PGP SIGNATURE-----

Merge tag 'v0.51'

v0.51
2012-08-26 08:18:45 -07:00
Sage Weil
c03ca95d23 v0.51 2012-08-25 15:58:39 -07:00