]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/start: update "notify us" section 50770/head
Zac Dover [Wed, 29 Mar 2023 13:47:38 +0000 (23:47 +1000)]
doc/start: update "notify us" section

Rewrite the "Notify Us" section in doc/start/documenting-ceph.rst so
that it is written in English sentences.

(cherry picked from commit 613ece24777c4b222054fe9a6d82ba51949c45ea)
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50788 from zdover23/wip-doc-2023-03-30-backport-50764-to-quincy
zdover23 [Thu, 30 Mar 2023 07:15:22 +0000 (17:15 +1000)]
Merge pull request #50788 from zdover23/wip-doc-2023-03-30-backport-50764-to-quincy

quincy: doc/start: format procedure in documenting-ceph

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: format procedure in documenting-ceph 50788/head
Zac Dover [Thu, 30 Mar 2023 00:54:52 +0000 (10:54 +1000)]
doc/start: format procedure in documenting-ceph

Organize three steps in a procedure into one step with three sub-steps.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6f3cd78f6116f3e19a8f6c5e0ebda816067a334e)

2 years agoMerge pull request #50762 from zdover23/wip-doc-2023-03-30-backport-50744-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 22:31:53 +0000 (18:31 -0400)]
Merge pull request #50762 from zdover23/wip-doc-2023-03-30-backport-50744-to-quincy

quincy: doc/rados: add link to ops/health-checks.rst

2 years agodoc/rados: add link to ops/health-checks.rst 50762/head
Zac Dover [Wed, 29 Mar 2023 14:25:23 +0000 (00:25 +1000)]
doc/rados: add link to ops/health-checks.rst

Add an internal navigation link to
doc/rados/operations/health-checks.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f2f968f65bd1f1a6975fd340c66703cea335dcf6)
(cherry picked from commit 1ddc2b410258449e5d89a415a0494da2b8a79060)

2 years agoMerge pull request #50752 from zdover23/wip-doc-2023-03-30-backport-50750-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 19:33:09 +0000 (15:33 -0400)]
Merge pull request #50752 from zdover23/wip-doc-2023-03-30-backport-50750-to-quincy

quincy: doc/rados/operations: Fix typo in erasure-code.rst

2 years agodoc/rados/operations: Fix typo in erasure-code.rst 50752/head
SAINITHIN.ARTHAM [Wed, 29 Mar 2023 18:16:32 +0000 (23:46 +0530)]
doc/rados/operations: Fix typo in erasure-code.rst

Signed-off-by: Sainithin Artham <sai.artham.19cse@bmu.edu.in>
(cherry picked from commit 3269fea2a209928137e55db16328c581988c048a)

2 years agoMerge pull request #50740 from zdover23/wip-doc-2023-03-29-backport-50723-to-quincy
Anthony D'Atri [Wed, 29 Mar 2023 14:17:09 +0000 (10:17 -0400)]
Merge pull request #50740 from zdover23/wip-doc-2023-03-29-backport-50723-to-quincy

quincy: doc/start: documenting-ceph - add squash procedure

2 years agodoc/start: documenting-ceph - add squash procedure 50740/head
Zac Dover [Tue, 28 Mar 2023 09:29:40 +0000 (19:29 +1000)]
doc/start: documenting-ceph - add squash procedure

Add a procedure to doc/start/documenting-ceph.rst that explains how to
perform an interactive rebase to squash commits.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 71ee225d7b8bf54bd190a8b1f2422c6837601f16)

2 years agoMerge pull request #50708 from zdover23/wip-doc-2023-03-28-backport-49514-to-quincy
Anthony D'Atri [Tue, 28 Mar 2023 12:29:49 +0000 (08:29 -0400)]
Merge pull request #50708 from zdover23/wip-doc-2023-03-28-backport-49514-to-quincy

quincy: doc/glossary: link to CephX Config ref

2 years agodoc/glossary: link to CephX Config ref 50708/head
Zac Dover [Mon, 19 Dec 2022 18:16:19 +0000 (04:16 +1000)]
doc/glossary: link to CephX Config ref

Link to the CephX Configuration Reference in the "CephX" entry in the
glossary.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 36a8f27e969d7103975ebfe312a4be6ae9f281f5)

2 years agoMerge pull request #50702 from zdover23/wip-doc-2023-03-28-backport-50697-to-quincy
Anthony D'Atri [Tue, 28 Mar 2023 02:45:42 +0000 (22:45 -0400)]
Merge pull request #50702 from zdover23/wip-doc-2023-03-28-backport-50697-to-quincy

quincy: doc/glossary: add "Scrubbing"

2 years agodoc/glossary: add "Scrubbing" 50702/head
Zac Dover [Mon, 27 Mar 2023 20:48:32 +0000 (06:48 +1000)]
doc/glossary: add "Scrubbing"

Add "Scrubbing" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4a66819da48cee430ca74830e1a6f63685b6b240)

2 years agoMerge pull request #50678 from zdover23/wip-doc-2023-03-27-backport-50675-to-quincy
Anthony D'Atri [Sun, 26 Mar 2023 19:32:56 +0000 (15:32 -0400)]
Merge pull request #50678 from zdover23/wip-doc-2023-03-27-backport-50675-to-quincy

quincy: doc/rados: clean up ops/bluestore-migration.rst

2 years agodoc/rados: clean up ops/bluestore-migration.rst 50678/head
Zac Dover [Sun, 26 Mar 2023 15:03:58 +0000 (01:03 +1000)]
doc/rados: clean up ops/bluestore-migration.rst

Clean up internal links, fix the numbering of a procedure, and implement
Anthony D'Atri's suggestions in
https://github.com/ceph/ceph/pull/50487 and
https://github.com/ceph/ceph/pull/50488.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b28be76d0f9a5d78943fe3c583a234d0b50356f1)

