Commit Graph

84333 Commits

Author SHA1 Message Date
David Zafman
51b740ad41 test: Fail upon flush_pg_stats timeout
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-11 16:26:11 -07:00
David Zafman
609e6b12cb osd: Fix log messages
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-11 16:26:11 -07:00
myoungwon oh
615cc5e8b7 osd: add num_object_manifest to count manifest object
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-03-11 11:57:49 +09: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
Shengjing Zhu
2cbba835aa misc: fix various spelling errors
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-03-10 23:39:20 +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
songweibin
e580d8c07d osd: direct use of 'shard' without repeated calls
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-10 16:30:20 +08:00
songweibin
cb260a84b8 osd: drop unused header in OSD.cc
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-10 12:31:00 +08: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
Josh Durgin
1c15458a00 PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once
This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-03-09 19:14:28 -05: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
Josh Durgin
b50186bfe6 PG, PrimaryLogPG: trim log and rollback info for error log entries
Regular updates piggyback some osd state for this purpose with
MOSDRepOp[Reply]. Do the same thing for pure log entry updates (write
errors and lost/revert additions) via MOSDPGUpdateLogMissing[Reply].

Fixes: http://tracker.ceph.com/issues/22050
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-03-09 17:54:08 -05: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
b3eee73e3c mgr/dashboard_v2: Fix cephfs template table usage
The option 'toolHeader' wasn't recognized by the table directive.
So it showed the wrong behavior showing the tool bar of the table.

Signed-off-by: Stephan Müller <smueller@suse.com>
2018-03-09 14:30:27 +01: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
Nathan Cutler
80e81a1f66
Merge pull request #20813 from smithfarm/wip-make-dist-suse
Revert "make-dist: add OBS-specific release suffix on SUSE"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:26:47 +01:00
Mykola Golub
86a67ac52f
Merge pull request #20682 from dillaman/wip-22960
librbd: abstract hard-coded journal and cache hooks on IO path 

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-09 14:11:08 +02:00
Alfredo Deza
8ef0ada511
Merge pull request #20815 from capri1989/get-packages-luminous-update
doc: Updated the get-packages.rst to luminous

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-09 07:03:04 -05:00
Tiago Melo
72e0e292e5 mgr/dashboard_v2: fix cluster configuration page
Configuration level 'develop' was changed to 'dev' in
1717d4c578.
Because of this all the dev configurations were not showing.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-09 11:50:00 +00:00
Ricardo Dias
2becfb78ce
mgr/dashboard: HTTP request logging
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-09 11:29:58 +00:00
Volker Theile
4ac1239c9c mgr/dashboard v2: Don't show details if multiple OSDs are selected
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-09 12:11:41 +01:00
Ricardo Dias
2a2847e17a
Merge pull request #20747 from votdev/add_required_directive
mgr/dashboard v2: Add CSS class for required form fields

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-09 09:47:26 +00:00
Yao Guotao
b3a5949031 install-deps.sh: fix an error condition expression
Signed-off-by: Yao Guotao <yaoguot@gmail.com>
2018-03-09 04:46:27 -05:00
Ilya Dryomov
0514480b16 librbd: create+truncate for whole-object layered discards
A whole-object layered discard is implemented as a truncate rather
than a delete: a dummy object is needed to prevent the CoW machinery
from kicking in.  However, a truncate on a non-existent object is
a no-op.  If the object doesn't exist in HEAD, a discard request is
effectively ignored -- parent blocks are still seen afterwards.

A non-exclusive create on an existing object is also a no-op, so the
fix is to do a compound create+truncate instead.

Fixes: http://tracker.ceph.com/issues/23285
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-09 10:18:04 +01:00
Sebastian Wagner
7b912b8b52 mgr/dashboard_v2: Refactored RESTControllerTest:
* Made `RESTControllerTest` inherent from `ControllerTestCase`
* Refactored `ControllerTestCase`
* Simplified all tests that inherent from  `ControllerTestCase`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-09 10:01:54 +01:00
Sebastian Wagner
9603c1d0a4 mgr/dashboard_v2: Removed unused tools.detail_route()
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-09 10:00:39 +01:00
Kai Wagner
d2452f6605 Updated the get-packages.rst to luminous
Signed-off-by: Kai Wagner <kwagner@suse.com>
2018-03-09 07:50:45 +01:00
Kefu Chai
0865d909c2 common/options: consolidate Option::to_str() with operator<<
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
09b61f09fc test: add a simple test for conf_get() and conf_set()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
80ee71ab5a common/options,mon: switch some option to TYPE_SECS
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
c3dd17fd87 common/config: specialize the settings for time duration
because of the ADL, boost::detail::variant::printer is not able to find
operator<<(ostream&, chrono::seconds) even the latter is defined. so we
need to define our own printer. and print_value() function, so it can be
used out of the compilation unit.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
a5309c8fd2 common/options: switch some cephfs settings to TYPE_SIZE
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
e0bcd9c5c0 common/options: switch some rbd settings to TYPE_SIZE
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
6add55072d common/options: switch some rgw options to TYPE_SIZE
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00