Commit Graph

111127 Commits

Author SHA1 Message Date
Tiago Melo
e65faa8bec mgr/dashboard: Few linting fixes
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
3069600461 mgr/dashboard: Update Angular to v9
This was done with "ng update" cli command.

Fixes: https://tracker.ceph.com/issues/44829

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
J. Eric Ivancich
898ea3e956
Merge pull request #35009 from ivancich/wip-orphan-pending-rel-notes
PendingReleaseNotes: rgw-orphan-list, deprecation, and fixes

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2020-05-12 17:30:38 -04:00
Patrick Donnelly
01aea7f7e1
Merge PR #34978 into master
* refs/pull/34978/head:
	qa/tasks/cephfs/mount.py: always setup the NAT rules
	qa/tasks/cephfs/mount.py: fall back to use ip command to setup the bridge

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-05-12 11:59:51 -07:00
Kefu Chai
3560552cbc
Merge pull request #35021 from tchaikov/wip-cephfs-shell-pep8
cephfs-shell: fix warnings reported by flake8

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-05-13 00:41:25 +08:00
Kefu Chai
8a26c9055a cephfs-shell: fix warnings reported by flake8
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-12 22:15:57 +08:00
Lenz Grimmer
6fd685ddf7
Merge pull request #34746 from tspmelo/wip-form-loading
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-05-12 15:39:23 +02:00
Sebastian Wagner
3156ed6f9b
Merge pull request #34888 from jmolmo/fix_command_parse
cephadm: Fix error parsing shell command arguments

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-12 09:58:29 +02:00
Sebastian Wagner
dca41d97c7
Merge pull request #34945 from sebastian-philipp/cephadm-remove-async-map-resurrect
mgr/cephadm: replace async_map_completion with a simple wrapper (again)

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-12 09:54:25 +02:00
Sebastian Wagner
cf515323a5
Merge pull request #34970 from sebastian-philipp/bluestore-revert-sharding
Revert "os/bluestore: Enable sharding by default"

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-05-12 09:42:33 +02:00
Sebastian Wagner
08b54be437
Merge pull request #34977 from mgfritch/cephadm-prom-encoding
mgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-12 09:38:00 +02:00
Xiubo Li
2e6e3916a0 qa/tasks/cephfs/mount.py: always setup the NAT rules
If the last test failed just after the 'ceph-brx' bridge is created
but with setuping the NAT rules in iptables, so if we run the test
case again, it will just skip seting the 'ceph-brx' and the NAT rules.
Then deleting the NAT rules will get the errors like:

iptables: Bad rule (does a matching rule exist in that chain?).

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-05-11 23:20:42 -04:00
Xiubo Li
f7b49f5bab qa/tasks/cephfs/mount.py: fall back to use ip command to setup the bridge
CentOS/RHEL8 have abandoned the bridge-utils package so the brctl
cmd is none avalible, and on Ubuntu 18.04 and 20.04 the nmcli is
buggy to setup the bridge. So this will fall back to use ip cmd
to setup the bridge stuff.

Fixes: https://tracker.ceph.com/issues/45459
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-05-11 22:51:29 -04:00
Kefu Chai
dc973a7590
Merge pull request #34955 from tchaikov/wip-cbt-with-bluestore
scripts/run-cbt.sh: use bluestore for testing classic osd

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-05-12 10:37:48 +08:00
Patrick Donnelly
8a0caa435e
Merge PR #34962 into master
* refs/pull/34962/head:
	vstart_runner.py: use tuple instead of set

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-11 19:35:18 -07:00
J. Eric Ivancich
a813e08a3a PendingReleaseNotes: add missing quote character
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-11 15:18:08 -04:00
J. Eric Ivancich
fe253c9d5f PendingReleaseNotes: rgw-orphan-list and deprecated radosgw-admin orphans
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-11 15:16:36 -04:00
Sebastian Wagner
7ad11b5baf
Merge pull request #34938 from mgfritch/cephadm-systemd-stop-timeout
cephadm: extend systemd stop timeout

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-11 16:49:02 +02:00
Lenz Grimmer
5357c219fd
Merge pull request #34905 from tspmelo/wip-mirroring
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2020-05-11 15:58:18 +02:00
Rishabh Dave
cb0bfc8fab vstart_runner.py: use tuple instead of set
Using python3 leads to an error that says
"TypeError: unhashable type: 'Raw'".

Fixes: https://tracker.ceph.com/issues/45446
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-05-11 18:01:58 +05:30
Sebastian Wagner
959aa5c0c2
Merge pull request #34926 from sebastian-philipp/mgr-mock-mon-store
pybind/mgr: properly mock the mon store for pytest

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-05-11 14:05:06 +02:00
Sebastian Wagner
619fcdddec Revert "os/bluestore: Enable sharding by default"
This reverts commit aa1a116f9e.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-11 13:53:03 +02:00
Michael Fritch
bc26b1ab8c
mgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded
non-ascii chars introduced by 653c3f6682