2 years agoMerge pull request #50672 from zdover23/wip-doc-2023-03-26-backport-50654-to-quincy
colemitchell [Sat, 25 Mar 2023 19:56:07 +0000 (15:56 -0400)]
Merge pull request #50672 from zdover23/wip-doc-2023-03-26-backport-50654-to-quincy

quincy: doc/glossary: add "User"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/glossary: add "User" 50672/head
Zac Dover [Fri, 24 Mar 2023 10:56:51 +0000 (20:56 +1000)]
doc/glossary: add "User"

Add "User" to glossary.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit fd6bfaf3fe6337511dd7ab344c2936f22a5d43bf)

2 years agoMerge pull request #50662 from zdover23/wip-doc-2023-03-25-backport-50660-to-quincy
Anthony D'Atri [Fri, 24 Mar 2023 18:51:58 +0000 (14:51 -0400)]
Merge pull request #50662 from zdover23/wip-doc-2023-03-25-backport-50660-to-quincy

quincy: doc/operations: fix prompt in bluestore-migration

2 years agodoc/operations: fix prompt in bluestore-migration 50662/head
Zac Dover [Fri, 24 Mar 2023 17:47:10 +0000 (03:47 +1000)]
doc/operations: fix prompt in bluestore-migration

Fix a single prompt in bluestore-migration.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 5e54641aec134188c8001e212ea66c1a15d5945c)

2 years agoMerge pull request #50625 from cbodley/wip-58276
Yuri Weinstein [Thu, 23 Mar 2023 17:27:53 +0000 (10:27 -0700)]
Merge pull request #50625 from cbodley/wip-58276

quincy: rgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50575 from rzarzynski/wip-59101-quincy
Laura Flores [Thu, 23 Mar 2023 16:32:56 +0000 (11:32 -0500)]
Merge pull request #50575 from rzarzynski/wip-59101-quincy

quincy: msg/async: don't abort when public addrs mismatch bind addrs

2 years agoMerge pull request #50641 from zdover23/wip-doc-2023-03-23-backport-50634-to-quincy
zdover23 [Thu, 23 Mar 2023 14:33:51 +0000 (00:33 +1000)]
Merge pull request #50641 from zdover23/wip-doc-2023-03-23-backport-50634-to-quincy

quincy: doc/rados: edit user-management.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit user-management.rst (1 of x) 50641/head
Zac Dover [Thu, 23 Mar 2023 02:21:06 +0000 (12:21 +1000)]
doc/rados: edit user-management.rst (1 of x)

Edit doc/rados/operations/user-management.rst. (1 of x)

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 3f90958909815a287279eccb22193ba5d67cfc1d)

2 years agoMerge pull request #50608 from rhcs-dashboard/wip-58743-quincy
Nizamudeen A [Thu, 23 Mar 2023 09:43:16 +0000 (15:13 +0530)]
Merge pull request #50608 from rhcs-dashboard/wip-58743-quincy

quincy: mgr/dashboard: Landing page v3

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: bryanmontalvan <NOT@FOUND>
2 years agorgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:' 50625/head
Casey Bodley [Tue, 22 Nov 2022 18:36:40 +0000 (13:36 -0500)]
rgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:'

fail with ERR_INVALID_BUCKET_NAME if rgw_parse_url_bucket() finds a
'tenant:' but empty bucket name

Fixes: https://tracker.ceph.com/issues/58111
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8f8bb1d2b743a2681d40cd8f25dedd0f221b49c7)

Conflicts:
src/rgw/rgw_bucket.cc: renamed to driver/rados/rgw_bucket

2 years agomsg/async: don't abort when public addrs mismatch bind addrs 50575/head
Radosław Zarzyński [Thu, 16 Mar 2023 17:05:17 +0000 (18:05 +0100)]
msg/async: don't abort when public addrs mismatch bind addrs

Before the 69b47c805fdd2ecd4f58547d58c9f019fc62d447 (PR #50153)
a mismatch (in number or types of stored `entity_addr_t`) between
public addrs and bind addrs vectors was ignored and the former
was taking over anything else -- it was possible to e.g. bind to
both v1 and v2 addresses but expose v2 only. Unfortunately, that's
exactly how Rook configures ceph-mon:

```
debug 2023-03-16T21:01:48.389+0000 7f99822bf8c0  0 starting mon.a rank 0 at public addrs v2:172.30.122.144:3300/0 at bind addrs [v2:10.129.2.21:3300/0,v1:10.129.2.21:6789/0] mon_data /var/lib/ceph/mon/ceph-a fsid acc14d1b-fb2b-4f01-8b61-6e7cb26e9200
```

The consequnece is the following abort:

```
ceph version 17.2.5-1338.el9cp (5adce3015143c7c2cc135a71368be194744f5761) quincy (stable)
1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xd3) [0x7ff05392c1a6]
2: /usr/lib64/ceph/libceph-common.so.2(+0x165ac1) [0x7ff05394eac1]
3: (AsyncMessenger::bindv(entity_addrvec_t const&, std::optional<entity_addrvec_t>)+0x1fe) [0x7ff053baa0ce]
4: main()
5: /lib64/libc.so.6(+0x3feb0) [0x7ff053048eb0]
6: __libc_start_main()
7: _start()
debug *** Caught signal (Aborted) **  in thread 7ff052ab18c0 thread_name:ceph-mon 2023-03-16T09:56:35.995+0000 7ff052ab18c0 -1 /builddir/build/BUILD/ceph-17.2.5-1338-g484e8dbb/src/msg/msg_types.h: In function 'void entity_addr_t::set_port(int)' thread 7ff052ab18c0 time 2023-03-16T09:56:35.996339+0000 /builddir/build/BUILD/ceph-17.2.5-1338-g484e8dbb/src/msg/msg_types.h: 359: ceph_abort_msg("abort() called")
```

This commit brings the original logic back but in a way that
preserves the port numbers figured out by. e.g. `Processor::bind`.

Fixes: https://tracker.ceph.com/issues/59100
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 68fbdcf9b0937e8102b86d0bf84815554b62328d)

