]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agobuild/ops: rpm: sane packaging of %{_docdir}/ceph directory 15900/head
Nathan Cutler [Sat, 24 Jun 2017 10:27:37 +0000 (12:27 +0200)]
build/ops: rpm: sane packaging of %{_docdir}/ceph directory

91648044163 introduced a build error:

ceph-common-12.1.0+git.1498286248.2fcedc7b3d-1.1.x86_64.rpm: directories not
owned by a package:
 - /usr/share/doc/packages/ceph

The %docdir directive is a way of flagging anything in that directory as being
documentation. It does not actually package the directory. And we don't need
it because we're not dumping a large number of files into this directory.
For more information, see the "Directory-related Directives" section of
http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #15876 from gmayyyha/config-unused-opt 14135/head
Xie Xingguo [Sat, 24 Jun 2017 04:34:12 +0000 (12:34 +0800)]
Merge pull request #15876 from gmayyyha/config-unused-opt

common/config_opts: drop unused opt

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15108 from guihecheng/rgw_file-fix
Matt Benjamin [Sat, 24 Jun 2017 01:10:13 +0000 (21:10 -0400)]
Merge pull request #15108 from guihecheng/rgw_file-fix

rgw_file: fix misuse of make_key_name before make_fhk

8 years agoMerge pull request #15893 from liewegas/wip-valgrind-everywhere
Sage Weil [Fri, 23 Jun 2017 20:25:54 +0000 (15:25 -0500)]
Merge pull request #15893 from liewegas/wip-valgrind-everywhere

qa: do not restrict valgrind runs to centos

8 years agoqa: do not restrict valgrind runs to centos 15893/head
Greg Farnum [Wed, 31 May 2017 15:37:19 +0000 (08:37 -0700)]
qa: do not restrict valgrind runs to centos

This reverts 693bd238510e69569cc3461f84b04c8667bc11da, which was
added in response to http://tracker.ceph.com/issues/18126. But
we updated the Ubuntu packages in sepia so it should be good to go.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15572 from rzarzynski/wip-rgw-17779
Casey Bodley [Fri, 23 Jun 2017 18:38:09 +0000 (14:38 -0400)]
Merge pull request #15572 from rzarzynski/wip-rgw-17779

rgw: external auth engines of S3 honor rgw_keystone_implicit_tenants.

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #14624 from ceph/wip-s3a-hadoop
Casey Bodley [Fri, 23 Jun 2017 17:46:05 +0000 (13:46 -0400)]
Merge pull request #14624 from ceph/wip-s3a-hadoop

qa/tasks: S3A hadoop task to test s3a with Ceph

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15665 from oritwas/wip-rgw-reshard-old-bucket
Yehuda Sadeh [Fri, 23 Jun 2017 17:20:42 +0000 (10:20 -0700)]
Merge pull request #15665 from oritwas/wip-rgw-reshard-old-bucket

rgw: auto reshard old buckets

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15821 from jdurgin/wip-20302
Josh Durgin [Fri, 23 Jun 2017 16:14:44 +0000 (09:14 -0700)]
Merge pull request #15821 from jdurgin/wip-20302

qa/suites/powercycle/osd/tasks/radosbench: consume less space

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15154 from jcsp/wip-multimds-stable
John Spray [Fri, 23 Jun 2017 16:11:16 +0000 (12:11 -0400)]
Merge pull request #15154 from jcsp/wip-multimds-stable

Remove "experimental" warnings from multimds

