Commit Graph

68875 Commits

Author SHA1 Message Date
Zack Cerza
8af4c35f95 qa/suites/rgw: Add openstack volume configuration
Without this, OSDs will fail to create on instances whose root fs isn't
xfs.

Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-23 10:14:05 -07:00
Sage Weil
8ff8f0fa0b Merge pull request #13595 from tchaikov/wip-enable-bluestore-ceph-dencoder
ceph-dencoder: enable bluestore types

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 09:31:58 -06:00
Sage Weil
292306cdfb Merge pull request #13569 from athanatos/wip-17831-18583-18809-18927
ReplicatedBackend: don't queue Context outside of ObjectStore with obc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 09:22:02 -06:00
Sage Weil
5b12163ed6 Merge pull request #13470 from wangzhengyong/master
os/bluestore/BitAllocator: fix bug of checking required blocks

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 09:04:01 -06:00
Sage Weil
7c44095e04 Merge pull request #13516 from wjwithagen/wip-wjw-test-onjectstore
test/ceph-test-objectstore: Don't always include BlueStore code

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-23 09:02:54 -06:00
Sage Weil
b1ea854d11 Merge pull request #13521 from dachary/wip-crush-uniform
crush: allow uniform buckets with no items

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 09:01:30 -06:00
Sage Weil
638594d579 Merge pull request #13540 from liewegas/wip-debug-osd
osd: debug con in ms_handle_connect

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-23 09:01:01 -06:00
Sage Weil
780ca8e38a Merge pull request #13565 from liewegas/wip-fix-pool-race-test
ceph_test_rados_api_misc: avoid livelock from PoolCreationRace

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-23 09:00:35 -06:00
Mykola Golub
7a8e718585 Merge pull request #13568 from dillaman/wip-18990
rbd-mirror: deleting a snapshot during sync can result in read errors

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-23 11:28:27 +02:00
Kefu Chai
a3b8e0aa0a ceph-dencoder: s/WITH_LIBAIO/HAVE_LIBAIO/
* s/WITH_LIBAIO/HAVE_LIBAIO/: as HAVE_LIBAIO is used to detect if libaio
  is installed and is exposed in the acconfig.h.
* do not test bluestore_blob_t with ceph-dencoder, as it repurposes the
  "feature" parameter for struct_v.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-23 14:54:16 +08:00
Kefu Chai
a7c1d3b9d8 os/bluestore: fix bluestore_blob_t::generate_test_instances()
add extends before marking unused ranges, otherwise add_unused()
asserts if (offset + len < blob_len)
this method is supposed to be used by ceph-dencoder, but
bluestore_blob_t's codec is quite different. we are not testing its
encoding in ceph-dencoder at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-23 12:17:46 +08:00
Loic Dachary
c733d48580 Merge pull request #13589 from dachary/wip-crush-doc
doc: crush: API documentation fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 00:36:36 +01:00
Matt Benjamin
98b28d675d Merge pull request #13590 from linuxbox2/wip-badbuck
rgw_file: avoid stranding invalid-name bucket handles in fhcache
2017-02-22 16:35:19 -05:00
Casey Bodley
abb6eec3a6 Merge pull request #13324 from dongbula/make-sync-thread-name-clear
rgw: make sync thread name clear

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 13:52:23 -05:00
Jason Dillaman
e0143b4952 Merge pull request #13361 from ddiss/rbdmap_unmap_from_file
rbdmap: consider /etc/ceph/rbdmap when unmapping images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-22 12:53:55 -05:00
Casey Bodley
99060b2e56 Merge pull request #13387 from Jing-Scott/clean-up-rgw-list-redundant-code
rgw: clean up the redundant assignment in last_entry_in_listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:47:33 -05:00
Casey Bodley
e7d7b8d035 Merge pull request #13460 from theanalyst/fix/rgw-rest-user-fixme
wip: rgw: rest_admin/user avoid double checking input args

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:45:42 -05:00
Casey Bodley
e5e981c796 Merge pull request #13461 from theanalyst/doc/rgw-system-user
doc: rgw: make a note abt system users vs normal users

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:44:39 -05:00
Casey Bodley
ac79e29be4 Merge pull request #13576 from jronak/doc
rgw:Fixes typo in rgw_admin.cc

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:24:22 -05:00
Casey Bodley
a78c0f3eff Merge pull request #13578 from Liuchang0812/wip-fix-typo-in-rgw
rgw: fix typo in comment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:22:16 -05:00
Matt Benjamin
6cde812c92 rgw_file: avoid stranding invalid-name bucket handles in fhcache
To avoid a string copy in the common mkdir path, handles for
proposed buckets currently are staged in the handle table, before
being rejected.  They need to be destaged, not just marked deleted
(because deleted objects are now assumed not to be linked, as of
beaeff0593).

This triggered an unhandled Boost assert when deleting staged
handles, as current safe_link mode requires first removing from
the FHCache.