2 years agoMerge pull request #50619 from zdover23/wip-doc-2023-03-22-backport-50606-to-quincy
Anthony D'Atri [Wed, 22 Mar 2023 03:33:37 +0000 (23:33 -0400)]
Merge pull request #50619 from zdover23/wip-doc-2023-03-22-backport-50606-to-quincy

quincy: doc/rados: line-edit erasure-code.rst

2 years agodoc/rados: line-edit erasure-code.rst 50619/head
Zac Dover [Tue, 21 Mar 2023 12:27:15 +0000 (22:27 +1000)]
doc/rados: line-edit erasure-code.rst

Line-edit doc/rados/operations/erasure-code.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2ff9965e02756636f8d33fd96b7c909f2fca7414)

2 years agomgr/dashboard: add button toggle to switch between new and old landing page 50608/head
Pedro Gonzalez Gomez [Tue, 14 Feb 2023 10:21:57 +0000 (11:21 +0100)]
mgr/dashboard: add button toggle to switch between new and old landing page

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 21dc93ae11db02bc8e0a2175f21fa7dd5e423b00)

2 years agomgr/dashboard: improve the logic on the alert viewer
Nizamudeen A [Wed, 22 Feb 2023 16:52:56 +0000 (22:22 +0530)]
mgr/dashboard: improve the logic on the alert viewer

only fetch the alerts when you toggle the alert viewer. don't fetch it
every 5 second cause its going to cause a heavy toll on the api.

Fixes: https://tracker.ceph.com/issues/58867
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 6cb0679aaf28b5f128ca3cae5f962cac50d084af)
(cherry picked from commit 32a7d2c8ba2aff76f130a3a1c4fb13e810a53e12)

2 years agomgr/dashboard: fix prometheus api error on landing page v3
Nizamudeen A [Wed, 22 Feb 2023 07:33:34 +0000 (13:03 +0530)]
mgr/dashboard: fix prometheus api error on landing page v3

When no prometheus is configured in the cluster, it gives out error
while polling to the prometheus endpoint. so a proper check needs to be
added there.

Also some improvements to the exisiting behaviour

Fixes: https://tracker.ceph.com/issues/58867
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 2d80e57dd4a60cbf52074d982ba3ebd4471a14ca)
(cherry picked from commit 0c6ab8be77890ab73cd86970c20269f8444e6acd)

2 years agomgr/dashboard: dashboard-v3: cluster-utilization card
Pedro Gonzalez Gomez [Tue, 11 Oct 2022 17:43:34 +0000 (19:43 +0200)]
mgr/dashboard: dashboard-v3: cluster-utilization card

mgr/dashboard: some improvements

mgr/dashboard: updated promqls and improved tooltips

mgr/dashboard: some fixes and improvements

mgr/dashboard: added square box plugin and improved/fixed code

mgr/dashboard: added maxValue option for graphs and added tooltips to text

mgr/dashboard: removed unnecessary variables

mgr/dashboard: fix openapi

tracker: https://tracker.ceph.com/issues/57863
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 7f7996fa55199ce0062612e89fc441467337e8c9)

2 years agomgr/dashboard: dashboard-v3: inventory card
bryanmontalvan [Wed, 10 Aug 2022 18:22:02 +0000 (14:22 -0400)]
mgr/dashboard: dashboard-v3: inventory card

This commit starts the inventory-card which is one of the cards which
will be located in the landing-page revamp

tracker: https://tracker.ceph.com/issues/58065
Signed-off-by: bryanmontalvan <bmontalv@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit c63523119dee6cc82ffae5162f2270ac7d06d02f)

2 years agomgr/dashboard: dashboard-v3: status card
bryanmontalvan [Wed, 3 Aug 2022 01:39:05 +0000 (21:39 -0400)]
mgr/dashboard: dashboard-v3: status card

This commit is the bare-bones work of the status card. The only logic
written in this commit is the Cluster health status icon.

tracker: https://tracker.ceph.com/issues/58728
Signed-off-by: bryanmontalvan <bmontalv@redhat.com>
mgr/dashboard: introduce active alerts to status cards

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 79439213b510238a0d9d17ede423e05951a911a4)

2 years agoxmgr/dashboard: dashboard-v3: capacity card
Pedro Gonzalez Gomez [Mon, 1 Aug 2022 20:17:29 +0000 (22:17 +0200)]
xmgr/dashboard: dashboard-v3: capacity card

tracker: https://tracker.ceph.com/issues/57862
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: fix openapi tox error

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: capacity-card set interval and display bytes used

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: Landing Page v3

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 95e20d27b3d0e861ff572481e9426f09e386c6d8)

2 years agomgr/dashboard: dashboard-v3: details card
Pedro Gonzalez Gomez [Mon, 25 Jul 2022 19:50:47 +0000 (21:50 +0200)]
mgr/dashboard: dashboard-v3: details card

mgr/dashboard: added interface, changed html table to list, using mgrModuleService now

tracker: https://tracker.ceph.com/issues/58731
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit cc93d5308002c21efae155cf97b6bddd73f9db17)

2 years agomgr/dashboard: dashboard-v3: landing-page revamp
bryanmontalvan [Thu, 7 Jul 2022 16:36:15 +0000 (12:36 -0400)]
mgr/dashboard: dashboard-v3: landing-page revamp

This commit add the following
- A new dashboard component, which will exist in parallel with in the
  current landing-page