8 years agodoc: multimds is no longer experimental 15154/head
John Spray [Thu, 18 May 2017 10:54:13 +0000 (06:54 -0400)]
doc: multimds is no longer experimental

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: update cephtool test for multimds on by default
John Spray [Mon, 22 May 2017 21:42:16 +0000 (17:42 -0400)]
qa: update cephtool test for multimds on by default

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: no longer need to explicitly enable multimds
John Spray [Tue, 16 May 2017 12:52:59 +0000 (08:52 -0400)]
qa: no longer need to explicitly enable multimds

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: enable multimds by default in new filesystems
John Spray [Tue, 16 May 2017 12:07:04 +0000 (08:07 -0400)]
mds: enable multimds by default in new filesystems

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: remove experimental warning on multimds
John Spray [Tue, 16 May 2017 12:04:45 +0000 (08:04 -0400)]
mon: remove experimental warning on multimds

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: don't call StrayManager::eval_stray() for undefined inode
Yan, Zheng [Wed, 21 Jun 2017 03:42:22 +0000 (11:42 +0800)]
mds: don't call StrayManager::eval_stray() for undefined inode

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: drop locks before waiting for export targets
Yan, Zheng [Wed, 21 Jun 2017 02:33:25 +0000 (10:33 +0800)]
mds: drop locks before waiting for export targets

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: handle MDirUpdate race
Yan, Zheng [Mon, 19 Jun 2017 08:28:41 +0000 (16:28 +0800)]
mds: handle MDirUpdate race

mds may try discover several times for MDirUpdate, rename may kick
in and cause MDCache::path_traverse() to return error.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: don't forge replica dirfrag
Yan, Zheng [Mon, 19 Jun 2017 07:22:08 +0000 (15:22 +0800)]
mds: don't forge replica dirfrag

MDCache::forge_replica_dir() set wrong dir_auth if the forged replica
dirfrag is subtree root.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: avoid submitting log entry while adjusting subtree map
Yan, Zheng [Fri, 9 Jun 2017 07:37:22 +0000 (15:37 +0800)]
mds: avoid submitting log entry while adjusting subtree map

MDCache::eval_subtree_root() may tigger scatter-gather process, which
submits log entry. Submitting log entry while adjusting subtree map is
bad, because subtree map in intermediate state may get used/logged.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: don't mark nestlock dirty on improper inode
Yan, Zheng [Wed, 7 Jun 2017 01:17:42 +0000 (09:17 +0800)]
mds: don't mark nestlock dirty on improper inode

If inode is replica and it has no auth subtree dirfrag, We should
not mark its nestlock dirty.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: create subtree root immediately after directory tree becomes frozen
Yan, Zheng [Tue, 6 Jun 2017 07:43:28 +0000 (15:43 +0800)]
mds: create subtree root immediately after directory tree becomes frozen

When a directory tree become frozen, its WAIT_FROZEN contexts are
executed asynchronously. Before Migrator::export_frozen() set export
bounds, MDCache::try_subtree_merge_at() can merge newly imported
subtree into the frozen directory tree. This causes problem if there
are auth pins in newly imported subtree.

The fix is creating subtree root immediately after directory tree
becomes frozen. The new subtree root has dir_auth 'me, me', so it's
not meregeable.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agomds: fix stray dentry replication in cache rejoin ack
Yan, Zheng [Sat, 3 Jun 2017 06:35:40 +0000 (14:35 +0800)]
mds: fix stray dentry replication in cache rejoin ack

To replicate s stray dentry, we need to replicate all its ancestors.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agoMerge pull request #15795 from myoungwon/wip-print-ignore_redirect
Yuri Weinstein [Fri, 23 Jun 2017 15:52:31 +0000 (08:52 -0700)]
Merge pull request #15795 from myoungwon/wip-print-ignore_redirect

osd/osd_types: add flag name (IGNORE_REDIRECT)

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15656 from aclamk/download_err_with_comp_followup
Casey Bodley [Fri, 23 Jun 2017 15:40:20 +0000 (11:40 -0400)]
Merge pull request #15656 from aclamk/download_err_with_comp_followup

rgw: use 64-bit offsets for compression

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15848 from xiexingguo/wip-fix-rmcc
Sage Weil [Fri, 23 Jun 2017 14:42:57 +0000 (09:42 -0500)]
Merge pull request #15848 from xiexingguo/wip-fix-rmcc

src/vstart.sh: kill dead upmap option

8 years agoMerge pull request #15851 from liewegas/wip-luminous-notes
Sage Weil [Fri, 23 Jun 2017 14:37:04 +0000 (09:37 -0500)]
Merge pull request #15851 from liewegas/wip-luminous-notes

