Commit Graph

111156 Commits

Author SHA1 Message Date
Abutalib Aghayev
2f705a7850 do_cmake.sh: do not unnecessarily warn about debug build
do_cmake.sh forgets to check the arguments passed to it and ends up warning
about debug build even if a user specifies a release build.

Signed-off-by: Abutalib Aghayev <agayev@gmail.com>
2020-05-13 17:13:25 -04:00
Casey Bodley
f2a3cbf53a
Merge pull request #34969 from pritha-srivastava/wip-rgw-gc-fix
cls/rgw_gc: Fixing the iterator used to access urgent data map

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-13 14:36:48 -04:00
Laura Paduano
ac0737555a
Merge pull request #34965 from Devp00l/wip-45433
mgr/dashboard: Always use fast angular unit tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-05-13 16:36:48 +02:00
Nathan Cutler
a6adb000bd
Merge pull request #35041 from smithfarm/wip-tcmalloc-nit
doc: fix TCMalloc spelling

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-05-13 15:53:10 +02:00
Laura Paduano
3252b19084
Merge pull request #33121 from tspmelo/wip-angular-9
mgr/dashboard: Update to Angular 9

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-05-13 14:33:24 +02:00
Nathan Cutler
cde2bce385 doc: fix TCMalloc spelling
The google/tcmalloc page on GitHub refers to "TCMalloc", not
"tc_malloc".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-13 13:59:56 +02:00
Sebastian Wagner
47d737c517
Merge pull request #35010 from pcuzner/k8sevents-sanitise
mgr/k8sevents:sanitise kubernetes events

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-13 12:38:05 +02:00
Lenz Grimmer
40f42476e8
Merge pull request #34972 from tspmelo/wip-fix-45445
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-05-13 11:22:17 +02:00
Sebastian Wagner
79d88ada6f
Merge pull request #33886 from sebastian-philipp/doc-mon-command-api
doc: Add a generated reference of all mon commands.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-05-13 11:21:10 +02:00
Lenz Grimmer
a228afc92c
Merge pull request #35017 from tspmelo/wip-fix-fakefs
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-05-13 11:12:32 +02:00
Kefu Chai
b23de0c4b0
Merge pull request #34956 from tchaikov/wip-qa-tasks-cephfs-py3
qa/tasks/cephfs: remove sys.exc_clear() calls

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-13 15:21:41 +08:00
Kefu Chai
2941bbd7bc
Merge pull request #34857 from tchaikov/wip-qa-tasks-no-filter
qa/tasks: use list comprehension for checking the length

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-13 14:10:24 +08:00
Tiago Melo
1a6a8381a5 mgr/dashboard: Add dashboard node script
This file should be used to agregate all external scripts we need.
Multiple flags can be used in the same call.

Available flags:

--env: Generates angular environment files.

--pre: Modifies 'angular.json' to enable the build of custom locales using
       angular --localize.
       Languages can be defined using the environment variable LANGS,
       if no value is provided all languages will be build.
       Default language is always build, even if not provided.
       p.e.: 'LANGS="pt" node cd --pre', will build EN and PT.
       For backward compatibility we accept both long and short version of
       languages, p.e.: 'pt' and 'pt-BR'

--post: Restores 'angular.json' to its original.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
9e2e7eed3b mgr/dashboard: Remove ngcc warnings
Some packages are still not updated to be compatible with Angular 9
and can cause warnings.

I have whitelisted some that work well, so we don't see the warning every time.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
5b472e28eb mgr/dashboard: Update Node.js to latest LTS: v12.16.2
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
4d47c1496c mgr/dashboard: Update npm dependencies
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
9e69c1bfdd mgr/dashboard: Fix SCSS imports
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
Tiago Melo
6050790f13 mgr/dashboard: Fix i18n configuration
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 23:39:43 +00:00
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
Tiago Melo
fb9a236633 mgr/dashboard: Fix HomeTest setup
'setup_controllers' was being called outside of the fake fs mock,
so the tests would fail if there was no real dist folder.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-12 10:29:02 +00: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
Paul Cuzner
48d1781ae2 mgr/k8sevents:sanitise kubernetes events
Kubernetes can generate events without a timestamp
or an event count. When this occurs the k8sevents 'ls'
command fails due to None type values. This patch
sanitises the event received before adding to the
internal data structures to account for these
issues.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2020-05-12 09:22:07 +12: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