Commit Graph

84139 Commits

Author SHA1 Message Date
Sage Weil
46a3c3c0eb osd/PG: wait for pushes and last_update_applied before requesting replica scrub
Wait on the primary for the EC backend to finish r/m/w cycles before we
ask the replicas to scrub.  Otherwise we will wait on the primary but the
replicas will scrub immediately and we'll get a mismatched result!

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-18 05:33:11 -05:00
Sage Weil
13b9df16d0 osd/ECBackend: do not op_applied on zero at_version for dummy rollforward transaction
The dummy rollforward transactions have at_version=0'0; do not call
op_applied on those.

This ensures that the op_applied call

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-18 05:33:08 -05:00
Sage Weil
7da45bc6b3 Partial revert "osd/PG: drop scrub machinery to wait for last_updated_applied"
This reverts commit c489112a1d (well,
part of it).

We want the scrub machinery that will wait on an EC read/modify/write
until it has been queued with the ObjectStore, but we don't need the
parts that used to worry about queued but unapplied writes in FileStore
not being visible.

Fixes: http://tracker.ceph.com/issues/23339
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
2f7ca451c2 osd/PrimaryLogPG: restore op_applied in PGBackend
Call it when we queue the submitted write.  For ReplicatedPG this is
inside submit_transaction(), and for ECBackend it's when we finally
submit the write for disk (possibly delayed by a read/modify/write).

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
6da45c30dd Revert "osd/PG: remove last_updated_applied, op_applied()"
This reverts commit c1c495f097.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
b1c045cf33 wa/standalong/mon/osd-pool-create: debug and increase delay
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 10:35:32 -05:00
Sage Weil
d0f6e482f8 osd/ECMsgTypes: print subchunks in ECSubRead operator<<
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 10:09:27 -05:00
Sage Weil
91893003c9
Merge pull request #20917 from liewegas/wip-no-query-debug
osd: debug dispatch_context cases where queries not sent