doc/release-notes: update luminous notes

8 years agodoc/release-notes: 'osd crush class rename' is coming 15851/head
Sage Weil [Fri, 23 Jun 2017 13:58:31 +0000 (09:58 -0400)]
doc/release-notes: 'osd crush class rename' is coming

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: ceph tell <foo> help
Sage Weil [Fri, 23 Jun 2017 13:53:25 +0000 (09:53 -0400)]
doc/release-notes: ceph tell <foo> help

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/os-recommendations: update
Sage Weil [Thu, 22 Jun 2017 19:26:14 +0000 (15:26 -0400)]
doc/start/os-recommendations: update

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: note debian stretch addition
Sage Weil [Thu, 22 Jun 2017 19:21:31 +0000 (15:21 -0400)]
doc/release-notes: note debian stretch addition

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: sleep settings
Sage Weil [Thu, 22 Jun 2017 19:14:00 +0000 (15:14 -0400)]
doc/release-notes: sleep settings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: link to EC docs
Sage Weil [Thu, 22 Jun 2017 19:12:03 +0000 (15:12 -0400)]
doc/release-notes: link to EC docs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: update RGW metadata
Sage Weil [Thu, 22 Jun 2017 19:10:01 +0000 (15:10 -0400)]
doc/release-notes: update RGW metadata

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodev/release-notes: various updates from other PR
Sage Weil [Thu, 22 Jun 2017 19:07:56 +0000 (15:07 -0400)]
dev/release-notes: various updates from other PR

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: notes on new CLI commands
Sage Weil [Thu, 22 Jun 2017 19:04:47 +0000 (15:04 -0400)]
doc/release-notes: notes on new CLI commands

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: 'mon feature list' -> 'mon feature ls'
Sage Weil [Thu, 22 Jun 2017 19:04:36 +0000 (15:04 -0400)]
mon: 'mon feature list' -> 'mon feature ls'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: update luminous notes
Sage Weil [Thu, 22 Jun 2017 17:28:15 +0000 (13:28 -0400)]
doc/release-notes: update luminous notes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15764 from tchaikov/wip-20342
Kefu Chai [Fri, 23 Jun 2017 14:26:03 +0000 (22:26 +0800)]
Merge pull request #15764 from tchaikov/wip-20342

qa/suites/upgrade/hammer-jewel-x: add luminous.yaml

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15877 from wjwithagen/wip-wjw-vstart-ceph-mgr-restfull
Sage Weil [Fri, 23 Jun 2017 13:57:19 +0000 (08:57 -0500)]
Merge pull request #15877 from wjwithagen/wip-wjw-vstart-ceph-mgr-restfull

vstart.sh: Work around mgr restfull not available

8 years ago./src/vstart.sh: Work around mgr restfull not available 15877/head
Willem Jan Withagen [Fri, 23 Jun 2017 09:33:18 +0000 (11:33 +0200)]
./src/vstart.sh: Work around mgr restfull not available

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agocommon/config_opts: drop unused opt 15876/head
Yanhu Cao [Fri, 23 Jun 2017 09:15:47 +0000 (17:15 +0800)]
common/config_opts: drop unused opt

Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
8 years agoMerge pull request #15832 from Adirl/pd_assert
Haomai Wang [Fri, 23 Jun 2017 01:26:06 +0000 (09:26 +0800)]
Merge pull request #15832 from Adirl/pd_assert

msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15283 from donglinpeng/copyPartUpload
Matt Benjamin [Thu, 22 Jun 2017 23:15:00 +0000 (19:15 -0400)]
Merge pull request #15283 from donglinpeng/copyPartUpload

rgw: multipart copy-part remove '/' for s3 java sdk request header.
(make check failures not related)

8 years agoMerge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3
Sage Weil [Thu, 22 Jun 2017 21:25:06 +0000 (16:25 -0500)]
Merge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3

doc: v12.1.0 release notes notable changes addition again