Fixes: https://tracker.ceph.com/issues/45458
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-05-10 19:02:59 -06:00
Patrick Donnelly
ba805463ec
Merge PR #34948 into master
* refs/pull/34948/head:
	doc/cephfs-shell: Add quota command usage
	doc/cephfs-shell: Add du command usage
	doc/cephfs-shell: Add df command usage

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-05-09 09:53:33 -07:00
Yuval Lifshitz
1c2abf6fb8
Merge pull request #34958 from yuvalif/fix_versioning_in_notif
rgw/notifications: version id was not sent in versioned buckets
2020-05-09 11:52:09 +03:00
Kefu Chai
d7e23b8cd5
Merge pull request #34967 from tchaikov/wip-rpm-fmt
rpm: BuildRequires fmt-devel on el8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-05-09 16:24:46 +08:00
Kefu Chai
0bcb4a8386
Merge pull request #34781 from lxbsz/run_shell1
qa/tasks/cephfs/mount.py: run_shell to use StringIO as default

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-09 15:10:55 +08:00
Kefu Chai
bcbb8abb96
Merge pull request #34834 from sidharthanup/qa-test-exports-fix
qa/test_exports: fix TestExports failure under new py3 compability changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-09 14:53:10 +08:00
Kefu Chai
0d06671898
Merge pull request #34871 from tchaikov/wip-qa-tasks-mgr-set-application
qa/tasks/mgr: always add "application" label to pool

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-05-09 14:50:00 +08:00
Kefu Chai
da87b263be
Merge pull request #34895 from mgfritch/mgr-insights-py3-warn
mgr/insights: fix python3 DeprecationWarning

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-09 14:45:47 +08:00
Kefu Chai
9f2ac621e9
Merge pull request #34875 from tchaikov/wip-qa-tasks-qemu
qa/tasks/qemu: open file in text mode

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-05-09 14:41:04 +08:00
Patrick Donnelly
9859cd0f25
Merge PR #34941 into master
* refs/pull/34941/head:
	qa/cephfs: use StringIO instead of BytesIO

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-05-08 21:28:04 -07:00
J. Eric Ivancich
7949f59d8d
Merge pull request #34037 from ivancich/wip-adjust-ordered-list-attempts
rgw: clean up attempt loop in ordered listing

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2020-05-08 17:58:55 -04:00
J. Eric Ivancich
a02e3c766b
Merge pull request #33865 from ivancich/wip-fix-ordered-marker-bug
rgw: fix bug where bucket listing end marker not always set correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-08 17:55:28 -04:00
J. Eric Ivancich
6cde82b305
Merge pull request #30511 from tianshan/fix_41953
rgw: skip add empty multipart chain to gc in abort_multipart_upload

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2020-05-08 17:50:37 -04:00
J. Eric Ivancich
91e1136034
Merge pull request #29886 from tianshan/fix_bucket_handle_leak
rgw: fix some list buckets handle leak

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-05-08 17:49:22 -04:00
Sebastian Wagner
48eb4b854f
Merge pull request #34961 from sebastian-philipp/cephadm-fix-node-exporter-auth-entity
mgr/cephadm: node-exporter is not a ceph service

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 23:25:19 +02:00
Sebastian Wagner
77d038e781
Merge pull request #34932 from sebastian-philipp/cephadm-hostassignment-schedule.py
mgr/cephadm: move HostAssignment to new module

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-05-08 23:22:11 +02:00
Sebastian Wagner
f91fdb6d53
Merge pull request #34689 from rhcs-dashboard/45186-fix-test-orch
mgr/test_orchestrator: fix _get_ceph_daemons()

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 22:11:55 +02:00
Kefu Chai
d5932cb8de rpm: BuildRequires fmt-devel on el8
it's included in EPEL8 now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-09 01:54:55 +08:00
Sebastian Wagner
bceb02a31f
Merge pull request #34950 from sebastian-philipp/cephadm-upgrade.py
mgr/cephadm: move upgrade code to upgrade.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 18:59:49 +02:00
Sebastian Wagner
e89660cbf4
Merge pull request #34922 from SUSE/wip-fix-45393
mgr/cephadm: refresh osd config when mons change

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 18:59:26 +02:00
Sebastian Wagner
6a15a25d9a
Merge pull request #34903 from sebastian-philipp/cephadm-adopt-qa-grafana
qa/workunits/cephadm: test grafana adoption

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 18:58:50 +02:00
Lenz Grimmer
f719796eaf
Merge pull request #34949 from tspmelo/wip-i18n-fix
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-05-08 16:48:35 +02:00
Varsha Rao
799f5b3af7 doc/cephfs-shell: Add quota command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Varsha Rao
653c569ee2 doc/cephfs-shell: Add du command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Varsha Rao
f73d03ec26 doc/cephfs-shell: Add df command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Casey Bodley
2541d37ef4
Merge pull request #34923 from ofriedma/wip-ofriedma-fcgi
rgw: unable to compile fcgi frontend

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-05-08 09:26:07 -04:00
Lenz Grimmer
e592d5583e
Merge pull request #34709 from votdev/issue_45204_max_buckets
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-05-08 14:52:10 +02:00
Lenz Grimmer
2bf5503aa3
Merge pull request #34854 from BenoitKnecht/fix-alert-description
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-05-08 14:46:54 +02:00