]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocephadm: quay.io for non-ceph images too 43094/head
Sage Weil [Wed, 11 Aug 2021 16:21:32 +0000 (12:21 -0400)]
cephadm: quay.io for non-ceph images too

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit dbc1d6303f4c2a22f5fa59218aa032fc92073906)

3 years agomgr/cephadm: Put together default container images references
Juan Miguel Olmo Martínez [Fri, 12 Feb 2021 13:09:17 +0000 (14:09 +0100)]
mgr/cephadm: Put together default container images references

Placed all in the same location in order to make easy downstream modifications
and future changes

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit ce246479443a64b292c7cff2a662161c8a598e09)

3 years agoMerge pull request #43189 from rhcs-dashboard/wip-51275-octopus
Ernesto Puerta [Tue, 21 Sep 2021 10:00:13 +0000 (12:00 +0200)]
Merge pull request #43189 from rhcs-dashboard/wip-51275-octopus

octopus: mgr/dashboard: deprecated variable usage in Grafana dashboards

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: p-se <NOT@FOUND>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
3 years agomgr/dashboard: deprecated variable usage in Grafana dashboards 43189/head
Patrick Seidensal [Tue, 30 Mar 2021 18:20:49 +0000 (20:20 +0200)]
mgr/dashboard: deprecated variable usage in Grafana dashboards

Fixes: https://tracker.ceph.com/issues/50059
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit a709abf8bf5a6b25c21db100e87af3a6c2cf382d)

3 years agoMerge pull request #42533 from liewegas/use-quay-octopus
Yuri Weinstein [Wed, 15 Sep 2021 16:28:58 +0000 (09:28 -0700)]
Merge pull request #42533 from liewegas/use-quay-octopus

octopus: cephadm: default to quay.io, not docker.io

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #43102 from ideepika/wip-octopus-52279
Yuri Weinstein [Wed, 15 Sep 2021 14:50:55 +0000 (07:50 -0700)]
Merge pull request #43102 from ideepika/wip-octopus-52279

octopus: qa/suites/rados: use centos_8.3_container_tools_3.0.yaml

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #42862 from ideepika/wip-52337-octopus
Yuri Weinstein [Wed, 15 Sep 2021 14:50:08 +0000 (07:50 -0700)]
Merge pull request #42862 from ideepika/wip-52337-octopus

octopus: mon/PGMap: remove DIRTY field in `ceph df detail` when cache tiering  is not in use

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42694 from tchaikov/octopus-pr-41215
Yuri Weinstein [Wed, 15 Sep 2021 14:49:39 +0000 (07:49 -0700)]
Merge pull request #42694 from tchaikov/octopus-pr-41215

octopus: cmake: Replace boost download url

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
3 years agoMerge pull request #42674 from callithea/wip-51980-octopus
Yuri Weinstein [Wed, 15 Sep 2021 14:49:00 +0000 (07:49 -0700)]
Merge pull request #42674 from callithea/wip-51980-octopus

octopus: mgr/prometheus: Fix metric types from gauge to counter

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
3 years agoMerge pull request #42670 from callithea/wip-51949-octopus
Yuri Weinstein [Wed, 15 Sep 2021 14:46:52 +0000 (07:46 -0700)]
Merge pull request #42670 from callithea/wip-51949-octopus

octopus: Don't persist report data

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42666 from SUSE/wip-fix-52064
Yuri Weinstein [Wed, 15 Sep 2021 14:45:48 +0000 (07:45 -0700)]
Merge pull request #42666 from SUSE/wip-fix-52064

octopus: mgr/cephadm: pass --container-init to cephadm if specified

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
3 years agoMerge pull request #42498 from ideepika/wip-51741-octopus
Yuri Weinstein [Wed, 15 Sep 2021 14:42:20 +0000 (07:42 -0700)]
Merge pull request #42498 from ideepika/wip-51741-octopus

octopus: qa/workunits/mon/test_mon_config_key: use subprocess.run() instead of proc.communicate()

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #43117 from guits/wip-52561-octopus
Guillaume Abrioux [Thu, 9 Sep 2021 16:02:06 +0000 (18:02 +0200)]
Merge pull request #43117 from guits/wip-52561-octopus

octopus: ceph-volume: fix lvm activate arguments

3 years agoMerge pull request #43111 from guits/wip-52555-octopus
Guillaume Abrioux [Thu, 9 Sep 2021 14:53:39 +0000 (16:53 +0200)]
Merge pull request #43111 from guits/wip-52555-octopus

octopus: ceph-volume: fix lvm migrate without args

3 years agoceph-volume: fix lvm activate arguments 43117/head
Dimitri Savineau [Thu, 26 Aug 2021 21:11:12 +0000 (17:11 -0400)]
ceph-volume: fix lvm activate arguments

When using the `lvm activate` subcommand without any osd ID or osd FSID
then ceph-volume fails.

Currently we can either activate with:
 - both osd ID and osd FSID
 - only the osd FSID (because it's unique)

The remaining scenarios aren't covered and generate a stack trace:
 - only the osd ID
 - no osd ID nor osd FSID

This ends up with an error like:

-->  UnboundLocalError: local variable 'tags' referenced before assignment

Fixes: https://tracker.ceph.com/issues/50665
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b77ed5f99d3cb14a46bb36bb74e4136c22edf48a)

3 years agoceph-volume: fix lvm migrate without args 43111/head
Dimitri Savineau [Fri, 3 Sep 2021 14:45:18 +0000 (10:45 -0400)]
ceph-volume: fix lvm migrate without args