8 years agodoc: v12.1.0 release notes notable changes addition again 15857/head
Abhishek Lekshmanan [Thu, 22 Jun 2017 20:57:05 +0000 (22:57 +0200)]
doc: v12.1.0 release notes notable changes addition again

commmits from 9f259cb923e7474229bb2e5e54b59f3b7f068bc5..luminous && sort

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agoMerge pull request #15819 from linuxbox2/wip-clru-lockfix
Matt Benjamin [Thu, 22 Jun 2017 19:33:50 +0000 (15:33 -0400)]
Merge pull request #15819 from linuxbox2/wip-clru-lockfix

rgw_file: avoid a recursive lane lock in LRU drain
(failing make check is unrelated)

8 years agorgw_file: avoid a recursive lane lock in LRU drain 15819/head
Matt Benjamin [Wed, 21 Jun 2017 21:20:40 +0000 (17:20 -0400)]
rgw_file: avoid a recursive lane lock in LRU drain

While highly unlikely in normal fs operations, draining an
entire filesystem could induce a recursion on object delete/unref,
when provoked by cohort_lru::drain().

Adjusted to use intrusive slist rather than std:vector<T*>
after review.

Found running librgw_file_nfsns unit test.

Fixes: http://tracker.ceph.com/issues/20374
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoradosgw: fixed sizes of integers used to operate on offsets and lengths in compression, 15656/head
Adam Kupczyk [Tue, 13 Jun 2017 07:37:02 +0000 (09:37 +0200)]
radosgw: fixed sizes of integers used to operate on offsets and lengths in compression,
         followup of http://tracker.ceph.com/issues/20231

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
8 years agoMerge pull request #15814 from liewegas/wip-everyone-hates-btrfs
Sage Weil [Thu, 22 Jun 2017 14:50:55 +0000 (09:50 -0500)]
Merge pull request #15814 from liewegas/wip-everyone-hates-btrfs

qa/objectstore/filestore-btrfs: test btrfs on trusty only

8 years agosrc/vstart.sh: kill dead upmap option 15848/head
xie xingguo [Thu, 22 Jun 2017 13:03:43 +0000 (21:03 +0800)]
src/vstart.sh: kill dead upmap option

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15820 from liewegas/wip-20303
Sage Weil [Thu, 22 Jun 2017 13:38:50 +0000 (08:38 -0500)]
Merge pull request #15820 from liewegas/wip-20303

mon/PGMap: slightly better debugging around pgmap updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15846 from xiexingguo/wip-remap-upmap
Sage Weil [Thu, 22 Jun 2017 13:33:35 +0000 (08:33 -0500)]
Merge pull request #15846 from xiexingguo/wip-remap-upmap

mon/OSDMonitor: _apply_remap -> _apply_upmap; less code redundancy

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: less code redundancy 15846/head
xie xingguo [Thu, 22 Jun 2017 12:00:04 +0000 (20:00 +0800)]
mon/OSDMonitor: less code redundancy

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15805 from jcsp/wip-mds-flush-upgrade
John Spray [Thu, 22 Jun 2017 11:08:51 +0000 (07:08 -0400)]
Merge pull request #15805 from jcsp/wip-mds-flush-upgrade

client: check for luminous MDS before sending FLUSH_MDLOG

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15800 from ukernel/wip-20340
John Spray [Thu, 22 Jun 2017 11:07:59 +0000 (07:07 -0400)]
Merge pull request #15800 from ukernel/wip-20340

mds: save  projected path into inode_t::stray_prior_path

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15776 from ukernel/wip-20338
John Spray [Thu, 22 Jun 2017 11:07:21 +0000 (07:07 -0400)]
Merge pull request #15776 from ukernel/wip-20338

osdc/Journaler: fix memory leak in Journaler::_issue_read()

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15430 from jcsp/wip-20165
John Spray [Thu, 22 Jun 2017 11:06:41 +0000 (07:06 -0400)]
Merge pull request #15430 from jcsp/wip-20165