Fixes: http://tracker.ceph.com/issues/19036

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-22 10:43:48 -05:00
John Spray
64eae76fbe Merge pull request #12897 from renhwztetecs/renhw-wip-client-cleanup
client: priority to verify the correctness of the "flag" 

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:08:14 +00:00
John Spray
de5249436c Merge pull request #13359 from jcsp/wip-logrotate-sshexception
qa: handle SSHException in logrotate

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 10:05:07 +00:00
John Spray
c068fa879f Merge pull request #13429 from ukernel/wip-18941
test/libcephfs: avoid buffer overflow when testing ceph_getdents()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:04:22 +00:00
John Spray
fa55ed5ab2 Merge pull request #13455 from ukernel/wip-18953
mds: ignore fs full check for CEPH_MDS_OP_SETFILELOCK

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:50:56 +00:00
John Spray
4fb5286af0 Merge pull request #13465 from jcsp/wip-mds-voidfn
mds: replace C_VoidFn in MDSDaemon with lambdas

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-22 09:49:17 +00:00
John Spray
0d817a2ae0 Merge pull request #13471 from batrick/fs-new-eexist
mon: detect existing fs and duplicate name earlier

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:48:36 +00:00
Abhishek L
7ae1981855 Merge pull request #13572 from theanalyst/doc/changelog/v0.94.10
doc: add changelog for v0.94.10

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-02-22 10:27:54 +01:00
Abhishek L
aa59cbd427 Merge pull request #13152 from smithfarm/wip-hammer-release-notes
doc: hammer 0.94.10 release notes

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-02-22 10:25:24 +01:00
Loic Dachary
51f4e3bd93 Merge pull request #13573 from dachary/wip-17821-revert
ceph-disk: dmcrypt activate must use the same cluster as prepare

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 09:15:22 +01:00
Ronak Jain
58837ef6ce rgw: Fixes typo in rgw_admin.cc
Issue: http://tracker.ceph.com/issues/19026
Signed-off-by: Ronak Jain <ronakjain@outlook.in>
2017-02-22 13:29:32 +05:30
liuchang0812
f0061f4b0b rgw: fix typo in comment
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-22 15:20:59 +08:00
Loic Dachary
7f66672b67 ceph-disk: dmcrypt activate must use the same cluster as prepare
When dmcrypt is used, the fsid cannot be retrieved from the data
partition because it is encrypted. Store the fsid in the lockbox to
enable dmcrypt activation using the same logic as regular activation.

The fsid is used to retrive the cluster name that was used during
prepare, reason why activation does not and must not have a --cluster
argument.

Fixes: http://tracker.ceph.com/issues/17821

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-22 01:49:12 +01:00
Jason Dillaman
b4f36d5dc3 rbd-mirror: retry object copy after -ENOENT error
Fixes: http://tracker.ceph.com/issues/18990
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 18:42:54 -05:00
Jason Dillaman
9a91efc304 rbd-mirror: object copy should always reference valid snapshots
If a remote snapshot is deleted while an image sync is in-progress,
associate the read request against the most recent, valid remote
snapshot for a given snapshot object clone.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 18:42:54 -05:00
Jason Dillaman
0c181527c0 rbd-mirror: replace complex object op tuple with struct
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 18:42:54 -05:00
Nathan Cutler
374423e0ca Merge pull request #13515 from smithfarm/wip-17613
rpm: build ceph-resource-agents by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-02-22 00:13:20 +01:00
Abhishek Lekshmanan
2a79c6e5cc doc: add changelog for v0.94.10
Generated as
```
$ git log tags/v0.94.9..tags/v0.94.10 --after="Tue Aug 30 11:33:36 2016 +0000"
```

in order to avoid the qa suite merge commits
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-02-21 23:51:12 +01:00
Loic Dachary
d3409d4562 Revert "ceph-disk: change get_dmcrypt_key test to support different cluster name"
Merged by mistake, teuthology ceph-disk fails

This reverts commit 1c74747360.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:48:34 +01:00
Loic Dachary
bf6fca7591 Revert "ceph-disk: Adding cluster name support for dmcrypt"
Merged by mistake, teuthology ceph-disk fails

This reverts commit d98d4dbc27.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:47:25 +01:00
Yuri Weinstein
9d295f7588 Merge pull request #12623 from LiumxNL/fix-boot-epoch
osd: correct epoch setting of osd boot msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 13:01:23 -08:00
Yuri Weinstein
d0c5df3a87 Merge pull request #13418 from dreamhost/wip-18928
msg/async: support IPv6 QoS.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-21 12:59:42 -08:00
Yuri Weinstein
f0e93ea02e Merge pull request #13530 from tangwenjun3/wip-tang-nvme
os/bluestore rm unused variable in aio_read()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 12:57:14 -08:00
Sage Weil
e81f0e933a ceph_test_rados_api_misc: avoid livelock from PoolCreationRace
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-21 12:24:14 -06:00
Jason Dillaman
e2f14be298 Merge pull request #13536 from Liuchang0812/wip-add-override-in-rbd-headers
librbd: add override keyword in header files

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 11:51:50 -05:00
Kefu Chai
9341329781 Merge pull request #13558 from ceph/wip-19016-remove-mon_osd_min_down_reports
doc: remove mentions about mon_osd_min_down_reports

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:40:59 +08:00
Kefu Chai
445434048b Merge pull request #12295 from wjwithagen/wip-wjw-TEMP_FAILURE
rgw/rgw_main.cc: fix parenteses and function result

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:39:52 +08:00
Casey Bodley
70d1f90d79 Merge pull request #13291 from prallabh/obj_stat
rgw: Let the object stat command be shown in the usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-21 09:19:09 -05:00
Barbora Ančincová
2918439f57 doc: remove mentions about mon_osd_min_down_reports
Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-21 13:43:03 +01:00
Kefu Chai
d694b61d49 Merge pull request #13550 from tchaikov/wip-18968
mon/MonClient: persist global_id across re-connecting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-21 17:22:42 +08:00