Lenz Grimmer
cce8d7672f
Merge pull request #25359 from zmc/wip-dashboard-fix-teuth-runner
...
mgr/dashboard: Fix PYTHONPATH for test runner
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-12-04 15:06:48 +01:00
Lenz Grimmer
8d7112b603
Merge pull request #25231 from rhcs-dashboard/37371-logs-links-permissions
...
mgr/dashboard: 'Logs' links permission in Landing Page
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-12-04 15:01:54 +01:00
Lenz Grimmer
3fa3060253
Merge pull request #25322 from Devp00l/wip-issue-37468
...
mgr/dashboard: Document custom RESTController endpoints
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-12-04 15:00:23 +01:00
Kefu Chai
ab29f3d301
Merge pull request #25335 from ifed01/wip-ifed-fix-enospc
...
os/bluestore: fix and unify log output on allocation failure
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-04 14:51:31 +08:00
Kefu Chai
827d36a66e
Merge pull request #25343 from liewegas/wip-36612
...
msg/async: do not trigger RESETSESSION from connect fault during connection phase
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-12-04 14:50:03 +08:00
Kefu Chai
940b4abb6b
Merge pull request #25336 from dragonylffly/wip-silence-warning
...
crush/CrushWrapper: silence compiler warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-04 14:31:49 +08:00
Sage Weil
62d1382599
Merge PR #25373 into master
...
* refs/pull/25373/head:
ceph_argparse: fix CephBool to CephChoices conversion
Reviewed-by: Sage Weil <sage@redhat.com>
2018-12-03 22:10:43 -06:00
Brad Hubbard
84f25f598d
Merge pull request #25361 from badone/wip-add-luminous-12.2.9-and-10
...
doc/releases: Add luminous releases 12.2.9 and 10
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2018-12-04 09:16:52 +10:00
Stephan Müller
b324aaaa48
mgr/dashboard: Fix 'resource' typo
...
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-12-03 15:20:03 +01:00
Stephan Müller
1146a01504
mgr/dashboard: Document custom RESTController endpoints
...
Extended HACKING.rst by the fact how to extend a RESTController with
a custom endpoint which has all permissions preserved.
Fixes: https://tracker.ceph.com/issues/37468
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-12-03 15:19:24 +01:00
Casey Bodley
70242bf7b5
Merge pull request #25305 from cbodley/wip-37440
...
qa/rgw: fix invalid syntax error in radosgw_admin_rest.py
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-12-03 09:00:39 -05:00
Igor Fedotov
1562956f5a
os/bluestore: fix and unify log output on allocation failure
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-12-03 16:41:47 +03:00
alfonsomthd
11ca48830e
mgr/dashboard: 'Logs' links permission in Landing Page
...
- 'Logs' links in Landing Page cards' popovers
for cards 'Cluster Status' (when not in HEALTH_OK) and
'PG Status' appear only when the user has
the appropriate permissions.
- Some refactor.
- Added test: ensure that clickable text (popover) is shown
when there are health checks' messages.
Fixes: https://tracker.ceph.com/issues/37371
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-12-03 13:54:05 +01:00
jtlayton
47fae14caa
Merge pull request #25366 from jtlayton/wip-orchestrator
...
orchestrator: add the ability to remove services
2018-12-03 07:08:05 -05:00
Ricardo Dias
f7fb760e4d
Merge pull request #25344 from sebastian-philipp/volumes-py3
...
mgr/volumes: Fix Python 3 import error
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-12-03 10:05:51 +00:00
Ricardo Dias
1a1691d20c
ceph_argparse: fix CephBool to CephChoices conversion
...
Commit 525623b
has introduced a regression that makes Ceph clients of
versions prior to Nautilus to receive invalid unicode characters in the
commands list JSON sent by the monitors.
The unicode characters are caused by memory corruption in a dangling
pointer stored by a std::string_view. The dangling pointer belonged to
an std::string object that was already destructed when the
std::string_view is used.
The fix in this PR makes the std::string object to live enough time for
the std::string_view to be used safely.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-12-03 09:54:23 +00:00
Sebastian Wagner
ce28976055
Merge pull request #24445 from jmolmo/wip_ansible_orchestrator
...
mgr/ansible: Ansible orchestrator module
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
2018-12-03 10:38:53 +01:00
jtlayton
b021f2cad5
Merge pull request #25339 from jtlayton/wip-volumes
...
mgr/volumes: fix orchestrator remove operation
2018-12-02 11:40:10 -05:00
Jeff Layton
39931808f9
orchestrator_cli: add a service rm command
...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-12-01 07:19:22 -05:00
Jeff Layton
1e8452fd65
orchestrator/rook: add a rm_service backend command
...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-12-01 07:19:18 -05:00
Jeff Layton
cae4eee807
mgr/volumes: fix orchestrator remove operation
...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-12-01 05:24:58 -05:00
Xie Xingguo
e50be3ef9b
Merge pull request #25126 from xiexingguo/wip-heartbeat-bs
...
osd: two heartbeat fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-12-01 18:23:33 +08:00
Brad Hubbard
c12deb79fd
doc/releases: Add luminous releases 12.2.9 and 10
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-12-01 10:36:55 +10:00
Zack Cerza
ae6220b473
mgr/dashboard: Fix PYTHONPATH for test runner
...
A new mgr module ('volumes') pulls in src/pybind/ceph_volume_client.py; the
wrapper script that we use to run backend API tests needs to include that in
PYTHONPATH, or else the cluster will be stuck in HEALTH_WARN with the message:
"Module 'volumes' has failed dependency: No module named ceph_volume_client".
Signed-off-by: Zack Cerza <zack@redhat.com>
2018-11-30 22:41:07 +00:00
Noah Watkins
6d64cf5c93
Merge pull request #25122 from noahdesu/insights-osd-space
...
pybind/mgr: add osd space utilization to insights report
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-11-30 11:57:51 -08:00
Sage Weil
5f7e083678
Merge PR #25308 into master
...
* refs/pull/25308/head:
osd/OSD: OSD::mkfs asserts when reusing disk with existing superblock.
os/bluestore: add main device expand capability.
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-30 13:19:42 -06:00
Sage Weil
a1068e126d
Merge PR #25328 into master
...
* refs/pull/25328/head:
spec: fix cython package version to less than 0.29
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-11-30 13:19:26 -06:00
Alfredo Deza
8a50070ea6
Merge pull request #25330 from alfredodeza/wip-rm37449
...
ceph-volume zap: improve zapping to remove all partitions and all LVs, encrypted or not
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-11-30 13:41:12 -05:00
Alfredo Deza
9f440fb966
ceph-volume tests patch udevadm so it doesn't actually call udevadm in a test
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:31:02 -05:00
Alfredo Deza
1670585ebe
ceph-volume util.disk use device.path for error reporting
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:25:50 -05:00
Alfredo Deza
b0bc162b60
ceph-volume tests.functional add back sdc1 partitions with parted to redeploy after zapping
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:25:50 -05:00
Alfredo Deza
945e8f56ce
ceph-volume tests.functional add back partitions with parted to redeploy after zapping
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:25:49 -05:00
Alfredo Deza
e1d136ee3b
ceph-volume tests.functional recreate partitions previously removed with --destroy
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:25:49 -05:00
Alfredo Deza
df8ba476d6
ceph-volume tests.util ensure that both disk and device report is_device
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
ff0166f9f4
ceph-volume tests.util ensure is_encrypted works for lv, partition, and mapper devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
6dc0177224
ceph-volume tests.util ensure partitions are listed as top-level keys
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
9ebf7d7631
ceph-volume tests add mapper test for dm paths
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
830cd7d638
ceph-volume tests update is_mapper unit test when zapping
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
ba83c1f37e
ceph-volume util.device check both dm and mapper paths for is_mapper property
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
14c74ede9a
ceph-volume lvm skip empty vg_name removals
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
58be4d0e18
ceph-volume util.arg_validators optionally skip gpt header check
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
822ca670ee
ceph-volume util.device if no vgs, set it to an empty list
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
91c01e88ec
ceph-volume util.device set vgs to Device object if available
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
f74635d16d
ceph-volume util update is_device when reported as device or disk
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
1ee7435aef
ceph-volume util add method to detect encryption on devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:29 -05:00
Alfredo Deza
870f9e5b48
ceph-volume util.disk add a helper to remove partitions
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:24:18 -05:00
Casey Bodley
2217c0f018
qa/rgw: radosgw_admin_rest.py uses /admin/user?list for user listing
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-30 12:22:23 -05:00
Alfredo Deza
7f3c359849
ceph-volume util.disk include partitions as top level devices in get_devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:19:40 -05:00
Alfredo Deza
28cb13a970
ceph-volume util.disk fix issue when capturing partition information
...
Before, the `if` condition meant that it would only work when the output
was '1', which is incorrect as that would only happen if a partition was
the first one, ignoring any other partition. The contents of that file
is the partition number, not a boolean to tell if it is a partition or
not.
It now includes the `holders` file contents which is needed for
dm-mapper work
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:19:40 -05:00
Alfredo Deza
0d2a9a40d2
ceph-volume lvm.zap split zapping in methods per device type
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:19:40 -05:00