mds: fix hangs involving re-entrant calls to journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15548 from ukernel/wip-20196
John Spray [Thu, 22 Jun 2017 10:46:27 +0000 (06:46 -0400)]
Merge pull request #15548 from ukernel/wip-20196

mds: improvements for stray reintegration

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agomon/MonCommand: fix description of "osd pg-upmap"
xie xingguo [Thu, 22 Jun 2017 09:26:47 +0000 (17:26 +0800)]
mon/MonCommand: fix description of "osd pg-upmap"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd/OSDMap: _apply_remap -> _apply_upmap
xie xingguo [Thu, 22 Jun 2017 08:50:27 +0000 (16:50 +0800)]
osd/OSDMap: _apply_remap -> _apply_upmap

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15796 from lixiaoy1/fio_ceph_objectstore
Igor Fedotov [Thu, 22 Jun 2017 08:01:00 +0000 (12:01 +0400)]
Merge pull request #15796 from lixiaoy1/fio_ceph_objectstore

fio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled

8 years agoMerge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf
Orit Wasserman [Thu, 22 Jun 2017 08:00:26 +0000 (11:00 +0300)]
Merge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf

rgw: Changes for s3test config file, to add user under a tenant.
Reviewed-by: Casey Bodely <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agomsg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain 15832/head
Daniel Bar-On [Mon, 15 May 2017 10:44:29 +0000 (10:44 +0000)]
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain
destructor

issue: 1044307

Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agorgw: check all users bucket for resharding, this will reshard bucket created in older... 15665/head
Orit Wasserman [Sun, 11 Jun 2017 13:04:52 +0000 (16:04 +0300)]
rgw: check all users bucket for resharding, this will reshard bucket created in older versions

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15317 from liupan1111/wip-fix-list
Mykola Golub [Thu, 22 Jun 2017 04:31:32 +0000 (07:31 +0300)]
Merge pull request #15317 from liupan1111/wip-fix-list

rbd-nbd: display pool/image/snap information in list output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15803 from mikulely/cleanup-rgw_rados_doc
Jos Collin [Thu, 22 Jun 2017 04:27:29 +0000 (04:27 +0000)]
Merge pull request #15803 from mikulely/cleanup-rgw_rados_doc

rgw: update function doc in rgw_rados.h  and rgw_rados.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoqa/workunits/rbd: do not test --export-format unless supported 15764/head
Kefu Chai [Thu, 22 Jun 2017 04:16:52 +0000 (12:16 +0800)]
qa/workunits/rbd: do not test --export-format unless supported

in 55edd81, test for `--export-format` was added to exercise this
option. but this option is only supported on luminous, so we need to
check if it's avaialble before using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoa/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1
Kefu Chai [Tue, 20 Jun 2017 06:11:19 +0000 (14:11 +0800)]
a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1

no need to clone the whole history of rocksdb, we just need the HEAD of
master. so "--depth 1" is better and faster in this case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/hammer-jewel-x: upgrade all mon to luminous before osd
Kefu Chai [Tue, 20 Jun 2017 03:28:26 +0000 (11:28 +0800)]
qa/suites/upgrade/hammer-jewel-x: upgrade all mon to luminous before osd

luminous osd requires that monmap has REQUIRE_LUMINOUS before it boots.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/hammer-jewel-x: replace kraken.yaml with luminous.yaml
Kefu Chai [Tue, 20 Jun 2017 02:37:24 +0000 (10:37 +0800)]
qa/suites/upgrade/hammer-jewel-x: replace kraken.yaml with luminous.yaml

* add mgr.x to roles
* to setup mgr and set the require-osd-release bit in osdmap
* do not restart an osd for waiting for healthy: the cluster is not
  healthy until the require-osd-release=luminous is set in osdmap, and a
  mgr is up and running.

Fixes: http://tracker.ceph.com/issues/20342
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15261 from mychoxin/yuanxin_use_func
Sage Weil [Thu, 22 Jun 2017 02:14:30 +0000 (21:14 -0500)]
Merge pull request #15261 from mychoxin/yuanxin_use_func

