Volker Theile
9a4d379705
mgr/dashboard: Fix bug in RBD form.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-23 17:13:31 +02:00
Jason Dillaman
b28b2ee875
qa/tasks: thrasher for rbd-mirror daemon
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-23 10:22:50 -04:00
John Spray
4b3f026d07
qa: update mgr test for MgrModule.OPTIONS
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-23 10:14:31 -04:00
John Spray
d4ed33c2e0
qa: test mgr live configuration updates
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-04-23 07:29:47 -04:00
Stephan Müller
1b28705be5
mgr/dashboard: Add pool listing
...
Adds a new top level menu entry, called "Pool", which lists all pools
and contains a minimalistic detail view.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-20 16:13:34 +02:00
Patrick Donnelly
378a6fcfe8
qa: check old_max_mds is not wiped by marked down twice
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:57:45 -07:00
Volker Theile
ee5c9ad03c
mgr/dashboard: Modify RGW proxy response of errors to display a detailed message in the error notification.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 11:35:13 +02:00
Patrick Donnelly
bb95292213
Merge PR #16608 into master
...
* refs/pull/16608/head:
qa: whitelist mds down wrn during cephfs testing
mds: add config to disable fragmentation
qa: add max_mds thrash test
qa: mds_thrash updates for new max_mds behavior
doc: update upgrade procedure and release notes
qa: add test for cluster resizing
qa: remove use of mds deactivate
cephfs: add new down/joinable fs flags
mds: evict all clients if last mds shutting down
cephfs: deprecate ceph mds deactivate
cephfs: kill allow_dirfrags
cephfs: Kill allow_multimds
cephfs: Change behavior of cluster_down flag
mon/FSCommands: Set extra MDS to standby
cephfs: Health check changes
mon/MDSMonitor: Remove command support for legacy syntax
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:36:54 -07:00
Patrick Donnelly
dde9ee1628
qa: add max_mds thrash test
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
1dc5b62557
qa: mds_thrash updates for new max_mds behavior
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
88922255e9
qa: add test for cluster resizing
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
5503b2014c
qa: remove use of mds deactivate
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
ab4f33bd24
cephfs: add new down/joinable fs flags
...
Fixes: http://tracker.ceph.com/issues/20609
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:25:59 -07:00
Douglas Fuller
7d97a6e6f8
cephfs: kill allow_dirfrags
...
As dirfrags are now standard in CephFS, remove the machinery for
tracking and enabling this feature.
ceph fs set <fs> allow_dirfrags is now deprecated and prints a warning
message.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-04-17 11:01:03 -07:00
Lenz Grimmer
5ce1f1d45e
Merge pull request #21360 from rjfd/wip-dashboard-rbd
...
mgr/dashboard: RBD management (backend)
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-16 17:54:36 +02:00
Patrick Donnelly
d7c975ffab
Merge PR #21391 into master
...
* refs/pull/21391/head:
qa: fix log typo
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-15 20:26:31 -07:00
Kefu Chai
5f65683bcc
Merge pull request #20100 from mogeb/iostat-plugin
...
mgr/iostat: implement 'ceph iostat' as a mgr plugin
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-15 22:58:16 +08:00
Abhishek Lekshmanan
f8ed817ccc
qa: drop rfc2616 checking on civetweb
...
Since newer versions of civetweb are also strict on rfc2616 checks let's enforce
strict rfc2616 checks in s3tests
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-13 19:19:13 +02:00
Ricardo Dias
fb41b943e0
qa/tasks/mgr/dashboard: rbd: use JSON schema validator
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:50 +01:00
Ricardo Dias
d575653738
mgr/dashboard: rbd: changed REST API prefix to /block/image
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:50 +01:00
Ricardo Dias
bbe12b0b8a
qa/tasks/mgr/dashboard: rbd: image copy test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:50 +01:00
Ricardo Dias
67f3ac643a
qa/tasks/mgr/dashboard: rbd: snapshot clone test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
3e0e883e4d
qa/tasks/mgr/dashboard: rbd: snapshot rollback test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
386a7b53f2
mgr/dashboard: taskmanager: support exception handler
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
e11ae2355e
mgr/dashboard: rbd: major refactoring for using the Task decorator
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:49 +01:00
Ricardo Dias
9f027edfc9
qa/tasks/mgr/dashboard: rbd: snapshot edit tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:48 +01:00
Ricardo Dias
266ce4c8ee
qa/tasks/mgr/dashboard: rbd: use dashboard pool API for creating pools
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:48 +01:00
Ricardo Dias
1e854da1cc
qa/tasks/mgr/dashboard: rbd: image edit tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:48 +01:00
Ricardo Dias
3013d7ac8a
qa/tasks/mgr/dashboard: rbd: snapshot create/delete tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:47 +01:00
Ricardo Dias
8264e93458
qa/tasks/mgr/dashboard: rbd: image deletion test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:47 +01:00
Ricardo Dias
fa7cac8158
mgr/dashboard: rbd: image disk usage implementation
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:47 +01:00
Ricardo Dias
3ab7612d97
qa/tasks/mgr/dashboard: rbd: asynchronous image create test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:46 +01:00
Ricardo Dias
77c676ca6f
qa/tasks/mgr/dashboard: rbd: new image list format
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-13 15:58:46 +01:00
Patrick Donnelly
575c3716e3
qa: fix log typo
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-12 11:02:19 -07:00
Mohamad Gebai
fb638381b2
mgr/iostat: add self-test
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2018-04-12 00:26:24 -04:00
Sage Weil
53588a41a1
Merge pull request #21334 from batrick/i23643
...
qa: fix typo in test_full
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-11 08:25:55 -05:00
Patrick Nawracay
e4a0b12abf
mgr/dashboard: Implement RGW proxy
...
This implementation is basically a Rados Gateway reverse proxy. It
additionally takes care of the authentication to the Rados Gateway, but to use
it you will have to be authenticated against the dashboards RESTful API.
The corresponding credentials can be configured using the following commands:
dashboard set-rgw-api-secret-key <secret-key>
dashboard set-rgw-api-access-key <access-key>
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-04-11 12:26:42 +02:00
Lenz Grimmer
34232b347b
Merge pull request #21022 from sebastian-philipp/dashboard_get_range
...
mgr/dashboard: Refactor multiple duplicates of `get_rate()`
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-04-11 12:22:00 +02:00
Lenz Grimmer
f0614a8d4e
Merge pull request #20920 from sebastian-philipp/dashboard_v2-erasure-code-profile
...
mgr/dashboard: Add ErasureCodeProfile controller
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-04-11 12:19:40 +02:00
Patrick Donnelly
c10907af02
qa: fix typo in test_full
...
Cause: 577737d007
Fixes: http://tracker.ceph.com/issues/23643
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-10 11:47:10 -07:00
Sage Weil
dbdbbbfc89
Merge PR #21315 into wip-sage-testing-20180410.153007
...
* refs/pull/21315/head:
qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-04-10 10:30:48 -05:00
Yehuda Sadeh
63221d9a81
Merge pull request #19283 from yehudasa/wip-rgw-mfa
...
rgw: mfa support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-10 07:59:10 -07:00
Sage Weil
b0fe734c21
qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata
...
This was changed by 428236de8b
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-09 21:48:40 -05:00
Vasu Kulkarni
7881a19d92
qa/tasks: wait_for_clean is called after ceph task as well after osd's are up,
...
the default timeout is none in that case, there are cases where it can hang forever
due to error cases, since this dumps quite a lot of info the logs grow in GB's, with
default timeout of 1200 we can avoid such huge logs and fail sooner. Any tests needing
higher timeout can pass the required value.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-04-09 17:24:42 -07:00
Sebastian Wagner
012be1dc86
qa/tasks/mgr/dashboard: Imroved JSON validation
...
Refactored `OsdTest` to make use of `self.assertSchema()`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-04-09 16:42:33 +02:00
Yehuda Sadeh
9569cc8278
qa/tasks/s3tests: configure mfa tests
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Nathan Cutler
fa5e8f9376
Merge pull request #17531 from smithfarm/wip-calamari-tests
...
tests: cleanup: drop calamari tasks
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
2018-04-08 08:54:27 +02:00
Sage Weil
577737d007
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
...
The _max isn't used. Drop the _min suffix.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-06 11:00:14 -05:00
Stephan Müller
c60da7bb1f
mgr/dashboard: Pool backend changes
...
As needed by the UI.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-06 17:41:28 +02:00
Sebastian Wagner
7b6a45cc8c
mgr/dashboard: Add ErasureCodeProfile controller
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-04-06 17:40:03 +02:00
Patrick Donnelly
ebd0fcd067
Merge PR #16779 into master
...
* refs/pull/16779/head:
mds: cleanup MDCache::open_snaprealms()
mds: make sure snaptable version > 0
mds: don't consider CEPH_INO_LOST_AND_FOUND as base inode
mds: replace MAX() with std::max()
tools/cephfs: make cephfs-data-scan create snaprealm for base inodes
qa/cephfs: don't run TestSnapshots.test_kill_mdstable on kclient
qa/cephfs: adjust check of 'cephfs-table-tool all show snap' output
mds: don't warn unconnected snaplrealms in cluster log
mds: update CInode/CDentry's first according to global snapshot seq
qa/cephfs: add tests for snapclient cache
qa/cephfs: add tests for snaptable transaction
mds: add asok command that dumps cached snap infos
qa/cephfs: add tests for multimds snapshot
client: don't mark snap directory complete when its dirstat is empty
qa/workunits/snaps: add snaprealm split test
mds: make sure mds has uptodate mdsmap before checking 'allows_snaps'
client: fix incorrect snaprealm when adding caps
qa/workunits/snaps: add hardlink snapshot test
mds: add incompat feature and bump protocol for snapshot changes
mds: detach inode with single hardlink from global snaprealm
mds: record hardlink snaps in inode's snaprealm
mds: attach inode with multiple hardlinks to dummy global snaprealm
mds: cleanup rename code
mds: ensure xlocker has uptodate lock state
mds: simplify SnapRealm::build_snap_{set,trace}
mds: record global last_created/last_destroyed in snaptable
mds: pop projected snaprealm before inode's parent changes
mds: keep isnap lock in sync state
mds: handle mksnap vs resolve_snapname race
mds: cleanup snaprealm past parents open check
mds: rollback snaprealms when rolling back slave request
mds: send updated snaprealms along with slave requests
mds: explict notification for snap update
mds: send snap related messages centrally during mds recovery
mds: synchronize snaptable caches when mds recovers
mds: introduce MDCache::maybe_finish_slave_resolve()
mds: notify all mds about prepared snaptable update
mds: record snaps in old snaprealm when moving inode into new snaprealm
mds: cache snaptable in snapclient
mds: recover snaptable client when mds enters resolve state
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-03 15:41:19 -07:00
Patrick Donnelly
0186795496
Merge PR #21180 into master
...
* refs/pull/21180/head:
vstart_runner: examine check_status before error
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-03 06:51:18 -07:00
Jason Dillaman
3b08c0609c
Merge pull request #20460 from colletj/v1_image_creation_disallow
...
librbd: disallow creation of v1 image format
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 09:18:39 -04:00
Patrick Donnelly
9a558c51dc
vstart_runner: examine check_status before error
...
Issue found by Rishabh Dave. Fix suggested by John Spray.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 08:08:43 -07:00
Patrick Donnelly
b7fce64601
Merge PR #20132 into master
...
* refs/pull/20132/head:
qa/cephfs: update TestDamage for open file table
mds: allow storing open file table in multiple omaps
mds: differentiate Anchor types to clarify purpose
mds: add perf counter for 'open ino' operation
mds: protect open file table against partial omap update
mds: add dirfrags whose child inodes have caps to open file table
mds: don't try prefetching destroyed inodes
mds: don't try opening inodes that haven't been created
mds: don't re-requeue open files to head of log
mds: use open file table to speed up mds recovery
mds: introduce open file table
mds: track how many clients/mds want caps for each inode
mds: cleanup MDCache::opening_inodes access
mds: cleanup CInode/CDir states definition
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-30 22:25:10 -07:00
Vasu Kulkarni
43f2fdd081
qa/tests: couple of improvements to s3a task to handle landsat tests, rgw daemon readiness
...
and timeout handling for huge files
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-30 11:11:43 -07:00
Vasu Kulkarni
dae01bfcad
qa/tests: unset immutable attribute for resolv.conf for centos ovh nodes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-30 11:11:41 -07:00
Vasu Kulkarni
0a794cf980
qa/tests: use dnsmasq task which does better job of setting up cname and cleanup
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-30 11:11:41 -07:00
Mykola Golub
af15b2cef4
qa/tasks/qemu: add a parameter to wait for workloads detect qemu finished
...
In the case when a workload needs to detect qemu finished by running a
check with a periodicity of N sec it needs to set time_wait to 2 * N
in order to avoid races on finish.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 17:43:31 +03:00
Ricardo Dias
5a861f5fb1
Merge pull request #20870 from rjfd/wip-dashboard-tasks
...
mgr/dashboard: asynchronous task support
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-28 08:27:51 +01:00
zouaiguo
4840e899f1
[mgr/dashboard] add image id to rbd info instead of block_name_prefix
...
when create images use data_pool parameter, such as:
rbd create -p pool1 -s 1G --data-pool pool2 image1
then get image info from mgr use request http://192.7.7.36:7000/rbd_pool_data/pool1
we got the response:
[{"parent_name": "", "parent_pool": 18446744073709551615, "name": "image1", "num_objs": 256, "block_name_prefix": "rbd_data.14.f561643c986", "obj_size": 4194304, "features": 189, "features_name": "fast-diff, layering, exclusive-lock, deep-flatten, object-map, data-pool", "order": 22, "size": 1073741824}]
notice:
since block_name_prefix is deprecated,
from block_name_prefix we can not get image id(the real id is ''f561643c9869')
we need add image id to rbd info instead block_name_prefix
Python 2.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rados
>>> import rbd
>>> RADOS_NAME = 'client.admin'
>>> cluster_name="ceph"
>>> cluster_handle = rados.Rados(name=RADOS_NAME, clustername=cluster_name, conffile='')
>>> cluster_handle.connect()
>>> ioctx = cluster_handle.open_ioctx("pool1")
>>> image_inst = rbd.Image(ioctx, "image1")
>>> image_inst.stat()
{'parent_name': '', 'parent_pool': 18446744073709551615L, 'num_objs': 256L, 'block_name_prefix': u'rbd_data.14.f561643c986', 'obj_size': 4194304L, 'order': 22, 'size': 1073741824L}
>>> image_inst.id()
u'f561643c9869'
after fix:
[root@tfg36 site-packages]# curl http://192.7.7.36:7000/rbd_pool_data/pool1
[{"parent_name": "", "parent_pool": 18446744073709551615, "name": "image1", "num_objs": 256, "block_name_prefix": "rbd_data.14.f561643c986", "obj_size": 4194304, "features": 189, "id": "f561643c9869", "features_name": "fast-diff, layering, exclusive-lock, deep-flatten, object-map, data-pool", "order": 22, "size": 1073741824}]
Signed-off-by: zouaiguo <zou.aiguo@zte.com.cn>
2018-03-28 10:14:42 +08:00
Ricardo Dias
067b86eb42
mgr/dashboard: added tasks info to summary controller
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-27 14:08:47 +01:00
Lenz Grimmer
d5e54fda5c
Merge pull request #21024 from s0nea/wip-dashboard-return-features-list
...
mgr/dashboard: Convert the RBD feature names to a list of strings
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-03-27 11:45:54 +02:00
Lenz Grimmer
914faf2c1e
Merge pull request #21004 from s0nea/wip-dashboard-skip-datapool-testcase
...
mgr/dashboard: skip data pool testcase for none-bluestore clusters
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-27 11:43:18 +02:00
Lenz Grimmer
43e5097c2f
Merge pull request #20873 from sebastian-philipp/dashboard_v2-simple-html-debug
...
mgr/dashboard: Add minimalistic browsable API
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-27 11:31:07 +02:00
Casey Bodley
6b59fbfcc6
Merge pull request #21027 from cbodley/wip-qa-swift-force-branch
...
qa/tasks/swift: add support for the "force-branch" configurable.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-03-26 14:27:46 -04:00
Sebastian Wagner
7a7a17caa9
mgr/dashboard: New API tests for perf_couters
...
Added OSD and MDS tests.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 17:16:41 +02:00
Ricardo Dias
a392e612cc
Merge pull request #21007 from rjfd/wip-dashboard-fix-py3
...
mgr/dashboard: fix dashboard python 3 support
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 10:59:17 +01:00
Tatjana Dehler
33e15ecd39
mgr/dashboard: convert RBD features to a list of strings
...
Until now the API returns the features provided by an RBD as one comma
separated string. It's more usable for the frontend to receive a list
of strings instead.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-26 09:41:56 +02:00
Radoslaw Zarzynski
c5859f25e6
qa/tasks/swift: add support for the "force-branch" configurable.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-23 12:40:05 -04:00
Sebastian Wagner
cbee371958
mgr/dashboard: Add Teuthology test for /api/pool/_info
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
dd18675e4f
mgr/dashboard: Minor tweak to DashboardTestCase._request
...
Don't fall through silently.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
e6c1056ad5
mgr/dashboard: Add create() to Pool controller
...
Also:
* Added tests.
* Renamed `DashboardTest` to `PoolTest`.
* Added `delete()`.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Yuri Weinstein
6a5bab7dd4
Merge pull request #20981 from cbodley/wip-qa-fix-ssl
...
qa: fix overrides for openssl_keys task
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2018-03-23 06:55:10 -07:00
Ricardo Dias
d101b33bc7
qa/tasks/mgr/dashboard: Fix login expires too soon
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 11:30:16 +01:00
Tatjana Dehler
075102468b
mgr/dashboard: skip 'test_create_rbd_in_data_pool' without bluestore
...
Skip the test case 'test_create_rbd_in_data_pool' only if the cluster
does not support bluestore, otherwise run the test. The Ceph mgr
provides the information if the cluster supports bluestore or not, so
the test will be skipped depending on the current cluster.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-23 11:11:27 +01:00
Tatjana Dehler
25a0ed93ec
mgr/dashboard: add 'osd metadata' command call
...
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-23 11:11:17 +01:00
Ricardo Dias
25c75a952d
mgr/dashboard: fix dashboard python 3 support
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 15:56:20 +00:00
Casey Bodley
cfe4ba6342
qa: fix overrides for openssl_keys task
...
teuthology looks for overrides by the class name, so overrides weren't
working after the task was renamed
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-22 10:31:08 -04:00
Yan, Zheng
ffebd0854e
qa/cephfs: update TestDamage for open file table
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2018-03-21 21:08:58 +08:00
Sage Weil
038afcbc2a
Merge remote-tracking branch 'gh/mimic-dev2'
2018-03-18 18:39:46 -05:00
Yan, Zheng
84d7414249
qa/cephfs: don't run TestSnapshots.test_kill_mdstable on kclient
...
this test forcibly kills mount. Killing kernel mount requires reboot,
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-03-18 22:24:42 +08:00
Yan, Zheng
338c3cf4c3
qa/cephfs: adjust check of 'cephfs-table-tool all show snap' output
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-03-18 18:19:08 +08:00
Casey Bodley
1f50f19cc1
Merge pull request #20863 from rjfd/wip-qa-fix-ssl-conflict
...
qa/rgw: renamed ssl task to openssl_keys
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-16 09:04:10 -04:00
Ricardo Dias
aa205a6731
mgr/dashboard: renamed dashboard_v2 to dashboard
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-16 07:23:08 +00:00
Ricardo Dias
ed291d9e4d
mgr/dashboard: remove dashboard module
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-16 07:23:04 +00:00
Julien COLLET
386b752e62
librbd/qa: Permit V1 images in qa tests
...
Signed-off-by: Julien COLLET <julien.collet@cern.ch>
2018-03-15 15:09:06 +01:00
Tiago Melo
a2033e0845
mgr/dashboard_v2: fix test_perf_counters_mgr_get
...
Now that we can obtain perf counters for the mgr, we need to assert that we get
more than 0 counters and that they have the desired structure.
Fixes: https://tracker.ceph.com/issues/23378
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-15 12:50:58 +00:00
Josh Durgin
360bc69bcf
Merge pull request #20901 from neha-ojha/wip-fix-mgr
...
qa/tasks/ceph_manager: use set_config on revived osd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-14 15:27:39 -07:00
Neha Ojha
e3899dc901
qa/tasks/ceph_manager: use set_config on revived osd
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-03-14 12:37:56 -07:00
Lenz Grimmer
78022e13e7
Merge pull request #20751 from s0nea/wip-mgr-dashboard_rbd_add
...
mgr/dashboard_v2: Add RBD create functionality to the Python backend
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-14 15:57:32 +01:00
Tatjana Dehler
5056cbacbf
mgr/dashboard: Add RBD create functionality
...
This commit adds a basic RBD create functionality to the REST API. It enables
the POST request of the http://<host>:<port>/api/rbd API endpoint.
The commit adds also related tests.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-14 10:38:43 +01:00
Casey Bodley
2aec7e1f1d
qa/rgw: disable s3tests for lifecycle_expiration
...
the tests are dependent on timing and often fail in teuthology
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-13 16:16:06 -04:00
Tiago Melo
e8a1e267af
mgr/dashboard_v2: add mgr to the list of perf counters
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-13 15:21:43 +00:00
Ricardo Dias
98e4b331aa
qa/rgw: renamed ssl task to openssl_keys
...
The ssl task located in a python file called `ssl.py` will generate
python module loading conflicts with the `ssl` system module, when
running QA tests using vstart_runner.py.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-13 14:41:25 +00:00
Kefu Chai
41ec438413
Merge pull request #20831 from zhsj/fix-spelling
...
misc: fix various spelling errors
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: iliul <liul.stone@gmail.com>
2018-03-13 08:29:29 +08: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
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
Shengjing Zhu
2cbba835aa
misc: fix various spelling errors
...
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-03-10 23:39:20 +08: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
a5123004ff
Merge pull request #20778 from p-na/wip-mgr-fix-dashboard-backend-tests
...
mgr/dashboard: Fix backend tests for newer CherryPy versions
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-09 10:24:00 +08:00
Sebastian Wagner
f3d6067658
mgr/dashboard_v2: removed unused code that broke teuthology
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-07 18:18:31 +01:00
Patrick Nawracay
45b9174191
mgr/dashboard: Fix backend tests for newer CherryPy versions
...
The backend test run by `run-backend-api-tests.sh` fails for CherryPy
versions 13.x and 14.x.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-03-07 13:45:52 +01:00
Sage Weil
9c42d88743
qa/tasks/rebuild_mondb.py: --no-mon-config to ceph-objectstore-tool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:50 -06:00
Sage Weil
e44e10d6e0
qa/tasks/ceph.py: --no-mon-config during ceph-osd mkfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:50 -06:00
Sage Weil
ae142824ea
qa/tasks/rebuild_mondb: --no-mon-config for ceph-monstore-tool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:49 -06:00
Nathan Cutler
233fe8338e
Merge pull request #17530 from smithfarm/wip-21264
...
tools: cleanup: rip out ceph-rest-api
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-06 15:22:20 +01:00
Nathan Cutler
495742f7dd
tools: cleanup: rip out ceph-rest-api
...
Obsoleted by the mgr REST API.
Fixes: http://tracker.ceph.com/issues/21264
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-05 22:01:51 +01:00
Ricardo Dias
966fe3672e
qa/tasks/mgr/dashboard_v2: implementation of backend API tests
...
We moved the dashboard_v2 test cases that required a real ceph cluster
to run into qa/tasks/mgr with the necessary adaptations.
These tests can now be run in teuthology using the cephfs_test_runner
task.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:18 +00:00
Ricardo Dias
86264d4b02
qa/tasks/mgr: move test initialization to setUpClass method
...
With this change, we avoid the disabling/enabling of the ceph-mgr module
being tested for each test function declared in each test case. Now
the ceph-mgr module being tested is disabled/enabled only once for each
test case.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:18 +00:00
Casey Bodley
11570fab73
qa: clean up dnsmasq task and fix EPERM error
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-01 15:55:57 -05:00
Kefu Chai
52e5f1007d
Merge pull request #20509 from liewegas/wip-less-filestore-idempotent
...
qa/tasks/filestore_idempotent: shorter test
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 21:59:24 +08:00
Sage Weil
77442609a0
qa/tasks/filestore_idempotent: shorter test
...
Test a shorter sequence of events. Currently the test is taking
more than 5 hours; we don't need to run quite that long.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-21 08:37:14 -06:00
Yehuda Sadeh
930f3b85e2
qa/tasks/ragweed: don't reference fastcgi
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
c2e2d8a380
qa/tasks/ragweed: only init config when doing prepare
...
and only remove users when doing check.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
831645c3cf
qa/tasks/ragweed: configurable stages
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
cb1660d566
qa/tasks/ragweed: point at ceph.conf in config
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
7bf2296bdd
qa/tasks/ragweed: set system flag on system user
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
82c1295196
qa/tasks: add ragweed task
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Casey Bodley
94922266ce
Merge pull request #17020 from theanalyst/lc-time-disable
...
qa: re enable LC tests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-16 12:01:18 -05:00
Kefu Chai
097e2de5f7
Merge pull request #20362 from tchaikov/wip-mgr-py3
...
mgr: fix py3 support
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-16 02:32:04 +08:00
Patrick Donnelly
2e44b87141
Merge PR #19263 into master
...
* refs/pull/19263/head:
qa: ignore bad backtrace cluster wrn
qa/cephfs: Add tests to validate scrub functionality
cephfs: Add option to load invalid metadata from disk
cephfs: Reset scrub data when inodes move
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-13 14:43:32 -08:00
Douglas Fuller
07339e2d1d
qa/cephfs: Add tests to validate scrub functionality
...
Add tests to ensure the scrub operation is not adversly affected
by certain metadata pathologies.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-02-13 14:07:28 -05:00
Kefu Chai
ba82060def
qa/tasks/mgr: correct the log message
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-11 14:25:37 +08:00
Yan, Zheng
d532e66087
qa/cephfs: add tests for snapclient cache
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-09 18:42:29 +08:00
Yan, Zheng
79a56a7023
qa/cephfs: add tests for snaptable transaction
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-09 18:42:29 +08:00
Yan, Zheng
d46dbbebac
qa/cephfs: add tests for multimds snapshot
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-09 18:42:29 +08:00
Patrick Donnelly
84ae0ce5fc
Merge PR #20310 into master
...
* refs/pull/20310/head:
qa: adjust cephfs full test for kclient
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-08 13:30:04 -08:00
Josh Durgin
eae6e64034
Merge pull request #20173 from liewegas/wip-os-ch
...
os: unify Sequencer and CollectionHandle
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-07 14:04:08 -08:00
Sage Weil
3ca0e0c565
Merge pull request #20279 from liewegas/wip-idempotent-sequence
...
ceph_test_filestore_idempotent_sequence: many fixes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-06 10:53:35 -06:00
Sage Weil
e4e4079636
qa/tasks/recovery_bench: drop recovery_bench task
...
This relies on smalliobench, which is gone now. The task could
pretty easily be resurrected if we substitute in another tool.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Sage Weil
135ccf8790
qa/tasks/filestore_idempotent: run failure tests later in sequence
...
We want to get past the initial colleciton and object creation steps,
which don't include interesting ops.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Yan, Zheng
27b1ca076e
qa: adjust cephfs full test for kclient
...
Fixes: http://tracker.ceph.com/issues/22886
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-05 18:00:57 +08:00
Mykola Golub
6a57358add
rbd: unified way to map images using different drivers
...
Instead of "rbd map|unmap|showmapped", "rbd ndb map|unmap|list",
"rbd ggate map|unmap|list" commands, provide:
rbd device -t krbd|nbd|ggate|... map|unmap|list
which gives interface consistent between drivers.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-29 09:34:11 +02:00
Sage Weil
f67bd47d0a
Merge pull request #20096 from myoungwon/wip-manifest-two-pool-test
...
src/test/osd: add two pool test for manifest objects
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-26 14:41:14 -06:00
myoungwon oh
a1d6304442
qa/suites/rados/thrash/workloads: add paramters to support two pools
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-26 16:20:01 +09:00
Kefu Chai
52bf90bb10
Merge pull request #20047 from jcsp/wip-prometheus-qa
...
qa: add new prometheus test to rados/mgr suite
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:43:07 +08:00
John Spray
d9a47181c4
mgr: add health checks for failed modules
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
f95b079c21
qa/mgr: add test for command execution errors
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
e2c68d5e25
qa: assign prometheus ports during selftest
...
This was throwing IOError("Port 9283 not free on '::'",)
when trying to serve, since merging https://github.com/ceph/ceph/pull/19744
It's because the standbys (on the same node as the active) are
now trying to listen too.
Fixes: https://tracker.ceph.com/issues/22755
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 10:23:39 +00:00
John Spray
c05d96330d
Merge pull request #19744 from jan--f/mgr-prometheus-standby-mondown
...
pybind/mgr/prometheus: add StandbyModule and handle failed MON cluster
Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-22 13:29:48 +00:00
Jan Fajerski
4a45b02539
qa/tasks/mgr: add test_prometheus; smoke tests for prometheus module
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-01-22 13:21:45 +01:00
Jason Dillaman
4e0dc282e4
Merge pull request #19937 from trociny/wip-rbd-showmapped
...
rbd: adjusted "showmapped" JSON and XML formatted output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-19 10:32:39 -05:00
Sage Weil
c2d28e2750
Merge pull request #18971 from liewegas/wip-pg-scrub-preempt
...
osd/PG: allow scrub preemption
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-18 12:37:48 -06:00
David Zafman
9f103f013c
tests: recovery-unfound-found test needs to account for correct misplaced calculations
...
The test expected HEALTH_OK when in a state with misplaced objects therefore HEALTH_WARN
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-16 10:52:21 -08:00
Sage Weil
3f922e79c3
qa/tasks/ceph: disable osd_debug_deep_scrub_sleep in case it is set
...
Otherwise the final scrub may take too long.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-14 10:47:24 -06:00
Mykola Golub
de97a3be48
rbd: adjusted "showmapped" JSON and XML formatted output
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-12 21:36:00 +02:00
Yuri Weinstein
c30eca51a4
Merge pull request #19765 from liewegas/wip-force-backfill-cleanups
...
qa: tolerate failure to force backfill
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-08 12:50:18 -08:00
Patrick Donnelly
f6e1a797d4
Revert "Merge PR #19369 into master"
...
This reverts commit 3189ba19a7
, reversing
changes made to b7620de020
.
Despite the change in json format being positive, the unfortunate side-effect
is that it broke upgrade testing (because the QA framework must handle the
transition of mdsmap["info"] to a list from object) and the ceph-mgr.
Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 09:42:37 -08:00
Sage Weil
819a3578fa
Merge tag 'v13.0.1'
2018-01-03 10:04:20 -06:00
Sage Weil
8651e15c93
qa/tasks/ceph_manager: tolerate failure to force backfill/recoery
...
The pool may have been deleted out from underneath us.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-03 08:37:02 -06:00
Kefu Chai
0cd700e64d
Merge pull request #19634 from jcsp/wip-22514
...
qa: configure zabbix properly before selftest
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-03 00:09:37 +08:00
Sage Weil
acf4ea1cad
Merge branch 'master' into lc-time-disable
2017-12-29 13:38:37 -06:00
Patrick Donnelly
3189ba19a7
Merge PR #19369 into master
...
* refs/pull/19369/head:
qa: update handling of fs status format
PendingReleaseNotes: add note for format change
mds/MDSMap : use arrary_section for mds stat
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-12-21 20:21:18 -08:00
Sage Weil
1a549a01ca
Merge pull request #19588 from batrick/i22475
...
qa: check pool full flags
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-21 15:16:54 -06:00
Patrick Donnelly
1f1a2a27ef
qa: update handling of fs status format
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 10:35:09 -08:00
John Spray
c64c9ff00d
qa: configure zabbix properly before selftest
...
Even though the selftest routine doesn't care about
the settings, we should set them to avoid emitting
nasty log/health messages when enabling the module.
Fixes: http://tracker.ceph.com/issues/22514
Signed-off-by: John Spray <john.spray@redhat.com>
2017-12-21 08:28:55 -05:00
Sage Weil
f33ab7e03a
Merge remote-tracking branch 'gh/mimic-dev1'
2017-12-20 15:08:30 -06:00
Kefu Chai
4d266e3347
qa/tasks: remove test_buildpackages
...
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5
. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 582f04508f
)
2017-12-19 11:12:25 -06:00
Patrick Donnelly
6e046dfc90
qa: check pool full flags
...
Cluster-wide flag removed in b4ca5ae462
.
Fixes: http://tracker.ceph.com/issues/22475
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 21:59:57 -08:00
Patrick Donnelly
b2284f23b8
qa: don't configure ec data pool with memstore
...
Fixes: http://tracker.ceph.com/issues/22436
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 21:12:22 -08:00
John Spray
213af8b666
Merge pull request #19533 from batrick/vstart-runner-fixes
...
vstart_runner: fixes for recent cephfs changes
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-18 13:18:12 +00:00
Patrick Donnelly
ee9d5f9a45
Merge PR #19440 into master
...
* refs/pull/19440/head:
mds: update mds option descriptions
mds: obsolete MDSMap option configs
mds: organize Filesystem class def
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 11:07:58 -08:00
Patrick Donnelly
cd1e5f53f0
vstart_runner: ignore failed dentry invalidation
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 19:15:43 -08:00
Patrick Donnelly
0f507d8855
vstart_runner: set ec_profile attribute
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 19:15:39 -08:00
Patrick Donnelly
67ca6cd229
mds: obsolete MDSMap option configs
...
These configs were used for initialization but it is more appropriate to
require setting these file system attributes via `ceph fs set`. This is similar
to what was already done with max_mds. There are new variables added for `fs
set` where missing.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 18:30:52 -08:00
Kefu Chai
c7539de95c
Merge pull request #19365 from liewegas/wip-tell
...
qa/tasks/ceph_manager: tolerate tell osd.* error
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:58:41 +08:00
John Spray
91655239fa
Merge pull request #19114 from tchaikov/wip-rm-request-slow
...
mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-13 11:46:34 +00:00
Vasu Kulkarni
e7883c1fb2
qa/tests: when no branch is specified, use wip branch under test for upgrade
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Vasu Kulkarni
9430f352f4
qa/tests: Fix mapped_role attribute where it gets overwritten for subsequent calls.
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
vasukulkarni
8a6434c20e
Merge pull request #19244 from ceph/wip-cd-volume
...
qa/tasks: update ceph-deploy task to use newer ceph-volume syntax
2017-12-07 10:54:47 -08:00
Sage Weil
aafb3a565d
qa/tasks/ceph_manager: tolerate tell osd.* error
...
It's possible for tell osd.* to race against an osd we stopped but the
cluster doesn't know is down yet. In tha case we'll get ENXIO on that
osd and the command will fail.
In this context, we don't care.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-06 17:51:20 -06:00
Neha Ojha
46dee4b102
qa: preserve cbt task results
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-06 13:23:44 -08:00
Vasu Kulkarni
9f1a1e0543
qa/tests: Add debug info when creating ceph volumes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-06 12:14:27 -08:00
Kefu Chai
5418c98fb7
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
...
qa,doc: drop support of ubuntu trusty
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 20:31:58 +08:00
Neha Ojha
877e3ccada
qa: install collectl with cbt task
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-04 13:50:33 -08:00
Kefu Chai
582f04508f
qa/tasks: remove test_buildpackages
...
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5
. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:18 +08:00
Vasu Kulkarni
3ecaebd0d8
qa/tests: update tests to use new ceph-volume syntax
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-01 14:11:55 -08:00
Kefu Chai
89c876d1b6
Merge pull request #19233 from tchaikov/wip-no-mon-health-to-clog-when-upgrading
...
qa: disable mon-health-to-clog in upgrade test
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-01 11:42:52 +08:00
Patrick Donnelly
49028ee79f
Merge PR #19069 into master
...
* refs/pull/19069/head:
qa/tasks/ceph_fuse: fix ceph-fuse mount failed
Reviewed-by: Yunfei Guan <yunfei.guan@xtaotech.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-11-29 22:11:12 -08:00
Sage Weil
dda79ad1fa
Merge pull request #15482 from myoungwon/wip-chunked-manifest
...
osd,librados: add manifest, operations for chunked object
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-29 21:13:43 -06:00
Kefu Chai
185d2f5375
qa/tasks/ceph: add mon-health-to-clog option to "restart"
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 20:04:44 +08:00
Kefu Chai
a406553a79
qa/tasks/ceph_manager: add inject_args() method
...
* move Thrasher._set_config() to CephManager, and make it a public
method, and rename it to inject_args(),
* use this method instead of using 'tell ... injectargs ...' directly
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 18:44:16 +08:00
Kefu Chai
f5f2ced624
mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs in mimic
...
SLOW_OPS unifies both of them since mimic
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 17:41:47 +08:00
Kefu Chai
e25300cb6a
Merge pull request #18614 from tchaikov/wip-osd-mgrreport
...
osd,mgr: report slow requests and pending creating pgs to mgr
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-23 15:01:01 +08:00
Kefu Chai
4a1f2a5c78
qa: silence SLOW_OPS,PENDING_CREATING_PGS warnings
...
this is an intermediate step to deprecate REQUEST_SLOW warnings.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 13:59:42 +08:00
liyan
0a752e634a
qa/tasks/ceph_fuse: fix ceph-fuse mount failed
...
Fixes: http://tracker.ceph.com/issues/22205
Signed-off-by: liyan <liyan.wang@xtaotech.com>
2017-11-22 15:02:47 +08:00
Patrick Donnelly
df43e415c6
Merge PR #18274 into master
...
* refs/pull/18274/head:
mds: fold mds_revoke_cap_timeout into mds_session_timeout
client: add new delegation testcases
client: add delegation support for cephfs
common: remove data_dir_option from common_preinit and global_pre_init
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-20 21:48:19 -08:00
Kefu Chai
bcf12a6abd
Merge pull request #19024 from tchaikov/wip-21474
...
qa/tasks: prolong revive_osd() timeout to 6 min
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-20 22:54:27 +08:00
Kefu Chai
749bbda075
qa/tasks: prolong revive_osd() timeout to 6 min
...
see also #17902
Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 13:40:59 +08:00
Matt Benjamin
c662dc3067
Merge pull request #17977 from cbodley/wip-rgw-beast-qa
...
qa/rgw: add beast frontend to some rgw suites
2017-11-16 15:14:28 -05:00
lvshanchun
2c1653ca37
radosgw-admin zonegroup get and zone get return defaults when there is no realm
...
Fixs: http://tracker.ceph.com/issues/21615
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-11-16 23:43:55 +08:00
Josh Durgin
e81a7ffcda
Merge pull request #18808 from tchaikov/wip-qa-max-pg-per-osd
...
qa: do not wait for down/out osd for pg convergence
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-11-15 18:05:58 -08:00