- Created a route for this dashboard `/dashboard_3`
- Created a bare-bones bootstrap grid with mock-up card components

Signed-off-by: bryanmontalvan <bmontalv@redhat.com>
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: changes to first layout

CHANGES:

 - Renamed dashboardcomponents

 - Removed unnecesary styling

 - Added unit tests

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Moved router.url logic inside html template

This commit removes the `this.router.url` logic which was located in the
`workbench-layout.component.ts` file and moved it into the HTML template
section.

Signed-off-by: bryanmontalvan <bmontalv@redhat.com>
mgr/dashboard: syntax changes from bootstrap 4 to 5

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: small fixes and improvements over all cards and layout

- all cards placed evenly with the same height
- increased font size on details card and adjusted margin
- changed capacity card legend to: "Used"
- adjusted cluster utilization card margins and increased graphs height
- improved status card toggle
- changed orchestror to orchestrator
- switched IPS/OPS graph colors

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
mgr/dashboard: added recovery throghput graph, improve promqls, fix inventory's card lines

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 6fbc9ae01a892f5ce34e7bbf409361fe45641f47)

2 years agoMerge pull request #50590 from zdover23/wip-doc-2023-03-20-backport-50488-to-quincy
Anthony D'Atri [Mon, 20 Mar 2023 04:47:53 +0000 (00:47 -0400)]
Merge pull request #50590 from zdover23/wip-doc-2023-03-20-backport-50488-to-quincy

quincy: doc/rados: edit operations/bs-migration (2 of x)

2 years agoMerge pull request #50587 from zdover23/wip-doc-2023-03-20-backport-50487-to-quincy
Anthony D'Atri [Mon, 20 Mar 2023 04:45:51 +0000 (00:45 -0400)]
Merge pull request #50587 from zdover23/wip-doc-2023-03-20-backport-50487-to-quincy

quincy: doc/rados: edit operations/bs-migration (1 of x)

2 years agodoc/rados: edit operations/bs-migration (2 of x) 50590/head
Zac Dover [Sun, 12 Mar 2023 01:17:03 +0000 (11:17 +1000)]
doc/rados: edit operations/bs-migration (2 of x)

Disambiguate and improve the English language in
doc/rados/operations/bluestore-migration.rst up to but not including the
section called "Whole Host Replacement".

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ca803a24c64059023733e21d755edb9c6c973ecf)

2 years agodoc/rados: edit operations/bs-migration (1 of x) 50587/head
Zac Dover [Sun, 12 Mar 2023 01:17:03 +0000 (11:17 +1000)]
doc/rados: edit operations/bs-migration (1 of x)

Disambiguate and improve the English language in
doc/rados/operations/bluestore-migration.rst up to but not including the
section called "Whole Host Replacement".

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 96166b463b1f8800e59f80faebfba1208248725e)

2 years agoMerge pull request #50582 from zdover23/wip-doc-2023-03-19-backport-50579-to-quincy
Anthony D'Atri [Sun, 19 Mar 2023 12:35:50 +0000 (08:35 -0400)]
Merge pull request #50582 from zdover23/wip-doc-2023-03-19-backport-50579-to-quincy

quincy: doc/rados: line edit mon-lookup-dns top matter

2 years agodoc/rados: line edit mon-lookup-dns top matter 50582/head
Zac Dover [Sat, 18 Mar 2023 05:27:54 +0000 (15:27 +1000)]
doc/rados: line edit mon-lookup-dns top matter

Improve the syntax of the top matter of
doc/rados/operations/mon-lookup-dns.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ed5919964bd914c118f556baf3c517e5e35df277)

2 years agoMerge pull request #50505 from ifed01/wip-ifed-report-min-alloc-size-qui
Yuri Weinstein [Fri, 17 Mar 2023 16:08:01 +0000 (09:08 -0700)]
Merge pull request #50505 from ifed01/wip-ifed-report-min-alloc-size-qui

quincy: os/bluestore: report min_alloc_size through "ceph osd metadata"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #50319 from ifed01/wip-ifed-log-before-assert-in-avl-qui
Yuri Weinstein [Fri, 17 Mar 2023 16:06:44 +0000 (09:06 -0700)]
Merge pull request #50319 from ifed01/wip-ifed-log-before-assert-in-avl-qui

quincy: os/bluestore: log before assert in AvlAllocator

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50566 from zdover23/wip-doc-2023-03-17-backport-50563-to-quincy
zdover23 [Fri, 17 Mar 2023 14:25:04 +0000 (00:25 +1000)]
Merge pull request #50566 from zdover23/wip-doc-2023-03-17-backport-50563-to-quincy

quincy: doc/rados: line-edit upmap.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados: line-edit upmap.rst 50566/head
Zac Dover [Thu, 16 Mar 2023 17:41:08 +0000 (03:41 +1000)]
doc/rados: line-edit upmap.rst

Edit all of doc/rados/upmap.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a4a681846499c8d0041a6632e7e31fa83e22ed0e)

2 years agoMerge pull request #50485 from cbodley/wip-58955
Yuri Weinstein [Thu, 16 Mar 2023 22:24:27 +0000 (15:24 -0700)]
Merge pull request #50485 from cbodley/wip-58955

quincy: rgw/admin: 'bucket stats' displays non-empty time

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #50526 from epuertat/wip-59051-quincy
Ernesto Puerta [Tue, 14 Mar 2023 20:17:27 +0000 (21:17 +0100)]
Merge pull request #50526 from epuertat/wip-59051-quincy

quincy: mgr/dashboard: force TLS 1.3

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50474 from rzarzynski/wip-aclamk-harmonize-bluefs-log-quincy
Yuri Weinstein [Tue, 14 Mar 2023 16:33:56 +0000 (09:33 -0700)]
Merge pull request #50474 from rzarzynski/wip-aclamk-harmonize-bluefs-log-quincy

