]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Adding support to pass --no-cgroups-split flag when adopting legacy daemons 57205/head
authorGilad Sid <sid.gilad@gmail.com>
Wed, 1 May 2024 14:55:41 +0000 (17:55 +0300)
committerGilad Sid <sid.gilad@gmail.com>
Sun, 5 May 2024 12:29:28 +0000 (15:29 +0300)
Signed-off-by: Gilad Sid <sid.gilad@gmail.com>
src/cephadm/cephadm.py

index 28e4b055397bdf31770a3d05b1771e911f218bbd..3fb3148cba94c86334f78501e3da6b501b6d40f9 100755 (executable)
@@ -5035,6 +5035,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')