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

src/cephadm/cephadm.py

index 0f6257331c20ccc12c0f1aded858f9cd254bc2ae..067d2e3f9778dc14415c1d6e2ebb04d1a7619c4d 100755 (executable)
@@ -10275,6 +10275,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')