http://ceph.com/docs/master/release-notes/#v0-80-1-firefly Reproducible: Always Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.14.4-gentoo x86_64) ================================================================= System uname: Linux-3.14.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.2 KiB Mem: 3937412 total, 1302512 free KiB Swap: 1048572 total, 1048572 free Timestamp of tree: Thu, 15 May 2014 09:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.3.3 dev-util/cmake: 2.8.12.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.14 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo fallabs entropie ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -mtune=core2" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mir1.gentoo-fr.org/ ftp://gentoo.imj.fr/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/fallabs /var/lib/layman/entropie" USE="aio amd64 bash-completion berkdb bzip2 clang cli cracklib crypt cxx device-mapper gdbm iconv iproute2 ipv6 llvm lz4 lzma lzo mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl ssse3 tcpd threads udev unicode urandom vim-syntax zlib" ABI_X86="64" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi browser charset gzip headers_more proxy referer rewrite spdy stub_status upstream_ip_hash" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Created attachment 376988 [details] ceph-0.80.1.ebuild
Created attachment 376990 [details] ceph.confd
Created attachment 376992 [details] ceph.initd
Created attachment 376994 [details] ceph.logrotate
Created attachment 376996 [details, diff] ceph-fix-gnustack.patch
Created attachment 376998 [details, diff] ceph-libzfs.patch
thanks for reporting I'd request diff/patches instead of plain files, better to know what changes.. (combine into one diff file would be enough)
from file ceph.confd # mon, mds or osd type="mon" # Unique id of the daemon id="0" so in ceph.initd, you didn't handle well for case like type="mon mds osd", all instances can be run in the same server. and could be more than one in id (id="0 1 2 3") another idea I can think of, to setup independent initd, confd file for mon, mds, osd. like /etc/init.d/ceph.{mon,mds,osd}
Created attachment 377018 [details, diff] directory patch from ceph-0.79 to ceph-0.80.1
(In reply to Yixun Lan from comment #7) > thanks for reporting > > I'd request diff/patches instead of plain files, better to know what > changes.. > (combine into one diff file would be enough) Sorry for the dirty report... :/
Created attachment 377022 [details, diff] ceph-0.79-to-0.80.1.diff
(In reply to Yixun Lan from comment #8) > from file ceph.confd > > # mon, mds or osd > type="mon" > # Unique id of the daemon > id="0" > > so in ceph.initd, you didn't handle well for case like type="mon mds osd", > all instances can be run in the same server. and could be more than one in > id (id="0 1 2 3") > > another idea I can think of, to setup independent initd, confd file for mon, > mds, osd. like /etc/init.d/ceph.{mon,mds,osd} Initialy, it was my idea. ;) I think it's more safe using one init script by daemon type and id because you can manage it independently. For example, if I have all dameon types (with one id by type) on one machine : cd /etc/init.d for dmn in mds mon osd ; do ln -s ceph ceph-${dmn} done cp /etc/conf.d/ceph /etc/conf.d/ceph-mds cp /etc/conf.d/ceph /etc/conf.d/ceph-mon ... Example of /etc/conf.d/ceph-osd : type="osd" id="0" ... If you have many daemon of one type with, of course, multiple ids : cd /etc/init.d for dmn in osd.0 osd.1 ; do ln -s ceph ceph-${dmn} done cp /etc/conf.d/ceph /etc/conf.d/ceph-osd.0 cp /etc/conf.d/ceph /etc/conf.d/ceph-osd.1 ... Well, in this way, it's possible to manage multiple daemon types and clusters on the same machine with one very light init script ... :)
Created attachment 377070 [details, diff] directory patch from ceph-0.79 to ceph-0.80.1 Fixed ceph.logrotate
I think we should use 'xfs' for the new USE flag, and use '$(use_with xfs libxfs)' for econf. This will automatically make use of the fact that 'xfs' USE flag is masked on arm platform. I have just successfully upgrade my tiny cluster to ceph-0.80.1(include 2 monitor running on armhf arch), though the default init script provided by ceph does not work(for the use of lsb init script), so I have to manual start ceph-* daemons.
+*ceph-0.80.1 (21 May 2014) + + 21 May 2014; Yixun Lan <dlan@gentoo.org> -ceph-0.79.ebuild, + +ceph-0.80.1.ebuild, ceph-9999.ebuild, +files/ceph.confd-r1, + +files/ceph.initd-r1, +files/ceph.logrotate, metadata.xml: + version bump 0.80.1, fix bug #510396, #507956, thanks @babykart, @Changyuan + Yu, @LeeL I slightly modified initd script to auto detect ${type} and ${id} and also update xfs, zfs USE flag, thanks all!