os/filestore: when print log, use __func__ instead of hard code function name

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15354 from badone/wip-rados-ls-auth-fix
Sage Weil [Thu, 22 Jun 2017 02:14:01 +0000 (21:14 -0500)]
Merge pull request #15354 from badone/wip-rados-ls-auth-fix

osd: Reverse order of op_has_sufficient_caps and do_pg_op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15649 from liewegas/wip-20274
Sage Weil [Thu, 22 Jun 2017 02:13:14 +0000 (21:13 -0500)]
Merge pull request #15649 from liewegas/wip-20274

osd/PrimaryLogPG: record prior_version for DELETE events

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15601 from liewegas/wip-no-restful-cert
Sage Weil [Thu, 22 Jun 2017 02:10:35 +0000 (21:10 -0500)]
Merge pull request #15601 from liewegas/wip-no-restful-cert

mgr: remove default cert; disable both restful and dashboard by default

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agorgw: update rgw_rados.h function doc 15803/head
Jiaying Ren [Wed, 21 Jun 2017 08:30:16 +0000 (16:30 +0800)]
rgw: update rgw_rados.h function doc

+ update system_obj_get_attr func comment
+ drop deprecated func comment for get_obj
+ update func comment for pool_iterate_begin

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agoMerge pull request #15755 from Adirl/wip-HUGEPAGES
Haomai Wang [Thu, 22 Jun 2017 01:23:29 +0000 (09:23 +0800)]
Merge pull request #15755 from Adirl/wip-HUGEPAGES

msg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoqa/workunits/rest/test_mgr_rest_api: remove ruleset 15601/head
Sage Weil [Thu, 22 Jun 2017 01:17:14 +0000 (21:17 -0400)]
qa/workunits/rest/test_mgr_rest_api: remove ruleset

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: configure cert
Sage Weil [Thu, 22 Jun 2017 01:09:58 +0000 (21:09 -0400)]
qa/suites/rados/rest/mgr-restful: configure cert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: add 'restful restart' command
Sage Weil [Thu, 22 Jun 2017 01:00:35 +0000 (21:00 -0400)]
pybind/mgr/restful: add 'restful restart' command

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15757 from runsisi/wip-image-ts
Jason Dillaman [Thu, 22 Jun 2017 00:51:52 +0000 (20:51 -0400)]
Merge pull request #15757 from runsisi/wip-image-ts

librbd: add create timestamp metadata for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth
Kefu Chai [Wed, 21 Jun 2017 23:46:57 +0000 (07:46 +0800)]
Merge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth

test: Make screencandy optional for FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoosd/PGLog: ignore ERROR entires in _merge_object_divergent_entries 15649/head
Sage Weil [Wed, 21 Jun 2017 22:25:47 +0000 (18:25 -0400)]
osd/PGLog: ignore ERROR entires in _merge_object_divergent_entries

Sometimes ERROR log entries do not have prior_version.  Also,
they aren't actually updates and don't affect the object.

Fixes: http://tracker.ceph.com/issues/20274
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/objectstore/bluestore: lower full thresholds 15821/head
Sage Weil [Wed, 21 Jun 2017 02:47:40 +0000 (22:47 -0400)]
qa/objectstore/bluestore: lower full thresholds

On NVMe we can write really fast... fast enough that we may fill up before
we realize we are nearly full.  It's a problem here only because our
devices are so small that the OSDs fill up proportionally quickly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: slightly better debugging around pgmap updates 15820/head
Sage Weil [Wed, 21 Jun 2017 21:50:59 +0000 (17:50 -0400)]
mon/PGMap: slightly better debugging around pgmap updates

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/powercycle/osd/tasks/radosbench: consume less space
Sage Weil [Wed, 21 Jun 2017 02:34:08 +0000 (22:34 -0400)]
qa/suites/powercycle/osd/tasks/radosbench: consume less space

Fixes: http://tracker.ceph.com/issues/20302
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15783 from liewegas/wip-20358
Sage Weil [Wed, 21 Jun 2017 21:01:51 +0000 (16:01 -0500)]
Merge pull request #15783 from liewegas/wip-20358