quincy: os/bluestore: BlueFS: harmonize log read and writes modes

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agomgr/dashboard: force TLS 1.3 50526/head
Ernesto Puerta [Mon, 13 Mar 2023 10:03:37 +0000 (11:03 +0100)]
mgr/dashboard: force TLS 1.3

Fixes: https://tracker.ceph.com/issues/58942
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit cd8946631b222dfff1727083d75dfe2dd825d1a4)

2 years agoos/bluestore: report min_alloc_size through "ceph osd metadata" 50505/head
Igor Fedotov [Wed, 1 Feb 2023 10:18:29 +0000 (13:18 +0300)]
os/bluestore: report min_alloc_size through "ceph osd metadata"

Fixes: https://tracker.ceph.com/issues/58421
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit b0df6945d0f4371849026ddcce0537ca4a33bb6f)

2 years agoMerge pull request #50444 from adk3798/wip-58709-quincy
Adam King [Mon, 13 Mar 2023 14:29:44 +0000 (10:29 -0400)]
Merge pull request #50444 from adk3798/wip-58709-quincy

quincy: Add per OSD crush_device_class definition
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50448 from adk3798/wip-58883-quincy
Adam King [Mon, 13 Mar 2023 14:14:30 +0000 (10:14 -0400)]
Merge pull request #50448 from adk3798/wip-58883-quincy

quincy: cephadm: set pids-limit unlimited for all ceph daemons

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #49930 from adk3798/wip-58198-quincy
Adam King [Mon, 13 Mar 2023 11:14:48 +0000 (07:14 -0400)]
Merge pull request #49930 from adk3798/wip-58198-quincy

quincy: mgr/prometheus: fix module crash when trying to collect OSDs metrics

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50170 from trociny/wip-58774-quincy
Adam King [Mon, 13 Mar 2023 11:12:34 +0000 (07:12 -0400)]
Merge pull request #50170 from trociny/wip-58774-quincy

quincy: mgr/cephadm: try to avoid pull when getting container image info

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50370 from guits/wip-58910-quincy
Adam King [Mon, 13 Mar 2023 11:09:50 +0000 (07:09 -0400)]
Merge pull request #50370 from guits/wip-58910-quincy

quincy: drive_group: fix limit filter in drive_selection.selector

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50445 from adk3798/wip-58761-quincy
Adam King [Mon, 13 Mar 2023 11:06:46 +0000 (07:06 -0400)]
Merge pull request #50445 from adk3798/wip-58761-quincy

quincy: cephadm: using short hostname to create the initial mon and mgr

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50451 from rhcs-dashboard/wip-58720-quincy
Nizamudeen A [Mon, 13 Mar 2023 05:14:37 +0000 (10:44 +0530)]
Merge pull request #50451 from rhcs-dashboard/wip-58720-quincy

quincy: mgr/dashboard: move service_instances logic to backend

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50353 from ceph/wip-yuri-quincy-reef-quincy
Yuri Weinstein [Sun, 12 Mar 2023 18:39:14 +0000 (11:39 -0700)]
Merge pull request #50353 from ceph/wip-yuri-quincy-reef-quincy

qa/tests: added quincy client upgrade => reef

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agorgw/admin: 'bucket stats' displays non-empty mtime 50485/head
Casey Bodley [Tue, 7 Mar 2023 22:49:44 +0000 (17:49 -0500)]
rgw/admin: 'bucket stats' displays non-empty mtime

Fixes: https://tracker.ceph.com/issues/58932
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit e9720ddbe9ae033e14c2f3def51a06a4e204d4c8)

Conflicts:
src/rgw/driver/rados/rgw_bucket.cc -> src/rgw/rgw_bucket.cc

2 years agoMerge pull request #50453 from zdover23/wip-doc-2023-03-09-backport-50439-to-quincy
zdover23 [Sat, 11 Mar 2023 04:22:17 +0000 (14:22 +1000)]
Merge pull request #50453 from zdover23/wip-doc-2023-03-09-backport-50439-to-quincy

quincy: doc/rados/operations: Improve wording, capitalization, formatting

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50477 from zdover23/wip-doc-2023-03-11-backport-50470-to-quincy
Anthony D'Atri [Fri, 10 Mar 2023 21:35:32 +0000 (16:35 -0500)]
Merge pull request #50477 from zdover23/wip-doc-2023-03-11-backport-50470-to-quincy

quincy: doc/index: remove "uniquely" from landing page

2 years agodoc/index: remove "uniquely" from landing page 50477/head
Zac Dover [Fri, 10 Mar 2023 10:35:18 +0000 (20:35 +1000)]
doc/index: remove "uniquely" from landing page

Change "Ceph uniquely delivers[...]" to "Ceph delivers[...]"

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6e5be7ad66aa76cb798c52c87e34f8fe079cda5c)

2 years agoMerge pull request #50446 from adk3798/wip-58776-quincy
Adam King [Fri, 10 Mar 2023 19:07:13 +0000 (14:07 -0500)]
Merge pull request #50446 from adk3798/wip-58776-quincy

quincy: mgr/cephadm: fix backends service in haproxy config with multiple nfs of same rank

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50447 from adk3798/wip-58778-quincy
Adam King [Fri, 10 Mar 2023 19:04:02 +0000 (14:04 -0500)]
Merge pull request #50447 from adk3798/wip-58778-quincy

quincy: cephadm: Adding poststop actions and setting TimeoutStartSec to 200s

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50327 from Matan-B/wip-matanb-quincy-check-pg-num
Laura Flores [Fri, 10 Mar 2023 16:39:33 +0000 (10:39 -0600)]
Merge pull request #50327 from Matan-B/wip-matanb-quincy-check-pg-num