When running the `lvm migrate` subcommand without any args then the
ceph-volume command fails with a stack trace.

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 151, in main
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 46, in main
    terminal.dispatch(self.mapper, self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 520, in main
    self.migrate_osd()
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/migrate.py", line 403, in migrate_osd
    if self.args.osd_id:
AttributeError: 'Migrate' object has no attribute 'args'

That's because we're exiting the parse_argv function but we continue to
execute the migrate_osd function. We should instead exit from the main function.

This update the parsing argument to have the same code than new-db and
new-wal classes.
Now the parsing is done in the make_parser function but the argv testing is
done in the main function allowing to exit the program and displaying the
help message when no arguments are provided.

Fixes: https://tracker.ceph.com/issues/51811
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 98de3306127cb758e5517a322f6da9e636f91036)

3 years agoMerge pull request #43092 from guits/wip-52544-octopus
Guillaume Abrioux [Thu, 9 Sep 2021 07:30:32 +0000 (09:30 +0200)]
Merge pull request #43092 from guits/wip-52544-octopus

octopus: ceph-volume: support no_systemd with lvm migrate

3 years agoMerge pull request #43097 from guits/wip-52546-octopus
Guillaume Abrioux [Thu, 9 Sep 2021 07:30:17 +0000 (09:30 +0200)]
Merge pull request #43097 from guits/wip-52546-octopus

octopus: ceph-volume: remove --all ref from deactivate help

3 years agoqa/distro: Add centos_8.2_container_tools_3.0.yaml 43102/head
Sebastian Wagner [Fri, 20 Aug 2021 08:53:11 +0000 (10:53 +0200)]
qa/distro: Add centos_8.2_container_tools_3.0.yaml

Let's avoid latest kubic stable

trivial fix: skipped mgr-nfs-upgrade, dashboard symlinks
Fixes: https://tracker.ceph.com/issues/52279
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit e436483c77adf7f876533c25a11c14d19a2d32a4)

3 years agoqa/cephadm: centos_8.3_container_tools_3.0.yaml
Sebastian Wagner [Thu, 19 Aug 2021 14:30:32 +0000 (16:30 +0200)]
qa/cephadm: centos_8.3_container_tools_3.0.yaml

Let's avoid latest stable

Fixes: https://tracker.ceph.com/issues/52279
octopus cherry pick resolve: do not use rhel and orch symlinks, octopus
does not have them.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit c6bd968eff96666da7e321fb5787c82dc66ddbb7)

3 years agoceph-volume: support no_systemd with lvm migrate 43092/head
Dimitri Savineau [Fri, 3 Sep 2021 16:47:25 +0000 (12:47 -0400)]
ceph-volume: support no_systemd with lvm migrate

The `ceph-volume lvm migrate/new-db/new-wal` commands don't support
running on non systemd systems or within containers.
Like other ceph-volume commands (lvm activate/batch/zap or raw activate)
we also need to be able to use the --no-systemd flag.

Fixes: https://tracker.ceph.com/issues/51854
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 96d84acf5aedc9cf462230fd5fb685f0562a1371)

3 years agoceph-volume: remove --all ref from deactivate help 43097/head
Dimitri Savineau [Fri, 3 Sep 2021 23:06:42 +0000 (19:06 -0400)]
ceph-volume: remove --all ref from deactivate help

Until the `--all` feature is implemented.

This was partially removed in c13901f but not from the help command.

Fixes: https://tracker.ceph.com/issues/50109
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 3a385bc38686e45c734ffaa182a23837aaceaaa2)

3 years agoMerge pull request #43077 from guits/wip-52524-octopus
Guillaume Abrioux [Wed, 8 Sep 2021 15:30:45 +0000 (17:30 +0200)]
Merge pull request #43077 from guits/wip-52524-octopus

octopus: ceph-volume: pvs --noheadings replace pvs --no-heading

3 years agoMerge pull request #43088 from guits/wip-52540-octopus
Guillaume Abrioux [Wed, 8 Sep 2021 15:24:04 +0000 (17:24 +0200)]
Merge pull request #43088 from guits/wip-52540-octopus

octopus: ceph-volume: fix raw list with logical partition

3 years agoMerge pull request #43090 from guits/wip-52543-octopus
Guillaume Abrioux [Wed, 8 Sep 2021 15:21:57 +0000 (17:21 +0200)]
Merge pull request #43090 from guits/wip-52543-octopus

octopus: doc/ceph-volume: add lvm migrate/new-db/new-wal

3 years agoMerge pull request #42978 from idryomov/wip-52063-octopus
Yuri Weinstein [Wed, 8 Sep 2021 15:15:33 +0000 (08:15 -0700)]
Merge pull request #42978 from idryomov/wip-52063-octopus

octopus: rbd-mirror: fix potential async op tracker leak in start_image_replayers

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
3 years agoMerge pull request #42971 from idryomov/wip-51867-octopus
Yuri Weinstein [Wed, 8 Sep 2021 15:14:57 +0000 (08:14 -0700)]
Merge pull request #42971 from idryomov/wip-51867-octopus

octopus: pybind/rbd: fix mirror_image_get_status

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agodoc/ceph-volume: add lvm migrate/new-db/new-wal 43090/head
Dimitri Savineau [Fri, 3 Sep 2021 19:44:39 +0000 (15:44 -0400)]
doc/ceph-volume: add lvm migrate/new-db/new-wal

The inital PR was implementing those new commands only adds the man page
and not the online documentation.

Fixes: https://tracker.ceph.com/issues/51814
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 22de626220e6145fce8e1fd963802170f099f733)

3 years agoceph-volume: test the lsblk command in list.py 43088/head
Guillaume Abrioux [Tue, 7 Sep 2021 13:38:33 +0000 (15:38 +0200)]
ceph-volume: test the lsblk command in list.py

