Commit Graph

101675 Commits

Author SHA1 Message Date
Ricardo Marques
c5d45ab88a
Merge pull request #29583 from rafaelquint/configfield2
mgr/dashboard: Verify fields on Configuration page

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2019-08-31 10:36:01 +01:00
David Zafman
4c190643d3
Merge pull request #29919 from dzafman/wip-41522
ceph-objectstore-tool can't remove head with bad snapset

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-08-30 17:14:20 -07:00
David Zafman
ca0767497e
Merge pull request #29941 from dzafman/wip-41517
osd: Fix assert in the case that snapset is missing

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-08-30 16:22:27 -07:00
Rafael Quintero
a18d515c4c mgr/dashboard: RBD Image Purge Trash, Move to Trash and Restore
Fixes: https://tracker.ceph.com/issues/40922
Fixes: https://tracker.ceph.com/issues/40928

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-08-30 13:37:05 -04:00
Casey Bodley
f13c6914eb rgw: increase beast parse buffer size to 64k
the flat_buffer starts very small and rarely grew above 512 bytes when
reading headers. this buffer's capacity() is what determines the size of
reads when when recv_body() calls boost::beast::http::async_read_some().
raising this buffer size to a static 64k greatly reduces the number of
socket reads

Reported-by: Marcus Watts <mwatts@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-08-30 11:39:53 -04:00
Jason Dillaman
013a41d5df
Merge pull request #30019 from mxdInspur/fix_20190829
librbd: clean up unused variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-30 11:12:26 -04:00
Kefu Chai
5e9227c9ec
Merge pull request #29968 from wjwithagen/wjw-fix-dencode-bluestore_bdev_t
bluestore/bdev: initialize size when creating object.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-30 23:06:20 +08:00
Kefu Chai
4dcd8ab905
Merge pull request #29931 from yaozongyou/refine-decltype
osdc: using decltype(auto) instead of trailing return type

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-30 22:57:21 +08:00
mxdInspur
4a26084ca4 librbd: clean up unused variable: C_MigrateObject::m_object_size
Fixes: https://tracker.ceph.com/issues/41580