quincy: mon/OSDMointor: Simplify check_pg_num()

2 years agoos/bluestore: BlueFS: harmonize log read and writes modes 50474/head
Adam Kupczyk [Fri, 10 Mar 2023 07:53:27 +0000 (08:53 +0100)]
os/bluestore: BlueFS: harmonize log read and writes modes

BlueFS log has always been written in non-buffered mode.
Reading of it depends on bluefs_buffered_io option.
It is strongly suspected that this causes some wierd problems.

Possibly fixes: https://tracker.ceph.com/issues/54019

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 80e9c5d1c328448f0ef2a836c8a312296e6f49d7)

2 years agomgr/cephadm: fix haproxy nfs backend server ip gathering 50446/head
Adam King [Sun, 15 Jan 2023 22:18:47 +0000 (17:18 -0500)]
mgr/cephadm: fix haproxy nfs backend server ip gathering

Fixes: https://tracker.ceph.com/issues/58465
Previously, if there were 2 nfs daemons of the same
rank, we could not check the rank generation, which
is intended to mark which one is the "real" on of that
rank in cases where we cannot remove the other one due
to its host being offline. The nfs of a given rank with
the highest rank_generation is the one we want haproxy
to use for its backend IP. Since we didn't actually
check this, it was random, depending on what order we
happened to iterate over the nfs daemons of the same
rank, which IP we actually got. If the nfs with the
lower rank_generation on an offline host happened
to come later in the iterations, we'd use that one
for the IP, which is incorrect.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e0dd6cac0229e75feb85b10bb31a70e4638733cc)

Conflicts:
src/pybind/mgr/cephadm/tests/test_services.py

2 years agomgr/cephadm: don't attempt daemon actions for daemons on offline hosts
Adam King [Sun, 15 Jan 2023 21:30:53 +0000 (16:30 -0500)]
mgr/cephadm: don't attempt daemon actions for daemons on offline hosts

They'll just fail anyway, and it will waste time waiting
for the connection to timeout. We have other places in
the serve loop that will check if the host is back
online.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e1d3e38f87bce4e53eb7e4c29c812a7ed750fa80)

2 years agodoc/rados/operations: Improve wording, capitalization, formatting 50453/head
Anthony D'Atri [Wed, 8 Mar 2023 12:29:55 +0000 (07:29 -0500)]
doc/rados/operations: Improve wording, capitalization, formatting

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 5f2060c0829992b31a0d17e23d7b1d2fb2280ac0)

2 years agoMerge pull request #50407 from rzarzynski/wip-57696-quincy
Yuri Weinstein [Thu, 9 Mar 2023 23:11:43 +0000 (15:11 -0800)]
Merge pull request #50407 from rzarzynski/wip-57696-quincy

quincy: mon/LogMonitor: Fix log last

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #50406 from rzarzynski/wip-58169-quincy
Yuri Weinstein [Thu, 9 Mar 2023 22:49:04 +0000 (14:49 -0800)]
Merge pull request #50406 from rzarzynski/wip-58169-quincy

quincy: src/crush: extra logging to debug CPU burn in test_with_fork()

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2 years agoMerge pull request #50405 from rzarzynski/wip-58334-quincy
Yuri Weinstein [Thu, 9 Mar 2023 22:47:41 +0000 (14:47 -0800)]
Merge pull request #50405 from rzarzynski/wip-58334-quincy

quincy: osd: mds: suggest clock skew when failing to obtain rotating service keys

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2 years agoMerge pull request #49989 from pdvian/wip-58639-quincy
Yuri Weinstein [Thu, 9 Mar 2023 22:46:07 +0000 (14:46 -0800)]
Merge pull request #49989 from pdvian/wip-58639-quincy

quincy: mon: Fix condition to check for ceph version mismatch

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #47927 from rzarzynski/wip-55543-quincy
Yuri Weinstein [Thu, 9 Mar 2023 22:44:38 +0000 (14:44 -0800)]
Merge pull request #47927 from rzarzynski/wip-55543-quincy

quincy: cmake: re-enable TCMalloc and allocator related cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2 years agoMerge pull request #50388 from zdover23/wip-doc-2023-03-06-backport-50386-to-quincy
zdover23 [Thu, 9 Mar 2023 19:58:19 +0000 (05:58 +1000)]
Merge pull request #50388 from zdover23/wip-doc-2023-03-06-backport-50386-to-quincy

quincy: doc/rgw - fix grammar in table in s3.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50125 from rhcs-dashboard/wip-58729-quincy
Nizamudeen A [Thu, 9 Mar 2023 16:59:02 +0000 (22:29 +0530)]
Merge pull request #50125 from rhcs-dashboard/wip-58729-quincy

quincy: mgr/dashboard: fix rbd mirroring daemon health status

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: siddharthchanana9 <NOT@FOUND>
2 years agoMerge pull request #50450 from rhcs-dashboard/wip-57483-quincy
Nizamudeen A [Thu, 9 Mar 2023 16:53:56 +0000 (22:23 +0530)]
Merge pull request #50450 from rhcs-dashboard/wip-57483-quincy

quincy: mgr/dashboard: cephadm dashboard e2e fixes

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50459 from rhcs-dashboard/custom-image-kcli-bootstrap-quincy
Nizamudeen A [Thu, 9 Mar 2023 15:42:45 +0000 (21:12 +0530)]
Merge pull request #50459 from rhcs-dashboard/custom-image-kcli-bootstrap-quincy

quincy: mgr/dashboard: custom image for kcli bootstrap script

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agomgr/dashboard: custom image for kcli bootstrap script 50459/head
Nizamudeen A [Thu, 9 Mar 2023 11:51:44 +0000 (17:21 +0530)]
mgr/dashboard: custom image for kcli bootstrap script