Let's test we use the expected args when we build the `lsblk` command
to list the devices present on the node.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 959ea33c0ba118984d678403b234e7628ccac3dc)

3 years agoceph-volume: fix raw list with logical partition
Dimitri Savineau [Fri, 3 Sep 2021 18:24:48 +0000 (14:24 -0400)]
ceph-volume: fix raw list with logical partition

This is a regression introduced by 9212420, when the host is using a
logical partition then lsblk reports that partition as a child from the
physical device.
That logical partition is prefixed by the `└─` character.

This leads the `raw list` subcommand to show the lsblk error on the stderr.

```
$ ceph-volume raw list
{}
 stderr: lsblk: `-/dev/sda1: not a block device
```

The lsblk command output looks like:

```
$ lsblk --paths --output=NAME --noheadings
/dev/sda
└─/dev/sda1
/dev/sdb
/dev/sdc
/dev/sdd
```

Using the `--list` option with lsblk solves the issue.

```
$ lsblk --list --paths --output=NAME --noheadings
/dev/sda
/dev/sda1
/dev/sdb
/dev/sdc
/dev/sdd
```

Fixes: https://tracker.ceph.com/issues/52504
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 7a6486bf4ddb2d789cc16047d8163baa8473e253)

3 years agoceph-volume: pvs --noheadings replace pvs --no-heading 43077/head
FengJiankui [Wed, 1 Sep 2021 09:37:25 +0000 (17:37 +0800)]
ceph-volume: pvs --noheadings replace pvs --no-heading

Fixes: https://tracker.ceph.com/issues/52482
Signed-off-by: FengJiankui <fengjiankui@inspur.com>
(cherry picked from commit 7083c4ffc63274bdd3103e9c5296bc70acbe745f)

3 years agoMerge pull request #42892 from rhcs-dashboard/wip-52377-octopus
Ernesto Puerta [Wed, 1 Sep 2021 10:24:56 +0000 (12:24 +0200)]
Merge pull request #42892 from rhcs-dashboard/wip-52377-octopus

octopus: mgr/dashboard: stats=false not working when listing buckets

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #42968 from idryomov/wip-krbd-escape-match-sysattr-octopus
Ilya Dryomov [Tue, 31 Aug 2021 21:39:48 +0000 (23:39 +0200)]
Merge pull request #42968 from idryomov/wip-krbd-escape-match-sysattr-octopus

octopus: krbd: escape udev_enumerate_add_match_sysattr values

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agokrbd: escape udev_enumerate_add_match_sysattr values 42968/head
Ilya Dryomov [Sat, 28 Aug 2021 09:05:28 +0000 (11:05 +0200)]
krbd: escape udev_enumerate_add_match_sysattr values

libudev uses fnmatch(3) for matching attributes, meaning that shell
glob pattern matching is employed instead of literal string matching.
Escape glob metacharacters to suppress pattern matching.

Fixes: https://tracker.ceph.com/issues/52425
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 8841029b0a4705825ba394541240b3cb4eb2cf5c)

Conflicts:
src/test/cli-integration/rbd/unmap.t [ drop --no-progress,
  "rbd snap create" does not show progress in octopus ]

3 years agorbd-mirror: fix potential async op tracker leak in start_image_replayers 42978/head
Mykola Golub [Thu, 5 Aug 2021 07:03:20 +0000 (08:03 +0100)]
rbd-mirror: fix potential async op tracker leak in start_image_replayers

Fixes: https://tracker.ceph.com/issues/52063
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 2f83b43afc6f6864655dc5e37e4b8cfb88b4a805)

3 years agopybind/rbd: explain why "primary" isn't exposed in mirror_image_status_list() 42971/head
Ilya Dryomov [Tue, 27 Jul 2021 16:45:20 +0000 (18:45 +0200)]
pybind/rbd: explain why "primary" isn't exposed in mirror_image_status_list()

"primary" is part of mirror image info (rbd_mirror_image_info_t) and
is exposed in mirror_image_get_status().  mirror_image_status_list(),
even though it is often thought of as an equivalent of repeated calls
to mirror_image_get_status(), doesn't actually fetch the mirror image
info.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 1d2a142108b2aa102103e62ccdf3bd17688b783b)

3 years agopybind/rbd: actually append site_status dict to remote_statuses
Ilya Dryomov [Tue, 27 Jul 2021 15:20:08 +0000 (17:20 +0200)]
pybind/rbd: actually append site_status dict to remote_statuses

Using += operator is wrong -- only site_status keys get appended
(and repeatedly at that in case there is more than one remote site
as the keys are added one by one).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 89888beb1266be5a661fef8643bb6bef0c720f5f)

3 years agorbd: Fix mirror_image_get_status in rbd python bindings
Will Smith [Fri, 23 Jul 2021 19:18:12 +0000 (15:18 -0400)]
rbd: Fix mirror_image_get_status in rbd python bindings

When retrieving the status of a mirrored image from the Python rbd
library, a TypeError is raised.

*To Reproduce:*

Set up two Ceph clusters for block storage, and configure image
mirroring between their pools.  Create a least one image with mirroring
enabled, then run the following script on either cluster (once the image
exists everywhere):

```python
import rados, rbd

CONF_PATH = "YOUR-CONF-PATH"
POOL_NAME = "YOUR-POOL-NAME"
IMAGE_LABEL = "YOUR-IMAGE-LABEL"

with rados.Rados(conffile=CONF_PATH) as cluster:
  with cluster.open_ioctx(POOL_NAME) as ioctx:
    with rbd.Image(ioctx, IMAGE_LABEL) as image:
      image.mirror_image_get_status()