Signed-off-by: mxdInspur <muxiangdong@inspur.com>
2019-08-30 10:40:08 -04:00
Casey Bodley
37bf3865e8
Merge pull request #30035 from tchaikov/wip-rgw-maybe-unused
rgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable wa…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-30 10:02:33 -04:00
Ricardo Dias
381b3ad776
Merge pull request #29927 from votdev/add_cephfs_legend
mgr/dashboard: Display legend for CephFS standbys

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-08-30 14:14:10 +01:00
Ricardo Dias
42ad75a113
Merge pull request #29934 from votdev/add_missing_i18n
mgr/dashboard: Add missing text translation

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-08-30 14:11:39 +01:00
Ricardo Dias
2b6f521d36
Merge pull request #30001 from votdev/issue_41573
mgr/dashboard: A block-manager can not access the pool page
2019-08-30 14:08:39 +01:00
Casey Bodley
f12108117d
Merge pull request #28885 from Kriechi/fix-bucket-policy-spelling
docs: rgw: fix bucket operation spelling: ListBucketMultipartUploads

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-30 09:06:38 -04:00
Nathan Cutler
ee11012b10 script/ceph-backport.sh: leave Assignee blank in backport PR
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-30 14:32:22 +02:00
Rafael Quintero
0a65823be0 mgr/dashboard: Verify fields on Configuration page
Fixes: https://tracker.ceph.com/issues/41193

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-08-30 08:27:49 -04:00
Ricardo Dias
a906ca0a43
Merge pull request #29794 from votdev/improve_error_msg
mgr/dashboard: Improve RestClient error logging

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-08-30 12:37:56 +01:00
Ricardo Dias
47edb9a7f9
Merge pull request #29353 from votdev/issue_40981
mgr/dashboard: CephFS class issues with strings
2019-08-30 11:18:58 +01:00
Volker Theile
2f67798363
Merge pull request #29848 from rhcs-dashboard/fix-41358-master
mgr/dashboard: fix SAML input argument handling

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-30 12:09:26 +02:00
Volker Theile
5bd311c5c4
mgr/dashboard: fix tox missing bits and add lint-fixer (#29802)
mgr/dashboard: fix tox missing bits and add lint-fixer

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-30 12:09:00 +02:00
Kefu Chai
a3d8833093 rgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-30 18:04:32 +08:00
Laura Paduano
d6d8af2d1e
Merge pull request #29993 from votdev/fix_pool_e2e
mgr/dashboard: Fix pool deletion e2e

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-30 11:59:41 +02:00
Kefu Chai
4761004922 mgr/ansible: document requirements in requirements.txt
so install-deps.sh is able to collect them in wheels

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-30 17:39:01 +08:00
Volker Theile
205d0a31df
mgr/dashboard: access_control: add grafana scope read access t… (#29989)
mgr/dashboard: access_control: add grafana scope read access to *-manager roles

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-30 11:23:35 +02:00
Volker Theile
32a5073806 mgr/dashboard: CephFS class issues with strings
Fixes: https://tracker.ceph.com/issues/40981

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-30 10:52:00 +02:00
Xie Xingguo
973e1312ea
Merge pull request #30022 from Yan-waller/wip-yanj-miscleanup
osd: misc cleanups

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-08-30 16:12:07 +08:00
Yan Jun
ce49112bbd osd: drop useless get_possibly_deleted_pool_pg_num
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2019-08-30 13:55:16 +08:00
Yan Jun
db681a7ef2 osd: no need to dump empty waiting_for_split
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2019-08-30 13:51:16 +08:00
Kefu Chai
f154153c5d
Merge pull request #29982 from falcon78921/wip-doc-41516
doc: updated ceph monitor config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-30 12:22:50 +08:00
James McClune
8d8cbabff4 doc: updated ceph monitor config options
Executed ceph-conf --dump-all on a freshly installed v14.2.2 (nautilus)
cluster. Compared the global defaults to the keys/values specified in
mon-config-ref.rst. Checked options.cc to make sure the obsolete keys
are no longer used.

Fixes: https://tracker.ceph.com/issues/41516
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-08-29 23:54:10 -04:00
xie xingguo
6afe4f16db osd: prime splits/merges for any potential fabricated split/merge participant
If we have to fabricate a merge target, we need to prime any future splits
it might have.  Otherwise a sequence like

- e100 1.f merge to 1.7
- e110 1.7 split to 1.f, 1.17, 1.1f

where we process all of the above in one go at, say, e120, will lead to
a crash in register_and_wake_split_child because 1.17 and/or 1.1f aren't
primed.

Fix by making identify_splits_and_merges do a recursive scan on any
merge/split participants detected too.

Fixes: http://tracker.ceph.com/issues/38483
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-08-30 08:24:30 +08:00
J. Eric Ivancich
a0fee94982 rgw: make rollback refcount tag match
When the refcount does a "get", the tag ends with a null character,
but during a rollback, when the tag is "put" it does not end with a
null character, so the same tag is not being manipulated and the
refcounts are therefore off, preventing future deletion of an rgw
object. This adds the null character to the "put" operation.

This change was originally submitted by lltlo <120680451@qq.com> but
wasn't signed-off.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2019-08-29 10:47:42 -04:00
J. Eric Ivancich
7d32b082f8 rgw: make sure object's idtag is updated when available
This change was originally submitted by lltlo <120680451@qq.com> but
had some formatting issues and wasn't signed-off.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2019-08-29 10:47:27 -04:00
Neha Ojha
1d5a1e0eb9
Merge pull request #29939 from majianpeng/bluestore-print-correctly-info
os/bluestore: print correctly info.

Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-08-29 07:36:02 -07:00
Kefu Chai
26eb51fbbc
Merge pull request #30005 from wjwithagen/wjw-fix-vstart-mkdir
vstart.sh: Make sure mkdir succeeds

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-29 22:35:22 +08:00
Volker Theile
a973cb3486 mgr/dashboard: Fix pool deletion e2e
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-29 16:25:51 +02:00
Volker Theile
75e9d9a0f0 mgr/dashboard: A block-manager can not access the pool page
Fixes: https://tracker.ceph.com/issues/41573

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-29 15:45:54 +02:00
Willem Jan Withagen
4f1c7815af vstart.sh: Make sure mkdir succeeds
Even in the case the full path was not created, make sure mkdir
does create the full path.

And while there replaced some `test ....` with `[ ... ]`
like in the remainder of the file.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-08-29 15:20:46 +02:00
Nathan Cutler
deca13e83a script/ceph-backport.sh: wholesale refactor
This commit refactors the script to make it more user-friendly and
maintainable. Added features:

* script now determine release/milestone from backport issue instead of
  requiring user to provide it
* script now generates a more verbose PR description
* backport PR title is based on original PR instead of the tracker issue
* improved error handling
* new --debug option that triggers "set -x"
* new --verbose option
* errors and diagnostic messages are now printed to stderr

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-29 14:35:36 +02:00
Abhishek Lekshmanan
796dfce8f5 doc: release notes for v14.2.3 nautilus
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-08-29 13:12:06 +02:00
lei01.liu
da088211c6 mgr/prometheus: export standby mds metadata
Signed-off-by: lei01.liu <lei01.liu@horizon.ai>
2019-08-29 18:28:54 +08:00
Rishabh Dave
20d6264538 ceph-volume: test number of times LVs list was created
Add a test that cofirm that the LVs list was created only once when
calling devices.lvm.listing.list()

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-08-29 15:49:45 +05:30
Kefu Chai
48d6afb9e8
Merge pull request #29917 from tchaikov/wip-mon-always-on-modules
mgr/MgrMonitor: print pending.always_on_modules before updating it

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-08-29 17:31:54 +08:00
Kefu Chai
94b883911e
Merge pull request #29857 from dzafman/wip-41255
backfill_toofull seen on cluster where the most full OSD is at 1%

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-08-29 17:30:58 +08:00
Kefu Chai
5a5d417620
Merge pull request #29604 from votdev/python_cleanup
mgr/dashboard: Cleanup Python code

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-29 17:29:40 +08:00
Ricardo Dias
ea4236550e
mgr/dashboard: access_control: add grafana scope read access to *-manager roles
Fixes: https://tracker.ceph.com/issues/41572

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-29 10:28:36 +01:00
Volker Theile
7d490c05d3
mgr/dashboard: Extract E2E wait calls into PageHelper (#29789)
mgr/dashboard: Extract E2E wait calls into PageHelper

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-08-29 11:02:42 +02:00
Kefu Chai
fa4d8022bc
Merge pull request #29881 from tchaikov/wip-test-bufferlist
test/bufferlist.cc: encode/decode int64_t instead of long

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-08-29 09:24:56 +08:00
Brad Hubbard
bedd022fe2
Merge pull request #29916 from badone/wip-tracker-41518-grafana-server
qa/ceph-ansible: Disable dashboard

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-08-29 09:52:33 +10:00
Tiago Melo
89e1cba2a2 mgr/dashboard: Extract E2E wait calls into PageHelper
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-08-28 23:03:05 +00:00