Commit Graph

92594 Commits

Author SHA1 Message Date
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
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
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
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
Alfredo Deza
b8a64b5ec4
Merge pull request #25201 from jan--f/c-v-inventory-add-device_id
ceph-volume add device_id to inventory listing

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastien Han <shan@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 12:11:23 -05:00
Alfredo Deza
860045ebf3
Merge pull request #25203 from jan--f/c-v-batch-fix-py3
ceph-volume: fix Batch object in py3 environments

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-11-30 11:48:06 -05:00
Casey Bodley
d720c5af2e
Merge pull request #25178 from joke-lee/wip-fix-rgw-multisite-info-get-set-caps-check
rgw: get or set realm zonegroup zone need check user's caps

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-30 11:41:35 -05:00
Sebastian Wagner
6669803d7b mgr/volumes: Fix Python 3 import error
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-11-30 16:57:12 +01:00
Jan Fajerski
936ee680f7 ceph-volume: add Batch smoketest
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-11-30 09:23:35 +01:00
Jan Fajerski
851c7693da ceph-volume: fix Batch object in py3 environments
Fixes: https://tracker.ceph.com/issues/37356

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-11-30 09:22:51 +01:00
Noah Watkins
2ea283da83 pybind/mgr: handle inconsistent api state
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-11-29 13:28:56 -08:00
Casey Bodley
4d3cc9f909
Merge pull request #25240 from cbodley/wip-rgw-list-buckets-cleanup
rgw: remove duplicated RGWRados::list_buckets_ helpers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-29 16:19:02 -05:00
Sage Weil
ee5cf3fc2b Merge PR #25196 into master
* refs/pull/25196/head:
	mon: auto clean up stale upmap items
	osd/OSDMap: add pg-existence sanity check

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-29 14:25:44 -06:00
Sage Weil
706c5d59f2 Merge PR #25303 into master
* refs/pull/25303/head:
	mgr/DaemonState: fix get_config_defaults locking

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-29 14:25:19 -06:00
Casey Bodley
45a3dea5cd rgw: removed unused RGWRados::list_buckets_*
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-29 14:42:57 -05:00
Casey Bodley
b532568cb9 radosgw-admin: use metadata mgr to list buckets
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-29 14:33:25 -05:00
jtlayton
4898dc811a
Merge pull request #25331 from jtlayton/wip-volumes
volumes mgr module fixes
2018-11-29 14:30:39 -05:00
Casey Bodley
049f87ebb2
Merge pull request #25161 from wjwithagen/wjw-fix-stringlist
rgw: need to give a type in list constructor

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-11-29 14:25:10 -05:00
Casey Bodley
4ae920b80a
Merge pull request #25145 from adamemerson/wip-23817
Don't treat colons specially when matching resource field of ARNs in S3 Policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
2018-11-29 14:24:25 -05:00