```

This will result in the following stack trace:

```
Traceback (most recent call last):
  File "repo-bug.py", line 10, in <module>
    image.mirror_image_get_status()
  File "rbd.pyx", line 3363, in rbd.requires_not_closed.wrapper
  File "rbd.pyx", line 5209, in rbd.Image.mirror_image_get_status
TypeError: list indices must be integers or slices, not str
```

Fixes: https://tracker.ceph.com/issues/51867
Signed-off-by: Will Smith <wsmith@linode.com>
(cherry picked from commit 5dfda932b2012bb11a1860d8a81de3208b17f622)

3 years agoMerge pull request #42761 from ceph/wip-yuriw-p2p-octopus
Yuri Weinstein [Mon, 23 Aug 2021 21:13:07 +0000 (14:13 -0700)]
Merge pull request #42761 from ceph/wip-yuriw-p2p-octopus

octopus: qa/tests: advanced version to 15.2.14 to match the latest release

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agomgr/dashboard: stats=false not working when listing buckets 42892/head
Avan Thakkar [Fri, 20 Aug 2021 09:07:17 +0000 (14:37 +0530)]
mgr/dashboard: stats=false not working when listing buckets

Fixes: https://tracker.ceph.com/issues/51154
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 95543bb150fc9e458314e62d80667190863caa0b)

 Conflicts:
src/pybind/mgr/dashboard/controllers/rgw.py
      - rgw-list endpoint doesn't have daemon_name parameter in octopus, so adopted
changes accordingly.

3 years agoMerge pull request #42849 from ceph/wip-81356-octopus
Kefu Chai [Fri, 20 Aug 2021 14:39:21 +0000 (22:39 +0800)]
Merge pull request #42849 from ceph/wip-81356-octopus

octopus: run-make-check.sh: Increase failure output log size

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agodoc/rados/op: ceph/df show DIRTY field N/A 42862/head
Deepika Upadhyay [Wed, 23 Jun 2021 03:57:25 +0000 (09:27 +0530)]
doc/rados/op: ceph/df show DIRTY field N/A

DIRTY field should only be available if cache tiering is in use.

trivial fix: added missing documentation for fields in ceph df detail

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit ba52429897c34a132f2868aad3dc0c79de3db45d)

3 years agotest: update test for when cache tier is not available
Deepika Upadhyay [Wed, 23 Jun 2021 05:14:21 +0000 (10:44 +0530)]
test: update test for when cache tier is not available

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit e80a80c7d932ab60c5b31ad50c7b62d5fb0b37bc)

3 years agomon/PGMap: DIRTY field as N/A in `df detail` when cache tier not in use
Deepika Upadhyay [Wed, 23 Jun 2021 05:12:38 +0000 (10:42 +0530)]
mon/PGMap: DIRTY field as N/A in `df detail` when cache tier not in use

    'ceph df detail' reports a column for DIRTY objects under POOLS even
    though cache tiers not being used.  In replicated or EC pool all objects
    in the pool are reported as logically DIRTY as they have never been
    flushed .
    we display N/A for DIRTY objects if the pool is not a cache tier.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit fafebb1824eb474dbbeb4137c033954d45b508af)

3 years agorun-make-check.sh: Increase failure output log size 42849/head
David Galloway [Wed, 18 Aug 2021 17:30:22 +0000 (13:30 -0400)]
run-make-check.sh: Increase failure output log size

Fixes: https://tracker.ceph.com/issues/43566
Signed-off-by: David Galloway <dgallowa@redhat.com>
(cherry picked from commit e1b55f6878cfe847112959885d2fc44e91f3c44f)

3 years agoMerge pull request #42676 from callithea/wip-51635-octopus
Alfonso Martínez [Wed, 18 Aug 2021 15:28:23 +0000 (17:28 +0200)]
Merge pull request #42676 from callithea/wip-51635-octopus

octopus: monitoring: fix Physical Device Latency unit

3 years agoMerge pull request #42752 from guits/wip-52132-octopus
Guillaume Abrioux [Wed, 18 Aug 2021 14:33:52 +0000 (16:33 +0200)]
Merge pull request #42752 from guits/wip-52132-octopus

octopus: ceph-volume: work around phantom atari partitions

3 years agoMerge pull request #42675 from callithea/wip-51993-octopus
Alfonso Martínez [Tue, 17 Aug 2021 13:37:43 +0000 (15:37 +0200)]
Merge pull request #42675 from callithea/wip-51993-octopus

octopus: monitoring/grafana/cluster: use per-unit max and limit values

3 years agoMerge pull request #42794 from rhcs-dashboard/wip-52249-octopus
Alfonso Martínez [Tue, 17 Aug 2021 10:07:54 +0000 (12:07 +0200)]
Merge pull request #42794 from rhcs-dashboard/wip-52249-octopus

octopus: mgr/dashboard: cephadm e2e start script: add --expanded option

3 years agomgr/dashboard: run-cephadm-e2e-tests.sh improvements 42794/head
Alfonso Martínez [Wed, 11 Aug 2021 08:25:42 +0000 (10:25 +0200)]
mgr/dashboard: run-cephadm-e2e-tests.sh improvements

- Jenkins env.: make sure the cluster is always started.
- PR template: add trigger phrase to the jenkins commands list.
- Cypress: add --no-install flag; clean previous reports.

Fixes: https://tracker.ceph.com/issues/52082
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit cadf8c75ac0266e42c1ea0b4d6733590ea3dac21)

 Conflicts:
.github/pull_request_template.md
      - Update jenkins trigger phrases: cephadm e2e; api tests.

3 years agomgr/dashboard: cephadm e2e start script: add --expanded option
Alfonso Martínez [Mon, 9 Aug 2021 13:14:21 +0000 (15:14 +0200)]
mgr/dashboard: cephadm e2e start script: add --expanded option

- Additional improvements: clean npm cache in jenkins env.; display mgr logs on error.

Fixes: https://tracker.ceph.com/issues/52082
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 973a6f534383e84bd92b690eaf2862a5a30ba70c)

 Conflicts:
doc/dev/developer_guide/dash-devel.rst
      - Add changes to HACKING.rst (dash-devel.rst not in octopus)

3 years agoceph-volume: work around phantom atari partitions 42752/head
Blaine Gardner [Fri, 23 Jul 2021 18:56:35 +0000 (12:56 -0600)]
ceph-volume: work around phantom atari partitions

See Rook issue https://github.com/rook/rook/issues/7940 for full
information.

Ceph bluestore disks can sometimes appear as though they have "phantom"
Atari (AHDI) partitions created on them when they don't in reality. This
is due to a series of bugs in the Linux kernel when it is built with
Atari support enabled. This behavior does not appear for raw mode OSDs on
partitions, only on disks.

Changing the on-disk format of Bluestore OSDs comes with
backwards-compatibility challenges, and fixing the issue in the Kernel
could be years before users get a fix. Working around the Kernel issue
in ceph-volume is therefore the best place to fix the issue for Ceph.

To work around the issue in Ceph volume, there are two behaviors that need
adjusted:
1. `ceph-volume inventory` should not report that a partition is
   available if the parent device is a BlueStore OSD.
2. `ceph-volume raw list` should report parent disks if the disk is a
   BlueStore OSD and not report the disk's children, BUT it should still
   report children if the parent disk is not a BlueStore OSD.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 9212420bbc88e0caaf0b2302dd1f379f563f7d26)

3 years agoceph-volume: use safer check for bluestore label
Blaine Gardner [Mon, 19 Jul 2021 17:57:09 +0000 (11:57 -0600)]
ceph-volume: use safer check for bluestore label

Using only the exit status of `ceph-bluestore-tool show-label` to
determine if a device is a bluestore OSD could report a false negative
if there is a system error when `ceph-bluestore-tool` opens the device.

A better check is to open the device and read the bluestore device
label (the first 22 bytes of the device) to look for the bluestore
device signature ("bluestore block device"). If ceph-volume fails to
open the device due to a system error, it is safest to assume the device
is BlueStore so that an existing OSD isn't overwritten.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 651b28f2e3cb39dbe9c7038cd677a01523f08821)

3 years agoMerge pull request #41115 from k0ste/wip-48649-octopus
Guillaume Abrioux [Thu, 12 Aug 2021 11:10:35 +0000 (13:10 +0200)]
Merge pull request #41115 from k0ste/wip-48649-octopus

octopus: ceph-volume: disable cache for blkid calls

3 years agoqa/tests: advanced version to 15.2.14 to match the latest release 42761/head
Yuri Weinstein [Wed, 11 Aug 2021 17:05:58 +0000 (10:05 -0700)]
qa/tests: advanced version to 15.2.14 to match the latest release

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #42547 from dsavineau/wip-51959-octopus
Dimitri Savineau [Wed, 11 Aug 2021 15:45:14 +0000 (11:45 -0400)]
Merge pull request #42547 from dsavineau/wip-51959-octopus

octopus: ceph-volume/tests: retry when destroying osd

3 years agoMerge pull request #41715 from k0ste/wip-51106-octopus
Guillaume Abrioux [Wed, 11 Aug 2021 15:15:06 +0000 (17:15 +0200)]
Merge pull request #41715 from k0ste/wip-51106-octopus

octopus: ceph-volume: fix batch report and respect ceph.conf config values

3 years agoMerge pull request #42494 from dsavineau/wip-51853-octopus
Guillaume Abrioux [Wed, 11 Aug 2021 14:33:06 +0000 (16:33 +0200)]
Merge pull request #42494 from dsavineau/wip-51853-octopus

octopus: ceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError

3 years agomgr/cephadm: pass --container-init to `cephadm deploy` if specified 42666/head
Tim Serong [Thu, 5 Aug 2021 08:48:57 +0000 (18:48 +1000)]
mgr/cephadm: pass --container-init to `cephadm deploy` if specified

This (sort of) reverts a small part of 442904bf2da, in order to
work correctly with 82d30afc413.  The problem is that the latter
commit sets CONTAINER_INIT=False, which means we need to explicitly
pass --container-init to cephadm if we want that behaviour turned on.
There's a kink though: --container-init is only valid with cephadm's
"adopt", "bootstrap" and "deploy" commands; it's not a global option.
The cephadm mgr module doesn't invoke "adopt" or "bootstrap", only
"deploy", so we're only setting it in that specific case.

Fixes: https://tracker.ceph.com/issues/52064
Signed-off-by: Tim Serong <tserong@suse.com>
3 years agocmake: Replace boost download url 42694/head
Rafał Wądołowski [Fri, 7 May 2021 08:12:43 +0000 (10:12 +0200)]
cmake: Replace boost download url

Boost has moved downloads to JFrog Artifactory
https://www.boost.org/users/news/boost_has_moved_downloads_to_jfr.html

Signed-off-by: Rafał Wądołowski <rwadolowski@cloudferro.com>
(cherry picked from commit c2c6678e488f41277022eaf7a929f7ef845abd5f)

Conflicts:
make-dist: trivial resolution

3 years ago15.2.14 v15.2.14
Jenkins Build Slave User [Thu, 5 Aug 2021 17:11:54 +0000 (17:11 +0000)]
15.2.14

3 years agomonitoring: fix Physical Device Latency unit 42676/head
Seena Fallah [Wed, 7 Jul 2021 12:30:30 +0000 (17:00 +0430)]
monitoring: fix Physical Device Latency unit

Based on the expr it should be seconds

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit feb8f784d23d6fece93a08a156e38b8bf07dde63)

3 years agomonitoring/grafana/cluster: use per-unit max and limit values 42675/head
David Caro [Wed, 16 Jun 2021 08:32:15 +0000 (10:32 +0200)]
monitoring/grafana/cluster: use per-unit max and limit values

The value we get is a perunit, so the limits and the max value should
be over 1, not 100. Note that the value being shown was correct, it
was the gauge that was not showing the correct indicators.

Signed-off-by: David Caro <david@dcaro.es>
(cherry picked from commit c98129803935e720bb068fcf3700812c550f61b4)

3 years agomgr/prometheus: Fix metric types from gauge to counter 42674/head
Patrick Seidensal [Tue, 27 Jul 2021 13:18:46 +0000 (15:18 +0200)]
mgr/prometheus: Fix metric types from gauge to counter

Affected metrics:
- ceph_pool_rd
- ceph_pool_rd_bytes
- ceph_pool_rw
- ceph_pool_rw_bytes

Fixes: https://tracker.ceph.com/issues/51868
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit ede63b2eff23d824425da69ed304049c1c232ffd)

3 years agoqa/tasks/mgr/test_insights: Remove test for persistent checks 42670/head
Brad Hubbard [Tue, 20 Jul 2021 02:58:15 +0000 (12:58 +1000)]
qa/tasks/mgr/test_insights: Remove test for persistent checks

This test makes no sense if we are no longer persisting the store.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 32d1cca2d9b606915c590f52d61856ee401fb4fc)

3 years agopybind/mgr/insights: Don't persist report data
Brad Hubbard [Thu, 22 Apr 2021 04:56:37 +0000 (14:56 +1000)]
pybind/mgr/insights: Don't persist report data

Don't store health reports in rocksdb.

Fixes: https://tracker.ceph.com/issues/48269
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit de66522517edd6f7baf19cc0660478502d3c25e8)

3 years agomgr/tests: Fix typo in function name
Brad Hubbard [Thu, 22 Apr 2021 04:55:42 +0000 (14:55 +1000)]
mgr/tests: Fix typo in function name

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 11268b332f582d658553774f0a9b9662da6c02ef)

3 years agoMerge pull request #42599 from ideepika/wip-fix-symlink
Yuri Weinstein [Wed, 4 Aug 2021 15:08:02 +0000 (08:08 -0700)]
Merge pull request #42599 from ideepika/wip-fix-symlink

octopus: qa/upgrade: drop broken symlink, introduced in octopus only qa

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42618 from neha-ojha/wip-42421-2-octopus
Yuri Weinstein [Wed, 4 Aug 2021 14:18:26 +0000 (07:18 -0700)]
Merge pull request #42618 from neha-ojha/wip-42421-2-octopus

octopus: qa/*/test_envlibrados_for_rocksdb.sh: fix libarchive dependency

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoqa/upgrade: drop broken symlink 42599/head
Deepika Upadhyay [Mon, 2 Aug 2021 21:40:23 +0000 (03:10 +0530)]
qa/upgrade: drop broken symlink

octopus-only: this change was introduced in: c2486c7239f2efff1f87a0c6064ccbf792e90bf0
as a linking unintentional typo while creating symlink, the parent
commit was octopus only hence we don't require it in other branches.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoqa/*/test_envlibrados_for_rocksdb.sh: fix libarchive dependency 42618/head
Neha Ojha [Tue, 3 Aug 2021 20:02:48 +0000 (20:02 +0000)]
qa/*/test_envlibrados_for_rocksdb.sh: fix libarchive dependency

Fixes failures like the following with rhel 8.3 in octopus

```
2021-08-03T17:32:19.328 INFO:tasks.workunit.client.0.smithi148.stdout:No match for argument: libarchive-3.3.3
2021-08-03T17:32:19.338 INFO:tasks.workunit.client.0.smithi148.stderr:Error: Unable to find a match: libarchive-3.3.3
2021-08-03T17:32:19.376 DEBUG:teuthology.orchestra.run:got remote process result: 1
2021-08-03T17:32:19.377 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...
```

Follow-up to https://github.com/ceph/ceph/pull/42421

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #42586 from rhcs-dashboard/wip-51995-octopus
Ernesto Puerta [Tue, 3 Aug 2021 15:56:40 +0000 (17:56 +0200)]
Merge pull request #42586 from rhcs-dashboard/wip-51995-octopus

octopus: mgr/dashboard: cephadm-e2e job script: improvements

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agomgr/dashboard: cephadm-e2e script: improvements 42586/head
Alfonso Martínez [Mon, 2 Aug 2021 12:34:20 +0000 (14:34 +0200)]
mgr/dashboard: cephadm-e2e script: improvements

Improvements and some adaptations related to the jenkins job.

Fixes: https://tracker.ceph.com/issues/51612
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 65b75000b7694cb3cbe617bbec28c513a2522be8)

    Conflicts:
        doc/dev/developer_guide/dash-devel.rst
        - Put changes in HACKING.rst as this file does not exist in the octopus branch.
        src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
        - Resolve conflict originated by code that is deleted anyway.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
3 years agoMerge pull request #42509 from smithfarm/wip-51837-octopus
Yuri Weinstein [Fri, 30 Jul 2021 16:05:41 +0000 (09:05 -0700)]
Merge pull request #42509 from smithfarm/wip-51837-octopus

octopus: rpm: drop use of $FIRST_ARG in ceph-immutable-object-cache

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42412 from votdev/wip-51730-octopus
Yuri Weinstein [Fri, 30 Jul 2021 15:31:09 +0000 (08:31 -0700)]
Merge pull request #42412 from votdev/wip-51730-octopus

octopus: mgr/dashboard: Add configurable MOTD or wall notification

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoMerge pull request #42484 from MrFreezeex/wip-51841-octopus
Yuri Weinstein [Fri, 30 Jul 2021 14:51:13 +0000 (07:51 -0700)]
Merge pull request #42484 from MrFreezeex/wip-51841-octopus

octopus: osd: log snaptrim message to dout

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge PR #42537 into octopus
Patrick Donnelly [Fri, 30 Jul 2021 02:35:13 +0000 (19:35 -0700)]
Merge PR #42537 into octopus

* refs/pull/42537/head:
mon/MDSMonitor: propose if FSMap struct_v is too old
mon/MDSMonitor: give a proper error message if FSMap struct_v is too old
qa: add tests for fs dump of epoch and trimming
qa: add file system support for dumping epoch
mon/MDSMonitor: return mon_mds_force_trim_to even if equal to current epoch
mon: add debugging for trimming methods
mon: fix debug spacing

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agomon/MDSMonitor: propose if FSMap struct_v is too old 42537/head
Patrick Donnelly [Thu, 15 Jul 2021 01:02:20 +0000 (18:02 -0700)]
mon/MDSMonitor: propose if FSMap struct_v is too old

To flush older versions which may still be an empty MDSMap (for clusters
that have never used CephFS), we need to force a proposal so older
versions of the struct are trimmed.

This is the main fix of this branch. We removed code which processed old
encodings of the MDSMap in the mon store via 60bc524. That broke old
ceph clusters which never used CephFS (see cited ticket below).  This is
because the initial epoch is an empty MDSMap (back in Infernalis/Hammer)
that is never updated. So, the fix here is to just do proposals
periodically until all of the old structs are automatically trimmed by
the mons.

Fixes: 60bc524827bac072658203e56b1fa3dede9641c5
Fixes: https://tracker.ceph.com/issues/51673
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 56c3fc802ee8848ba85da4300adcc2ee8bd95416)

Conflicts:
src/mds/FSMap.cc: adjust for octopus which decodes old MDSMaps
src/mon/MDSMonitor.h: trivial conflicts

3 years agomon/MDSMonitor: give a proper error message if FSMap struct_v is too old
Patrick Donnelly [Thu, 15 Jul 2021 01:00:24 +0000 (18:00 -0700)]
mon/MDSMonitor: give a proper error message if FSMap struct_v is too old

Fixes: https://tracker.ceph.com/issues/51673
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 4298f9758138c30e08975a84ced25d81e1fd53b9)

3 years agoqa: add tests for fs dump of epoch and trimming
Patrick Donnelly [Wed, 14 Jul 2021 21:00:09 +0000 (14:00 -0700)]
qa: add tests for fs dump of epoch and trimming

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 5ddaa36d17c875a8ab7a6445f5ab0917d9a2dffd)

Conflicts:
qa/tasks/cephfs/test_admin.py: trivial

3 years agoqa: add file system support for dumping epoch
Patrick Donnelly [Wed, 14 Jul 2021 20:59:48 +0000 (13:59 -0700)]
qa: add file system support for dumping epoch

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ee899d9a44f3ab73c8ebbb82720d89364b9bb600)

3 years agomon/MDSMonitor: return mon_mds_force_trim_to even if equal to current epoch
Patrick Donnelly [Wed, 14 Jul 2021 20:31:21 +0000 (13:31 -0700)]
mon/MDSMonitor: return mon_mds_force_trim_to even if equal to current epoch

The PaxosService code already excludes the value returned by
PaxosService::get_trim_to as the upper bound of the range of epochs to
trim. Without this fix, you need to set mon_mds_force_trim_to to one
greater than the epoch you want to trim _and_ force the current epoch to
be one greater than that; the net result being that you can only force
trimming up to 2 epochs behind the current epoch.

This change is helpful for resolving issue 51673, but not strictly
necessary.

Related-to: https://tracker.ceph.com/issues/51673
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d9dc2f11d56fb4341ba5823f8d17459d10f3b2c1)

Conflicts:
src/common/options/mon.yaml.in: drop doc change

3 years agomon: add debugging for trimming methods
Patrick Donnelly [Wed, 14 Jul 2021 19:04:03 +0000 (12:04 -0700)]
mon: add debugging for trimming methods

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 9297690e9a4158e1ba3a1bdea924e86b586a390c)

Conflicts:
src/mon/PaxosService.cc: trivial operator change

3 years agomon: fix debug spacing
Patrick Donnelly [Wed, 14 Jul 2021 20:23:47 +0000 (13:23 -0700)]
mon: fix debug spacing

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 147c27c033005f311c7fdce0b80b57f2de47674e)

Conflicts:
src/mon/PaxosService.cc: add dout msg

3 years agoceph-volume/tests: retry when destroying osd 42547/head
Guillaume Abrioux [Wed, 28 Jul 2021 14:22:09 +0000 (16:22 +0200)]
ceph-volume/tests: retry when destroying osd

Sometimes, it can happen that the osds being destroyed in those tests
are not yet marked as 'down' for some reason. Let's add some retries on
those tasks to avoid CI failures.

Fixes: https://tracker.ceph.com/issues/51903
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 38882161cc77c913e3f64c786734fd713a951f93)

3 years agoMerge pull request #42374 from ifed01/wip-ifed-bluefs-safer-flush-oct
Yuri Weinstein [Wed, 28 Jul 2021 18:39:44 +0000 (11:39 -0700)]
Merge pull request #42374 from ifed01/wip-ifed-bluefs-safer-flush-oct

octopus: os/bluestore: Remove possibility of replay log and file inconsistency

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #42375 from ifed01/wip-ifed-compact-after-upgrade-oct
Yuri Weinstein [Wed, 28 Jul 2021 18:38:08 +0000 (11:38 -0700)]
Merge pull request #42375 from ifed01/wip-ifed-compact-after-upgrade-oct

octopus: os/bluestore: compact db after bulk omap naming upgrade

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agocephadm: default to quay.io, not docker.io 42533/head
Sage Weil [Wed, 28 Jul 2021 18:19:43 +0000 (14:19 -0400)]
cephadm: default to quay.io, not docker.io

Signed-off-by: Sage Weil <sage@newdream.net>
3 years agoMerge pull request #42478 from tchaikov/octopus-50456
Yuri Weinstein [Wed, 28 Jul 2021 14:58:24 +0000 (07:58 -0700)]
Merge pull request #42478 from tchaikov/octopus-50456

octopus: bind on loopback address if no other addresses are available

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agorpm: drop use of $FIRST_ARG in ceph-immutable-object-cache 42509/head
Nathan Cutler [Thu, 22 Jul 2021 20:52:39 +0000 (22:52 +0200)]
rpm: drop use of $FIRST_ARG in ceph-immutable-object-cache

The use of $FIRST_ARG was probably required because the SUSE-specific
%service_* rpm macros were playing tricks on the shell positional parameters.
This is bad practice and error-prone, so let's assume that no macros should do
that anymore and hence it's safe to assume that positional parameters remain
unchanged after any rpm macro call.

Thanks to Franck Bui for providing the original patch
926433f5d45e557c42f050b43798ba29dc495e02 that this patch is modeled after.

NOTE: the use of FIRST_ARG had already been eliminated by
926433f5d45e557c42f050b43798ba29dc495e02 but was re-introduced later by
9466d7098573dafcfede5e9c852374fbbd99f9e7

Fixes: 9466d7098573dafcfede5e9c852374fbbd99f9e7
Fixes: https://tracker.ceph.com/issues/51797
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 1cb84a1160ed4108cae30100682b1e3ee7c7721d)

3 years agoMerge pull request #42377 from ifed01/wip-ifed-migrate-oct
Yuri Weinstein [Tue, 27 Jul 2021 15:19:15 +0000 (08:19 -0700)]
Merge pull request #42377 from ifed01/wip-ifed-migrate-oct

octopus: ceph-volume: implement bluefs volume migration.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #42368 from trociny/wip-51698-octopus
Yuri Weinstein [Tue, 27 Jul 2021 15:16:12 +0000 (08:16 -0700)]
Merge pull request #42368 from trociny/wip-51698-octopus

octopus: rgw: allow to set ssl options and ciphers for beast frontend

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #40383 from singuliere/wip-49745-octopus
Yuri Weinstein [Tue, 27 Jul 2021 15:14:01 +0000 (08:14 -0700)]
Merge pull request #40383 from singuliere/wip-49745-octopus

octopus: rgw: limit rgw_gc_max_objs to RGW_SHARDS_PRIME_1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #39904 from singuliere/wip-49378-octopus
Yuri Weinstein [Tue, 27 Jul 2021 15:12:01 +0000 (08:12 -0700)]
Merge pull request #39904 from singuliere/wip-49378-octopus

octopus: cmake: build static libs if they are internal ones

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #42440 from smithfarm/wip-51769-octopus
Yuri Weinstein [Tue, 27 Jul 2021 15:07:29 +0000 (08:07 -0700)]
Merge pull request #42440 from smithfarm/wip-51769-octopus

octopus: rpm: three spec file cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoqa/workunits/mon/test_mon_config_key: use subprocess.run() instead of proc.communicate() 42498/head
Kefu Chai [Fri, 16 Apr 2021 04:09:14 +0000 (12:09 +0800)]
qa/workunits/mon/test_mon_config_key: use subprocess.run() instead of proc.communicate()

the loop of proc.communicate() on python3.6, where we always are able to
get something out of stdout and/or stderr PIPEs. and the `stdout` and
`stderr` keep growing until out of memory. and teuthology considers
the command crashed after a while.

Fixes: https://tracker.ceph.com/issues/50393
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f2e0770c276e6fffa01a0bcb2d969f02ee1aafef)

3 years agoceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError 42494/head
Jonas Zeiger [Mon, 5 Jul 2021 12:59:57 +0000 (14:59 +0200)]
ceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError

 * Fixes Bug #51526 ( https://tracker.ceph.com/issues/51526 )

Signed-off-by: Jonas Zeiger <jonas.zeiger@talpidae.net>
(cherry picked from commit d83d4f35863309637c178197d8a59e746678afba)

3 years agoMerge pull request #42491 from dsavineau/wip-51850-octopus
Guillaume Abrioux [Mon, 26 Jul 2021 20:03:59 +0000 (22:03 +0200)]
Merge pull request #42491 from dsavineau/wip-51850-octopus

octopus: ceph-volume/tests: update ansible environment variables in tox

3 years agoMerge pull request #41784 from pponnuvel/wip-51139-octopus
Yuri Weinstein [Mon, 26 Jul 2021 19:16:03 +0000 (12:16 -0700)]
Merge pull request #41784 from pponnuvel/wip-51139-octopus

octopus: rgw: Improve error message on email id reuse

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoceph-volume/tests: use ansible_facts 42491/head
Dimitri Savineau [Thu, 22 Jul 2021 13:58:03 +0000 (09:58 -0400)]
ceph-volume/tests: use ansible_facts

Since inject_facts_as_vars is set to false in the ansible.cfg file then we
have to update the references to use ansible_facts[<thing>] instead of
ansible_<thing>.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 842fc2b605a2321a031a240c4aa4348c1be24e14)