the stable branches like quincy pulls from the quay.io/ceph/ceph:v17 to
bootstrap the ceph cluster in test environments. This will cause issues
because the branches are changing constantly but the image is not. So
using the quay.ceph.io repo to bring the cluster in test environment.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit be8f1e7f4a81dbf04692446edcc429d93d59e09d)

 Conflicts:
src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
  - Reject the incoming changes and change the image tag to quincy

2 years agoosd/OSDMapping: Remove get_num_acting_pgs 50327/head
Matan Breizman [Tue, 20 Dec 2022 15:36:51 +0000 (15:36 +0000)]
osd/OSDMapping: Remove get_num_acting_pgs

Introduced here: bd9813f5e1a3addca1a57360d58b50b120e0e5f3
As check_pg_num() is changed, this method is no longer needed.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 0816eb98dba42af57681d361f5244594ef2f53dc)

2 years agomon/OSDMonitor: Skip check_pg_num on pool size decrease
Matan Breizman [Thu, 15 Dec 2022 17:05:15 +0000 (17:05 +0000)]
mon/OSDMonitor: Skip check_pg_num on pool size decrease

When changing the pool size we use check_pg_num to not exceed
`mon_max_pg_per_osd` value. This check should only be applied
when increasing the size to avoid underflows.
(Same already applied when changing pg_num)

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit a7c09bb82cc7749b05a0f60477c9407a177086d1)

2 years agomon/OSDMointor: Simplify check_pg_num()
Matan Breizman [Mon, 19 Dec 2022 09:58:06 +0000 (09:58 +0000)]
mon/OSDMointor: Simplify check_pg_num()

* See: https://tracker.ceph.com/issues/47062.
  Originally check_pg_num did not take into account the root
  osds by the crash rule.
  This behavior resulted in an inaccurate pg num per osd count.

* Avoid summing all of the projecetd pg num and only later
  on subtracting the pg num if the pool did exist.

* With this change, we only count the projected pg num which
  are part the pools affected by the crush rule.
  Same for osd number, instead of dividing the projected
  pg number by all of the osdmap osds, divide only by
  the osds used by the crush rule.

* Avoid differentiating between whether the mapping epoch
  is later than the osdmap epoch or not. Always check the pg
  num according to crush rule.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit c6e4c174cb9d906537d78ff3980930439ace86da)

*****
Note: The following commit has been squashed to comply with Q:
*****
mon/OSDMonitor: Replace set::contains with set::count

std::set::contains is available since C++20 and is replaced by
std::set::count instead (unlike the original commit).

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agosrc/mon: clarify pool creation failure due to max_pgs_per_osd error message
Anthony D'Atri [Thu, 1 Dec 2022 19:04:30 +0000 (14:04 -0500)]
src/mon: clarify pool creation failure due to max_pgs_per_osd error message

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
Note: This commit is cherry-picked as a dependency
      for later commits in this backport.
(cherry picked from commit 88e8eeca7571fc314bc30a52cd17218fa9fac500)

2 years agomon/OSDMonitor: fix integer underflow of check_pg_num
Tongliang Deng [Fri, 31 Dec 2021 06:02:25 +0000 (14:02 +0800)]
mon/OSDMonitor: fix integer underflow of check_pg_num

Underflow of the `uint64_t projected` variable occurs when
the sum of current acting pg num and new pg num we specified
is less than the pg num calculated from pg info.

Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
Note: This commit is cherry-picked as a dependency
      for later commits in this backport.
(cherry picked from commit bd9813f5e1a3addca1a57360d58b50b120e0e5f3)

2 years agomon/OSDMonitor: Make the pg_num check more accurate
jerryluo [Mon, 25 Jan 2021 16:10:57 +0000 (00:10 +0800)]
mon/OSDMonitor: Make the pg_num check more accurate

In check_pg_num function, finding the corresponding osd according to the
current pool's crush rule, and calculating whether the average value of
pg_num on these osd will exceed the value of 'mon_max_pg_per_osd'. Make
the pg_num check more accurate by counting all the pgs on the osd used
by the new pool.

Fixes: https://tracker.ceph.com/issues/47062
Signed-off-by: Jerry Luo <luojierui@chinatelecom.cn>
Note: This commit has been reverted and is cherry-picked as
      dependency for other commits in this backport.
(cherry picked from commit c726ce9e5088b30d29e0db5c0ecc8c03fe41da1d)

2 years agomgr/dashboard: move service_instances logic to backend 50451/head
Nizamudeen A [Fri, 20 Jan 2023 10:28:12 +0000 (15:58 +0530)]
mgr/dashboard: move service_instances logic to backend

Fixes: https://tracker.ceph.com/issues/58504
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit bf724b505ed9733329d8dea645859a0ebee22f1b)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html
  - Accept the incoming changes

2 years agomgr/dashboard: ignore the rules 400 error in dashboard kcli e2e 50450/head
Nizamudeen A [Tue, 14 Feb 2023 15:34:26 +0000 (21:04 +0530)]
mgr/dashboard: ignore the rules 400 error in dashboard kcli e2e

Fixes: https://tracker.ceph.com/issues/58722
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a9634e902afcd2deda490df08080686d4dc110e0)

2 years agomgr/dashboard: cephadm dashboard e2e fixes
Nizamudeen A [Thu, 12 Jan 2023 05:54:56 +0000 (11:24 +0530)]
mgr/dashboard: cephadm dashboard e2e fixes

Fixes: https://tracker.ceph.com/issues/58406
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit fe8d757e135dc26a22077ab73ba1540ae5eb9ca6)