Reviewed-by: Josh Durgin <jduring@redhat.com>
2018-03-15 15:59:58 -05:00
Sage Weil
d505f4d429
Merge pull request #20918 from liewegas/wip-less-many
qa/suites/rados: fewer msgr failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-15 15:59:42 -05:00
Sage Weil
596e4c2793
Merge pull request #20919 from liewegas/wip-cot
qa/standalone/osd/repro_long_log: no-mon-config for cot

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-15 15:59:22 -05:00
Sage Weil
69765a788e qa/standalone/osd/repro_long_log: no-mon-config for cot
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-15 08:42:14 -05:00
Sage Weil
ef7eaa48be qa/suites/rados: fewer msgr failures
500 is a bit much... e.g., enough to hit timeouts forming mon quorum.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-15 08:39:28 -05:00
Sage Weil
85f980223d osd: debug dispatch_context cases where queries not sent
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-15 08:32:14 -05:00
Sage Weil
caa3d48c96
Merge pull request #20832 from liewegas/wip-fix-do-copy-range-replay
os/filestore: fix do_copy_range replay bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-13 17:21:59 -05:00
Yuri Weinstein
f882028470
Merge pull request #20848 from liewegas/wip-mds-a
qa/suites: mds.0 -> mds.a

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-12 13:52:29 -07:00
Sage Weil
4261d4ae1b qa/suites/hadoop: mds.0 -> mds.a
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-12 10:39:10 -05:00
Sage Weil
9eaab43cab qa/suites/ceph-deploy: mds.0 -> mds.a
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-12 10:39:02 -05:00
Sage Weil
c6760eba50 qa/suites/powercycle: mds.0 -> mds.a
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-12 10:38:16 -05:00
Sage Weil
6df18e6526 PendingReleaseNotes: dummy change
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-12 10:29:22 -05:00
Casey Bodley
04a73694d6
Merge pull request #20444 from cbodley/wip-qa-ssl
qa/rgw: verify suite tests civetweb with ssl

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-03-12 10:32:55 -04:00
Lenz Grimmer
8bd3434cf9
Merge pull request #20823 from rjfd/wip-dashboard-pools
mgr/dashboard_v2: Pool controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-12 14:11:21 +01:00
Ricardo Dias
0dff6fb413
mgr/dashboard: support test task as CLI arg in rub-backend-api-tests.sh
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:43:48 +00:00
Ricardo Dias
3efc1a834e
mgr/dashboard: Pool controller implementation and tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:43:48 +00:00
Kefu Chai
e9b02c00e7
Merge pull request #20821 from tspmelo/fix-configuration-page
mgr/dashboard_v2: fix cluster configuration page

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-12 18:46:09 +08:00
Lenz Grimmer
4d0ee23cca
Merge pull request #20806 from Devp00l/table-column-toggle
mgr/dashboard_v2: Add toggle able columns

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-12 11:25:21 +01:00
Lenz Grimmer
741ae773b5
Merge pull request #20797 from rjfd/wip-dashboard-log-requests
mgr/dashboard: HTTP request logging

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-12 11:23:05 +01:00
Lenz Grimmer
9d6eaa7cfd
Merge pull request #20765 from sebastian-philipp/dashboard_v2-no-detail_route
mgr/dashboard_v2: Removed unused `tools.detail_route()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-12 11:16:52 +01:00
Lenz Grimmer
934f8e685f
Merge pull request #20772 from votdev/fix_osd_details
mgr/dashboard v2: Don't show details if multiple OSDs are selected

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-12 11:12:41 +01:00
Jason Dillaman
a7351ce449 Merge pull request #20809 from idryomov/wip-librbd-discard-create-truncate
librbd: create+truncate for whole-object layered discards

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-10 20:30:59 -05:00
Sage Weil
df7fa174ad os/filestore: fix do_copy_range replay bug
The 'from' value is an fd, not an offset.  We want 'r' to be the number of
bytes copied, or len.

It looks like this has been broken since 9499cdcd87

Fixes: http://tracker.ceph.com/issues/23298
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-10 14:55:17 -06:00
vasukulkarni
edab41e3d6
Merge pull request #20243 from ceph/wip-cd-volume-entry
qa/tests: add openstack volume info + lvs for ceph-volume
2018-03-10 08:13:48 -08:00
Jason Dillaman
7ccd4123e7
Merge pull request #20826 from liewegas/wip-fix-mstart-config
vstart.sh: fix mstart variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-10 08:21:30 -05:00
Kefu Chai
c05e199fc5
Merge pull request #20819 from ygtzf/wip-install-deps
install-deps.sh: fix an error condition expression

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-10 09:32:00 +08:00
Kefu Chai
23169d3719
Merge pull request #20419 from tchaikov/wip-22748
common/config: add units to options

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-10 09:19:27 +08:00
Sage Weil
ef38c2cfbd vstart.sh: use proper variables for ceph.conf and dev dir
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-09 17:00:43 -06:00
Casey Bodley
ce8a22afbe qa/rgw: verify suite tests civetweb with ssl
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:33:10 -05:00
Casey Bodley
2aca3bd8c6 qa/rgw: loop over clients instead of config keys
we only run radosgw instances on clients that are specified directly in
the rgw task - this list omits entries that are brought in via overrides

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:33 -05:00
Casey Bodley
9641b97a32 qa/rgw: s3test task overrides REQUESTS_CA_BUNDLE to use system certs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:33 -05:00
Casey Bodley
aee4924e32 qa/rgw: s3test task conditionally sets is_secure
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:33 -05:00
Casey Bodley
1908b54996 qa/rgw: ragweed task conditionally sets is_secure
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:33 -05:00
Casey Bodley
73da70bac4 qa/rgw: swift task conditionally sets auth_ssl
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:33 -05:00
Casey Bodley
4e95ef3ffb qa/rgw: add ssl certificate option for rgw frontend config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:32 -05:00
Casey Bodley
d4c33f0177 qa/rgw: add class for rgw endpoints
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:32 -05:00
Casey Bodley
0362df8747 qa: add task to generate ssl certificates
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:32 -05:00
Kefu Chai
310f3a3733
Merge pull request #20805 from Devp00l/refresh-rotate
mgr/dashboard_v2: Rotate the refresh icon on load

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-10 01:55:44 +08:00
Kefu Chai
8426e1b6dc
Merge pull request #20788 from xiexingguo/wip-balancer-04
pybind/mgr/balancer: two more fixes

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-10 01:53:26 +08:00
Kefu Chai
b296f5c548
Merge pull request #20791 from guzhongyan/fix-pycmd
pybind/ceph_argparse: accept flexible req

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-10 01:52:34 +08:00
Ricardo Dias
862d04ddff
mgr/dashboard: refactor pool info retrieval to service class
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-09 16:43:04 +00:00
Stephan Müller
94df762b20 mgr/dashboard_v2: Add toggle able columns
It's now possible to toggle columns on and off in the data table.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-03-09 14:23:19 +01:00
Alfredo Deza
e7b3cc9619
Merge pull request #20787 from ceph/wip-rm23260
ceph-volume fix filestore OSD creation after mon-config changes

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-09 08:08:56 -05:00