]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Adding support to pass --no-cgroups-split flag when adopting legacy daemons 58759/head
authorGilad Sid <sid.gilad@gmail.com>
Wed, 1 May 2024 14:55:41 +0000 (17:55 +0300)
committerAdam King <adking@redhat.com>
Tue, 23 Jul 2024 16:28:29 +0000 (12:28 -0400)
Signed-off-by: Gilad Sid <sid.gilad@gmail.com>
(cherry picked from commit 20ffd4d6e330095c8cf2816a36f61bd950e213a5)

Conflicts:
src/cephadm/cephadm.py

src/cephadm/cephadm

index 2addee773e345a7781baafcd8675966cf7e511ab..5e57f7e52078544c4f4097515e5282bbad9bf90d 100755 (executable)
@@ -9214,6 +9214,11 @@ def _get_parser():
         action='store_true',
         default=CONTAINER_INIT,
         help=argparse.SUPPRESS)
+    parser_adopt.add_argument(
+        '--no-cgroups-split',
+        action='store_true',
+        default=False,
+        help='Do not run containers with --cgroups=split (currently only relevant when using podman)')
 
     parser_rm_daemon = subparsers.add_parser(
         'rm-daemon', help='remove daemon instance')