Kefu Chai
2994fba70b
doc/releases/general.rst: add mising link targets
...
they are referenced by 60c8254869
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-25 09:38:33 +08:00
Kefu Chai
598b39e949
doc/releases: silence sphinx warnings
...
* mimic.rst: add title underline
to address sphinx warning like:
```
WARNING: Title underline too short.
```
* octopus.rst: use consistent underline
to address following sphinx warning:
```
doc/releases/octopus.rst:49: WARNING: Title level inconsistent:
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-25 09:33:43 +08:00
Sebastian Wagner
cc5b263941
Merge pull request #34698 from matthewoliver/cephadm_check_pool_exists
...
cephadm: Check for pool existence for iscsi And NFS
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-24 18:39:10 +02:00
Sebastian Wagner
bc164a07ee
Merge pull request #34676 from sebastian-philipp/cephadm-inventory-class
...
mgr/cephadm: add Inventory class
2020-04-24 18:26:55 +02:00
Sebastian Wagner
fb830a37af
Merge pull request #34695 from mgfritch/cephadm-iscsi-container-image
...
mgr/cephadm: allow config for an iscsi `container_image`
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-24 18:26:22 +02:00
Sebastian Wagner
5bb5a35581
Merge pull request #34718 from mgfritch/cephadm-mgr-is-available
...
cephadm: catch Exception during is_mgr_available
Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-04-24 18:25:11 +02:00
Sebastian Wagner
d240d23b09
Merge pull request #34619 from sebastian-philipp/qa-adopt-specific-commit
...
qa/cephadm: make test_adoption checkout a specific commit
2020-04-24 18:01:18 +02:00
Sebastian Wagner
9dcab04380
Merge pull request #34693 from sebastian-philipp/cephadm-warn-master-improvement
...
cephadm: improve warn message
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-24 18:00:42 +02:00
Sebastian Wagner
affb6018b1
Merge pull request #34675 from sebastian-philipp/cephadm-service-rm-feedback
...
mgr/cephadm: remove_service: Feedback, if spec not found
Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-04-24 18:00:18 +02:00
Lenz Grimmer
88cb9f7adc
Merge pull request #34142 from rhcs-dashboard/wip-44667-fix-reload-issues
...
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-24 15:58:17 +02:00
Abhishek L
934d1010b8
Merge pull request #34730 from theanalyst/docs/release-updates-04-20
...
docs: release updates for nautilus,mimic,octopus
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2020-04-24 14:57:28 +02:00
Sebastian Wagner
5bef4cbf34
Merge pull request #34673 from sebastian-philipp/cephadm-man
...
doc/man: add cephadm
Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-04-24 14:06:57 +02:00
Kefu Chai
7b38f01438
Merge pull request #34725 from lxbsz/_type_equality_funcs
...
qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 18:59:31 +08:00
Abhishek Lekshmanan
60c8254869
doc: update release.yml with octopus, nautilus & mimic
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-24 12:35:21 +02:00
Abhishek Lekshmanan
4238833653
doc: releases: add release notes for v14.2.9
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-24 12:34:59 +02:00
Kefu Chai
4e7bf15108
Merge pull request #34726 from lxbsz/dict_key_error
...
qa/tasks/cephfs/cephfs_test_case: switch 'dict_keys' object to list
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 18:33:33 +08:00
Abhishek Lekshmanan
a9d303118c
doc: release notes for v13.2.10 mimic
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-24 12:28:44 +02:00
Abhishek Lekshmanan
d8d2d76c94
doc: releases: release notes for v13.2.9 mimic
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-24 12:28:22 +02:00
Abhishek Lekshmanan
3f4da44062
doc: releases: v15.2.1 release notes
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-04-24 12:20:32 +02:00
Xiubo Li
afe19f24ba
qa/tasks/cephfs/test_volumes: to make sure the size is int type
...
Fix "Error EINVAL: invalid size option '4915200.0'".
In pytho2 int/2 will get a int type result, but in python3 it maybe
a float type.
Fixes: https://tracker.ceph.com/issues/45247
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 05:05:54 -04:00
Xiubo Li
65f97690af
qa/tasks/cephfs/mount: to make sure that the count/seek are int type
...
To fix "stderr:dd: invalid number: '5.0'".
Fixes: https://tracker.ceph.com/issues/45247
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 05:05:54 -04:00
Xiubo Li
89d0649088
qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'
...
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 04:12:46 -04:00
Xiubo Li
666974e0a6
qa/tasks/cephfs/cephfs_test_case: switch 'dict_keys' object to list
...
Fix the "TypeError: 'dict_keys' object does not support indexing" under
py3.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 04:04:18 -04:00
Kefu Chai
f80ce9ec07
Merge pull request #33769 from lxbsz/qa_vstart_runner_os
...
qa/vstart_runner.py: add os and arch properties support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 15:41:54 +08:00
Xiubo Li
624944503e
qa/tasks/vstart_runner: make remote.sh return str as default
...
To address the issue in https://github.com/ceph/teuthology/pull/1459 .
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 03:05:34 -04:00
Xiubo Li
704ce2c969
qa/vstart_runner.py: add os and arch properties support
...
Fixes: https://tracker.ceph.com/issues/44456
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-24 03:05:34 -04:00
Kefu Chai
036c40e943
Merge pull request #34685 from lxbsz/vstart_runner
...
qa/tasks/cephfs/mount: switch to StringIO to fix TypeErrors
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-24 09:09:49 +08:00
Xiubo Li
0631342d10
qa/tasks/cephfs/mount: switch to StringIO to fix TypeErrors
...
TypeError: cannot use a string pattern on a bytes-like object
Fixes: https://tracker.ceph.com/issues/45175
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-23 20:55:35 -04:00
Xiubo Li
c541bae6b1
qa/vstart_runner: remove the debug info
...
Fixes: https://tracker.ceph.com/issues/45175
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-04-23 20:55:35 -04:00
Matthew Oliver
d3de8697e6
cephadm: Check for pool existance for iscsi And NFS
...
Currently both iscsi and NFS require pools to be specified when they are
deployed. However, we don't actaully check these pools exist. Leading to
broken containers.
This patch uses the rados client that is part of the mgrmodule to check
that the specified pool exists. As we need to check in 2 different
daemons, a helper method:
def _check_pool_exists(self, pool, service_name):
was added to `cephadm/module.py`.
Fixes: https://tracker.ceph.com/issues/45161
Signed-off-by: Matthew Oliver <moliver@suse.com>
2020-04-24 00:44:54 +00:00
Michael Fritch
b454b995cb
cephadm: catch Exception during is_mgr_available
...
Traceback (most recent call last):
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 4578, in <module>
r = args.func()
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 1121, in _default_image
return func()
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 2489, in command_bootstrap
is_available('mgr', is_mgr_available)
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 895, in is_available
if func():
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 2486, in is_mgr_available
out = cli(['status', '-f', 'json-pretty'], timeout=timeout)
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 2403, in cli
return CephContainer(
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 2140, in run
out, _, _ = call_throws(
File "test_tmp/tmp.ykMmPiFqIT/cephadm", line 838, in call_throws
raise RuntimeError('Failed command: %s' % ' '.join(command))
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-04-23 15:12:56 -06:00
Casey Bodley
ce5f3e3047
Merge pull request #34570 from cbodley/wip-bucket-layout-json
...
rgw: bucket layout fixes
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-04-23 11:16:55 -04:00
Casey Bodley
f43e58071e
Merge pull request #34645 from cbodley/wip-rgw-reshard-target-layout
...
rgw: use target bucket layout for reshard
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-04-23 11:16:44 -04:00
Jason Dillaman
92b3122a06
Merge pull request #33937 from changchengx/unsigned_compare
...
librbd: fix unsigned value compared with zero
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-23 10:48:33 -04:00
Boris Ranto
05573aa57d
Merge pull request #34694 from mikechristie/ceph-iscsi-selinux-fixes
...
ceph-iscsi: selinux fixes
Reviewed-by: Boris Ranto <branto@redhat.com>
2020-04-23 13:52:36 +02:00
Sebastian Wagner
9f13c126f6
doc/man: add cephadm
...
Fixes: https://tracker.ceph.com/issues/44971
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 13:01:02 +02:00
Sebastian Wagner
bf395f253e
mgr/cephadm: unify apply tests
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 12:39:32 +02:00
Sebastian Wagner
8eaadfe612
mgr/cephadm: unified add_daemon tests
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 12:39:32 +02:00
Sebastian Wagner
61393da911
mgr/cephadm: add cleanup to test_cephadm
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 12:39:32 +02:00
Sebastian Wagner
33b6c501f1
mgr/cephadm: remove_service: Feedback, if spec not found
...
`ceph orch rm my-unknown-service` still returned
`Removed service my-unknown-service`.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 12:26:04 +02:00
Sebastian Wagner
9e91081f06
Merge pull request #34678 from sebastian-philipp/doc-cephadm-install-fix-placement
...
doc/cephadm: install.rst: fix placement spec.
Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:20:30 +02:00
Sebastian Wagner
6a588788b7
Merge pull request #34674 from sebastian-philipp/cephadm-ceph-volume-lock-if-fsid
...
cephadm: Aquire lock, if fsid != None
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:09:22 +02:00
Sebastian Wagner
aab7045dec
Merge pull request #34620 from mgfritch/cephadm-timeout-test-fixup
...
qa/workunits/cephadm/test_cephadm.sh: extend timeout test
2020-04-23 12:03:20 +02:00
Sebastian Wagner
3784f63551
Merge pull request #34600 from dsavineau/issue_45120
...
cephadm: fix adopt prometheus command
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:02:31 +02:00
Sebastian Wagner
8dcb67de84
Merge pull request #34688 from sebastian-philipp/qa-test-cephadm-octopus-version
...
qa/workunits/cephadm/test_cephadm: Also test octopus
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:01:48 +02:00
Sebastian Wagner
bf2988ab10
Merge pull request #34691 from sebastian-philipp/cephadm-ssk-keyring-check_call
...
mgr/cephadm: use check_call for `ssh-keygen`
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-23 12:01:20 +02:00
Igor Fedotov
70839d99dd
Merge pull request #33065 from ifed01/wip-ifed-spurious-readerr-alert
...
os/bluestore: introduce health alert on spurious read errors.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-04-23 11:32:25 +03:00
Laura Paduano
1a616c207c
Merge pull request #34666 from rhcs-dashboard/44405-test-totp-increase-time
...
mgr/dashboard: fix tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-04-23 09:47:58 +02:00
Kefu Chai
0c2f0bde8a
Merge pull request #34483 from dabukalam/master
...
doc/rados: Remove obsolete placement group note from EC pool creation
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-23 15:33:06 +08:00
Kefu Chai
5a7fb2c2e8
Merge pull request #33916 from aclamk/fix-bs-avl-memaccounting
...
os/bluestore: Adds shutdown in destructor of AvlAllocator
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-23 15:22:19 +08:00