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

src/cephadm/cephadm.py

index 0a8292c5f00bc7c3828143e1c8999e023d0f9fda..6a4714b1aa46d8d921b52f80d584ab8debff45cb 100755 (executable)
@@ -5014,6 +5014,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')