2 years agomgr/dashboard: fix Cannot read properties of undefined (reading 'filter')
Nizamudeen A [Sun, 4 Sep 2022 05:52:45 +0000 (11:22 +0530)]
mgr/dashboard: fix Cannot read properties of undefined (reading 'filter')

Fixes: https://tracker.ceph.com/issues/57434
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a3f601b5e7a4f90712a5fc3e6807c67f2b3ed061)

2 years agoqa/distros: pass --allowerasing --nobest when installing container-tools 50448/head
Adam King [Thu, 16 Feb 2023 17:34:06 +0000 (12:34 -0500)]
qa/distros: pass --allowerasing --nobest when installing container-tools

One of the tests in the orch suite is running distro install
commands from multiple distros, causing it to first install
container-tools 3.0 and then later install container-tools,
which fails, causing the test to fail. This is sort of a bandaid
fix to getthe test to work. It will cause whatever the last
version of the package to be installed to end up being installed
(and will do so without error) which is what we want in the tests.

Fixes: https://tracker.ceph.com/issues/57771
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 3011d954986e38ae8f7c9cd027ef2a88dff9a3d8)

2 years agocephadm: set pids-limit unlimited for all ceph daemons
Adam King [Sun, 12 Feb 2023 20:28:10 +0000 (15:28 -0500)]
cephadm: set pids-limit unlimited for all ceph daemons

We actually had this setup before, but ran into issues.
Some teuthology test had failed in the fs suite, so it was
modified to only affect iscsi and rgw daemons (https://github.com/ceph/ceph/pull/45798)
and then the changes were reverted entirely (so no pids-limit
modifying code at all) in quincy and pacific because
the LRC ran into issues with the change related to the podman
version (https://github.com/ceph/ceph/pull/45932). This new patch
now addresses the podman versions, specifically that the patch
that makes -1 work for a pids-limit seems to have landed in
podman 3.4.1 based on https://github.com/containers/podman/pull/12040.
We'll need to make sure that this doesn't break anything in the
fs suites again as I don't remember the details of the first
issue, or why having it only set the pids-limit for iscsi and rgw fixes it.
Assuming that isn't a problem we should hopefully be able to unify
at least how reef and quincy handle this now that the podman version
issue is being addressed in this patch.

See the linked tracker issue for a discussion on why we're going at
this again and why I'm trying to do this for all ceph daemon types.

Fixes: https://tracker.ceph.com/issues/58685
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 84c988dcfd1db20e2eca478e9bf89899b2029c5c)

2 years agocephadm: only apply pids-limit to iscsi and rgw
Adam King [Wed, 6 Apr 2022 15:24:24 +0000 (11:24 -0400)]
cephadm: only apply pids-limit to iscsi and rgw

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 9c8f3942d5154e927d511bbcc9a0275a3dcecf05)

2 years agocephadm: remove containers pids-limit
Teoman ONAY [Thu, 11 Nov 2021 15:05:49 +0000 (15:05 +0000)]
cephadm: remove containers pids-limit

The default pids-limit (docker 4096/podman 2048) prevent some
customization from working (http threads on RGW) or limits the number
of luns per iscsi target.

Fixes: https://tracker.ceph.com/issues/52898
Signed-off-by: Teoman ONAY <tonay@redhat.com>
(cherry picked from commit de8b3c2676e65eb61df54c65cfd3b3af1e68da56)

2 years agocephadm: Adding poststop actions and setting TimeoutStartSec to 200s 50447/head
Redouane Kachach [Thu, 12 Jan 2023 10:29:31 +0000 (11:29 +0100)]
cephadm: Adding poststop actions and setting TimeoutStartSec to 200s
Fixes: https://tracker.ceph.com/issues/58241
Fixes: https://tracker.ceph.com/issues/58242
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 5824b0131f6c1959116b3de6b2f2322d95a86bc6)

2 years agocephadm: using short hostname to create the initial mon and mgr 50445/head
Redouane Kachach [Wed, 25 Jan 2023 09:14:59 +0000 (10:14 +0100)]
cephadm: using short hostname to create the initial mon and mgr
Fixes: https://tracker.ceph.com/issues/58466
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 0b807eefb8dbccf1e25c846f8177ddb74c6f333d)

2 years agoAdd per OSD crush_device_class definition 50444/head
Francesco Pantano [Fri, 23 Dec 2022 13:45:40 +0000 (14:45 +0100)]
Add per OSD crush_device_class definition

This patch introduces a per osd crush_device_class definition in the
DriveGroup spec. The Device object is extended to support a
crush_device_class parameter which is processed by ceph-volume when
drives are prepared in batch mode. According to the per osd defined
crush device classes, drives are collected and grouped in a dict that is
used to produce a set of ceph-volume commands that eventually apply (if
defined) the right device class. The test_drive_group unit tests are
also extended to make sure we're not breaking compatibility with the
default definition and the new syntax is validated, raising an exception
if it's violated.

Fixes: https://tracker.ceph.com/issues/58184
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
(cherry picked from commit 6c6cb2f5130dbcf8e42cf03666173948411fc92b)

Conflicts:
src/python-common/ceph/deployment/drive_group.py

2 years agoMerge pull request #50435 from zdover23/wip-doc-2023-03-08-backport-49823-to-quincy
zdover23 [Wed, 8 Mar 2023 16:24:48 +0000 (02:24 +1000)]
Merge pull request #50435 from zdover23/wip-doc-2023-03-08-backport-49823-to-quincy

quincy: doc/install: refine index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50286 from batrick/i58261
Yuri Weinstein [Wed, 8 Mar 2023 15:39:39 +0000 (07:39 -0800)]
Merge pull request #50286 from batrick/i58261

quincy: pybind/mgr: use memory temp_store for sqlite3 db

Reviewed-by: Laura Flores <lflores@redhat.com>