os/bluestore: move sharedblob to new collection in same shard

8 years agoMerge pull request #15785 from liewegas/wip-bluestore-fsck
Sage Weil [Wed, 21 Jun 2017 21:01:07 +0000 (16:01 -0500)]
Merge pull request #15785 from liewegas/wip-bluestore-fsck

qa/objectstore/bluestore*: fsck on mount

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoqa/objectstore/filestore-btrfs: test btrfs on trusty only 15814/head
Sage Weil [Wed, 21 Jun 2017 20:44:25 +0000 (16:44 -0400)]
qa/objectstore/filestore-btrfs: test btrfs on trusty only

Centos btrfs hits ENOSPC all the time :(, and now xenial is doing
it too.

See http://tracker.ceph.com/issues/20169
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15734 from dillaman/wip-librbd-image-remove
Mykola Golub [Wed, 21 Jun 2017 20:41:33 +0000 (23:41 +0300)]
Merge pull request #15734 from dillaman/wip-librbd-image-remove

librbd: fix issues with image removal state machine

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator
Gregory Farnum [Wed, 21 Jun 2017 20:05:40 +0000 (16:05 -0400)]
Merge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator

osd, messages/MOSDPing: bunch of fixes related to ping inflation

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15723 from badone/wip-ceph-mon-startup-error-logging
Yuri Weinstein [Wed, 21 Jun 2017 20:01:35 +0000 (13:01 -0700)]
Merge pull request #15723 from badone/wip-ceph-mon-startup-error-logging

mon: Log errors at startup

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15784 from liewegas/wip-thrash-cleanup
Sage Weil [Wed, 21 Jun 2017 19:31:34 +0000 (14:31 -0500)]
Merge pull request #15784 from liewegas/wip-thrash-cleanup

qa/tasks/ceph_manager: get osds all in after thrashing

8 years agoMerge pull request #15787 from liewegas/wip-19943-fix
Sage Weil [Wed, 21 Jun 2017 19:31:02 +0000 (14:31 -0500)]
Merge pull request #15787 from liewegas/wip-19943-fix

ceph-objectstore-tool: do not populate snapmapper with missing clones

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agos3a hadoop '2.8.0' tests 14624/head
Vasu Kulkarni [Tue, 20 Jun 2017 23:21:03 +0000 (16:21 -0700)]
s3a hadoop '2.8.0' tests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agohadoop s3a '2.7.3' tests
Vasu Kulkarni [Tue, 20 Jun 2017 23:20:23 +0000 (16:20 -0700)]
hadoop s3a '2.7.3' tests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agos3a task to test radosgw compatibility with hadoop s3a interface
Vasu Kulkarni [Tue, 20 Jun 2017 23:11:11 +0000 (16:11 -0700)]
s3a task to test radosgw compatibility with hadoop s3a interface

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #15813 from tchaikov/wip-cmake
Kefu Chai [Wed, 21 Jun 2017 16:57:17 +0000 (00:57 +0800)]
Merge pull request #15813 from tchaikov/wip-cmake

cmake: do not add dependencies to INTERFACE library on cmake < 3.3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agopybind/mgr/restful: remove default path names for the cert
Sage Weil [Wed, 21 Jun 2017 16:30:07 +0000 (12:30 -0400)]
pybind/mgr/restful: remove default path names for the cert

I don't think these are useful.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: do not start if no certificate is configured
Sage Weil [Wed, 21 Jun 2017 16:29:45 +0000 (12:29 -0400)]
pybind/mgr/restful: do not start if no certificate is configured

This removes the default filename, by the way.  We also work around a
problem with make_server where it sets up the socket to listen before
checking for the cert, thereby making it problematic to rebind to the
port shortly thereafter when we do have a socket.  (SO_REUSEADDR would
be appropriate but there doesn't seem to be an easy way to make
make_server use it.)

Signed-off-by: Sage Weil <sage@redhat.com>