Guest User

Untitled

a guest
May 12th, 2025
121
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 182.87 KB | None | 0 0
  1. ceph | + readonly RGW_REALM_USER_UID=dashboard
  2. ceph | + RGW_REALM_USER_UID=dashboard
  3. ceph | + readonly 'RGW_REALM_USER_NAME=Ceph Dashboard'
  4. ceph | + RGW_REALM_USER_NAME='Ceph Dashboard'
  5. ceph | + RGW_REALM_USER_ACCESS_KEY=('DiPt4V7WWvy2njL1z6aC' 'M1KBQY1XV9ELH8Y637PD')
  6. ceph | + readonly RGW_REALM_USER_ACCESS_KEY
  7. ceph | + readonly RGW_REALM_USER_ACCESS_KEY_FILE=/tmp/rgw-user-access-key.txt
  8. ceph | + RGW_REALM_USER_ACCESS_KEY_FILE=/tmp/rgw-user-access-key.txt
  9. ceph | + RGW_REALM_USER_SECRET_KEY=('xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh' 'GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx')
  10. ceph | + readonly RGW_REALM_USER_SECRET_KEY
  11. ceph | + readonly RGW_REALM_USER_SECRET_KEY_FILE=/tmp/rgw-user-secret-key.txt
  12. ceph | + RGW_REALM_USER_SECRET_KEY_FILE=/tmp/rgw-user-secret-key.txt
  13. ceph | + readonly RGW_REALM_USER_NUM=1
  14. ceph | + RGW_REALM_USER_NUM=1
  15. ceph | + RGW_DAEMON_PORT=8000
  16. ceph | + truncate -s0 /tmp/rgw-user-access-key.txt
  17. ceph | + truncate -s0 /tmp/rgw-user-secret-key.txt
  18. ceph | + [[ 1 == 1 ]]
  19. ceph | + /usr/bin/ceph config set global mon_max_pg_per_osd 800
  20. ceph | 2025-05-12T13:03:14.402+0000 7fdb98515640 -1 WARNING: all dangerous and experimental features are enabled.
  21. ceph | 2025-05-12T13:03:14.411+0000 7fdb98515640 -1 WARNING: all dangerous and experimental features are enabled.
  22. ceph | + readonly REALM_NAME_PREFIX=realm
  23. ceph | + REALM_NAME_PREFIX=realm
  24. ceph | + readonly ZONEGROUP_NAME_PREFIX=zg
  25. ceph | + ZONEGROUP_NAME_PREFIX=zg
  26. ceph | + readonly ZONE_NAME_PREFIX=zone
  27. ceph | + ZONE_NAME_PREFIX=zone
  28. ceph | + [[ 1 == 1 ]]
  29. ceph | + for REALM_NUM in 1 2
  30. ceph | + REALM_NAME=realm1
  31. ceph | + REALM_OPTIONS=
  32. ceph | + [[ 1 == 1 ]]
  33. ceph | + REALM_OPTIONS=--default
  34. ceph | + /usr/bin/radosgw-admin realm create --rgw-realm realm1 --default
  35. ceph | 2025-05-12T13:03:14.681+0000 7f3250dfb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  36. ceph | 2025-05-12T13:03:14.688+0000 7f3250dfb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  37. ceph | 2025-05-12T13:03:14.689+0000 7f3250dfb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  38. ceph | {
  39. ceph | "id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  40. ceph | "name": "realm1",
  41. ceph | "current_period": "6e41a753-9bee-43c3-a0a7-8437d1384deb",
  42. ceph | "epoch": 1
  43. ceph | }
  44. ceph | + for ZONEGROUP_NUM in 1 2
  45. ceph | + ZONEGROUP_NAME=zg1-realm1
  46. ceph | + ZONEGROUP_OPTIONS=
  47. ceph | + [[ 1 == 1 ]]
  48. ceph | + ZONEGROUP_OPTIONS='--master --default'
  49. ceph | + RGW_DAEMON_ZONEGROUP_OPTION=zg1-realm1
  50. ceph | + RGW_DAEMON_ZONEGROUP_PORT=8000
  51. ceph | + /usr/bin/radosgw-admin zonegroup create --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --endpoints http://ceph:8000 --master --default
  52. ceph | 2025-05-12T13:03:16.952+0000 7fe12e8548c0 -1 WARNING: all dangerous and experimental features are enabled.
  53. ceph | 2025-05-12T13:03:16.956+0000 7fe12e8548c0 -1 WARNING: all dangerous and experimental features are enabled.
  54. ceph | 2025-05-12T13:03:16.956+0000 7fe12e8548c0 -1 WARNING: all dangerous and experimental features are enabled.
  55. ceph | {
  56. ceph | "id": "0169147e-a105-4167-ab39-102dbf9c1abd",
  57. ceph | "name": "zg1-realm1",
  58. ceph | "api_name": "zg1-realm1",
  59. ceph | "is_master": true,
  60. ceph | "endpoints": [
  61. ceph | "http://ceph:8000"
  62. ceph | ],
  63. ceph | "hostnames": [],
  64. ceph | "hostnames_s3website": [],
  65. ceph | "master_zone": "",
  66. ceph | "zones": [],
  67. ceph | "placement_targets": [
  68. ceph | {
  69. ceph | "name": "default-placement",
  70. ceph | "tags": [],
  71. ceph | "storage_classes": []
  72. ceph | }
  73. ceph | ],
  74. ceph | "default_placement": "default-placement",
  75. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  76. ceph | "sync_policy": {
  77. ceph | "groups": []
  78. ceph | },
  79. ceph | "enabled_features": [
  80. ceph | "notification_v2",
  81. ceph | "resharding"
  82. ceph | ]
  83. ceph | }
  84. ceph | + for ZONE_NUM in 1 2
  85. ceph | + ZONE_NAME=zone1-zg1-realm1
  86. ceph | + ZONE_OPTIONS=
  87. ceph | + [[ 1 == 1 ]]
  88. ceph | + [[ 1 == 1 ]]
  89. ceph | + ZONE_OPTIONS='--master --default'
  90. ceph | + RGW_DAEMON_ZONE_OPTION=zone1-zg1-realm1
  91. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1 --endpoints http://ceph:8000 --access-key DiPt4V7WWvy2njL1z6aC --secret xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh --master --default
  92. ceph | 2025-05-12T13:03:17.056+0000 7fe2428eb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  93. ceph | 2025-05-12T13:03:17.059+0000 7fe2428eb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  94. ceph | 2025-05-12T13:03:17.060+0000 7fe2428eb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  95. ceph | NOTICE: set zone's realm_id=b75707d0-b141-4b31-9f5a-eed6f8c275b2
  96. ceph | {
  97. ceph | "id": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  98. ceph | "name": "zone1-zg1-realm1",
  99. ceph | "domain_root": "zone1-zg1-realm1.rgw.meta:root",
  100. ceph | "control_pool": "zone1-zg1-realm1.rgw.control",
  101. ceph | "gc_pool": "zone1-zg1-realm1.rgw.log:gc",
  102. ceph | "lc_pool": "zone1-zg1-realm1.rgw.log:lc",
  103. ceph | "log_pool": "zone1-zg1-realm1.rgw.log",
  104. ceph | "intent_log_pool": "zone1-zg1-realm1.rgw.log:intent",
  105. ceph | "usage_log_pool": "zone1-zg1-realm1.rgw.log:usage",
  106. ceph | "roles_pool": "zone1-zg1-realm1.rgw.meta:roles",
  107. ceph | "reshard_pool": "zone1-zg1-realm1.rgw.log:reshard",
  108. ceph | "user_keys_pool": "zone1-zg1-realm1.rgw.meta:users.keys",
  109. ceph | "user_email_pool": "zone1-zg1-realm1.rgw.meta:users.email",
  110. ceph | "user_swift_pool": "zone1-zg1-realm1.rgw.meta:users.swift",
  111. ceph | "user_uid_pool": "zone1-zg1-realm1.rgw.meta:users.uid",
  112. ceph | "otp_pool": "zone1-zg1-realm1.rgw.otp",
  113. ceph | "notif_pool": "zone1-zg1-realm1.rgw.log:notif",
  114. ceph | "topics_pool": "zone1-zg1-realm1.rgw.meta:topics",
  115. ceph | "account_pool": "zone1-zg1-realm1.rgw.meta:accounts",
  116. ceph | "group_pool": "zone1-zg1-realm1.rgw.meta:groups",
  117. ceph | "system_key": {
  118. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  119. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  120. ceph | },
  121. ceph | "placement_pools": [
  122. ceph | {
  123. ceph | "key": "default-placement",
  124. ceph | "val": {
  125. ceph | "index_pool": "zone1-zg1-realm1.rgw.buckets.index",
  126. ceph | "storage_classes": {
  127. ceph | "STANDARD": {
  128. ceph | "data_pool": "zone1-zg1-realm1.rgw.buckets.data"
  129. ceph | }
  130. ceph | },
  131. ceph | "data_extra_pool": "zone1-zg1-realm1.rgw.buckets.non-ec",
  132. ceph | "index_type": 0,
  133. ceph | "inline_data": true
  134. ceph | }
  135. ceph | }
  136. ceph | ],
  137. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  138. ceph | }
  139. ceph | + add_placement_targets_and_storage_classes
  140. ceph | + for PT_NUM in 1 2
  141. ceph | + PT_NAME=pt1-zone1-zg1-realm1
  142. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg1-realm1 --placement-id pt1-zone1-zg1-realm1
  143. ceph | 2025-05-12T13:03:17.212+0000 7fd5e70fc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  144. ceph | 2025-05-12T13:03:17.217+0000 7fd5e70fc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  145. ceph | 2025-05-12T13:03:17.217+0000 7fd5e70fc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  146. ceph | [
  147. ceph | {
  148. ceph | "key": "default-placement",
  149. ceph | "val": {
  150. ceph | "name": "default-placement",
  151. ceph | "tags": [],
  152. ceph | "storage_classes": [
  153. ceph | "STANDARD"
  154. ceph | ]
  155. ceph | }
  156. ceph | },
  157. ceph | {
  158. ceph | "key": "pt1-zone1-zg1-realm1",
  159. ceph | "val": {
  160. ceph | "name": "pt1-zone1-zg1-realm1",
  161. ceph | "tags": [],
  162. ceph | "storage_classes": [
  163. ceph | "STANDARD"
  164. ceph | ]
  165. ceph | }
  166. ceph | }
  167. ceph | ]
  168. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1 --placement-id pt1-zone1-zg1-realm1 --data-pool pt1-zone1-zg1-realm1.rgw.buckets.data --index-pool pt1-zone1-zg1-realm1.rgw.buckets.index
  169. ceph | 2025-05-12T13:03:17.265+0000 7f6f4fd998c0 -1 WARNING: all dangerous and experimental features are enabled.
  170. ceph | 2025-05-12T13:03:17.269+0000 7f6f4fd998c0 -1 WARNING: all dangerous and experimental features are enabled.
  171. ceph | 2025-05-12T13:03:17.270+0000 7f6f4fd998c0 -1 WARNING: all dangerous and experimental features are enabled.
  172. ceph | {
  173. ceph | "id": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  174. ceph | "name": "zone1-zg1-realm1",
  175. ceph | "domain_root": "zone1-zg1-realm1.rgw.meta:root",
  176. ceph | "control_pool": "zone1-zg1-realm1.rgw.control",
  177. ceph | "gc_pool": "zone1-zg1-realm1.rgw.log:gc",
  178. ceph | "lc_pool": "zone1-zg1-realm1.rgw.log:lc",
  179. ceph | "log_pool": "zone1-zg1-realm1.rgw.log",
  180. ceph | "intent_log_pool": "zone1-zg1-realm1.rgw.log:intent",
  181. ceph | "usage_log_pool": "zone1-zg1-realm1.rgw.log:usage",
  182. ceph | "roles_pool": "zone1-zg1-realm1.rgw.meta:roles",
  183. ceph | "reshard_pool": "zone1-zg1-realm1.rgw.log:reshard",
  184. ceph | "user_keys_pool": "zone1-zg1-realm1.rgw.meta:users.keys",
  185. ceph | "user_email_pool": "zone1-zg1-realm1.rgw.meta:users.email",
  186. ceph | "user_swift_pool": "zone1-zg1-realm1.rgw.meta:users.swift",
  187. ceph | "user_uid_pool": "zone1-zg1-realm1.rgw.meta:users.uid",
  188. ceph | "otp_pool": "zone1-zg1-realm1.rgw.otp",
  189. ceph | "notif_pool": "zone1-zg1-realm1.rgw.log:notif",
  190. ceph | "topics_pool": "zone1-zg1-realm1.rgw.meta:topics",
  191. ceph | "account_pool": "zone1-zg1-realm1.rgw.meta:accounts",
  192. ceph | "group_pool": "zone1-zg1-realm1.rgw.meta:groups",
  193. ceph | "system_key": {
  194. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  195. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  196. ceph | },
  197. ceph | "placement_pools": [
  198. ceph | {
  199. ceph | "key": "default-placement",
  200. ceph | "val": {
  201. ceph | "index_pool": "zone1-zg1-realm1.rgw.buckets.index",
  202. ceph | "storage_classes": {
  203. ceph | "STANDARD": {
  204. ceph | "data_pool": "zone1-zg1-realm1.rgw.buckets.data"
  205. ceph | }
  206. ceph | },
  207. ceph | "data_extra_pool": "zone1-zg1-realm1.rgw.buckets.non-ec",
  208. ceph | "index_type": 0,
  209. ceph | "inline_data": true
  210. ceph | }
  211. ceph | },
  212. ceph | {
  213. ceph | "key": "pt1-zone1-zg1-realm1",
  214. ceph | "val": {
  215. ceph | "index_pool": "pt1-zone1-zg1-realm1.rgw.buckets.index",
  216. ceph | "storage_classes": {
  217. ceph | "STANDARD": {
  218. ceph | "data_pool": "pt1-zone1-zg1-realm1.rgw.buckets.data"
  219. ceph | }
  220. ceph | },
  221. ceph | "data_extra_pool": "",
  222. ceph | "index_type": 0,
  223. ceph | "inline_data": true
  224. ceph | }
  225. ceph | }
  226. ceph | ],
  227. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  228. ceph | }
  229. ceph | + for PT_NUM in 1 2
  230. ceph | + PT_NAME=pt2-zone1-zg1-realm1
  231. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg1-realm1 --placement-id pt2-zone1-zg1-realm1
  232. ceph | 2025-05-12T13:03:17.315+0000 7fa571cce8c0 -1 WARNING: all dangerous and experimental features are enabled.
  233. ceph | 2025-05-12T13:03:17.319+0000 7fa571cce8c0 -1 WARNING: all dangerous and experimental features are enabled.
  234. ceph | 2025-05-12T13:03:17.320+0000 7fa571cce8c0 -1 WARNING: all dangerous and experimental features are enabled.
  235. ceph | [
  236. ceph | {
  237. ceph | "key": "default-placement",
  238. ceph | "val": {
  239. ceph | "name": "default-placement",
  240. ceph | "tags": [],
  241. ceph | "storage_classes": [
  242. ceph | "STANDARD"
  243. ceph | ]
  244. ceph | }
  245. ceph | },
  246. ceph | {
  247. ceph | "key": "pt1-zone1-zg1-realm1",
  248. ceph | "val": {
  249. ceph | "name": "pt1-zone1-zg1-realm1",
  250. ceph | "tags": [],
  251. ceph | "storage_classes": [
  252. ceph | "STANDARD"
  253. ceph | ]
  254. ceph | }
  255. ceph | },
  256. ceph | {
  257. ceph | "key": "pt2-zone1-zg1-realm1",
  258. ceph | "val": {
  259. ceph | "name": "pt2-zone1-zg1-realm1",
  260. ceph | "tags": [],
  261. ceph | "storage_classes": [
  262. ceph | "STANDARD"
  263. ceph | ]
  264. ceph | }
  265. ceph | }
  266. ceph | ]
  267. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1 --placement-id pt2-zone1-zg1-realm1 --data-pool pt2-zone1-zg1-realm1.rgw.buckets.data --index-pool pt2-zone1-zg1-realm1.rgw.buckets.index
  268. ceph | 2025-05-12T13:03:17.368+0000 7f65166a08c0 -1 WARNING: all dangerous and experimental features are enabled.
  269. ceph | 2025-05-12T13:03:17.372+0000 7f65166a08c0 -1 WARNING: all dangerous and experimental features are enabled.
  270. ceph | 2025-05-12T13:03:17.372+0000 7f65166a08c0 -1 WARNING: all dangerous and experimental features are enabled.
  271. ceph | {
  272. ceph | "id": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  273. ceph | "name": "zone1-zg1-realm1",
  274. ceph | "domain_root": "zone1-zg1-realm1.rgw.meta:root",
  275. ceph | "control_pool": "zone1-zg1-realm1.rgw.control",
  276. ceph | "gc_pool": "zone1-zg1-realm1.rgw.log:gc",
  277. ceph | "lc_pool": "zone1-zg1-realm1.rgw.log:lc",
  278. ceph | "log_pool": "zone1-zg1-realm1.rgw.log",
  279. ceph | "intent_log_pool": "zone1-zg1-realm1.rgw.log:intent",
  280. ceph | "usage_log_pool": "zone1-zg1-realm1.rgw.log:usage",
  281. ceph | "roles_pool": "zone1-zg1-realm1.rgw.meta:roles",
  282. ceph | "reshard_pool": "zone1-zg1-realm1.rgw.log:reshard",
  283. ceph | "user_keys_pool": "zone1-zg1-realm1.rgw.meta:users.keys",
  284. ceph | "user_email_pool": "zone1-zg1-realm1.rgw.meta:users.email",
  285. ceph | "user_swift_pool": "zone1-zg1-realm1.rgw.meta:users.swift",
  286. ceph | "user_uid_pool": "zone1-zg1-realm1.rgw.meta:users.uid",
  287. ceph | "otp_pool": "zone1-zg1-realm1.rgw.otp",
  288. ceph | "notif_pool": "zone1-zg1-realm1.rgw.log:notif",
  289. ceph | "topics_pool": "zone1-zg1-realm1.rgw.meta:topics",
  290. ceph | "account_pool": "zone1-zg1-realm1.rgw.meta:accounts",
  291. ceph | "group_pool": "zone1-zg1-realm1.rgw.meta:groups",
  292. ceph | "system_key": {
  293. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  294. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  295. ceph | },
  296. ceph | "placement_pools": [
  297. ceph | {
  298. ceph | "key": "default-placement",
  299. ceph | "val": {
  300. ceph | "index_pool": "zone1-zg1-realm1.rgw.buckets.index",
  301. ceph | "storage_classes": {
  302. ceph | "STANDARD": {
  303. ceph | "data_pool": "zone1-zg1-realm1.rgw.buckets.data"
  304. ceph | }
  305. ceph | },
  306. ceph | "data_extra_pool": "zone1-zg1-realm1.rgw.buckets.non-ec",
  307. ceph | "index_type": 0,
  308. ceph | "inline_data": true
  309. ceph | }
  310. ceph | },
  311. ceph | {
  312. ceph | "key": "pt1-zone1-zg1-realm1",
  313. ceph | "val": {
  314. ceph | "index_pool": "pt1-zone1-zg1-realm1.rgw.buckets.index",
  315. ceph | "storage_classes": {
  316. ceph | "STANDARD": {
  317. ceph | "data_pool": "pt1-zone1-zg1-realm1.rgw.buckets.data"
  318. ceph | }
  319. ceph | },
  320. ceph | "data_extra_pool": "",
  321. ceph | "index_type": 0,
  322. ceph | "inline_data": true
  323. ceph | }
  324. ceph | },
  325. ceph | {
  326. ceph | "key": "pt2-zone1-zg1-realm1",
  327. ceph | "val": {
  328. ceph | "index_pool": "pt2-zone1-zg1-realm1.rgw.buckets.index",
  329. ceph | "storage_classes": {
  330. ceph | "STANDARD": {
  331. ceph | "data_pool": "pt2-zone1-zg1-realm1.rgw.buckets.data"
  332. ceph | }
  333. ceph | },
  334. ceph | "data_extra_pool": "",
  335. ceph | "index_type": 0,
  336. ceph | "inline_data": true
  337. ceph | }
  338. ceph | }
  339. ceph | ],
  340. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  341. ceph | }
  342. ceph | + [[ 20 -ge 14 ]]
  343. ceph | + COLD_STORAGE_CLASS=COLD
  344. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --placement-id pt2-zone1-zg1-realm1 --storage-class COLD
  345. ceph | 2025-05-12T13:03:17.425+0000 7f56547828c0 -1 WARNING: all dangerous and experimental features are enabled.
  346. ceph | 2025-05-12T13:03:17.429+0000 7f56547828c0 -1 WARNING: all dangerous and experimental features are enabled.
  347. ceph | 2025-05-12T13:03:17.430+0000 7f56547828c0 -1 WARNING: all dangerous and experimental features are enabled.
  348. ceph | [
  349. ceph | {
  350. ceph | "key": "default-placement",
  351. ceph | "val": {
  352. ceph | "name": "default-placement",
  353. ceph | "tags": [],
  354. ceph | "storage_classes": [
  355. ceph | "STANDARD"
  356. ceph | ]
  357. ceph | }
  358. ceph | },
  359. ceph | {
  360. ceph | "key": "pt1-zone1-zg1-realm1",
  361. ceph | "val": {
  362. ceph | "name": "pt1-zone1-zg1-realm1",
  363. ceph | "tags": [],
  364. ceph | "storage_classes": [
  365. ceph | "STANDARD"
  366. ceph | ]
  367. ceph | }
  368. ceph | },
  369. ceph | {
  370. ceph | "key": "pt2-zone1-zg1-realm1",
  371. ceph | "val": {
  372. ceph | "name": "pt2-zone1-zg1-realm1",
  373. ceph | "tags": [],
  374. ceph | "storage_classes": [
  375. ceph | "COLD",
  376. ceph | "STANDARD"
  377. ceph | ]
  378. ceph | }
  379. ceph | }
  380. ceph | ]
  381. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1 --placement-id pt2-zone1-zg1-realm1 --storage-class COLD --data-pool pt2-zone1-zg1-realm1.rgw.cold.data
  382. ceph | 2025-05-12T13:03:17.481+0000 7fae61ce98c0 -1 WARNING: all dangerous and experimental features are enabled.
  383. ceph | 2025-05-12T13:03:17.486+0000 7fae61ce98c0 -1 WARNING: all dangerous and experimental features are enabled.
  384. ceph | 2025-05-12T13:03:17.486+0000 7fae61ce98c0 -1 WARNING: all dangerous and experimental features are enabled.
  385. ceph | {
  386. ceph | "id": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  387. ceph | "name": "zone1-zg1-realm1",
  388. ceph | "domain_root": "zone1-zg1-realm1.rgw.meta:root",
  389. ceph | "control_pool": "zone1-zg1-realm1.rgw.control",
  390. ceph | "gc_pool": "zone1-zg1-realm1.rgw.log:gc",
  391. ceph | "lc_pool": "zone1-zg1-realm1.rgw.log:lc",
  392. ceph | "log_pool": "zone1-zg1-realm1.rgw.log",
  393. ceph | "intent_log_pool": "zone1-zg1-realm1.rgw.log:intent",
  394. ceph | "usage_log_pool": "zone1-zg1-realm1.rgw.log:usage",
  395. ceph | "roles_pool": "zone1-zg1-realm1.rgw.meta:roles",
  396. ceph | "reshard_pool": "zone1-zg1-realm1.rgw.log:reshard",
  397. ceph | "user_keys_pool": "zone1-zg1-realm1.rgw.meta:users.keys",
  398. ceph | "user_email_pool": "zone1-zg1-realm1.rgw.meta:users.email",
  399. ceph | "user_swift_pool": "zone1-zg1-realm1.rgw.meta:users.swift",
  400. ceph | "user_uid_pool": "zone1-zg1-realm1.rgw.meta:users.uid",
  401. ceph | "otp_pool": "zone1-zg1-realm1.rgw.otp",
  402. ceph | "notif_pool": "zone1-zg1-realm1.rgw.log:notif",
  403. ceph | "topics_pool": "zone1-zg1-realm1.rgw.meta:topics",
  404. ceph | "account_pool": "zone1-zg1-realm1.rgw.meta:accounts",
  405. ceph | "group_pool": "zone1-zg1-realm1.rgw.meta:groups",
  406. ceph | "system_key": {
  407. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  408. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  409. ceph | },
  410. ceph | "placement_pools": [
  411. ceph | {
  412. ceph | "key": "default-placement",
  413. ceph | "val": {
  414. ceph | "index_pool": "zone1-zg1-realm1.rgw.buckets.index",
  415. ceph | "storage_classes": {
  416. ceph | "STANDARD": {
  417. ceph | "data_pool": "zone1-zg1-realm1.rgw.buckets.data"
  418. ceph | }
  419. ceph | },
  420. ceph | "data_extra_pool": "zone1-zg1-realm1.rgw.buckets.non-ec",
  421. ceph | "index_type": 0,
  422. ceph | "inline_data": true
  423. ceph | }
  424. ceph | },
  425. ceph | {
  426. ceph | "key": "pt1-zone1-zg1-realm1",
  427. ceph | "val": {
  428. ceph | "index_pool": "pt1-zone1-zg1-realm1.rgw.buckets.index",
  429. ceph | "storage_classes": {
  430. ceph | "STANDARD": {
  431. ceph | "data_pool": "pt1-zone1-zg1-realm1.rgw.buckets.data"
  432. ceph | }
  433. ceph | },
  434. ceph | "data_extra_pool": "",
  435. ceph | "index_type": 0,
  436. ceph | "inline_data": true
  437. ceph | }
  438. ceph | },
  439. ceph | {
  440. ceph | "key": "pt2-zone1-zg1-realm1",
  441. ceph | "val": {
  442. ceph | "index_pool": "pt2-zone1-zg1-realm1.rgw.buckets.index",
  443. ceph | "storage_classes": {
  444. ceph | "COLD": {
  445. ceph | "data_pool": "pt2-zone1-zg1-realm1.rgw.cold.data"
  446. ceph | },
  447. ceph | "STANDARD": {
  448. ceph | "data_pool": "pt2-zone1-zg1-realm1.rgw.buckets.data"
  449. ceph | }
  450. ceph | },
  451. ceph | "data_extra_pool": "",
  452. ceph | "index_type": 0,
  453. ceph | "inline_data": true
  454. ceph | }
  455. ceph | }
  456. ceph | ],
  457. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  458. ceph | }
  459. ceph | + for ZONE_NUM in 1 2
  460. ceph | + ZONE_NAME=zone2-zg1-realm1
  461. ceph | + ZONE_OPTIONS=
  462. ceph | + [[ 2 == 1 ]]
  463. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone2-zg1-realm1 --endpoints http://ceph:8000 --access-key DiPt4V7WWvy2njL1z6aC --secret xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh
  464. ceph | 2025-05-12T13:03:17.536+0000 7f923bbc48c0 -1 WARNING: all dangerous and experimental features are enabled.
  465. ceph | 2025-05-12T13:03:17.539+0000 7f923bbc48c0 -1 WARNING: all dangerous and experimental features are enabled.
  466. ceph | 2025-05-12T13:03:17.539+0000 7f923bbc48c0 -1 WARNING: all dangerous and experimental features are enabled.
  467. ceph | NOTICE: set zone's realm_id=b75707d0-b141-4b31-9f5a-eed6f8c275b2
  468. ceph | {
  469. ceph | "id": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  470. ceph | "name": "zone2-zg1-realm1",
  471. ceph | "domain_root": "zone2-zg1-realm1.rgw.meta:root",
  472. ceph | "control_pool": "zone2-zg1-realm1.rgw.control",
  473. ceph | "gc_pool": "zone2-zg1-realm1.rgw.log:gc",
  474. ceph | "lc_pool": "zone2-zg1-realm1.rgw.log:lc",
  475. ceph | "log_pool": "zone2-zg1-realm1.rgw.log",
  476. ceph | "intent_log_pool": "zone2-zg1-realm1.rgw.log:intent",
  477. ceph | "usage_log_pool": "zone2-zg1-realm1.rgw.log:usage",
  478. ceph | "roles_pool": "zone2-zg1-realm1.rgw.meta:roles",
  479. ceph | "reshard_pool": "zone2-zg1-realm1.rgw.log:reshard",
  480. ceph | "user_keys_pool": "zone2-zg1-realm1.rgw.meta:users.keys",
  481. ceph | "user_email_pool": "zone2-zg1-realm1.rgw.meta:users.email",
  482. ceph | "user_swift_pool": "zone2-zg1-realm1.rgw.meta:users.swift",
  483. ceph | "user_uid_pool": "zone2-zg1-realm1.rgw.meta:users.uid",
  484. ceph | "otp_pool": "zone2-zg1-realm1.rgw.otp",
  485. ceph | "notif_pool": "zone2-zg1-realm1.rgw.log:notif",
  486. ceph | "topics_pool": "zone2-zg1-realm1.rgw.meta:topics",
  487. ceph | "account_pool": "zone2-zg1-realm1.rgw.meta:accounts",
  488. ceph | "group_pool": "zone2-zg1-realm1.rgw.meta:groups",
  489. ceph | "system_key": {
  490. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  491. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  492. ceph | },
  493. ceph | "placement_pools": [
  494. ceph | {
  495. ceph | "key": "default-placement",
  496. ceph | "val": {
  497. ceph | "index_pool": "zone2-zg1-realm1.rgw.buckets.index",
  498. ceph | "storage_classes": {
  499. ceph | "STANDARD": {
  500. ceph | "data_pool": "zone2-zg1-realm1.rgw.buckets.data"
  501. ceph | }
  502. ceph | },
  503. ceph | "data_extra_pool": "zone2-zg1-realm1.rgw.buckets.non-ec",
  504. ceph | "index_type": 0,
  505. ceph | "inline_data": true
  506. ceph | }
  507. ceph | }
  508. ceph | ],
  509. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  510. ceph | }
  511. ceph | + add_placement_targets_and_storage_classes
  512. ceph | + for PT_NUM in 1 2
  513. ceph | + PT_NAME=pt1-zone2-zg1-realm1
  514. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg1-realm1 --placement-id pt1-zone2-zg1-realm1
  515. ceph | 2025-05-12T13:03:17.611+0000 7fd67926e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  516. ceph | 2025-05-12T13:03:17.615+0000 7fd67926e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  517. ceph | 2025-05-12T13:03:17.615+0000 7fd67926e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  518. ceph | [
  519. ceph | {
  520. ceph | "key": "default-placement",
  521. ceph | "val": {
  522. ceph | "name": "default-placement",
  523. ceph | "tags": [],
  524. ceph | "storage_classes": [
  525. ceph | "STANDARD"
  526. ceph | ]
  527. ceph | }
  528. ceph | },
  529. ceph | {
  530. ceph | "key": "pt1-zone1-zg1-realm1",
  531. ceph | "val": {
  532. ceph | "name": "pt1-zone1-zg1-realm1",
  533. ceph | "tags": [],
  534. ceph | "storage_classes": [
  535. ceph | "STANDARD"
  536. ceph | ]
  537. ceph | }
  538. ceph | },
  539. ceph | {
  540. ceph | "key": "pt1-zone2-zg1-realm1",
  541. ceph | "val": {
  542. ceph | "name": "pt1-zone2-zg1-realm1",
  543. ceph | "tags": [],
  544. ceph | "storage_classes": [
  545. ceph | "STANDARD"
  546. ceph | ]
  547. ceph | }
  548. ceph | },
  549. ceph | {
  550. ceph | "key": "pt2-zone1-zg1-realm1",
  551. ceph | "val": {
  552. ceph | "name": "pt2-zone1-zg1-realm1",
  553. ceph | "tags": [],
  554. ceph | "storage_classes": [
  555. ceph | "COLD",
  556. ceph | "STANDARD"
  557. ceph | ]
  558. ceph | }
  559. ceph | }
  560. ceph | ]
  561. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone2-zg1-realm1 --placement-id pt1-zone2-zg1-realm1 --data-pool pt1-zone2-zg1-realm1.rgw.buckets.data --index-pool pt1-zone2-zg1-realm1.rgw.buckets.index
  562. ceph | 2025-05-12T13:03:17.666+0000 7fd10a3028c0 -1 WARNING: all dangerous and experimental features are enabled.
  563. ceph | 2025-05-12T13:03:17.670+0000 7fd10a3028c0 -1 WARNING: all dangerous and experimental features are enabled.
  564. ceph | 2025-05-12T13:03:17.670+0000 7fd10a3028c0 -1 WARNING: all dangerous and experimental features are enabled.
  565. ceph | {
  566. ceph | "id": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  567. ceph | "name": "zone2-zg1-realm1",
  568. ceph | "domain_root": "zone2-zg1-realm1.rgw.meta:root",
  569. ceph | "control_pool": "zone2-zg1-realm1.rgw.control",
  570. ceph | "gc_pool": "zone2-zg1-realm1.rgw.log:gc",
  571. ceph | "lc_pool": "zone2-zg1-realm1.rgw.log:lc",
  572. ceph | "log_pool": "zone2-zg1-realm1.rgw.log",
  573. ceph | "intent_log_pool": "zone2-zg1-realm1.rgw.log:intent",
  574. ceph | "usage_log_pool": "zone2-zg1-realm1.rgw.log:usage",
  575. ceph | "roles_pool": "zone2-zg1-realm1.rgw.meta:roles",
  576. ceph | "reshard_pool": "zone2-zg1-realm1.rgw.log:reshard",
  577. ceph | "user_keys_pool": "zone2-zg1-realm1.rgw.meta:users.keys",
  578. ceph | "user_email_pool": "zone2-zg1-realm1.rgw.meta:users.email",
  579. ceph | "user_swift_pool": "zone2-zg1-realm1.rgw.meta:users.swift",
  580. ceph | "user_uid_pool": "zone2-zg1-realm1.rgw.meta:users.uid",
  581. ceph | "otp_pool": "zone2-zg1-realm1.rgw.otp",
  582. ceph | "notif_pool": "zone2-zg1-realm1.rgw.log:notif",
  583. ceph | "topics_pool": "zone2-zg1-realm1.rgw.meta:topics",
  584. ceph | "account_pool": "zone2-zg1-realm1.rgw.meta:accounts",
  585. ceph | "group_pool": "zone2-zg1-realm1.rgw.meta:groups",
  586. ceph | "system_key": {
  587. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  588. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  589. ceph | },
  590. ceph | "placement_pools": [
  591. ceph | {
  592. ceph | "key": "default-placement",
  593. ceph | "val": {
  594. ceph | "index_pool": "zone2-zg1-realm1.rgw.buckets.index",
  595. ceph | "storage_classes": {
  596. ceph | "STANDARD": {
  597. ceph | "data_pool": "zone2-zg1-realm1.rgw.buckets.data"
  598. ceph | }
  599. ceph | },
  600. ceph | "data_extra_pool": "zone2-zg1-realm1.rgw.buckets.non-ec",
  601. ceph | "index_type": 0,
  602. ceph | "inline_data": true
  603. ceph | }
  604. ceph | },
  605. ceph | {
  606. ceph | "key": "pt1-zone2-zg1-realm1",
  607. ceph | "val": {
  608. ceph | "index_pool": "pt1-zone2-zg1-realm1.rgw.buckets.index",
  609. ceph | "storage_classes": {
  610. ceph | "STANDARD": {
  611. ceph | "data_pool": "pt1-zone2-zg1-realm1.rgw.buckets.data"
  612. ceph | }
  613. ceph | },
  614. ceph | "data_extra_pool": "",
  615. ceph | "index_type": 0,
  616. ceph | "inline_data": true
  617. ceph | }
  618. ceph | }
  619. ceph | ],
  620. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  621. ceph | }
  622. ceph | + for PT_NUM in 1 2
  623. ceph | + PT_NAME=pt2-zone2-zg1-realm1
  624. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg1-realm1 --placement-id pt2-zone2-zg1-realm1
  625. ceph | 2025-05-12T13:03:17.716+0000 7f219f5b18c0 -1 WARNING: all dangerous and experimental features are enabled.
  626. ceph | 2025-05-12T13:03:17.720+0000 7f219f5b18c0 -1 WARNING: all dangerous and experimental features are enabled.
  627. ceph | 2025-05-12T13:03:17.720+0000 7f219f5b18c0 -1 WARNING: all dangerous and experimental features are enabled.
  628. ceph | [
  629. ceph | {
  630. ceph | "key": "default-placement",
  631. ceph | "val": {
  632. ceph | "name": "default-placement",
  633. ceph | "tags": [],
  634. ceph | "storage_classes": [
  635. ceph | "STANDARD"
  636. ceph | ]
  637. ceph | }
  638. ceph | },
  639. ceph | {
  640. ceph | "key": "pt1-zone1-zg1-realm1",
  641. ceph | "val": {
  642. ceph | "name": "pt1-zone1-zg1-realm1",
  643. ceph | "tags": [],
  644. ceph | "storage_classes": [
  645. ceph | "STANDARD"
  646. ceph | ]
  647. ceph | }
  648. ceph | },
  649. ceph | {
  650. ceph | "key": "pt1-zone2-zg1-realm1",
  651. ceph | "val": {
  652. ceph | "name": "pt1-zone2-zg1-realm1",
  653. ceph | "tags": [],
  654. ceph | "storage_classes": [
  655. ceph | "STANDARD"
  656. ceph | ]
  657. ceph | }
  658. ceph | },
  659. ceph | {
  660. ceph | "key": "pt2-zone1-zg1-realm1",
  661. ceph | "val": {
  662. ceph | "name": "pt2-zone1-zg1-realm1",
  663. ceph | "tags": [],
  664. ceph | "storage_classes": [
  665. ceph | "COLD",
  666. ceph | "STANDARD"
  667. ceph | ]
  668. ceph | }
  669. ceph | },
  670. ceph | {
  671. ceph | "key": "pt2-zone2-zg1-realm1",
  672. ceph | "val": {
  673. ceph | "name": "pt2-zone2-zg1-realm1",
  674. ceph | "tags": [],
  675. ceph | "storage_classes": [
  676. ceph | "STANDARD"
  677. ceph | ]
  678. ceph | }
  679. ceph | }
  680. ceph | ]
  681. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone2-zg1-realm1 --placement-id pt2-zone2-zg1-realm1 --data-pool pt2-zone2-zg1-realm1.rgw.buckets.data --index-pool pt2-zone2-zg1-realm1.rgw.buckets.index
  682. ceph | 2025-05-12T13:03:17.769+0000 7f56424e48c0 -1 WARNING: all dangerous and experimental features are enabled.
  683. ceph | 2025-05-12T13:03:17.773+0000 7f56424e48c0 -1 WARNING: all dangerous and experimental features are enabled.
  684. ceph | 2025-05-12T13:03:17.773+0000 7f56424e48c0 -1 WARNING: all dangerous and experimental features are enabled.
  685. ceph | {
  686. ceph | "id": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  687. ceph | "name": "zone2-zg1-realm1",
  688. ceph | "domain_root": "zone2-zg1-realm1.rgw.meta:root",
  689. ceph | "control_pool": "zone2-zg1-realm1.rgw.control",
  690. ceph | "gc_pool": "zone2-zg1-realm1.rgw.log:gc",
  691. ceph | "lc_pool": "zone2-zg1-realm1.rgw.log:lc",
  692. ceph | "log_pool": "zone2-zg1-realm1.rgw.log",
  693. ceph | "intent_log_pool": "zone2-zg1-realm1.rgw.log:intent",
  694. ceph | "usage_log_pool": "zone2-zg1-realm1.rgw.log:usage",
  695. ceph | "roles_pool": "zone2-zg1-realm1.rgw.meta:roles",
  696. ceph | "reshard_pool": "zone2-zg1-realm1.rgw.log:reshard",
  697. ceph | "user_keys_pool": "zone2-zg1-realm1.rgw.meta:users.keys",
  698. ceph | "user_email_pool": "zone2-zg1-realm1.rgw.meta:users.email",
  699. ceph | "user_swift_pool": "zone2-zg1-realm1.rgw.meta:users.swift",
  700. ceph | "user_uid_pool": "zone2-zg1-realm1.rgw.meta:users.uid",
  701. ceph | "otp_pool": "zone2-zg1-realm1.rgw.otp",
  702. ceph | "notif_pool": "zone2-zg1-realm1.rgw.log:notif",
  703. ceph | "topics_pool": "zone2-zg1-realm1.rgw.meta:topics",
  704. ceph | "account_pool": "zone2-zg1-realm1.rgw.meta:accounts",
  705. ceph | "group_pool": "zone2-zg1-realm1.rgw.meta:groups",
  706. ceph | "system_key": {
  707. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  708. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  709. ceph | },
  710. ceph | "placement_pools": [
  711. ceph | {
  712. ceph | "key": "default-placement",
  713. ceph | "val": {
  714. ceph | "index_pool": "zone2-zg1-realm1.rgw.buckets.index",
  715. ceph | "storage_classes": {
  716. ceph | "STANDARD": {
  717. ceph | "data_pool": "zone2-zg1-realm1.rgw.buckets.data"
  718. ceph | }
  719. ceph | },
  720. ceph | "data_extra_pool": "zone2-zg1-realm1.rgw.buckets.non-ec",
  721. ceph | "index_type": 0,
  722. ceph | "inline_data": true
  723. ceph | }
  724. ceph | },
  725. ceph | {
  726. ceph | "key": "pt1-zone2-zg1-realm1",
  727. ceph | "val": {
  728. ceph | "index_pool": "pt1-zone2-zg1-realm1.rgw.buckets.index",
  729. ceph | "storage_classes": {
  730. ceph | "STANDARD": {
  731. ceph | "data_pool": "pt1-zone2-zg1-realm1.rgw.buckets.data"
  732. ceph | }
  733. ceph | },
  734. ceph | "data_extra_pool": "",
  735. ceph | "index_type": 0,
  736. ceph | "inline_data": true
  737. ceph | }
  738. ceph | },
  739. ceph | {
  740. ceph | "key": "pt2-zone2-zg1-realm1",
  741. ceph | "val": {
  742. ceph | "index_pool": "pt2-zone2-zg1-realm1.rgw.buckets.index",
  743. ceph | "storage_classes": {
  744. ceph | "STANDARD": {
  745. ceph | "data_pool": "pt2-zone2-zg1-realm1.rgw.buckets.data"
  746. ceph | }
  747. ceph | },
  748. ceph | "data_extra_pool": "",
  749. ceph | "index_type": 0,
  750. ceph | "inline_data": true
  751. ceph | }
  752. ceph | }
  753. ceph | ],
  754. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  755. ceph | }
  756. ceph | + [[ 20 -ge 14 ]]
  757. ceph | + COLD_STORAGE_CLASS=COLD
  758. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --placement-id pt2-zone2-zg1-realm1 --storage-class COLD
  759. ceph | 2025-05-12T13:03:17.821+0000 7f2ef755a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  760. ceph | 2025-05-12T13:03:17.825+0000 7f2ef755a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  761. ceph | 2025-05-12T13:03:17.826+0000 7f2ef755a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  762. ceph | [
  763. ceph | {
  764. ceph | "key": "default-placement",
  765. ceph | "val": {
  766. ceph | "name": "default-placement",
  767. ceph | "tags": [],
  768. ceph | "storage_classes": [
  769. ceph | "STANDARD"
  770. ceph | ]
  771. ceph | }
  772. ceph | },
  773. ceph | {
  774. ceph | "key": "pt1-zone1-zg1-realm1",
  775. ceph | "val": {
  776. ceph | "name": "pt1-zone1-zg1-realm1",
  777. ceph | "tags": [],
  778. ceph | "storage_classes": [
  779. ceph | "STANDARD"
  780. ceph | ]
  781. ceph | }
  782. ceph | },
  783. ceph | {
  784. ceph | "key": "pt1-zone2-zg1-realm1",
  785. ceph | "val": {
  786. ceph | "name": "pt1-zone2-zg1-realm1",
  787. ceph | "tags": [],
  788. ceph | "storage_classes": [
  789. ceph | "STANDARD"
  790. ceph | ]
  791. ceph | }
  792. ceph | },
  793. ceph | {
  794. ceph | "key": "pt2-zone1-zg1-realm1",
  795. ceph | "val": {
  796. ceph | "name": "pt2-zone1-zg1-realm1",
  797. ceph | "tags": [],
  798. ceph | "storage_classes": [
  799. ceph | "COLD",
  800. ceph | "STANDARD"
  801. ceph | ]
  802. ceph | }
  803. ceph | },
  804. ceph | {
  805. ceph | "key": "pt2-zone2-zg1-realm1",
  806. ceph | "val": {
  807. ceph | "name": "pt2-zone2-zg1-realm1",
  808. ceph | "tags": [],
  809. ceph | "storage_classes": [
  810. ceph | "COLD",
  811. ceph | "STANDARD"
  812. ceph | ]
  813. ceph | }
  814. ceph | }
  815. ceph | ]
  816. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone2-zg1-realm1 --placement-id pt2-zone2-zg1-realm1 --storage-class COLD --data-pool pt2-zone2-zg1-realm1.rgw.cold.data
  817. ceph | 2025-05-12T13:03:17.876+0000 7f8c8f7538c0 -1 WARNING: all dangerous and experimental features are enabled.
  818. ceph | 2025-05-12T13:03:17.880+0000 7f8c8f7538c0 -1 WARNING: all dangerous and experimental features are enabled.
  819. ceph | 2025-05-12T13:03:17.880+0000 7f8c8f7538c0 -1 WARNING: all dangerous and experimental features are enabled.
  820. ceph | {
  821. ceph | "id": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  822. ceph | "name": "zone2-zg1-realm1",
  823. ceph | "domain_root": "zone2-zg1-realm1.rgw.meta:root",
  824. ceph | "control_pool": "zone2-zg1-realm1.rgw.control",
  825. ceph | "gc_pool": "zone2-zg1-realm1.rgw.log:gc",
  826. ceph | "lc_pool": "zone2-zg1-realm1.rgw.log:lc",
  827. ceph | "log_pool": "zone2-zg1-realm1.rgw.log",
  828. ceph | "intent_log_pool": "zone2-zg1-realm1.rgw.log:intent",
  829. ceph | "usage_log_pool": "zone2-zg1-realm1.rgw.log:usage",
  830. ceph | "roles_pool": "zone2-zg1-realm1.rgw.meta:roles",
  831. ceph | "reshard_pool": "zone2-zg1-realm1.rgw.log:reshard",
  832. ceph | "user_keys_pool": "zone2-zg1-realm1.rgw.meta:users.keys",
  833. ceph | "user_email_pool": "zone2-zg1-realm1.rgw.meta:users.email",
  834. ceph | "user_swift_pool": "zone2-zg1-realm1.rgw.meta:users.swift",
  835. ceph | "user_uid_pool": "zone2-zg1-realm1.rgw.meta:users.uid",
  836. ceph | "otp_pool": "zone2-zg1-realm1.rgw.otp",
  837. ceph | "notif_pool": "zone2-zg1-realm1.rgw.log:notif",
  838. ceph | "topics_pool": "zone2-zg1-realm1.rgw.meta:topics",
  839. ceph | "account_pool": "zone2-zg1-realm1.rgw.meta:accounts",
  840. ceph | "group_pool": "zone2-zg1-realm1.rgw.meta:groups",
  841. ceph | "system_key": {
  842. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  843. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  844. ceph | },
  845. ceph | "placement_pools": [
  846. ceph | {
  847. ceph | "key": "default-placement",
  848. ceph | "val": {
  849. ceph | "index_pool": "zone2-zg1-realm1.rgw.buckets.index",
  850. ceph | "storage_classes": {
  851. ceph | "STANDARD": {
  852. ceph | "data_pool": "zone2-zg1-realm1.rgw.buckets.data"
  853. ceph | }
  854. ceph | },
  855. ceph | "data_extra_pool": "zone2-zg1-realm1.rgw.buckets.non-ec",
  856. ceph | "index_type": 0,
  857. ceph | "inline_data": true
  858. ceph | }
  859. ceph | },
  860. ceph | {
  861. ceph | "key": "pt1-zone2-zg1-realm1",
  862. ceph | "val": {
  863. ceph | "index_pool": "pt1-zone2-zg1-realm1.rgw.buckets.index",
  864. ceph | "storage_classes": {
  865. ceph | "STANDARD": {
  866. ceph | "data_pool": "pt1-zone2-zg1-realm1.rgw.buckets.data"
  867. ceph | }
  868. ceph | },
  869. ceph | "data_extra_pool": "",
  870. ceph | "index_type": 0,
  871. ceph | "inline_data": true
  872. ceph | }
  873. ceph | },
  874. ceph | {
  875. ceph | "key": "pt2-zone2-zg1-realm1",
  876. ceph | "val": {
  877. ceph | "index_pool": "pt2-zone2-zg1-realm1.rgw.buckets.index",
  878. ceph | "storage_classes": {
  879. ceph | "COLD": {
  880. ceph | "data_pool": "pt2-zone2-zg1-realm1.rgw.cold.data"
  881. ceph | },
  882. ceph | "STANDARD": {
  883. ceph | "data_pool": "pt2-zone2-zg1-realm1.rgw.buckets.data"
  884. ceph | }
  885. ceph | },
  886. ceph | "data_extra_pool": "",
  887. ceph | "index_type": 0,
  888. ceph | "inline_data": true
  889. ceph | }
  890. ceph | }
  891. ceph | ],
  892. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  893. ceph | }
  894. ceph | + RGW_DAEMON_PORT=8001
  895. ceph | + for ZONEGROUP_NUM in 1 2
  896. ceph | + ZONEGROUP_NAME=zg2-realm1
  897. ceph | + ZONEGROUP_OPTIONS=
  898. ceph | + [[ 2 == 1 ]]
  899. ceph | + /usr/bin/radosgw-admin zonegroup create --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --endpoints http://ceph:8001
  900. ceph | 2025-05-12T13:03:17.926+0000 7f20b86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  901. ceph | 2025-05-12T13:03:17.929+0000 7f20b86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  902. ceph | 2025-05-12T13:03:17.930+0000 7f20b86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  903. ceph | {
  904. ceph | "id": "61aacd6b-d403-4d0c-b836-2690cb50c254",
  905. ceph | "name": "zg2-realm1",
  906. ceph | "api_name": "zg2-realm1",
  907. ceph | "is_master": false,
  908. ceph | "endpoints": [
  909. ceph | "http://ceph:8001"
  910. ceph | ],
  911. ceph | "hostnames": [],
  912. ceph | "hostnames_s3website": [],
  913. ceph | "master_zone": "",
  914. ceph | "zones": [],
  915. ceph | "placement_targets": [
  916. ceph | {
  917. ceph | "name": "default-placement",
  918. ceph | "tags": [],
  919. ceph | "storage_classes": []
  920. ceph | }
  921. ceph | ],
  922. ceph | "default_placement": "default-placement",
  923. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  924. ceph | "sync_policy": {
  925. ceph | "groups": []
  926. ceph | },
  927. ceph | "enabled_features": [
  928. ceph | "notification_v2",
  929. ceph | "resharding"
  930. ceph | ]
  931. ceph | }
  932. ceph | + for ZONE_NUM in 1 2
  933. ceph | + ZONE_NAME=zone1-zg2-realm1
  934. ceph | + ZONE_OPTIONS=
  935. ceph | + [[ 1 == 1 ]]
  936. ceph | + [[ 2 == 1 ]]
  937. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone1-zg2-realm1 --endpoints http://ceph:8001 --access-key DiPt4V7WWvy2njL1z6aC --secret xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh
  938. ceph | 2025-05-12T13:03:18.004+0000 7f5dd99ab8c0 -1 WARNING: all dangerous and experimental features are enabled.
  939. ceph | 2025-05-12T13:03:18.008+0000 7f5dd99ab8c0 -1 WARNING: all dangerous and experimental features are enabled.
  940. ceph | 2025-05-12T13:03:18.008+0000 7f5dd99ab8c0 -1 WARNING: all dangerous and experimental features are enabled.
  941. ceph | NOTICE: set zone's realm_id=b75707d0-b141-4b31-9f5a-eed6f8c275b2
  942. ceph | 2025-05-12T13:03:18.080+0000 7f5dd99ab8c0 0 NOTICE: promoted zone1-zg2-realm1 as new master_zone of zonegroup zg2-realm1
  943. ceph | {
  944. ceph | "id": "f841d862-a2e7-4cce-844f-907956290853",
  945. ceph | "name": "zone1-zg2-realm1",
  946. ceph | "domain_root": "zone1-zg2-realm1.rgw.meta:root",
  947. ceph | "control_pool": "zone1-zg2-realm1.rgw.control",
  948. ceph | "gc_pool": "zone1-zg2-realm1.rgw.log:gc",
  949. ceph | "lc_pool": "zone1-zg2-realm1.rgw.log:lc",
  950. ceph | "log_pool": "zone1-zg2-realm1.rgw.log",
  951. ceph | "intent_log_pool": "zone1-zg2-realm1.rgw.log:intent",
  952. ceph | "usage_log_pool": "zone1-zg2-realm1.rgw.log:usage",
  953. ceph | "roles_pool": "zone1-zg2-realm1.rgw.meta:roles",
  954. ceph | "reshard_pool": "zone1-zg2-realm1.rgw.log:reshard",
  955. ceph | "user_keys_pool": "zone1-zg2-realm1.rgw.meta:users.keys",
  956. ceph | "user_email_pool": "zone1-zg2-realm1.rgw.meta:users.email",
  957. ceph | "user_swift_pool": "zone1-zg2-realm1.rgw.meta:users.swift",
  958. ceph | "user_uid_pool": "zone1-zg2-realm1.rgw.meta:users.uid",
  959. ceph | "otp_pool": "zone1-zg2-realm1.rgw.otp",
  960. ceph | "notif_pool": "zone1-zg2-realm1.rgw.log:notif",
  961. ceph | "topics_pool": "zone1-zg2-realm1.rgw.meta:topics",
  962. ceph | "account_pool": "zone1-zg2-realm1.rgw.meta:accounts",
  963. ceph | "group_pool": "zone1-zg2-realm1.rgw.meta:groups",
  964. ceph | "system_key": {
  965. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  966. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  967. ceph | },
  968. ceph | "placement_pools": [
  969. ceph | {
  970. ceph | "key": "default-placement",
  971. ceph | "val": {
  972. ceph | "index_pool": "zone1-zg2-realm1.rgw.buckets.index",
  973. ceph | "storage_classes": {
  974. ceph | "STANDARD": {
  975. ceph | "data_pool": "zone1-zg2-realm1.rgw.buckets.data"
  976. ceph | }
  977. ceph | },
  978. ceph | "data_extra_pool": "zone1-zg2-realm1.rgw.buckets.non-ec",
  979. ceph | "index_type": 0,
  980. ceph | "inline_data": true
  981. ceph | }
  982. ceph | }
  983. ceph | ],
  984. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  985. ceph | }
  986. ceph | + add_placement_targets_and_storage_classes
  987. ceph | + for PT_NUM in 1 2
  988. ceph | + PT_NAME=pt1-zone1-zg2-realm1
  989. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg2-realm1 --placement-id pt1-zone1-zg2-realm1
  990. ceph | 2025-05-12T13:03:18.130+0000 7fa4a6ad48c0 -1 WARNING: all dangerous and experimental features are enabled.
  991. ceph | 2025-05-12T13:03:18.134+0000 7fa4a6ad48c0 -1 WARNING: all dangerous and experimental features are enabled.
  992. ceph | 2025-05-12T13:03:18.134+0000 7fa4a6ad48c0 -1 WARNING: all dangerous and experimental features are enabled.
  993. ceph | [
  994. ceph | {
  995. ceph | "key": "default-placement",
  996. ceph | "val": {
  997. ceph | "name": "default-placement",
  998. ceph | "tags": [],
  999. ceph | "storage_classes": [
  1000. ceph | "STANDARD"
  1001. ceph | ]
  1002. ceph | }
  1003. ceph | },
  1004. ceph | {
  1005. ceph | "key": "pt1-zone1-zg2-realm1",
  1006. ceph | "val": {
  1007. ceph | "name": "pt1-zone1-zg2-realm1",
  1008. ceph | "tags": [],
  1009. ceph | "storage_classes": [
  1010. ceph | "STANDARD"
  1011. ceph | ]
  1012. ceph | }
  1013. ceph | }
  1014. ceph | ]
  1015. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone1-zg2-realm1 --placement-id pt1-zone1-zg2-realm1 --data-pool pt1-zone1-zg2-realm1.rgw.buckets.data --index-pool pt1-zone1-zg2-realm1.rgw.buckets.index
  1016. ceph | 2025-05-12T13:03:18.182+0000 7f05206cb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1017. ceph | 2025-05-12T13:03:18.186+0000 7f05206cb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1018. ceph | 2025-05-12T13:03:18.187+0000 7f05206cb8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1019. ceph | {
  1020. ceph | "id": "f841d862-a2e7-4cce-844f-907956290853",
  1021. ceph | "name": "zone1-zg2-realm1",
  1022. ceph | "domain_root": "zone1-zg2-realm1.rgw.meta:root",
  1023. ceph | "control_pool": "zone1-zg2-realm1.rgw.control",
  1024. ceph | "gc_pool": "zone1-zg2-realm1.rgw.log:gc",
  1025. ceph | "lc_pool": "zone1-zg2-realm1.rgw.log:lc",
  1026. ceph | "log_pool": "zone1-zg2-realm1.rgw.log",
  1027. ceph | "intent_log_pool": "zone1-zg2-realm1.rgw.log:intent",
  1028. ceph | "usage_log_pool": "zone1-zg2-realm1.rgw.log:usage",
  1029. ceph | "roles_pool": "zone1-zg2-realm1.rgw.meta:roles",
  1030. ceph | "reshard_pool": "zone1-zg2-realm1.rgw.log:reshard",
  1031. ceph | "user_keys_pool": "zone1-zg2-realm1.rgw.meta:users.keys",
  1032. ceph | "user_email_pool": "zone1-zg2-realm1.rgw.meta:users.email",
  1033. ceph | "user_swift_pool": "zone1-zg2-realm1.rgw.meta:users.swift",
  1034. ceph | "user_uid_pool": "zone1-zg2-realm1.rgw.meta:users.uid",
  1035. ceph | "otp_pool": "zone1-zg2-realm1.rgw.otp",
  1036. ceph | "notif_pool": "zone1-zg2-realm1.rgw.log:notif",
  1037. ceph | "topics_pool": "zone1-zg2-realm1.rgw.meta:topics",
  1038. ceph | "account_pool": "zone1-zg2-realm1.rgw.meta:accounts",
  1039. ceph | "group_pool": "zone1-zg2-realm1.rgw.meta:groups",
  1040. ceph | "system_key": {
  1041. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1042. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1043. ceph | },
  1044. ceph | "placement_pools": [
  1045. ceph | {
  1046. ceph | "key": "default-placement",
  1047. ceph | "val": {
  1048. ceph | "index_pool": "zone1-zg2-realm1.rgw.buckets.index",
  1049. ceph | "storage_classes": {
  1050. ceph | "STANDARD": {
  1051. ceph | "data_pool": "zone1-zg2-realm1.rgw.buckets.data"
  1052. ceph | }
  1053. ceph | },
  1054. ceph | "data_extra_pool": "zone1-zg2-realm1.rgw.buckets.non-ec",
  1055. ceph | "index_type": 0,
  1056. ceph | "inline_data": true
  1057. ceph | }
  1058. ceph | },
  1059. ceph | {
  1060. ceph | "key": "pt1-zone1-zg2-realm1",
  1061. ceph | "val": {
  1062. ceph | "index_pool": "pt1-zone1-zg2-realm1.rgw.buckets.index",
  1063. ceph | "storage_classes": {
  1064. ceph | "STANDARD": {
  1065. ceph | "data_pool": "pt1-zone1-zg2-realm1.rgw.buckets.data"
  1066. ceph | }
  1067. ceph | },
  1068. ceph | "data_extra_pool": "",
  1069. ceph | "index_type": 0,
  1070. ceph | "inline_data": true
  1071. ceph | }
  1072. ceph | }
  1073. ceph | ],
  1074. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1075. ceph | }
  1076. ceph | + for PT_NUM in 1 2
  1077. ceph | + PT_NAME=pt2-zone1-zg2-realm1
  1078. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg2-realm1 --placement-id pt2-zone1-zg2-realm1
  1079. ceph | 2025-05-12T13:03:18.233+0000 7fa4456d98c0 -1 WARNING: all dangerous and experimental features are enabled.
  1080. ceph | 2025-05-12T13:03:18.236+0000 7fa4456d98c0 -1 WARNING: all dangerous and experimental features are enabled.
  1081. ceph | 2025-05-12T13:03:18.237+0000 7fa4456d98c0 -1 WARNING: all dangerous and experimental features are enabled.
  1082. ceph | [
  1083. ceph | {
  1084. ceph | "key": "default-placement",
  1085. ceph | "val": {
  1086. ceph | "name": "default-placement",
  1087. ceph | "tags": [],
  1088. ceph | "storage_classes": [
  1089. ceph | "STANDARD"
  1090. ceph | ]
  1091. ceph | }
  1092. ceph | },
  1093. ceph | {
  1094. ceph | "key": "pt1-zone1-zg2-realm1",
  1095. ceph | "val": {
  1096. ceph | "name": "pt1-zone1-zg2-realm1",
  1097. ceph | "tags": [],
  1098. ceph | "storage_classes": [
  1099. ceph | "STANDARD"
  1100. ceph | ]
  1101. ceph | }
  1102. ceph | },
  1103. ceph | {
  1104. ceph | "key": "pt2-zone1-zg2-realm1",
  1105. ceph | "val": {
  1106. ceph | "name": "pt2-zone1-zg2-realm1",
  1107. ceph | "tags": [],
  1108. ceph | "storage_classes": [
  1109. ceph | "STANDARD"
  1110. ceph | ]
  1111. ceph | }
  1112. ceph | }
  1113. ceph | ]
  1114. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone1-zg2-realm1 --placement-id pt2-zone1-zg2-realm1 --data-pool pt2-zone1-zg2-realm1.rgw.buckets.data --index-pool pt2-zone1-zg2-realm1.rgw.buckets.index
  1115. ceph | 2025-05-12T13:03:18.285+0000 7fe9f23cc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1116. ceph | 2025-05-12T13:03:18.289+0000 7fe9f23cc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1117. ceph | 2025-05-12T13:03:18.290+0000 7fe9f23cc8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1118. ceph | {
  1119. ceph | "id": "f841d862-a2e7-4cce-844f-907956290853",
  1120. ceph | "name": "zone1-zg2-realm1",
  1121. ceph | "domain_root": "zone1-zg2-realm1.rgw.meta:root",
  1122. ceph | "control_pool": "zone1-zg2-realm1.rgw.control",
  1123. ceph | "gc_pool": "zone1-zg2-realm1.rgw.log:gc",
  1124. ceph | "lc_pool": "zone1-zg2-realm1.rgw.log:lc",
  1125. ceph | "log_pool": "zone1-zg2-realm1.rgw.log",
  1126. ceph | "intent_log_pool": "zone1-zg2-realm1.rgw.log:intent",
  1127. ceph | "usage_log_pool": "zone1-zg2-realm1.rgw.log:usage",
  1128. ceph | "roles_pool": "zone1-zg2-realm1.rgw.meta:roles",
  1129. ceph | "reshard_pool": "zone1-zg2-realm1.rgw.log:reshard",
  1130. ceph | "user_keys_pool": "zone1-zg2-realm1.rgw.meta:users.keys",
  1131. ceph | "user_email_pool": "zone1-zg2-realm1.rgw.meta:users.email",
  1132. ceph | "user_swift_pool": "zone1-zg2-realm1.rgw.meta:users.swift",
  1133. ceph | "user_uid_pool": "zone1-zg2-realm1.rgw.meta:users.uid",
  1134. ceph | "otp_pool": "zone1-zg2-realm1.rgw.otp",
  1135. ceph | "notif_pool": "zone1-zg2-realm1.rgw.log:notif",
  1136. ceph | "topics_pool": "zone1-zg2-realm1.rgw.meta:topics",
  1137. ceph | "account_pool": "zone1-zg2-realm1.rgw.meta:accounts",
  1138. ceph | "group_pool": "zone1-zg2-realm1.rgw.meta:groups",
  1139. ceph | "system_key": {
  1140. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1141. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1142. ceph | },
  1143. ceph | "placement_pools": [
  1144. ceph | {
  1145. ceph | "key": "default-placement",
  1146. ceph | "val": {
  1147. ceph | "index_pool": "zone1-zg2-realm1.rgw.buckets.index",
  1148. ceph | "storage_classes": {
  1149. ceph | "STANDARD": {
  1150. ceph | "data_pool": "zone1-zg2-realm1.rgw.buckets.data"
  1151. ceph | }
  1152. ceph | },
  1153. ceph | "data_extra_pool": "zone1-zg2-realm1.rgw.buckets.non-ec",
  1154. ceph | "index_type": 0,
  1155. ceph | "inline_data": true
  1156. ceph | }
  1157. ceph | },
  1158. ceph | {
  1159. ceph | "key": "pt1-zone1-zg2-realm1",
  1160. ceph | "val": {
  1161. ceph | "index_pool": "pt1-zone1-zg2-realm1.rgw.buckets.index",
  1162. ceph | "storage_classes": {
  1163. ceph | "STANDARD": {
  1164. ceph | "data_pool": "pt1-zone1-zg2-realm1.rgw.buckets.data"
  1165. ceph | }
  1166. ceph | },
  1167. ceph | "data_extra_pool": "",
  1168. ceph | "index_type": 0,
  1169. ceph | "inline_data": true
  1170. ceph | }
  1171. ceph | },
  1172. ceph | {
  1173. ceph | "key": "pt2-zone1-zg2-realm1",
  1174. ceph | "val": {
  1175. ceph | "index_pool": "pt2-zone1-zg2-realm1.rgw.buckets.index",
  1176. ceph | "storage_classes": {
  1177. ceph | "STANDARD": {
  1178. ceph | "data_pool": "pt2-zone1-zg2-realm1.rgw.buckets.data"
  1179. ceph | }
  1180. ceph | },
  1181. ceph | "data_extra_pool": "",
  1182. ceph | "index_type": 0,
  1183. ceph | "inline_data": true
  1184. ceph | }
  1185. ceph | }
  1186. ceph | ],
  1187. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1188. ceph | }
  1189. ceph | + [[ 20 -ge 14 ]]
  1190. ceph | + COLD_STORAGE_CLASS=COLD
  1191. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --placement-id pt2-zone1-zg2-realm1 --storage-class COLD
  1192. ceph | 2025-05-12T13:03:18.339+0000 7f6aa061f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1193. ceph | 2025-05-12T13:03:18.343+0000 7f6aa061f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1194. ceph | 2025-05-12T13:03:18.343+0000 7f6aa061f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1195. ceph | [
  1196. ceph | {
  1197. ceph | "key": "default-placement",
  1198. ceph | "val": {
  1199. ceph | "name": "default-placement",
  1200. ceph | "tags": [],
  1201. ceph | "storage_classes": [
  1202. ceph | "STANDARD"
  1203. ceph | ]
  1204. ceph | }
  1205. ceph | },
  1206. ceph | {
  1207. ceph | "key": "pt1-zone1-zg2-realm1",
  1208. ceph | "val": {
  1209. ceph | "name": "pt1-zone1-zg2-realm1",
  1210. ceph | "tags": [],
  1211. ceph | "storage_classes": [
  1212. ceph | "STANDARD"
  1213. ceph | ]
  1214. ceph | }
  1215. ceph | },
  1216. ceph | {
  1217. ceph | "key": "pt2-zone1-zg2-realm1",
  1218. ceph | "val": {
  1219. ceph | "name": "pt2-zone1-zg2-realm1",
  1220. ceph | "tags": [],
  1221. ceph | "storage_classes": [
  1222. ceph | "COLD",
  1223. ceph | "STANDARD"
  1224. ceph | ]
  1225. ceph | }
  1226. ceph | }
  1227. ceph | ]
  1228. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone1-zg2-realm1 --placement-id pt2-zone1-zg2-realm1 --storage-class COLD --data-pool pt2-zone1-zg2-realm1.rgw.cold.data
  1229. ceph | 2025-05-12T13:03:18.393+0000 7fc1777378c0 -1 WARNING: all dangerous and experimental features are enabled.
  1230. ceph | 2025-05-12T13:03:18.397+0000 7fc1777378c0 -1 WARNING: all dangerous and experimental features are enabled.
  1231. ceph | 2025-05-12T13:03:18.397+0000 7fc1777378c0 -1 WARNING: all dangerous and experimental features are enabled.
  1232. ceph | {
  1233. ceph | "id": "f841d862-a2e7-4cce-844f-907956290853",
  1234. ceph | "name": "zone1-zg2-realm1",
  1235. ceph | "domain_root": "zone1-zg2-realm1.rgw.meta:root",
  1236. ceph | "control_pool": "zone1-zg2-realm1.rgw.control",
  1237. ceph | "gc_pool": "zone1-zg2-realm1.rgw.log:gc",
  1238. ceph | "lc_pool": "zone1-zg2-realm1.rgw.log:lc",
  1239. ceph | "log_pool": "zone1-zg2-realm1.rgw.log",
  1240. ceph | "intent_log_pool": "zone1-zg2-realm1.rgw.log:intent",
  1241. ceph | "usage_log_pool": "zone1-zg2-realm1.rgw.log:usage",
  1242. ceph | "roles_pool": "zone1-zg2-realm1.rgw.meta:roles",
  1243. ceph | "reshard_pool": "zone1-zg2-realm1.rgw.log:reshard",
  1244. ceph | "user_keys_pool": "zone1-zg2-realm1.rgw.meta:users.keys",
  1245. ceph | "user_email_pool": "zone1-zg2-realm1.rgw.meta:users.email",
  1246. ceph | "user_swift_pool": "zone1-zg2-realm1.rgw.meta:users.swift",
  1247. ceph | "user_uid_pool": "zone1-zg2-realm1.rgw.meta:users.uid",
  1248. ceph | "otp_pool": "zone1-zg2-realm1.rgw.otp",
  1249. ceph | "notif_pool": "zone1-zg2-realm1.rgw.log:notif",
  1250. ceph | "topics_pool": "zone1-zg2-realm1.rgw.meta:topics",
  1251. ceph | "account_pool": "zone1-zg2-realm1.rgw.meta:accounts",
  1252. ceph | "group_pool": "zone1-zg2-realm1.rgw.meta:groups",
  1253. ceph | "system_key": {
  1254. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1255. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1256. ceph | },
  1257. ceph | "placement_pools": [
  1258. ceph | {
  1259. ceph | "key": "default-placement",
  1260. ceph | "val": {
  1261. ceph | "index_pool": "zone1-zg2-realm1.rgw.buckets.index",
  1262. ceph | "storage_classes": {
  1263. ceph | "STANDARD": {
  1264. ceph | "data_pool": "zone1-zg2-realm1.rgw.buckets.data"
  1265. ceph | }
  1266. ceph | },
  1267. ceph | "data_extra_pool": "zone1-zg2-realm1.rgw.buckets.non-ec",
  1268. ceph | "index_type": 0,
  1269. ceph | "inline_data": true
  1270. ceph | }
  1271. ceph | },
  1272. ceph | {
  1273. ceph | "key": "pt1-zone1-zg2-realm1",
  1274. ceph | "val": {
  1275. ceph | "index_pool": "pt1-zone1-zg2-realm1.rgw.buckets.index",
  1276. ceph | "storage_classes": {
  1277. ceph | "STANDARD": {
  1278. ceph | "data_pool": "pt1-zone1-zg2-realm1.rgw.buckets.data"
  1279. ceph | }
  1280. ceph | },
  1281. ceph | "data_extra_pool": "",
  1282. ceph | "index_type": 0,
  1283. ceph | "inline_data": true
  1284. ceph | }
  1285. ceph | },
  1286. ceph | {
  1287. ceph | "key": "pt2-zone1-zg2-realm1",
  1288. ceph | "val": {
  1289. ceph | "index_pool": "pt2-zone1-zg2-realm1.rgw.buckets.index",
  1290. ceph | "storage_classes": {
  1291. ceph | "COLD": {
  1292. ceph | "data_pool": "pt2-zone1-zg2-realm1.rgw.cold.data"
  1293. ceph | },
  1294. ceph | "STANDARD": {
  1295. ceph | "data_pool": "pt2-zone1-zg2-realm1.rgw.buckets.data"
  1296. ceph | }
  1297. ceph | },
  1298. ceph | "data_extra_pool": "",
  1299. ceph | "index_type": 0,
  1300. ceph | "inline_data": true
  1301. ceph | }
  1302. ceph | }
  1303. ceph | ],
  1304. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1305. ceph | }
  1306. ceph | + for ZONE_NUM in 1 2
  1307. ceph | + ZONE_NAME=zone2-zg2-realm1
  1308. ceph | + ZONE_OPTIONS=
  1309. ceph | + [[ 2 == 1 ]]
  1310. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone2-zg2-realm1 --endpoints http://ceph:8001 --access-key DiPt4V7WWvy2njL1z6aC --secret xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh
  1311. ceph | 2025-05-12T13:03:18.449+0000 7ff52c1118c0 -1 WARNING: all dangerous and experimental features are enabled.
  1312. ceph | 2025-05-12T13:03:18.452+0000 7ff52c1118c0 -1 WARNING: all dangerous and experimental features are enabled.
  1313. ceph | 2025-05-12T13:03:18.453+0000 7ff52c1118c0 -1 WARNING: all dangerous and experimental features are enabled.
  1314. ceph | NOTICE: set zone's realm_id=b75707d0-b141-4b31-9f5a-eed6f8c275b2
  1315. ceph | {
  1316. ceph | "id": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  1317. ceph | "name": "zone2-zg2-realm1",
  1318. ceph | "domain_root": "zone2-zg2-realm1.rgw.meta:root",
  1319. ceph | "control_pool": "zone2-zg2-realm1.rgw.control",
  1320. ceph | "gc_pool": "zone2-zg2-realm1.rgw.log:gc",
  1321. ceph | "lc_pool": "zone2-zg2-realm1.rgw.log:lc",
  1322. ceph | "log_pool": "zone2-zg2-realm1.rgw.log",
  1323. ceph | "intent_log_pool": "zone2-zg2-realm1.rgw.log:intent",
  1324. ceph | "usage_log_pool": "zone2-zg2-realm1.rgw.log:usage",
  1325. ceph | "roles_pool": "zone2-zg2-realm1.rgw.meta:roles",
  1326. ceph | "reshard_pool": "zone2-zg2-realm1.rgw.log:reshard",
  1327. ceph | "user_keys_pool": "zone2-zg2-realm1.rgw.meta:users.keys",
  1328. ceph | "user_email_pool": "zone2-zg2-realm1.rgw.meta:users.email",
  1329. ceph | "user_swift_pool": "zone2-zg2-realm1.rgw.meta:users.swift",
  1330. ceph | "user_uid_pool": "zone2-zg2-realm1.rgw.meta:users.uid",
  1331. ceph | "otp_pool": "zone2-zg2-realm1.rgw.otp",
  1332. ceph | "notif_pool": "zone2-zg2-realm1.rgw.log:notif",
  1333. ceph | "topics_pool": "zone2-zg2-realm1.rgw.meta:topics",
  1334. ceph | "account_pool": "zone2-zg2-realm1.rgw.meta:accounts",
  1335. ceph | "group_pool": "zone2-zg2-realm1.rgw.meta:groups",
  1336. ceph | "system_key": {
  1337. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1338. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1339. ceph | },
  1340. ceph | "placement_pools": [
  1341. ceph | {
  1342. ceph | "key": "default-placement",
  1343. ceph | "val": {
  1344. ceph | "index_pool": "zone2-zg2-realm1.rgw.buckets.index",
  1345. ceph | "storage_classes": {
  1346. ceph | "STANDARD": {
  1347. ceph | "data_pool": "zone2-zg2-realm1.rgw.buckets.data"
  1348. ceph | }
  1349. ceph | },
  1350. ceph | "data_extra_pool": "zone2-zg2-realm1.rgw.buckets.non-ec",
  1351. ceph | "index_type": 0,
  1352. ceph | "inline_data": true
  1353. ceph | }
  1354. ceph | }
  1355. ceph | ],
  1356. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1357. ceph | }
  1358. ceph | + add_placement_targets_and_storage_classes
  1359. ceph | + for PT_NUM in 1 2
  1360. ceph | + PT_NAME=pt1-zone2-zg2-realm1
  1361. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg2-realm1 --placement-id pt1-zone2-zg2-realm1
  1362. ceph | 2025-05-12T13:03:18.534+0000 7f726b1288c0 -1 WARNING: all dangerous and experimental features are enabled.
  1363. ceph | 2025-05-12T13:03:18.538+0000 7f726b1288c0 -1 WARNING: all dangerous and experimental features are enabled.
  1364. ceph | 2025-05-12T13:03:18.539+0000 7f726b1288c0 -1 WARNING: all dangerous and experimental features are enabled.
  1365. ceph | [
  1366. ceph | {
  1367. ceph | "key": "default-placement",
  1368. ceph | "val": {
  1369. ceph | "name": "default-placement",
  1370. ceph | "tags": [],
  1371. ceph | "storage_classes": [
  1372. ceph | "STANDARD"
  1373. ceph | ]
  1374. ceph | }
  1375. ceph | },
  1376. ceph | {
  1377. ceph | "key": "pt1-zone1-zg2-realm1",
  1378. ceph | "val": {
  1379. ceph | "name": "pt1-zone1-zg2-realm1",
  1380. ceph | "tags": [],
  1381. ceph | "storage_classes": [
  1382. ceph | "STANDARD"
  1383. ceph | ]
  1384. ceph | }
  1385. ceph | },
  1386. ceph | {
  1387. ceph | "key": "pt1-zone2-zg2-realm1",
  1388. ceph | "val": {
  1389. ceph | "name": "pt1-zone2-zg2-realm1",
  1390. ceph | "tags": [],
  1391. ceph | "storage_classes": [
  1392. ceph | "STANDARD"
  1393. ceph | ]
  1394. ceph | }
  1395. ceph | },
  1396. ceph | {
  1397. ceph | "key": "pt2-zone1-zg2-realm1",
  1398. ceph | "val": {
  1399. ceph | "name": "pt2-zone1-zg2-realm1",
  1400. ceph | "tags": [],
  1401. ceph | "storage_classes": [
  1402. ceph | "COLD",
  1403. ceph | "STANDARD"
  1404. ceph | ]
  1405. ceph | }
  1406. ceph | }
  1407. ceph | ]
  1408. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone2-zg2-realm1 --placement-id pt1-zone2-zg2-realm1 --data-pool pt1-zone2-zg2-realm1.rgw.buckets.data --index-pool pt1-zone2-zg2-realm1.rgw.buckets.index
  1409. ceph | 2025-05-12T13:03:18.590+0000 7f9bffae48c0 -1 WARNING: all dangerous and experimental features are enabled.
  1410. ceph | 2025-05-12T13:03:18.594+0000 7f9bffae48c0 -1 WARNING: all dangerous and experimental features are enabled.
  1411. ceph | 2025-05-12T13:03:18.594+0000 7f9bffae48c0 -1 WARNING: all dangerous and experimental features are enabled.
  1412. ceph | {
  1413. ceph | "id": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  1414. ceph | "name": "zone2-zg2-realm1",
  1415. ceph | "domain_root": "zone2-zg2-realm1.rgw.meta:root",
  1416. ceph | "control_pool": "zone2-zg2-realm1.rgw.control",
  1417. ceph | "gc_pool": "zone2-zg2-realm1.rgw.log:gc",
  1418. ceph | "lc_pool": "zone2-zg2-realm1.rgw.log:lc",
  1419. ceph | "log_pool": "zone2-zg2-realm1.rgw.log",
  1420. ceph | "intent_log_pool": "zone2-zg2-realm1.rgw.log:intent",
  1421. ceph | "usage_log_pool": "zone2-zg2-realm1.rgw.log:usage",
  1422. ceph | "roles_pool": "zone2-zg2-realm1.rgw.meta:roles",
  1423. ceph | "reshard_pool": "zone2-zg2-realm1.rgw.log:reshard",
  1424. ceph | "user_keys_pool": "zone2-zg2-realm1.rgw.meta:users.keys",
  1425. ceph | "user_email_pool": "zone2-zg2-realm1.rgw.meta:users.email",
  1426. ceph | "user_swift_pool": "zone2-zg2-realm1.rgw.meta:users.swift",
  1427. ceph | "user_uid_pool": "zone2-zg2-realm1.rgw.meta:users.uid",
  1428. ceph | "otp_pool": "zone2-zg2-realm1.rgw.otp",
  1429. ceph | "notif_pool": "zone2-zg2-realm1.rgw.log:notif",
  1430. ceph | "topics_pool": "zone2-zg2-realm1.rgw.meta:topics",
  1431. ceph | "account_pool": "zone2-zg2-realm1.rgw.meta:accounts",
  1432. ceph | "group_pool": "zone2-zg2-realm1.rgw.meta:groups",
  1433. ceph | "system_key": {
  1434. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1435. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1436. ceph | },
  1437. ceph | "placement_pools": [
  1438. ceph | {
  1439. ceph | "key": "default-placement",
  1440. ceph | "val": {
  1441. ceph | "index_pool": "zone2-zg2-realm1.rgw.buckets.index",
  1442. ceph | "storage_classes": {
  1443. ceph | "STANDARD": {
  1444. ceph | "data_pool": "zone2-zg2-realm1.rgw.buckets.data"
  1445. ceph | }
  1446. ceph | },
  1447. ceph | "data_extra_pool": "zone2-zg2-realm1.rgw.buckets.non-ec",
  1448. ceph | "index_type": 0,
  1449. ceph | "inline_data": true
  1450. ceph | }
  1451. ceph | },
  1452. ceph | {
  1453. ceph | "key": "pt1-zone2-zg2-realm1",
  1454. ceph | "val": {
  1455. ceph | "index_pool": "pt1-zone2-zg2-realm1.rgw.buckets.index",
  1456. ceph | "storage_classes": {
  1457. ceph | "STANDARD": {
  1458. ceph | "data_pool": "pt1-zone2-zg2-realm1.rgw.buckets.data"
  1459. ceph | }
  1460. ceph | },
  1461. ceph | "data_extra_pool": "",
  1462. ceph | "index_type": 0,
  1463. ceph | "inline_data": true
  1464. ceph | }
  1465. ceph | }
  1466. ceph | ],
  1467. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1468. ceph | }
  1469. ceph | + for PT_NUM in 1 2
  1470. ceph | + PT_NAME=pt2-zone2-zg2-realm1
  1471. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm1 add --rgw-zonegroup zg2-realm1 --placement-id pt2-zone2-zg2-realm1
  1472. ceph | 2025-05-12T13:03:18.642+0000 7fef989db8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1473. ceph | 2025-05-12T13:03:18.646+0000 7fef989db8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1474. ceph | 2025-05-12T13:03:18.647+0000 7fef989db8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1475. ceph | [
  1476. ceph | {
  1477. ceph | "key": "default-placement",
  1478. ceph | "val": {
  1479. ceph | "name": "default-placement",
  1480. ceph | "tags": [],
  1481. ceph | "storage_classes": [
  1482. ceph | "STANDARD"
  1483. ceph | ]
  1484. ceph | }
  1485. ceph | },
  1486. ceph | {
  1487. ceph | "key": "pt1-zone1-zg2-realm1",
  1488. ceph | "val": {
  1489. ceph | "name": "pt1-zone1-zg2-realm1",
  1490. ceph | "tags": [],
  1491. ceph | "storage_classes": [
  1492. ceph | "STANDARD"
  1493. ceph | ]
  1494. ceph | }
  1495. ceph | },
  1496. ceph | {
  1497. ceph | "key": "pt1-zone2-zg2-realm1",
  1498. ceph | "val": {
  1499. ceph | "name": "pt1-zone2-zg2-realm1",
  1500. ceph | "tags": [],
  1501. ceph | "storage_classes": [
  1502. ceph | "STANDARD"
  1503. ceph | ]
  1504. ceph | }
  1505. ceph | },
  1506. ceph | {
  1507. ceph | "key": "pt2-zone1-zg2-realm1",
  1508. ceph | "val": {
  1509. ceph | "name": "pt2-zone1-zg2-realm1",
  1510. ceph | "tags": [],
  1511. ceph | "storage_classes": [
  1512. ceph | "COLD",
  1513. ceph | "STANDARD"
  1514. ceph | ]
  1515. ceph | }
  1516. ceph | },
  1517. ceph | {
  1518. ceph | "key": "pt2-zone2-zg2-realm1",
  1519. ceph | "val": {
  1520. ceph | "name": "pt2-zone2-zg2-realm1",
  1521. ceph | "tags": [],
  1522. ceph | "storage_classes": [
  1523. ceph | "STANDARD"
  1524. ceph | ]
  1525. ceph | }
  1526. ceph | }
  1527. ceph | ]
  1528. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone2-zg2-realm1 --placement-id pt2-zone2-zg2-realm1 --data-pool pt2-zone2-zg2-realm1.rgw.buckets.data --index-pool pt2-zone2-zg2-realm1.rgw.buckets.index
  1529. ceph | 2025-05-12T13:03:18.698+0000 7f1aeabb28c0 -1 WARNING: all dangerous and experimental features are enabled.
  1530. ceph | 2025-05-12T13:03:18.702+0000 7f1aeabb28c0 -1 WARNING: all dangerous and experimental features are enabled.
  1531. ceph | 2025-05-12T13:03:18.703+0000 7f1aeabb28c0 -1 WARNING: all dangerous and experimental features are enabled.
  1532. ceph | {
  1533. ceph | "id": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  1534. ceph | "name": "zone2-zg2-realm1",
  1535. ceph | "domain_root": "zone2-zg2-realm1.rgw.meta:root",
  1536. ceph | "control_pool": "zone2-zg2-realm1.rgw.control",
  1537. ceph | "gc_pool": "zone2-zg2-realm1.rgw.log:gc",
  1538. ceph | "lc_pool": "zone2-zg2-realm1.rgw.log:lc",
  1539. ceph | "log_pool": "zone2-zg2-realm1.rgw.log",
  1540. ceph | "intent_log_pool": "zone2-zg2-realm1.rgw.log:intent",
  1541. ceph | "usage_log_pool": "zone2-zg2-realm1.rgw.log:usage",
  1542. ceph | "roles_pool": "zone2-zg2-realm1.rgw.meta:roles",
  1543. ceph | "reshard_pool": "zone2-zg2-realm1.rgw.log:reshard",
  1544. ceph | "user_keys_pool": "zone2-zg2-realm1.rgw.meta:users.keys",
  1545. ceph | "user_email_pool": "zone2-zg2-realm1.rgw.meta:users.email",
  1546. ceph | "user_swift_pool": "zone2-zg2-realm1.rgw.meta:users.swift",
  1547. ceph | "user_uid_pool": "zone2-zg2-realm1.rgw.meta:users.uid",
  1548. ceph | "otp_pool": "zone2-zg2-realm1.rgw.otp",
  1549. ceph | "notif_pool": "zone2-zg2-realm1.rgw.log:notif",
  1550. ceph | "topics_pool": "zone2-zg2-realm1.rgw.meta:topics",
  1551. ceph | "account_pool": "zone2-zg2-realm1.rgw.meta:accounts",
  1552. ceph | "group_pool": "zone2-zg2-realm1.rgw.meta:groups",
  1553. ceph | "system_key": {
  1554. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1555. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1556. ceph | },
  1557. ceph | "placement_pools": [
  1558. ceph | {
  1559. ceph | "key": "default-placement",
  1560. ceph | "val": {
  1561. ceph | "index_pool": "zone2-zg2-realm1.rgw.buckets.index",
  1562. ceph | "storage_classes": {
  1563. ceph | "STANDARD": {
  1564. ceph | "data_pool": "zone2-zg2-realm1.rgw.buckets.data"
  1565. ceph | }
  1566. ceph | },
  1567. ceph | "data_extra_pool": "zone2-zg2-realm1.rgw.buckets.non-ec",
  1568. ceph | "index_type": 0,
  1569. ceph | "inline_data": true
  1570. ceph | }
  1571. ceph | },
  1572. ceph | {
  1573. ceph | "key": "pt1-zone2-zg2-realm1",
  1574. ceph | "val": {
  1575. ceph | "index_pool": "pt1-zone2-zg2-realm1.rgw.buckets.index",
  1576. ceph | "storage_classes": {
  1577. ceph | "STANDARD": {
  1578. ceph | "data_pool": "pt1-zone2-zg2-realm1.rgw.buckets.data"
  1579. ceph | }
  1580. ceph | },
  1581. ceph | "data_extra_pool": "",
  1582. ceph | "index_type": 0,
  1583. ceph | "inline_data": true
  1584. ceph | }
  1585. ceph | },
  1586. ceph | {
  1587. ceph | "key": "pt2-zone2-zg2-realm1",
  1588. ceph | "val": {
  1589. ceph | "index_pool": "pt2-zone2-zg2-realm1.rgw.buckets.index",
  1590. ceph | "storage_classes": {
  1591. ceph | "STANDARD": {
  1592. ceph | "data_pool": "pt2-zone2-zg2-realm1.rgw.buckets.data"
  1593. ceph | }
  1594. ceph | },
  1595. ceph | "data_extra_pool": "",
  1596. ceph | "index_type": 0,
  1597. ceph | "inline_data": true
  1598. ceph | }
  1599. ceph | }
  1600. ceph | ],
  1601. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1602. ceph | }
  1603. ceph | + [[ 20 -ge 14 ]]
  1604. ceph | + COLD_STORAGE_CLASS=COLD
  1605. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --placement-id pt2-zone2-zg2-realm1 --storage-class COLD
  1606. ceph | 2025-05-12T13:03:18.760+0000 7f6141a338c0 -1 WARNING: all dangerous and experimental features are enabled.
  1607. ceph | 2025-05-12T13:03:18.763+0000 7f6141a338c0 -1 WARNING: all dangerous and experimental features are enabled.
  1608. ceph | 2025-05-12T13:03:18.763+0000 7f6141a338c0 -1 WARNING: all dangerous and experimental features are enabled.
  1609. ceph | [
  1610. ceph | {
  1611. ceph | "key": "default-placement",
  1612. ceph | "val": {
  1613. ceph | "name": "default-placement",
  1614. ceph | "tags": [],
  1615. ceph | "storage_classes": [
  1616. ceph | "STANDARD"
  1617. ceph | ]
  1618. ceph | }
  1619. ceph | },
  1620. ceph | {
  1621. ceph | "key": "pt1-zone1-zg2-realm1",
  1622. ceph | "val": {
  1623. ceph | "name": "pt1-zone1-zg2-realm1",
  1624. ceph | "tags": [],
  1625. ceph | "storage_classes": [
  1626. ceph | "STANDARD"
  1627. ceph | ]
  1628. ceph | }
  1629. ceph | },
  1630. ceph | {
  1631. ceph | "key": "pt1-zone2-zg2-realm1",
  1632. ceph | "val": {
  1633. ceph | "name": "pt1-zone2-zg2-realm1",
  1634. ceph | "tags": [],
  1635. ceph | "storage_classes": [
  1636. ceph | "STANDARD"
  1637. ceph | ]
  1638. ceph | }
  1639. ceph | },
  1640. ceph | {
  1641. ceph | "key": "pt2-zone1-zg2-realm1",
  1642. ceph | "val": {
  1643. ceph | "name": "pt2-zone1-zg2-realm1",
  1644. ceph | "tags": [],
  1645. ceph | "storage_classes": [
  1646. ceph | "COLD",
  1647. ceph | "STANDARD"
  1648. ceph | ]
  1649. ceph | }
  1650. ceph | },
  1651. ceph | {
  1652. ceph | "key": "pt2-zone2-zg2-realm1",
  1653. ceph | "val": {
  1654. ceph | "name": "pt2-zone2-zg2-realm1",
  1655. ceph | "tags": [],
  1656. ceph | "storage_classes": [
  1657. ceph | "COLD",
  1658. ceph | "STANDARD"
  1659. ceph | ]
  1660. ceph | }
  1661. ceph | }
  1662. ceph | ]
  1663. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm1 --rgw-zonegroup zg2-realm1 --rgw-zone zone2-zg2-realm1 --placement-id pt2-zone2-zg2-realm1 --storage-class COLD --data-pool pt2-zone2-zg2-realm1.rgw.cold.data
  1664. ceph | 2025-05-12T13:03:18.813+0000 7f3fd3ec08c0 -1 WARNING: all dangerous and experimental features are enabled.
  1665. ceph | 2025-05-12T13:03:18.817+0000 7f3fd3ec08c0 -1 WARNING: all dangerous and experimental features are enabled.
  1666. ceph | 2025-05-12T13:03:18.817+0000 7f3fd3ec08c0 -1 WARNING: all dangerous and experimental features are enabled.
  1667. ceph | {
  1668. ceph | "id": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  1669. ceph | "name": "zone2-zg2-realm1",
  1670. ceph | "domain_root": "zone2-zg2-realm1.rgw.meta:root",
  1671. ceph | "control_pool": "zone2-zg2-realm1.rgw.control",
  1672. ceph | "gc_pool": "zone2-zg2-realm1.rgw.log:gc",
  1673. ceph | "lc_pool": "zone2-zg2-realm1.rgw.log:lc",
  1674. ceph | "log_pool": "zone2-zg2-realm1.rgw.log",
  1675. ceph | "intent_log_pool": "zone2-zg2-realm1.rgw.log:intent",
  1676. ceph | "usage_log_pool": "zone2-zg2-realm1.rgw.log:usage",
  1677. ceph | "roles_pool": "zone2-zg2-realm1.rgw.meta:roles",
  1678. ceph | "reshard_pool": "zone2-zg2-realm1.rgw.log:reshard",
  1679. ceph | "user_keys_pool": "zone2-zg2-realm1.rgw.meta:users.keys",
  1680. ceph | "user_email_pool": "zone2-zg2-realm1.rgw.meta:users.email",
  1681. ceph | "user_swift_pool": "zone2-zg2-realm1.rgw.meta:users.swift",
  1682. ceph | "user_uid_pool": "zone2-zg2-realm1.rgw.meta:users.uid",
  1683. ceph | "otp_pool": "zone2-zg2-realm1.rgw.otp",
  1684. ceph | "notif_pool": "zone2-zg2-realm1.rgw.log:notif",
  1685. ceph | "topics_pool": "zone2-zg2-realm1.rgw.meta:topics",
  1686. ceph | "account_pool": "zone2-zg2-realm1.rgw.meta:accounts",
  1687. ceph | "group_pool": "zone2-zg2-realm1.rgw.meta:groups",
  1688. ceph | "system_key": {
  1689. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1690. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh"
  1691. ceph | },
  1692. ceph | "placement_pools": [
  1693. ceph | {
  1694. ceph | "key": "default-placement",
  1695. ceph | "val": {
  1696. ceph | "index_pool": "zone2-zg2-realm1.rgw.buckets.index",
  1697. ceph | "storage_classes": {
  1698. ceph | "STANDARD": {
  1699. ceph | "data_pool": "zone2-zg2-realm1.rgw.buckets.data"
  1700. ceph | }
  1701. ceph | },
  1702. ceph | "data_extra_pool": "zone2-zg2-realm1.rgw.buckets.non-ec",
  1703. ceph | "index_type": 0,
  1704. ceph | "inline_data": true
  1705. ceph | }
  1706. ceph | },
  1707. ceph | {
  1708. ceph | "key": "pt1-zone2-zg2-realm1",
  1709. ceph | "val": {
  1710. ceph | "index_pool": "pt1-zone2-zg2-realm1.rgw.buckets.index",
  1711. ceph | "storage_classes": {
  1712. ceph | "STANDARD": {
  1713. ceph | "data_pool": "pt1-zone2-zg2-realm1.rgw.buckets.data"
  1714. ceph | }
  1715. ceph | },
  1716. ceph | "data_extra_pool": "",
  1717. ceph | "index_type": 0,
  1718. ceph | "inline_data": true
  1719. ceph | }
  1720. ceph | },
  1721. ceph | {
  1722. ceph | "key": "pt2-zone2-zg2-realm1",
  1723. ceph | "val": {
  1724. ceph | "index_pool": "pt2-zone2-zg2-realm1.rgw.buckets.index",
  1725. ceph | "storage_classes": {
  1726. ceph | "COLD": {
  1727. ceph | "data_pool": "pt2-zone2-zg2-realm1.rgw.cold.data"
  1728. ceph | },
  1729. ceph | "STANDARD": {
  1730. ceph | "data_pool": "pt2-zone2-zg2-realm1.rgw.buckets.data"
  1731. ceph | }
  1732. ceph | },
  1733. ceph | "data_extra_pool": "",
  1734. ceph | "index_type": 0,
  1735. ceph | "inline_data": true
  1736. ceph | }
  1737. ceph | }
  1738. ceph | ],
  1739. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2"
  1740. ceph | }
  1741. ceph | + RGW_DAEMON_PORT=8002
  1742. ceph | + create_system_user 1 realm1 zg1-realm1 zone1-zg1-realm1
  1743. ceph | + local USER_NUM=1
  1744. ceph | + local USER_UID=dashboard
  1745. ceph | + local SECRET_INDEX=1-1
  1746. ceph | + [[ -z 1 ]]
  1747. ceph | + local REALM_NAME=realm1
  1748. ceph | + local ZG_NAME=zg1-realm1
  1749. ceph | + local ZONE_NAME=zone1-zg1-realm1
  1750. ceph | + local NAMESPACE_OPTIONS=
  1751. ceph | + [[ -n realm1 ]]
  1752. ceph | + NAMESPACE_OPTIONS='--rgw-realm realm1'
  1753. ceph | + [[ -n zg1-realm1 ]]
  1754. ceph | + NAMESPACE_OPTIONS+=' --rgw-zonegroup zg1-realm1'
  1755. ceph | + [[ -n zone1-zg1-realm1 ]]
  1756. ceph | + NAMESPACE_OPTIONS+=' --rgw-zone zone1-zg1-realm1'
  1757. ceph | + /usr/bin/radosgw-admin user create --uid dashboard --display-name 'Ceph Dashboard1' --access-key DiPt4V7WWvy2njL1z6aC --secret xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1 --system
  1758. ceph | 2025-05-12T13:03:18.870+0000 7f75eef408c0 -1 WARNING: all dangerous and experimental features are enabled.
  1759. ceph | 2025-05-12T13:03:18.873+0000 7f75eef408c0 -1 WARNING: all dangerous and experimental features are enabled.
  1760. ceph | 2025-05-12T13:03:18.873+0000 7f75eef408c0 -1 WARNING: all dangerous and experimental features are enabled.
  1761. ceph | 2025-05-12T13:03:18.877+0000 7f75eef408c0 0 ERROR: current period 6e41a753-9bee-43c3-a0a7-8437d1384deb does not contain zone id eecb28a0-066d-45fb-badd-a613f6ce1c48
  1762. ceph | {
  1763. ceph | "user_id": "dashboard",
  1764. ceph | "display_name": "Ceph Dashboard1",
  1765. ceph | "email": "",
  1766. ceph | "suspended": 0,
  1767. ceph | "max_buckets": 1000,
  1768. ceph | "subusers": [],
  1769. ceph | "keys": [
  1770. ceph | {
  1771. ceph | "user": "dashboard",
  1772. ceph | "access_key": "DiPt4V7WWvy2njL1z6aC",
  1773. ceph | "secret_key": "xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh",
  1774. ceph | "active": true,
  1775. ceph | "create_date": "2025-05-12T13:03:25.682140Z"
  1776. ceph | }
  1777. ceph | ],
  1778. ceph | "swift_keys": [],
  1779. ceph | "caps": [],
  1780. ceph | "op_mask": "read, write, delete",
  1781. ceph | "system": true,
  1782. ceph | "default_placement": "",
  1783. ceph | "default_storage_class": "",
  1784. ceph | "placement_tags": [],
  1785. ceph | "bucket_quota": {
  1786. ceph | "enabled": false,
  1787. ceph | "check_on_raw": false,
  1788. ceph | "max_size": -1,
  1789. ceph | "max_size_kb": 0,
  1790. ceph | "max_objects": -1
  1791. ceph | },
  1792. ceph | "user_quota": {
  1793. ceph | "enabled": false,
  1794. ceph | "check_on_raw": false,
  1795. ceph | "max_size": -1,
  1796. ceph | "max_size_kb": 0,
  1797. ceph | "max_objects": -1
  1798. ceph | },
  1799. ceph | "temp_url_keys": [],
  1800. ceph | "type": "rgw",
  1801. ceph | "mfa_ids": [],
  1802. ceph | "account_id": "",
  1803. ceph | "path": "/",
  1804. ceph | "create_date": "2025-05-12T13:03:25.682133Z",
  1805. ceph | "tags": [],
  1806. ceph | "group_ids": []
  1807. ceph | }
  1808. ceph |
  1809. ceph | + /usr/bin/radosgw-admin mfa create --uid=dashboard --totp-serial=1 --totp-seed=23456723 --totp-seed-type=base32 --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1
  1810. ceph | 2025-05-12T13:03:25.799+0000 7f5532c4a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1811. ceph | 2025-05-12T13:03:25.803+0000 7f5532c4a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1812. ceph | 2025-05-12T13:03:25.804+0000 7f5532c4a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  1813. ceph | 2025-05-12T13:03:25.808+0000 7f5532c4a8c0 0 ERROR: current period 6e41a753-9bee-43c3-a0a7-8437d1384deb does not contain zone id eecb28a0-066d-45fb-badd-a613f6ce1c48
  1814. ceph | + echo -n ''\''8000'\'':'\''DiPt4V7WWvy2njL1z6aC'\'','
  1815. ceph | + echo -n ''\''8000'\'':'\''xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh'\'','
  1816. ceph | + /usr/bin/radosgw-admin period update --rgw-realm realm1 --commit
  1817. ceph | 2025-05-12T13:03:28.085+0000 7fdb30d388c0 -1 WARNING: all dangerous and experimental features are enabled.
  1818. ceph | 2025-05-12T13:03:28.090+0000 7fdb30d388c0 -1 WARNING: all dangerous and experimental features are enabled.
  1819. ceph | 2025-05-12T13:03:28.090+0000 7fdb30d388c0 -1 WARNING: all dangerous and experimental features are enabled.
  1820. ceph | {
  1821. ceph | "id": "454d634f-8f5d-4902-8024-f32b3d1fb337",
  1822. ceph | "epoch": 1,
  1823. ceph | "predecessor_uuid": "6e41a753-9bee-43c3-a0a7-8437d1384deb",
  1824. ceph | "sync_status": [],
  1825. ceph | "period_map": {
  1826. ceph | "id": "454d634f-8f5d-4902-8024-f32b3d1fb337",
  1827. ceph | "zonegroups": [
  1828. ceph | {
  1829. ceph | "id": "0169147e-a105-4167-ab39-102dbf9c1abd",
  1830. ceph | "name": "zg1-realm1",
  1831. ceph | "api_name": "zg1-realm1",
  1832. ceph | "is_master": true,
  1833. ceph | "endpoints": [
  1834. ceph | "http://ceph:8000"
  1835. ceph | ],
  1836. ceph | "hostnames": [],
  1837. ceph | "hostnames_s3website": [],
  1838. ceph | "master_zone": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  1839. ceph | "zones": [
  1840. ceph | {
  1841. ceph | "id": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  1842. ceph | "name": "zone2-zg1-realm1",
  1843. ceph | "endpoints": [
  1844. ceph | "http://ceph:8000"
  1845. ceph | ],
  1846. ceph | "log_meta": false,
  1847. ceph | "log_data": true,
  1848. ceph | "bucket_index_max_shards": 11,
  1849. ceph | "read_only": false,
  1850. ceph | "tier_type": "",
  1851. ceph | "sync_from_all": true,
  1852. ceph | "sync_from": [],
  1853. ceph | "redirect_zone": "",
  1854. ceph | "supported_features": [
  1855. ceph | "compress-encrypted",
  1856. ceph | "notification_v2",
  1857. ceph | "resharding"
  1858. ceph | ]
  1859. ceph | },
  1860. ceph | {
  1861. ceph | "id": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  1862. ceph | "name": "zone1-zg1-realm1",
  1863. ceph | "endpoints": [
  1864. ceph | "http://ceph:8000"
  1865. ceph | ],
  1866. ceph | "log_meta": false,
  1867. ceph | "log_data": true,
  1868. ceph | "bucket_index_max_shards": 11,
  1869. ceph | "read_only": false,
  1870. ceph | "tier_type": "",
  1871. ceph | "sync_from_all": true,
  1872. ceph | "sync_from": [],
  1873. ceph | "redirect_zone": "",
  1874. ceph | "supported_features": [
  1875. ceph | "compress-encrypted",
  1876. ceph | "notification_v2",
  1877. ceph | "resharding"
  1878. ceph | ]
  1879. ceph | }
  1880. ceph | ],
  1881. ceph | "placement_targets": [
  1882. ceph | {
  1883. ceph | "name": "default-placement",
  1884. ceph | "tags": [],
  1885. ceph | "storage_classes": [
  1886. ceph | "STANDARD"
  1887. ceph | ]
  1888. ceph | },
  1889. ceph | {
  1890. ceph | "name": "pt1-zone1-zg1-realm1",
  1891. ceph | "tags": [],
  1892. ceph | "storage_classes": [
  1893. ceph | "STANDARD"
  1894. ceph | ]
  1895. ceph | },
  1896. ceph | {
  1897. ceph | "name": "pt1-zone2-zg1-realm1",
  1898. ceph | "tags": [],
  1899. ceph | "storage_classes": [
  1900. ceph | "STANDARD"
  1901. ceph | ]
  1902. ceph | },
  1903. ceph | {
  1904. ceph | "name": "pt2-zone1-zg1-realm1",
  1905. ceph | "tags": [],
  1906. ceph | "storage_classes": [
  1907. ceph | "COLD",
  1908. ceph | "STANDARD"
  1909. ceph | ]
  1910. ceph | },
  1911. ceph | {
  1912. ceph | "name": "pt2-zone2-zg1-realm1",
  1913. ceph | "tags": [],
  1914. ceph | "storage_classes": [
  1915. ceph | "COLD",
  1916. ceph | "STANDARD"
  1917. ceph | ]
  1918. ceph | }
  1919. ceph | ],
  1920. ceph | "default_placement": "default-placement",
  1921. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  1922. ceph | "sync_policy": {
  1923. ceph | "groups": []
  1924. ceph | },
  1925. ceph | "enabled_features": [
  1926. ceph | "notification_v2",
  1927. ceph | "resharding"
  1928. ceph | ]
  1929. ceph | },
  1930. ceph | {
  1931. ceph | "id": "61aacd6b-d403-4d0c-b836-2690cb50c254",
  1932. ceph | "name": "zg2-realm1",
  1933. ceph | "api_name": "zg2-realm1",
  1934. ceph | "is_master": false,
  1935. ceph | "endpoints": [
  1936. ceph | "http://ceph:8001"
  1937. ceph | ],
  1938. ceph | "hostnames": [],
  1939. ceph | "hostnames_s3website": [],
  1940. ceph | "master_zone": "f841d862-a2e7-4cce-844f-907956290853",
  1941. ceph | "zones": [
  1942. ceph | {
  1943. ceph | "id": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  1944. ceph | "name": "zone2-zg2-realm1",
  1945. ceph | "endpoints": [
  1946. ceph | "http://ceph:8001"
  1947. ceph | ],
  1948. ceph | "log_meta": false,
  1949. ceph | "log_data": true,
  1950. ceph | "bucket_index_max_shards": 11,
  1951. ceph | "read_only": false,
  1952. ceph | "tier_type": "",
  1953. ceph | "sync_from_all": true,
  1954. ceph | "sync_from": [],
  1955. ceph | "redirect_zone": "",
  1956. ceph | "supported_features": [
  1957. ceph | "compress-encrypted",
  1958. ceph | "notification_v2",
  1959. ceph | "resharding"
  1960. ceph | ]
  1961. ceph | },
  1962. ceph | {
  1963. ceph | "id": "f841d862-a2e7-4cce-844f-907956290853",
  1964. ceph | "name": "zone1-zg2-realm1",
  1965. ceph | "endpoints": [
  1966. ceph | "http://ceph:8001"
  1967. ceph | ],
  1968. ceph | "log_meta": false,
  1969. ceph | "log_data": true,
  1970. ceph | "bucket_index_max_shards": 11,
  1971. ceph | "read_only": false,
  1972. ceph | "tier_type": "",
  1973. ceph | "sync_from_all": true,
  1974. ceph | "sync_from": [],
  1975. ceph | "redirect_zone": "",
  1976. ceph | "supported_features": [
  1977. ceph | "compress-encrypted",
  1978. ceph | "notification_v2",
  1979. ceph | "resharding"
  1980. ceph | ]
  1981. ceph | }
  1982. ceph | ],
  1983. ceph | "placement_targets": [
  1984. ceph | {
  1985. ceph | "name": "default-placement",
  1986. ceph | "tags": [],
  1987. ceph | "storage_classes": [
  1988. ceph | "STANDARD"
  1989. ceph | ]
  1990. ceph | },
  1991. ceph | {
  1992. ceph | "name": "pt1-zone1-zg2-realm1",
  1993. ceph | "tags": [],
  1994. ceph | "storage_classes": [
  1995. ceph | "STANDARD"
  1996. ceph | ]
  1997. ceph | },
  1998. ceph | {
  1999. ceph | "name": "pt1-zone2-zg2-realm1",
  2000. ceph | "tags": [],
  2001. ceph | "storage_classes": [
  2002. ceph | "STANDARD"
  2003. ceph | ]
  2004. ceph | },
  2005. ceph | {
  2006. ceph | "name": "pt2-zone1-zg2-realm1",
  2007. ceph | "tags": [],
  2008. ceph | "storage_classes": [
  2009. ceph | "COLD",
  2010. ceph | "STANDARD"
  2011. ceph | ]
  2012. ceph | },
  2013. ceph | {
  2014. ceph | "name": "pt2-zone2-zg2-realm1",
  2015. ceph | "tags": [],
  2016. ceph | "storage_classes": [
  2017. ceph | "COLD",
  2018. ceph | "STANDARD"
  2019. ceph | ]
  2020. ceph | }
  2021. ceph | ],
  2022. ceph | "default_placement": "default-placement",
  2023. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  2024. ceph | "sync_policy": {
  2025. ceph | "groups": []
  2026. ceph | },
  2027. ceph | "enabled_features": [
  2028. ceph | "notification_v2",
  2029. ceph | "resharding"
  2030. ceph | ]
  2031. ceph | }
  2032. ceph | ],
  2033. ceph | "short_zone_ids": [
  2034. ceph | {
  2035. ceph | "key": "0f2b4df4-611b-4da4-8528-83d2cf177aa9",
  2036. ceph | "val": 4073035426
  2037. ceph | },
  2038. ceph | {
  2039. ceph | "key": "6e228b57-f073-4e5c-b5c3-3f159060316e",
  2040. ceph | "val": 363333473
  2041. ceph | },
  2042. ceph | {
  2043. ceph | "key": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  2044. ceph | "val": 4056933219
  2045. ceph | },
  2046. ceph | {
  2047. ceph | "key": "f841d862-a2e7-4cce-844f-907956290853",
  2048. ceph | "val": 748425626
  2049. ceph | }
  2050. ceph | ]
  2051. ceph | },
  2052. ceph | "master_zonegroup": "0169147e-a105-4167-ab39-102dbf9c1abd",
  2053. ceph | "master_zone": "eecb28a0-066d-45fb-badd-a613f6ce1c48",
  2054. ceph | "period_config": {
  2055. ceph | "bucket_quota": {
  2056. ceph | "enabled": false,
  2057. ceph | "check_on_raw": false,
  2058. ceph | "max_size": -1,
  2059. ceph | "max_size_kb": 0,
  2060. ceph | "max_objects": -1
  2061. ceph | },
  2062. ceph | "user_quota": {
  2063. ceph | "enabled": false,
  2064. ceph | "check_on_raw": false,
  2065. ceph | "max_size": -1,
  2066. ceph | "max_size_kb": 0,
  2067. ceph | "max_objects": -1
  2068. ceph | },
  2069. ceph | "user_ratelimit": {
  2070. ceph | "max_read_ops": 0,
  2071. ceph | "max_write_ops": 0,
  2072. ceph | "max_read_bytes": 0,
  2073. ceph | "max_write_bytes": 0,
  2074. ceph | "enabled": false
  2075. ceph | },
  2076. ceph | "bucket_ratelimit": {
  2077. ceph | "max_read_ops": 0,
  2078. ceph | "max_write_ops": 0,
  2079. ceph | "max_read_bytes": 0,
  2080. ceph | "max_write_bytes": 0,
  2081. ceph | "enabled": false
  2082. ceph | },
  2083. ceph | "anonymous_ratelimit": {
  2084. ceph | "max_read_ops": 0,
  2085. ceph | "max_write_ops": 0,
  2086. ceph | "max_read_bytes": 0,
  2087. ceph | "max_write_bytes": 0,
  2088. ceph | "enabled": false
  2089. ceph | }
  2090. ceph | },
  2091. ceph | "realm_id": "b75707d0-b141-4b31-9f5a-eed6f8c275b2",
  2092. ceph | "realm_epoch": 2
  2093. ceph | }
  2094. ceph | + start_rgw_daemon 8000 realm1 zg1-realm1 zone1-zg1-realm1
  2095. ceph | + local RGW_DAEMON_PORT=8000
  2096. ceph | + local RGW_DAEMON_REALM=realm1
  2097. ceph | + local RGW_DAEMON_ZONEGROUP=zg1-realm1
  2098. ceph | + local RGW_DAEMON_ZONE=zone1-zg1-realm1
  2099. ceph | + local RGW_DAEMON_PID_FILE=/ceph/build.ceph/out/radosgw.8000.pid
  2100. ceph | + local RGW_DAEMON_NAME=client.rgw.8000
  2101. ceph | + rm -f /ceph/build.ceph/out/radosgw.8000.pid
  2102. ceph | ++ grep '\[client.rgw.8000\]' /ceph/build.ceph/ceph.conf
  2103. ceph | ++ grep -v grep
  2104. ceph | ++ wc -l
  2105. ceph | + [[ 0 == 0 ]]
  2106. ceph | + /usr/bin/ceph -c /ceph/build.ceph/ceph.conf auth get-or-create client.rgw.8000 mon 'allow rw' osd 'allow rwx' mgr 'allow rw'
  2107. ceph | 2025-05-12T13:03:28.349+0000 7f9a1e706640 -1 WARNING: all dangerous and experimental features are enabled.
  2108. ceph | 2025-05-12T13:03:28.359+0000 7f9a1e706640 -1 WARNING: all dangerous and experimental features are enabled.
  2109. ceph | + /usr/bin/radosgw -c /ceph/build.ceph/ceph.conf --log-file=/ceph/build.ceph/out/radosgw.8000.log --admin-socket=/ceph/build.ceph/out/radosgw.8000.asok --pid-file=/ceph/build.ceph/out/radosgw.8000.pid '--rgw_frontends=beast port=8000' -n client.rgw.8000 --rgw-realm realm1 --rgw-zonegroup zg1-realm1 --rgw-zone zone1-zg1-realm1
  2110. ceph | 2025-05-12T13:03:28.651+0000 7f4c40fef940 -1 WARNING: all dangerous and experimental features are enabled.
  2111. ceph | 2025-05-12T13:03:28.655+0000 7f4c40fef940 -1 WARNING: all dangerous and experimental features are enabled.
  2112. ceph | + for REALM_NUM in 1 2
  2113. ceph | + REALM_NAME=realm2
  2114. ceph | + REALM_OPTIONS=
  2115. ceph | + [[ 2 == 1 ]]
  2116. ceph | + /usr/bin/radosgw-admin realm create --rgw-realm realm2
  2117. ceph | 2025-05-12T13:03:28.682+0000 7f148c1ec8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2118. ceph | 2025-05-12T13:03:28.686+0000 7f148c1ec8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2119. ceph | 2025-05-12T13:03:28.687+0000 7f148c1ec8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2120. ceph | {
  2121. ceph | "id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4",
  2122. ceph | "name": "realm2",
  2123. ceph | "current_period": "973d6929-942d-4af6-996a-917ac22778e6",
  2124. ceph | "epoch": 1
  2125. ceph | }
  2126. ceph | + for ZONEGROUP_NUM in 1 2
  2127. ceph | + ZONEGROUP_NAME=zg1-realm2
  2128. ceph | + ZONEGROUP_OPTIONS=
  2129. ceph | + [[ 1 == 1 ]]
  2130. ceph | + ZONEGROUP_OPTIONS='--master --default'
  2131. ceph | + RGW_DAEMON_ZONEGROUP_OPTION=zg1-realm2
  2132. ceph | + RGW_DAEMON_ZONEGROUP_PORT=8002
  2133. ceph | + /usr/bin/radosgw-admin zonegroup create --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --endpoints http://ceph:8002 --master --default
  2134. ceph | 2025-05-12T13:03:28.822+0000 7fa30d4758c0 -1 WARNING: all dangerous and experimental features are enabled.
  2135. ceph | 2025-05-12T13:03:28.826+0000 7fa30d4758c0 -1 WARNING: all dangerous and experimental features are enabled.
  2136. ceph | 2025-05-12T13:03:28.827+0000 7fa30d4758c0 -1 WARNING: all dangerous and experimental features are enabled.
  2137. ceph | {
  2138. ceph | "id": "d9baf546-fc31-425f-ae8d-954a3164deaa",
  2139. ceph | "name": "zg1-realm2",
  2140. ceph | "api_name": "zg1-realm2",
  2141. ceph | "is_master": true,
  2142. ceph | "endpoints": [
  2143. ceph | "http://ceph:8002"
  2144. ceph | ],
  2145. ceph | "hostnames": [],
  2146. ceph | "hostnames_s3website": [],
  2147. ceph | "master_zone": "",
  2148. ceph | "zones": [],
  2149. ceph | "placement_targets": [
  2150. ceph | {
  2151. ceph | "name": "default-placement",
  2152. ceph | "tags": [],
  2153. ceph | "storage_classes": []
  2154. ceph | }
  2155. ceph | ],
  2156. ceph | "default_placement": "default-placement",
  2157. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4",
  2158. ceph | "sync_policy": {
  2159. ceph | "groups": []
  2160. ceph | },
  2161. ceph | "enabled_features": [
  2162. ceph | "notification_v2",
  2163. ceph | "resharding"
  2164. ceph | ]
  2165. ceph | }
  2166. ceph | + for ZONE_NUM in 1 2
  2167. ceph | + ZONE_NAME=zone1-zg1-realm2
  2168. ceph | + ZONE_OPTIONS=
  2169. ceph | + [[ 1 == 1 ]]
  2170. ceph | + [[ 1 == 1 ]]
  2171. ceph | + ZONE_OPTIONS='--master --default'
  2172. ceph | + RGW_DAEMON_ZONE_OPTION=zone1-zg1-realm2
  2173. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone1-zg1-realm2 --endpoints http://ceph:8002 --access-key M1KBQY1XV9ELH8Y637PD --secret GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx --master --default
  2174. ceph | 2025-05-12T13:03:28.987+0000 7f07869008c0 -1 WARNING: all dangerous and experimental features are enabled.
  2175. ceph | 2025-05-12T13:03:28.991+0000 7f07869008c0 -1 WARNING: all dangerous and experimental features are enabled.
  2176. ceph | 2025-05-12T13:03:28.992+0000 7f07869008c0 -1 WARNING: all dangerous and experimental features are enabled.
  2177. ceph | NOTICE: set zone's realm_id=ec44e7bf-5d73-49a6-ac82-4256334aa0b4
  2178. ceph | {
  2179. ceph | "id": "e7d31ea2-6b5f-4246-b7f0-b24240422f1b",
  2180. ceph | "name": "zone1-zg1-realm2",
  2181. ceph | "domain_root": "zone1-zg1-realm2.rgw.meta:root",
  2182. ceph | "control_pool": "zone1-zg1-realm2.rgw.control",
  2183. ceph | "gc_pool": "zone1-zg1-realm2.rgw.log:gc",
  2184. ceph | "lc_pool": "zone1-zg1-realm2.rgw.log:lc",
  2185. ceph | "log_pool": "zone1-zg1-realm2.rgw.log",
  2186. ceph | "intent_log_pool": "zone1-zg1-realm2.rgw.log:intent",
  2187. ceph | "usage_log_pool": "zone1-zg1-realm2.rgw.log:usage",
  2188. ceph | "roles_pool": "zone1-zg1-realm2.rgw.meta:roles",
  2189. ceph | "reshard_pool": "zone1-zg1-realm2.rgw.log:reshard",
  2190. ceph | "user_keys_pool": "zone1-zg1-realm2.rgw.meta:users.keys",
  2191. ceph | "user_email_pool": "zone1-zg1-realm2.rgw.meta:users.email",
  2192. ceph | "user_swift_pool": "zone1-zg1-realm2.rgw.meta:users.swift",
  2193. ceph | "user_uid_pool": "zone1-zg1-realm2.rgw.meta:users.uid",
  2194. ceph | "otp_pool": "zone1-zg1-realm2.rgw.otp",
  2195. ceph | "notif_pool": "zone1-zg1-realm2.rgw.log:notif",
  2196. ceph | "topics_pool": "zone1-zg1-realm2.rgw.meta:topics",
  2197. ceph | "account_pool": "zone1-zg1-realm2.rgw.meta:accounts",
  2198. ceph | "group_pool": "zone1-zg1-realm2.rgw.meta:groups",
  2199. ceph | "system_key": {
  2200. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2201. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2202. ceph | },
  2203. ceph | "placement_pools": [
  2204. ceph | {
  2205. ceph | "key": "default-placement",
  2206. ceph | "val": {
  2207. ceph | "index_pool": "zone1-zg1-realm2.rgw.buckets.index",
  2208. ceph | "storage_classes": {
  2209. ceph | "STANDARD": {
  2210. ceph | "data_pool": "zone1-zg1-realm2.rgw.buckets.data"
  2211. ceph | }
  2212. ceph | },
  2213. ceph | "data_extra_pool": "zone1-zg1-realm2.rgw.buckets.non-ec",
  2214. ceph | "index_type": 0,
  2215. ceph | "inline_data": true
  2216. ceph | }
  2217. ceph | }
  2218. ceph | ],
  2219. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2220. ceph | }
  2221. ceph | + add_placement_targets_and_storage_classes
  2222. ceph | + for PT_NUM in 1 2
  2223. ceph | + PT_NAME=pt1-zone1-zg1-realm2
  2224. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg1-realm2 --placement-id pt1-zone1-zg1-realm2
  2225. ceph | 2025-05-12T13:03:29.190+0000 7f05f1c2a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2226. ceph | 2025-05-12T13:03:29.193+0000 7f05f1c2a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2227. ceph | 2025-05-12T13:03:29.194+0000 7f05f1c2a8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2228. ceph | [
  2229. ceph | {
  2230. ceph | "key": "default-placement",
  2231. ceph | "val": {
  2232. ceph | "name": "default-placement",
  2233. ceph | "tags": [],
  2234. ceph | "storage_classes": [
  2235. ceph | "STANDARD"
  2236. ceph | ]
  2237. ceph | }
  2238. ceph | },
  2239. ceph | {
  2240. ceph | "key": "pt1-zone1-zg1-realm2",
  2241. ceph | "val": {
  2242. ceph | "name": "pt1-zone1-zg1-realm2",
  2243. ceph | "tags": [],
  2244. ceph | "storage_classes": [
  2245. ceph | "STANDARD"
  2246. ceph | ]
  2247. ceph | }
  2248. ceph | }
  2249. ceph | ]
  2250. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone1-zg1-realm2 --placement-id pt1-zone1-zg1-realm2 --data-pool pt1-zone1-zg1-realm2.rgw.buckets.data --index-pool pt1-zone1-zg1-realm2.rgw.buckets.index
  2251. ceph | 2025-05-12T13:03:29.244+0000 7f22c86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  2252. ceph | 2025-05-12T13:03:29.247+0000 7f22c86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  2253. ceph | 2025-05-12T13:03:29.248+0000 7f22c86c88c0 -1 WARNING: all dangerous and experimental features are enabled.
  2254. ceph | {
  2255. ceph | "id": "e7d31ea2-6b5f-4246-b7f0-b24240422f1b",
  2256. ceph | "name": "zone1-zg1-realm2",
  2257. ceph | "domain_root": "zone1-zg1-realm2.rgw.meta:root",
  2258. ceph | "control_pool": "zone1-zg1-realm2.rgw.control",
  2259. ceph | "gc_pool": "zone1-zg1-realm2.rgw.log:gc",
  2260. ceph | "lc_pool": "zone1-zg1-realm2.rgw.log:lc",
  2261. ceph | "log_pool": "zone1-zg1-realm2.rgw.log",
  2262. ceph | "intent_log_pool": "zone1-zg1-realm2.rgw.log:intent",
  2263. ceph | "usage_log_pool": "zone1-zg1-realm2.rgw.log:usage",
  2264. ceph | "roles_pool": "zone1-zg1-realm2.rgw.meta:roles",
  2265. ceph | "reshard_pool": "zone1-zg1-realm2.rgw.log:reshard",
  2266. ceph | "user_keys_pool": "zone1-zg1-realm2.rgw.meta:users.keys",
  2267. ceph | "user_email_pool": "zone1-zg1-realm2.rgw.meta:users.email",
  2268. ceph | "user_swift_pool": "zone1-zg1-realm2.rgw.meta:users.swift",
  2269. ceph | "user_uid_pool": "zone1-zg1-realm2.rgw.meta:users.uid",
  2270. ceph | "otp_pool": "zone1-zg1-realm2.rgw.otp",
  2271. ceph | "notif_pool": "zone1-zg1-realm2.rgw.log:notif",
  2272. ceph | "topics_pool": "zone1-zg1-realm2.rgw.meta:topics",
  2273. ceph | "account_pool": "zone1-zg1-realm2.rgw.meta:accounts",
  2274. ceph | "group_pool": "zone1-zg1-realm2.rgw.meta:groups",
  2275. ceph | "system_key": {
  2276. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2277. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2278. ceph | },
  2279. ceph | "placement_pools": [
  2280. ceph | {
  2281. ceph | "key": "default-placement",
  2282. ceph | "val": {
  2283. ceph | "index_pool": "zone1-zg1-realm2.rgw.buckets.index",
  2284. ceph | "storage_classes": {
  2285. ceph | "STANDARD": {
  2286. ceph | "data_pool": "zone1-zg1-realm2.rgw.buckets.data"
  2287. ceph | }
  2288. ceph | },
  2289. ceph | "data_extra_pool": "zone1-zg1-realm2.rgw.buckets.non-ec",
  2290. ceph | "index_type": 0,
  2291. ceph | "inline_data": true
  2292. ceph | }
  2293. ceph | },
  2294. ceph | {
  2295. ceph | "key": "pt1-zone1-zg1-realm2",
  2296. ceph | "val": {
  2297. ceph | "index_pool": "pt1-zone1-zg1-realm2.rgw.buckets.index",
  2298. ceph | "storage_classes": {
  2299. ceph | "STANDARD": {
  2300. ceph | "data_pool": "pt1-zone1-zg1-realm2.rgw.buckets.data"
  2301. ceph | }
  2302. ceph | },
  2303. ceph | "data_extra_pool": "",
  2304. ceph | "index_type": 0,
  2305. ceph | "inline_data": true
  2306. ceph | }
  2307. ceph | }
  2308. ceph | ],
  2309. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2310. ceph | }
  2311. ceph | + for PT_NUM in 1 2
  2312. ceph | + PT_NAME=pt2-zone1-zg1-realm2
  2313. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg1-realm2 --placement-id pt2-zone1-zg1-realm2
  2314. ceph | 2025-05-12T13:03:29.299+0000 7f4068ca78c0 -1 WARNING: all dangerous and experimental features are enabled.
  2315. ceph | 2025-05-12T13:03:29.304+0000 7f4068ca78c0 -1 WARNING: all dangerous and experimental features are enabled.
  2316. ceph | 2025-05-12T13:03:29.304+0000 7f4068ca78c0 -1 WARNING: all dangerous and experimental features are enabled.
  2317. ceph | [
  2318. ceph | {
  2319. ceph | "key": "default-placement",
  2320. ceph | "val": {
  2321. ceph | "name": "default-placement",
  2322. ceph | "tags": [],
  2323. ceph | "storage_classes": [
  2324. ceph | "STANDARD"
  2325. ceph | ]
  2326. ceph | }
  2327. ceph | },
  2328. ceph | {
  2329. ceph | "key": "pt1-zone1-zg1-realm2",
  2330. ceph | "val": {
  2331. ceph | "name": "pt1-zone1-zg1-realm2",
  2332. ceph | "tags": [],
  2333. ceph | "storage_classes": [
  2334. ceph | "STANDARD"
  2335. ceph | ]
  2336. ceph | }
  2337. ceph | },
  2338. ceph | {
  2339. ceph | "key": "pt2-zone1-zg1-realm2",
  2340. ceph | "val": {
  2341. ceph | "name": "pt2-zone1-zg1-realm2",
  2342. ceph | "tags": [],
  2343. ceph | "storage_classes": [
  2344. ceph | "STANDARD"
  2345. ceph | ]
  2346. ceph | }
  2347. ceph | }
  2348. ceph | ]
  2349. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone1-zg1-realm2 --placement-id pt2-zone1-zg1-realm2 --data-pool pt2-zone1-zg1-realm2.rgw.buckets.data --index-pool pt2-zone1-zg1-realm2.rgw.buckets.index
  2350. ceph | 2025-05-12T13:03:29.377+0000 7fca2aeac8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2351. ceph | 2025-05-12T13:03:29.380+0000 7fca2aeac8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2352. ceph | 2025-05-12T13:03:29.381+0000 7fca2aeac8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2353. ceph | {
  2354. ceph | "id": "e7d31ea2-6b5f-4246-b7f0-b24240422f1b",
  2355. ceph | "name": "zone1-zg1-realm2",
  2356. ceph | "domain_root": "zone1-zg1-realm2.rgw.meta:root",
  2357. ceph | "control_pool": "zone1-zg1-realm2.rgw.control",
  2358. ceph | "gc_pool": "zone1-zg1-realm2.rgw.log:gc",
  2359. ceph | "lc_pool": "zone1-zg1-realm2.rgw.log:lc",
  2360. ceph | "log_pool": "zone1-zg1-realm2.rgw.log",
  2361. ceph | "intent_log_pool": "zone1-zg1-realm2.rgw.log:intent",
  2362. ceph | "usage_log_pool": "zone1-zg1-realm2.rgw.log:usage",
  2363. ceph | "roles_pool": "zone1-zg1-realm2.rgw.meta:roles",
  2364. ceph | "reshard_pool": "zone1-zg1-realm2.rgw.log:reshard",
  2365. ceph | "user_keys_pool": "zone1-zg1-realm2.rgw.meta:users.keys",
  2366. ceph | "user_email_pool": "zone1-zg1-realm2.rgw.meta:users.email",
  2367. ceph | "user_swift_pool": "zone1-zg1-realm2.rgw.meta:users.swift",
  2368. ceph | "user_uid_pool": "zone1-zg1-realm2.rgw.meta:users.uid",
  2369. ceph | "otp_pool": "zone1-zg1-realm2.rgw.otp",
  2370. ceph | "notif_pool": "zone1-zg1-realm2.rgw.log:notif",
  2371. ceph | "topics_pool": "zone1-zg1-realm2.rgw.meta:topics",
  2372. ceph | "account_pool": "zone1-zg1-realm2.rgw.meta:accounts",
  2373. ceph | "group_pool": "zone1-zg1-realm2.rgw.meta:groups",
  2374. ceph | "system_key": {
  2375. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2376. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2377. ceph | },
  2378. ceph | "placement_pools": [
  2379. ceph | {
  2380. ceph | "key": "default-placement",
  2381. ceph | "val": {
  2382. ceph | "index_pool": "zone1-zg1-realm2.rgw.buckets.index",
  2383. ceph | "storage_classes": {
  2384. ceph | "STANDARD": {
  2385. ceph | "data_pool": "zone1-zg1-realm2.rgw.buckets.data"
  2386. ceph | }
  2387. ceph | },
  2388. ceph | "data_extra_pool": "zone1-zg1-realm2.rgw.buckets.non-ec",
  2389. ceph | "index_type": 0,
  2390. ceph | "inline_data": true
  2391. ceph | }
  2392. ceph | },
  2393. ceph | {
  2394. ceph | "key": "pt1-zone1-zg1-realm2",
  2395. ceph | "val": {
  2396. ceph | "index_pool": "pt1-zone1-zg1-realm2.rgw.buckets.index",
  2397. ceph | "storage_classes": {
  2398. ceph | "STANDARD": {
  2399. ceph | "data_pool": "pt1-zone1-zg1-realm2.rgw.buckets.data"
  2400. ceph | }
  2401. ceph | },
  2402. ceph | "data_extra_pool": "",
  2403. ceph | "index_type": 0,
  2404. ceph | "inline_data": true
  2405. ceph | }
  2406. ceph | },
  2407. ceph | {
  2408. ceph | "key": "pt2-zone1-zg1-realm2",
  2409. ceph | "val": {
  2410. ceph | "index_pool": "pt2-zone1-zg1-realm2.rgw.buckets.index",
  2411. ceph | "storage_classes": {
  2412. ceph | "STANDARD": {
  2413. ceph | "data_pool": "pt2-zone1-zg1-realm2.rgw.buckets.data"
  2414. ceph | }
  2415. ceph | },
  2416. ceph | "data_extra_pool": "",
  2417. ceph | "index_type": 0,
  2418. ceph | "inline_data": true
  2419. ceph | }
  2420. ceph | }
  2421. ceph | ],
  2422. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2423. ceph | }
  2424. ceph | + [[ 20 -ge 14 ]]
  2425. ceph | + COLD_STORAGE_CLASS=COLD
  2426. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --placement-id pt2-zone1-zg1-realm2 --storage-class COLD
  2427. ceph | 2025-05-12T13:03:29.447+0000 7f3f42a9f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2428. ceph | 2025-05-12T13:03:29.451+0000 7f3f42a9f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2429. ceph | 2025-05-12T13:03:29.452+0000 7f3f42a9f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2430. ceph | [
  2431. ceph | {
  2432. ceph | "key": "default-placement",
  2433. ceph | "val": {
  2434. ceph | "name": "default-placement",
  2435. ceph | "tags": [],
  2436. ceph | "storage_classes": [
  2437. ceph | "STANDARD"
  2438. ceph | ]
  2439. ceph | }
  2440. ceph | },
  2441. ceph | {
  2442. ceph | "key": "pt1-zone1-zg1-realm2",
  2443. ceph | "val": {
  2444. ceph | "name": "pt1-zone1-zg1-realm2",
  2445. ceph | "tags": [],
  2446. ceph | "storage_classes": [
  2447. ceph | "STANDARD"
  2448. ceph | ]
  2449. ceph | }
  2450. ceph | },
  2451. ceph | {
  2452. ceph | "key": "pt2-zone1-zg1-realm2",
  2453. ceph | "val": {
  2454. ceph | "name": "pt2-zone1-zg1-realm2",
  2455. ceph | "tags": [],
  2456. ceph | "storage_classes": [
  2457. ceph | "COLD",
  2458. ceph | "STANDARD"
  2459. ceph | ]
  2460. ceph | }
  2461. ceph | }
  2462. ceph | ]
  2463. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone1-zg1-realm2 --placement-id pt2-zone1-zg1-realm2 --storage-class COLD --data-pool pt2-zone1-zg1-realm2.rgw.cold.data
  2464. ceph | 2025-05-12T13:03:29.530+0000 7f22dc09e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2465. ceph | 2025-05-12T13:03:29.533+0000 7f22dc09e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2466. ceph | 2025-05-12T13:03:29.534+0000 7f22dc09e8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2467. ceph | {
  2468. ceph | "id": "e7d31ea2-6b5f-4246-b7f0-b24240422f1b",
  2469. ceph | "name": "zone1-zg1-realm2",
  2470. ceph | "domain_root": "zone1-zg1-realm2.rgw.meta:root",
  2471. ceph | "control_pool": "zone1-zg1-realm2.rgw.control",
  2472. ceph | "gc_pool": "zone1-zg1-realm2.rgw.log:gc",
  2473. ceph | "lc_pool": "zone1-zg1-realm2.rgw.log:lc",
  2474. ceph | "log_pool": "zone1-zg1-realm2.rgw.log",
  2475. ceph | "intent_log_pool": "zone1-zg1-realm2.rgw.log:intent",
  2476. ceph | "usage_log_pool": "zone1-zg1-realm2.rgw.log:usage",
  2477. ceph | "roles_pool": "zone1-zg1-realm2.rgw.meta:roles",
  2478. ceph | "reshard_pool": "zone1-zg1-realm2.rgw.log:reshard",
  2479. ceph | "user_keys_pool": "zone1-zg1-realm2.rgw.meta:users.keys",
  2480. ceph | "user_email_pool": "zone1-zg1-realm2.rgw.meta:users.email",
  2481. ceph | "user_swift_pool": "zone1-zg1-realm2.rgw.meta:users.swift",
  2482. ceph | "user_uid_pool": "zone1-zg1-realm2.rgw.meta:users.uid",
  2483. ceph | "otp_pool": "zone1-zg1-realm2.rgw.otp",
  2484. ceph | "notif_pool": "zone1-zg1-realm2.rgw.log:notif",
  2485. ceph | "topics_pool": "zone1-zg1-realm2.rgw.meta:topics",
  2486. ceph | "account_pool": "zone1-zg1-realm2.rgw.meta:accounts",
  2487. ceph | "group_pool": "zone1-zg1-realm2.rgw.meta:groups",
  2488. ceph | "system_key": {
  2489. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2490. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2491. ceph | },
  2492. ceph | "placement_pools": [
  2493. ceph | {
  2494. ceph | "key": "default-placement",
  2495. ceph | "val": {
  2496. ceph | "index_pool": "zone1-zg1-realm2.rgw.buckets.index",
  2497. ceph | "storage_classes": {
  2498. ceph | "STANDARD": {
  2499. ceph | "data_pool": "zone1-zg1-realm2.rgw.buckets.data"
  2500. ceph | }
  2501. ceph | },
  2502. ceph | "data_extra_pool": "zone1-zg1-realm2.rgw.buckets.non-ec",
  2503. ceph | "index_type": 0,
  2504. ceph | "inline_data": true
  2505. ceph | }
  2506. ceph | },
  2507. ceph | {
  2508. ceph | "key": "pt1-zone1-zg1-realm2",
  2509. ceph | "val": {
  2510. ceph | "index_pool": "pt1-zone1-zg1-realm2.rgw.buckets.index",
  2511. ceph | "storage_classes": {
  2512. ceph | "STANDARD": {
  2513. ceph | "data_pool": "pt1-zone1-zg1-realm2.rgw.buckets.data"
  2514. ceph | }
  2515. ceph | },
  2516. ceph | "data_extra_pool": "",
  2517. ceph | "index_type": 0,
  2518. ceph | "inline_data": true
  2519. ceph | }
  2520. ceph | },
  2521. ceph | {
  2522. ceph | "key": "pt2-zone1-zg1-realm2",
  2523. ceph | "val": {
  2524. ceph | "index_pool": "pt2-zone1-zg1-realm2.rgw.buckets.index",
  2525. ceph | "storage_classes": {
  2526. ceph | "COLD": {
  2527. ceph | "data_pool": "pt2-zone1-zg1-realm2.rgw.cold.data"
  2528. ceph | },
  2529. ceph | "STANDARD": {
  2530. ceph | "data_pool": "pt2-zone1-zg1-realm2.rgw.buckets.data"
  2531. ceph | }
  2532. ceph | },
  2533. ceph | "data_extra_pool": "",
  2534. ceph | "index_type": 0,
  2535. ceph | "inline_data": true
  2536. ceph | }
  2537. ceph | }
  2538. ceph | ],
  2539. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2540. ceph | }
  2541. ceph | + for ZONE_NUM in 1 2
  2542. ceph | + ZONE_NAME=zone2-zg1-realm2
  2543. ceph | + ZONE_OPTIONS=
  2544. ceph | + [[ 2 == 1 ]]
  2545. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone2-zg1-realm2 --endpoints http://ceph:8002 --access-key M1KBQY1XV9ELH8Y637PD --secret GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx
  2546. ceph | 2025-05-12T13:03:29.604+0000 7f14c6e078c0 -1 WARNING: all dangerous and experimental features are enabled.
  2547. ceph | 2025-05-12T13:03:29.609+0000 7f14c6e078c0 -1 WARNING: all dangerous and experimental features are enabled.
  2548. ceph | 2025-05-12T13:03:29.610+0000 7f14c6e078c0 -1 WARNING: all dangerous and experimental features are enabled.
  2549. ceph | NOTICE: set zone's realm_id=ec44e7bf-5d73-49a6-ac82-4256334aa0b4
  2550. ceph | {
  2551. ceph | "id": "9b7a806f-3665-4136-a6b2-93b56641ebc4",
  2552. ceph | "name": "zone2-zg1-realm2",
  2553. ceph | "domain_root": "zone2-zg1-realm2.rgw.meta:root",
  2554. ceph | "control_pool": "zone2-zg1-realm2.rgw.control",
  2555. ceph | "gc_pool": "zone2-zg1-realm2.rgw.log:gc",
  2556. ceph | "lc_pool": "zone2-zg1-realm2.rgw.log:lc",
  2557. ceph | "log_pool": "zone2-zg1-realm2.rgw.log",
  2558. ceph | "intent_log_pool": "zone2-zg1-realm2.rgw.log:intent",
  2559. ceph | "usage_log_pool": "zone2-zg1-realm2.rgw.log:usage",
  2560. ceph | "roles_pool": "zone2-zg1-realm2.rgw.meta:roles",
  2561. ceph | "reshard_pool": "zone2-zg1-realm2.rgw.log:reshard",
  2562. ceph | "user_keys_pool": "zone2-zg1-realm2.rgw.meta:users.keys",
  2563. ceph | "user_email_pool": "zone2-zg1-realm2.rgw.meta:users.email",
  2564. ceph | "user_swift_pool": "zone2-zg1-realm2.rgw.meta:users.swift",
  2565. ceph | "user_uid_pool": "zone2-zg1-realm2.rgw.meta:users.uid",
  2566. ceph | "otp_pool": "zone2-zg1-realm2.rgw.otp",
  2567. ceph | "notif_pool": "zone2-zg1-realm2.rgw.log:notif",
  2568. ceph | "topics_pool": "zone2-zg1-realm2.rgw.meta:topics",
  2569. ceph | "account_pool": "zone2-zg1-realm2.rgw.meta:accounts",
  2570. ceph | "group_pool": "zone2-zg1-realm2.rgw.meta:groups",
  2571. ceph | "system_key": {
  2572. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2573. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2574. ceph | },
  2575. ceph | "placement_pools": [
  2576. ceph | {
  2577. ceph | "key": "default-placement",
  2578. ceph | "val": {
  2579. ceph | "index_pool": "zone2-zg1-realm2.rgw.buckets.index",
  2580. ceph | "storage_classes": {
  2581. ceph | "STANDARD": {
  2582. ceph | "data_pool": "zone2-zg1-realm2.rgw.buckets.data"
  2583. ceph | }
  2584. ceph | },
  2585. ceph | "data_extra_pool": "zone2-zg1-realm2.rgw.buckets.non-ec",
  2586. ceph | "index_type": 0,
  2587. ceph | "inline_data": true
  2588. ceph | }
  2589. ceph | }
  2590. ceph | ],
  2591. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2592. ceph | }
  2593. ceph | + add_placement_targets_and_storage_classes
  2594. ceph | + for PT_NUM in 1 2
  2595. ceph | + PT_NAME=pt1-zone2-zg1-realm2
  2596. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg1-realm2 --placement-id pt1-zone2-zg1-realm2
  2597. ceph | 2025-05-12T13:03:29.773+0000 7ff3e34da8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2598. ceph | 2025-05-12T13:03:29.776+0000 7ff3e34da8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2599. ceph | 2025-05-12T13:03:29.777+0000 7ff3e34da8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2600. ceph | [
  2601. ceph | {
  2602. ceph | "key": "default-placement",
  2603. ceph | "val": {
  2604. ceph | "name": "default-placement",
  2605. ceph | "tags": [],
  2606. ceph | "storage_classes": [
  2607. ceph | "STANDARD"
  2608. ceph | ]
  2609. ceph | }
  2610. ceph | },
  2611. ceph | {
  2612. ceph | "key": "pt1-zone1-zg1-realm2",
  2613. ceph | "val": {
  2614. ceph | "name": "pt1-zone1-zg1-realm2",
  2615. ceph | "tags": [],
  2616. ceph | "storage_classes": [
  2617. ceph | "STANDARD"
  2618. ceph | ]
  2619. ceph | }
  2620. ceph | },
  2621. ceph | {
  2622. ceph | "key": "pt1-zone2-zg1-realm2",
  2623. ceph | "val": {
  2624. ceph | "name": "pt1-zone2-zg1-realm2",
  2625. ceph | "tags": [],
  2626. ceph | "storage_classes": [
  2627. ceph | "STANDARD"
  2628. ceph | ]
  2629. ceph | }
  2630. ceph | },
  2631. ceph | {
  2632. ceph | "key": "pt2-zone1-zg1-realm2",
  2633. ceph | "val": {
  2634. ceph | "name": "pt2-zone1-zg1-realm2",
  2635. ceph | "tags": [],
  2636. ceph | "storage_classes": [
  2637. ceph | "COLD",
  2638. ceph | "STANDARD"
  2639. ceph | ]
  2640. ceph | }
  2641. ceph | }
  2642. ceph | ]
  2643. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone2-zg1-realm2 --placement-id pt1-zone2-zg1-realm2 --data-pool pt1-zone2-zg1-realm2.rgw.buckets.data --index-pool pt1-zone2-zg1-realm2.rgw.buckets.index
  2644. ceph | 2025-05-12T13:03:29.852+0000 7ffa8bcc18c0 -1 WARNING: all dangerous and experimental features are enabled.
  2645. ceph | 2025-05-12T13:03:29.857+0000 7ffa8bcc18c0 -1 WARNING: all dangerous and experimental features are enabled.
  2646. ceph | 2025-05-12T13:03:29.857+0000 7ffa8bcc18c0 -1 WARNING: all dangerous and experimental features are enabled.
  2647. ceph | {
  2648. ceph | "id": "9b7a806f-3665-4136-a6b2-93b56641ebc4",
  2649. ceph | "name": "zone2-zg1-realm2",
  2650. ceph | "domain_root": "zone2-zg1-realm2.rgw.meta:root",
  2651. ceph | "control_pool": "zone2-zg1-realm2.rgw.control",
  2652. ceph | "gc_pool": "zone2-zg1-realm2.rgw.log:gc",
  2653. ceph | "lc_pool": "zone2-zg1-realm2.rgw.log:lc",
  2654. ceph | "log_pool": "zone2-zg1-realm2.rgw.log",
  2655. ceph | "intent_log_pool": "zone2-zg1-realm2.rgw.log:intent",
  2656. ceph | "usage_log_pool": "zone2-zg1-realm2.rgw.log:usage",
  2657. ceph | "roles_pool": "zone2-zg1-realm2.rgw.meta:roles",
  2658. ceph | "reshard_pool": "zone2-zg1-realm2.rgw.log:reshard",
  2659. ceph | "user_keys_pool": "zone2-zg1-realm2.rgw.meta:users.keys",
  2660. ceph | "user_email_pool": "zone2-zg1-realm2.rgw.meta:users.email",
  2661. ceph | "user_swift_pool": "zone2-zg1-realm2.rgw.meta:users.swift",
  2662. ceph | "user_uid_pool": "zone2-zg1-realm2.rgw.meta:users.uid",
  2663. ceph | "otp_pool": "zone2-zg1-realm2.rgw.otp",
  2664. ceph | "notif_pool": "zone2-zg1-realm2.rgw.log:notif",
  2665. ceph | "topics_pool": "zone2-zg1-realm2.rgw.meta:topics",
  2666. ceph | "account_pool": "zone2-zg1-realm2.rgw.meta:accounts",
  2667. ceph | "group_pool": "zone2-zg1-realm2.rgw.meta:groups",
  2668. ceph | "system_key": {
  2669. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2670. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2671. ceph | },
  2672. ceph | "placement_pools": [
  2673. ceph | {
  2674. ceph | "key": "default-placement",
  2675. ceph | "val": {
  2676. ceph | "index_pool": "zone2-zg1-realm2.rgw.buckets.index",
  2677. ceph | "storage_classes": {
  2678. ceph | "STANDARD": {
  2679. ceph | "data_pool": "zone2-zg1-realm2.rgw.buckets.data"
  2680. ceph | }
  2681. ceph | },
  2682. ceph | "data_extra_pool": "zone2-zg1-realm2.rgw.buckets.non-ec",
  2683. ceph | "index_type": 0,
  2684. ceph | "inline_data": true
  2685. ceph | }
  2686. ceph | },
  2687. ceph | {
  2688. ceph | "key": "pt1-zone2-zg1-realm2",
  2689. ceph | "val": {
  2690. ceph | "index_pool": "pt1-zone2-zg1-realm2.rgw.buckets.index",
  2691. ceph | "storage_classes": {
  2692. ceph | "STANDARD": {
  2693. ceph | "data_pool": "pt1-zone2-zg1-realm2.rgw.buckets.data"
  2694. ceph | }
  2695. ceph | },
  2696. ceph | "data_extra_pool": "",
  2697. ceph | "index_type": 0,
  2698. ceph | "inline_data": true
  2699. ceph | }
  2700. ceph | }
  2701. ceph | ],
  2702. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2703. ceph | }
  2704. ceph | + for PT_NUM in 1 2
  2705. ceph | + PT_NAME=pt2-zone2-zg1-realm2
  2706. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg1-realm2 --placement-id pt2-zone2-zg1-realm2
  2707. ceph | 2025-05-12T13:03:29.935+0000 7f1af869c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2708. ceph | 2025-05-12T13:03:29.939+0000 7f1af869c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2709. ceph | 2025-05-12T13:03:29.940+0000 7f1af869c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2710. ceph | [
  2711. ceph | {
  2712. ceph | "key": "default-placement",
  2713. ceph | "val": {
  2714. ceph | "name": "default-placement",
  2715. ceph | "tags": [],
  2716. ceph | "storage_classes": [
  2717. ceph | "STANDARD"
  2718. ceph | ]
  2719. ceph | }
  2720. ceph | },
  2721. ceph | {
  2722. ceph | "key": "pt1-zone1-zg1-realm2",
  2723. ceph | "val": {
  2724. ceph | "name": "pt1-zone1-zg1-realm2",
  2725. ceph | "tags": [],
  2726. ceph | "storage_classes": [
  2727. ceph | "STANDARD"
  2728. ceph | ]
  2729. ceph | }
  2730. ceph | },
  2731. ceph | {
  2732. ceph | "key": "pt1-zone2-zg1-realm2",
  2733. ceph | "val": {
  2734. ceph | "name": "pt1-zone2-zg1-realm2",
  2735. ceph | "tags": [],
  2736. ceph | "storage_classes": [
  2737. ceph | "STANDARD"
  2738. ceph | ]
  2739. ceph | }
  2740. ceph | },
  2741. ceph | {
  2742. ceph | "key": "pt2-zone1-zg1-realm2",
  2743. ceph | "val": {
  2744. ceph | "name": "pt2-zone1-zg1-realm2",
  2745. ceph | "tags": [],
  2746. ceph | "storage_classes": [
  2747. ceph | "COLD",
  2748. ceph | "STANDARD"
  2749. ceph | ]
  2750. ceph | }
  2751. ceph | },
  2752. ceph | {
  2753. ceph | "key": "pt2-zone2-zg1-realm2",
  2754. ceph | "val": {
  2755. ceph | "name": "pt2-zone2-zg1-realm2",
  2756. ceph | "tags": [],
  2757. ceph | "storage_classes": [
  2758. ceph | "STANDARD"
  2759. ceph | ]
  2760. ceph | }
  2761. ceph | }
  2762. ceph | ]
  2763. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone2-zg1-realm2 --placement-id pt2-zone2-zg1-realm2 --data-pool pt2-zone2-zg1-realm2.rgw.buckets.data --index-pool pt2-zone2-zg1-realm2.rgw.buckets.index
  2764. ceph | 2025-05-12T13:03:30.010+0000 7fbf34f808c0 -1 WARNING: all dangerous and experimental features are enabled.
  2765. ceph | 2025-05-12T13:03:30.014+0000 7fbf34f808c0 -1 WARNING: all dangerous and experimental features are enabled.
  2766. ceph | 2025-05-12T13:03:30.014+0000 7fbf34f808c0 -1 WARNING: all dangerous and experimental features are enabled.
  2767. ceph | {
  2768. ceph | "id": "9b7a806f-3665-4136-a6b2-93b56641ebc4",
  2769. ceph | "name": "zone2-zg1-realm2",
  2770. ceph | "domain_root": "zone2-zg1-realm2.rgw.meta:root",
  2771. ceph | "control_pool": "zone2-zg1-realm2.rgw.control",
  2772. ceph | "gc_pool": "zone2-zg1-realm2.rgw.log:gc",
  2773. ceph | "lc_pool": "zone2-zg1-realm2.rgw.log:lc",
  2774. ceph | "log_pool": "zone2-zg1-realm2.rgw.log",
  2775. ceph | "intent_log_pool": "zone2-zg1-realm2.rgw.log:intent",
  2776. ceph | "usage_log_pool": "zone2-zg1-realm2.rgw.log:usage",
  2777. ceph | "roles_pool": "zone2-zg1-realm2.rgw.meta:roles",
  2778. ceph | "reshard_pool": "zone2-zg1-realm2.rgw.log:reshard",
  2779. ceph | "user_keys_pool": "zone2-zg1-realm2.rgw.meta:users.keys",
  2780. ceph | "user_email_pool": "zone2-zg1-realm2.rgw.meta:users.email",
  2781. ceph | "user_swift_pool": "zone2-zg1-realm2.rgw.meta:users.swift",
  2782. ceph | "user_uid_pool": "zone2-zg1-realm2.rgw.meta:users.uid",
  2783. ceph | "otp_pool": "zone2-zg1-realm2.rgw.otp",
  2784. ceph | "notif_pool": "zone2-zg1-realm2.rgw.log:notif",
  2785. ceph | "topics_pool": "zone2-zg1-realm2.rgw.meta:topics",
  2786. ceph | "account_pool": "zone2-zg1-realm2.rgw.meta:accounts",
  2787. ceph | "group_pool": "zone2-zg1-realm2.rgw.meta:groups",
  2788. ceph | "system_key": {
  2789. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2790. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2791. ceph | },
  2792. ceph | "placement_pools": [
  2793. ceph | {
  2794. ceph | "key": "default-placement",
  2795. ceph | "val": {
  2796. ceph | "index_pool": "zone2-zg1-realm2.rgw.buckets.index",
  2797. ceph | "storage_classes": {
  2798. ceph | "STANDARD": {
  2799. ceph | "data_pool": "zone2-zg1-realm2.rgw.buckets.data"
  2800. ceph | }
  2801. ceph | },
  2802. ceph | "data_extra_pool": "zone2-zg1-realm2.rgw.buckets.non-ec",
  2803. ceph | "index_type": 0,
  2804. ceph | "inline_data": true
  2805. ceph | }
  2806. ceph | },
  2807. ceph | {
  2808. ceph | "key": "pt1-zone2-zg1-realm2",
  2809. ceph | "val": {
  2810. ceph | "index_pool": "pt1-zone2-zg1-realm2.rgw.buckets.index",
  2811. ceph | "storage_classes": {
  2812. ceph | "STANDARD": {
  2813. ceph | "data_pool": "pt1-zone2-zg1-realm2.rgw.buckets.data"
  2814. ceph | }
  2815. ceph | },
  2816. ceph | "data_extra_pool": "",
  2817. ceph | "index_type": 0,
  2818. ceph | "inline_data": true
  2819. ceph | }
  2820. ceph | },
  2821. ceph | {
  2822. ceph | "key": "pt2-zone2-zg1-realm2",
  2823. ceph | "val": {
  2824. ceph | "index_pool": "pt2-zone2-zg1-realm2.rgw.buckets.index",
  2825. ceph | "storage_classes": {
  2826. ceph | "STANDARD": {
  2827. ceph | "data_pool": "pt2-zone2-zg1-realm2.rgw.buckets.data"
  2828. ceph | }
  2829. ceph | },
  2830. ceph | "data_extra_pool": "",
  2831. ceph | "index_type": 0,
  2832. ceph | "inline_data": true
  2833. ceph | }
  2834. ceph | }
  2835. ceph | ],
  2836. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2837. ceph | }
  2838. ceph | + [[ 20 -ge 14 ]]
  2839. ceph | + COLD_STORAGE_CLASS=COLD
  2840. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --placement-id pt2-zone2-zg1-realm2 --storage-class COLD
  2841. ceph | 2025-05-12T13:03:30.084+0000 7f31a050c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2842. ceph | 2025-05-12T13:03:30.090+0000 7f31a050c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2843. ceph | 2025-05-12T13:03:30.090+0000 7f31a050c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2844. ceph | [
  2845. ceph | {
  2846. ceph | "key": "default-placement",
  2847. ceph | "val": {
  2848. ceph | "name": "default-placement",
  2849. ceph | "tags": [],
  2850. ceph | "storage_classes": [
  2851. ceph | "STANDARD"
  2852. ceph | ]
  2853. ceph | }
  2854. ceph | },
  2855. ceph | {
  2856. ceph | "key": "pt1-zone1-zg1-realm2",
  2857. ceph | "val": {
  2858. ceph | "name": "pt1-zone1-zg1-realm2",
  2859. ceph | "tags": [],
  2860. ceph | "storage_classes": [
  2861. ceph | "STANDARD"
  2862. ceph | ]
  2863. ceph | }
  2864. ceph | },
  2865. ceph | {
  2866. ceph | "key": "pt1-zone2-zg1-realm2",
  2867. ceph | "val": {
  2868. ceph | "name": "pt1-zone2-zg1-realm2",
  2869. ceph | "tags": [],
  2870. ceph | "storage_classes": [
  2871. ceph | "STANDARD"
  2872. ceph | ]
  2873. ceph | }
  2874. ceph | },
  2875. ceph | {
  2876. ceph | "key": "pt2-zone1-zg1-realm2",
  2877. ceph | "val": {
  2878. ceph | "name": "pt2-zone1-zg1-realm2",
  2879. ceph | "tags": [],
  2880. ceph | "storage_classes": [
  2881. ceph | "COLD",
  2882. ceph | "STANDARD"
  2883. ceph | ]
  2884. ceph | }
  2885. ceph | },
  2886. ceph | {
  2887. ceph | "key": "pt2-zone2-zg1-realm2",
  2888. ceph | "val": {
  2889. ceph | "name": "pt2-zone2-zg1-realm2",
  2890. ceph | "tags": [],
  2891. ceph | "storage_classes": [
  2892. ceph | "COLD",
  2893. ceph | "STANDARD"
  2894. ceph | ]
  2895. ceph | }
  2896. ceph | }
  2897. ceph | ]
  2898. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone2-zg1-realm2 --placement-id pt2-zone2-zg1-realm2 --storage-class COLD --data-pool pt2-zone2-zg1-realm2.rgw.cold.data
  2899. ceph | 2025-05-12T13:03:30.174+0000 7f1cf610c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2900. ceph | 2025-05-12T13:03:30.178+0000 7f1cf610c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2901. ceph | 2025-05-12T13:03:30.178+0000 7f1cf610c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  2902. ceph | {
  2903. ceph | "id": "9b7a806f-3665-4136-a6b2-93b56641ebc4",
  2904. ceph | "name": "zone2-zg1-realm2",
  2905. ceph | "domain_root": "zone2-zg1-realm2.rgw.meta:root",
  2906. ceph | "control_pool": "zone2-zg1-realm2.rgw.control",
  2907. ceph | "gc_pool": "zone2-zg1-realm2.rgw.log:gc",
  2908. ceph | "lc_pool": "zone2-zg1-realm2.rgw.log:lc",
  2909. ceph | "log_pool": "zone2-zg1-realm2.rgw.log",
  2910. ceph | "intent_log_pool": "zone2-zg1-realm2.rgw.log:intent",
  2911. ceph | "usage_log_pool": "zone2-zg1-realm2.rgw.log:usage",
  2912. ceph | "roles_pool": "zone2-zg1-realm2.rgw.meta:roles",
  2913. ceph | "reshard_pool": "zone2-zg1-realm2.rgw.log:reshard",
  2914. ceph | "user_keys_pool": "zone2-zg1-realm2.rgw.meta:users.keys",
  2915. ceph | "user_email_pool": "zone2-zg1-realm2.rgw.meta:users.email",
  2916. ceph | "user_swift_pool": "zone2-zg1-realm2.rgw.meta:users.swift",
  2917. ceph | "user_uid_pool": "zone2-zg1-realm2.rgw.meta:users.uid",
  2918. ceph | "otp_pool": "zone2-zg1-realm2.rgw.otp",
  2919. ceph | "notif_pool": "zone2-zg1-realm2.rgw.log:notif",
  2920. ceph | "topics_pool": "zone2-zg1-realm2.rgw.meta:topics",
  2921. ceph | "account_pool": "zone2-zg1-realm2.rgw.meta:accounts",
  2922. ceph | "group_pool": "zone2-zg1-realm2.rgw.meta:groups",
  2923. ceph | "system_key": {
  2924. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  2925. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  2926. ceph | },
  2927. ceph | "placement_pools": [
  2928. ceph | {
  2929. ceph | "key": "default-placement",
  2930. ceph | "val": {
  2931. ceph | "index_pool": "zone2-zg1-realm2.rgw.buckets.index",
  2932. ceph | "storage_classes": {
  2933. ceph | "STANDARD": {
  2934. ceph | "data_pool": "zone2-zg1-realm2.rgw.buckets.data"
  2935. ceph | }
  2936. ceph | },
  2937. ceph | "data_extra_pool": "zone2-zg1-realm2.rgw.buckets.non-ec",
  2938. ceph | "index_type": 0,
  2939. ceph | "inline_data": true
  2940. ceph | }
  2941. ceph | },
  2942. ceph | {
  2943. ceph | "key": "pt1-zone2-zg1-realm2",
  2944. ceph | "val": {
  2945. ceph | "index_pool": "pt1-zone2-zg1-realm2.rgw.buckets.index",
  2946. ceph | "storage_classes": {
  2947. ceph | "STANDARD": {
  2948. ceph | "data_pool": "pt1-zone2-zg1-realm2.rgw.buckets.data"
  2949. ceph | }
  2950. ceph | },
  2951. ceph | "data_extra_pool": "",
  2952. ceph | "index_type": 0,
  2953. ceph | "inline_data": true
  2954. ceph | }
  2955. ceph | },
  2956. ceph | {
  2957. ceph | "key": "pt2-zone2-zg1-realm2",
  2958. ceph | "val": {
  2959. ceph | "index_pool": "pt2-zone2-zg1-realm2.rgw.buckets.index",
  2960. ceph | "storage_classes": {
  2961. ceph | "COLD": {
  2962. ceph | "data_pool": "pt2-zone2-zg1-realm2.rgw.cold.data"
  2963. ceph | },
  2964. ceph | "STANDARD": {
  2965. ceph | "data_pool": "pt2-zone2-zg1-realm2.rgw.buckets.data"
  2966. ceph | }
  2967. ceph | },
  2968. ceph | "data_extra_pool": "",
  2969. ceph | "index_type": 0,
  2970. ceph | "inline_data": true
  2971. ceph | }
  2972. ceph | }
  2973. ceph | ],
  2974. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  2975. ceph | }
  2976. ceph | + RGW_DAEMON_PORT=8003
  2977. ceph | + for ZONEGROUP_NUM in 1 2
  2978. ceph | + ZONEGROUP_NAME=zg2-realm2
  2979. ceph | + ZONEGROUP_OPTIONS=
  2980. ceph | + [[ 2 == 1 ]]
  2981. ceph | + /usr/bin/radosgw-admin zonegroup create --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --endpoints http://ceph:8003
  2982. ceph | 2025-05-12T13:03:30.250+0000 7f5b36fe98c0 -1 WARNING: all dangerous and experimental features are enabled.
  2983. ceph | 2025-05-12T13:03:30.253+0000 7f5b36fe98c0 -1 WARNING: all dangerous and experimental features are enabled.
  2984. ceph | 2025-05-12T13:03:30.254+0000 7f5b36fe98c0 -1 WARNING: all dangerous and experimental features are enabled.
  2985. ceph | {
  2986. ceph | "id": "10c46e70-7316-4cf6-8606-3415b71ea1fd",
  2987. ceph | "name": "zg2-realm2",
  2988. ceph | "api_name": "zg2-realm2",
  2989. ceph | "is_master": false,
  2990. ceph | "endpoints": [
  2991. ceph | "http://ceph:8003"
  2992. ceph | ],
  2993. ceph | "hostnames": [],
  2994. ceph | "hostnames_s3website": [],
  2995. ceph | "master_zone": "",
  2996. ceph | "zones": [],
  2997. ceph | "placement_targets": [
  2998. ceph | {
  2999. ceph | "name": "default-placement",
  3000. ceph | "tags": [],
  3001. ceph | "storage_classes": []
  3002. ceph | }
  3003. ceph | ],
  3004. ceph | "default_placement": "default-placement",
  3005. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4",
  3006. ceph | "sync_policy": {
  3007. ceph | "groups": []
  3008. ceph | },
  3009. ceph | "enabled_features": [
  3010. ceph | "notification_v2",
  3011. ceph | "resharding"
  3012. ceph | ]
  3013. ceph | }
  3014. ceph | + for ZONE_NUM in 1 2
  3015. ceph | + ZONE_NAME=zone1-zg2-realm2
  3016. ceph | + ZONE_OPTIONS=
  3017. ceph | + [[ 1 == 1 ]]
  3018. ceph | + [[ 2 == 1 ]]
  3019. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone1-zg2-realm2 --endpoints http://ceph:8003 --access-key M1KBQY1XV9ELH8Y637PD --secret GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx
  3020. ceph | 2025-05-12T13:03:30.392+0000 7f480b5f08c0 -1 WARNING: all dangerous and experimental features are enabled.
  3021. ceph | 2025-05-12T13:03:30.396+0000 7f480b5f08c0 -1 WARNING: all dangerous and experimental features are enabled.
  3022. ceph | 2025-05-12T13:03:30.397+0000 7f480b5f08c0 -1 WARNING: all dangerous and experimental features are enabled.
  3023. ceph | NOTICE: set zone's realm_id=ec44e7bf-5d73-49a6-ac82-4256334aa0b4
  3024. ceph | 2025-05-12T13:03:30.500+0000 7f480b5f08c0 0 NOTICE: promoted zone1-zg2-realm2 as new master_zone of zonegroup zg2-realm2
  3025. ceph | {
  3026. ceph | "id": "49dd7b30-9bb1-459d-874e-608b49c15ce2",
  3027. ceph | "name": "zone1-zg2-realm2",
  3028. ceph | "domain_root": "zone1-zg2-realm2.rgw.meta:root",
  3029. ceph | "control_pool": "zone1-zg2-realm2.rgw.control",
  3030. ceph | "gc_pool": "zone1-zg2-realm2.rgw.log:gc",
  3031. ceph | "lc_pool": "zone1-zg2-realm2.rgw.log:lc",
  3032. ceph | "log_pool": "zone1-zg2-realm2.rgw.log",
  3033. ceph | "intent_log_pool": "zone1-zg2-realm2.rgw.log:intent",
  3034. ceph | "usage_log_pool": "zone1-zg2-realm2.rgw.log:usage",
  3035. ceph | "roles_pool": "zone1-zg2-realm2.rgw.meta:roles",
  3036. ceph | "reshard_pool": "zone1-zg2-realm2.rgw.log:reshard",
  3037. ceph | "user_keys_pool": "zone1-zg2-realm2.rgw.meta:users.keys",
  3038. ceph | "user_email_pool": "zone1-zg2-realm2.rgw.meta:users.email",
  3039. ceph | "user_swift_pool": "zone1-zg2-realm2.rgw.meta:users.swift",
  3040. ceph | "user_uid_pool": "zone1-zg2-realm2.rgw.meta:users.uid",
  3041. ceph | "otp_pool": "zone1-zg2-realm2.rgw.otp",
  3042. ceph | "notif_pool": "zone1-zg2-realm2.rgw.log:notif",
  3043. ceph | "topics_pool": "zone1-zg2-realm2.rgw.meta:topics",
  3044. ceph | "account_pool": "zone1-zg2-realm2.rgw.meta:accounts",
  3045. ceph | "group_pool": "zone1-zg2-realm2.rgw.meta:groups",
  3046. ceph | "system_key": {
  3047. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3048. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3049. ceph | },
  3050. ceph | "placement_pools": [
  3051. ceph | {
  3052. ceph | "key": "default-placement",
  3053. ceph | "val": {
  3054. ceph | "index_pool": "zone1-zg2-realm2.rgw.buckets.index",
  3055. ceph | "storage_classes": {
  3056. ceph | "STANDARD": {
  3057. ceph | "data_pool": "zone1-zg2-realm2.rgw.buckets.data"
  3058. ceph | }
  3059. ceph | },
  3060. ceph | "data_extra_pool": "zone1-zg2-realm2.rgw.buckets.non-ec",
  3061. ceph | "index_type": 0,
  3062. ceph | "inline_data": true
  3063. ceph | }
  3064. ceph | }
  3065. ceph | ],
  3066. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3067. ceph | }
  3068. ceph | + add_placement_targets_and_storage_classes
  3069. ceph | + for PT_NUM in 1 2
  3070. ceph | + PT_NAME=pt1-zone1-zg2-realm2
  3071. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg2-realm2 --placement-id pt1-zone1-zg2-realm2
  3072. ceph | 2025-05-12T13:03:30.562+0000 7fc81917c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3073. ceph | 2025-05-12T13:03:30.565+0000 7fc81917c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3074. ceph | 2025-05-12T13:03:30.566+0000 7fc81917c8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3075. ceph | [
  3076. ceph | {
  3077. ceph | "key": "default-placement",
  3078. ceph | "val": {
  3079. ceph | "name": "default-placement",
  3080. ceph | "tags": [],
  3081. ceph | "storage_classes": [
  3082. ceph | "STANDARD"
  3083. ceph | ]
  3084. ceph | }
  3085. ceph | },
  3086. ceph | {
  3087. ceph | "key": "pt1-zone1-zg2-realm2",
  3088. ceph | "val": {
  3089. ceph | "name": "pt1-zone1-zg2-realm2",
  3090. ceph | "tags": [],
  3091. ceph | "storage_classes": [
  3092. ceph | "STANDARD"
  3093. ceph | ]
  3094. ceph | }
  3095. ceph | }
  3096. ceph | ]
  3097. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone1-zg2-realm2 --placement-id pt1-zone1-zg2-realm2 --data-pool pt1-zone1-zg2-realm2.rgw.buckets.data --index-pool pt1-zone1-zg2-realm2.rgw.buckets.index
  3098. ceph | 2025-05-12T13:03:30.644+0000 7fb4f38de8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3099. ceph | 2025-05-12T13:03:30.648+0000 7fb4f38de8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3100. ceph | 2025-05-12T13:03:30.649+0000 7fb4f38de8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3101. ceph | {
  3102. ceph | "id": "49dd7b30-9bb1-459d-874e-608b49c15ce2",
  3103. ceph | "name": "zone1-zg2-realm2",
  3104. ceph | "domain_root": "zone1-zg2-realm2.rgw.meta:root",
  3105. ceph | "control_pool": "zone1-zg2-realm2.rgw.control",
  3106. ceph | "gc_pool": "zone1-zg2-realm2.rgw.log:gc",
  3107. ceph | "lc_pool": "zone1-zg2-realm2.rgw.log:lc",
  3108. ceph | "log_pool": "zone1-zg2-realm2.rgw.log",
  3109. ceph | "intent_log_pool": "zone1-zg2-realm2.rgw.log:intent",
  3110. ceph | "usage_log_pool": "zone1-zg2-realm2.rgw.log:usage",
  3111. ceph | "roles_pool": "zone1-zg2-realm2.rgw.meta:roles",
  3112. ceph | "reshard_pool": "zone1-zg2-realm2.rgw.log:reshard",
  3113. ceph | "user_keys_pool": "zone1-zg2-realm2.rgw.meta:users.keys",
  3114. ceph | "user_email_pool": "zone1-zg2-realm2.rgw.meta:users.email",
  3115. ceph | "user_swift_pool": "zone1-zg2-realm2.rgw.meta:users.swift",
  3116. ceph | "user_uid_pool": "zone1-zg2-realm2.rgw.meta:users.uid",
  3117. ceph | "otp_pool": "zone1-zg2-realm2.rgw.otp",
  3118. ceph | "notif_pool": "zone1-zg2-realm2.rgw.log:notif",
  3119. ceph | "topics_pool": "zone1-zg2-realm2.rgw.meta:topics",
  3120. ceph | "account_pool": "zone1-zg2-realm2.rgw.meta:accounts",
  3121. ceph | "group_pool": "zone1-zg2-realm2.rgw.meta:groups",
  3122. ceph | "system_key": {
  3123. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3124. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3125. ceph | },
  3126. ceph | "placement_pools": [
  3127. ceph | {
  3128. ceph | "key": "default-placement",
  3129. ceph | "val": {
  3130. ceph | "index_pool": "zone1-zg2-realm2.rgw.buckets.index",
  3131. ceph | "storage_classes": {
  3132. ceph | "STANDARD": {
  3133. ceph | "data_pool": "zone1-zg2-realm2.rgw.buckets.data"
  3134. ceph | }
  3135. ceph | },
  3136. ceph | "data_extra_pool": "zone1-zg2-realm2.rgw.buckets.non-ec",
  3137. ceph | "index_type": 0,
  3138. ceph | "inline_data": true
  3139. ceph | }
  3140. ceph | },
  3141. ceph | {
  3142. ceph | "key": "pt1-zone1-zg2-realm2",
  3143. ceph | "val": {
  3144. ceph | "index_pool": "pt1-zone1-zg2-realm2.rgw.buckets.index",
  3145. ceph | "storage_classes": {
  3146. ceph | "STANDARD": {
  3147. ceph | "data_pool": "pt1-zone1-zg2-realm2.rgw.buckets.data"
  3148. ceph | }
  3149. ceph | },
  3150. ceph | "data_extra_pool": "",
  3151. ceph | "index_type": 0,
  3152. ceph | "inline_data": true
  3153. ceph | }
  3154. ceph | }
  3155. ceph | ],
  3156. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3157. ceph | }
  3158. ceph | + for PT_NUM in 1 2
  3159. ceph | + PT_NAME=pt2-zone1-zg2-realm2
  3160. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg2-realm2 --placement-id pt2-zone1-zg2-realm2
  3161. ceph | 2025-05-12T13:03:30.724+0000 7f5e1032b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3162. ceph | 2025-05-12T13:03:30.728+0000 7f5e1032b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3163. ceph | 2025-05-12T13:03:30.728+0000 7f5e1032b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3164. ceph | [
  3165. ceph | {
  3166. ceph | "key": "default-placement",
  3167. ceph | "val": {
  3168. ceph | "name": "default-placement",
  3169. ceph | "tags": [],
  3170. ceph | "storage_classes": [
  3171. ceph | "STANDARD"
  3172. ceph | ]
  3173. ceph | }
  3174. ceph | },
  3175. ceph | {
  3176. ceph | "key": "pt1-zone1-zg2-realm2",
  3177. ceph | "val": {
  3178. ceph | "name": "pt1-zone1-zg2-realm2",
  3179. ceph | "tags": [],
  3180. ceph | "storage_classes": [
  3181. ceph | "STANDARD"
  3182. ceph | ]
  3183. ceph | }
  3184. ceph | },
  3185. ceph | {
  3186. ceph | "key": "pt2-zone1-zg2-realm2",
  3187. ceph | "val": {
  3188. ceph | "name": "pt2-zone1-zg2-realm2",
  3189. ceph | "tags": [],
  3190. ceph | "storage_classes": [
  3191. ceph | "STANDARD"
  3192. ceph | ]
  3193. ceph | }
  3194. ceph | }
  3195. ceph | ]
  3196. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone1-zg2-realm2 --placement-id pt2-zone1-zg2-realm2 --data-pool pt2-zone1-zg2-realm2.rgw.buckets.data --index-pool pt2-zone1-zg2-realm2.rgw.buckets.index
  3197. ceph | 2025-05-12T13:03:30.810+0000 7f8a3651b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3198. ceph | 2025-05-12T13:03:30.813+0000 7f8a3651b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3199. ceph | 2025-05-12T13:03:30.814+0000 7f8a3651b8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3200. ceph | {
  3201. ceph | "id": "49dd7b30-9bb1-459d-874e-608b49c15ce2",
  3202. ceph | "name": "zone1-zg2-realm2",
  3203. ceph | "domain_root": "zone1-zg2-realm2.rgw.meta:root",
  3204. ceph | "control_pool": "zone1-zg2-realm2.rgw.control",
  3205. ceph | "gc_pool": "zone1-zg2-realm2.rgw.log:gc",
  3206. ceph | "lc_pool": "zone1-zg2-realm2.rgw.log:lc",
  3207. ceph | "log_pool": "zone1-zg2-realm2.rgw.log",
  3208. ceph | "intent_log_pool": "zone1-zg2-realm2.rgw.log:intent",
  3209. ceph | "usage_log_pool": "zone1-zg2-realm2.rgw.log:usage",
  3210. ceph | "roles_pool": "zone1-zg2-realm2.rgw.meta:roles",
  3211. ceph | "reshard_pool": "zone1-zg2-realm2.rgw.log:reshard",
  3212. ceph | "user_keys_pool": "zone1-zg2-realm2.rgw.meta:users.keys",
  3213. ceph | "user_email_pool": "zone1-zg2-realm2.rgw.meta:users.email",
  3214. ceph | "user_swift_pool": "zone1-zg2-realm2.rgw.meta:users.swift",
  3215. ceph | "user_uid_pool": "zone1-zg2-realm2.rgw.meta:users.uid",
  3216. ceph | "otp_pool": "zone1-zg2-realm2.rgw.otp",
  3217. ceph | "notif_pool": "zone1-zg2-realm2.rgw.log:notif",
  3218. ceph | "topics_pool": "zone1-zg2-realm2.rgw.meta:topics",
  3219. ceph | "account_pool": "zone1-zg2-realm2.rgw.meta:accounts",
  3220. ceph | "group_pool": "zone1-zg2-realm2.rgw.meta:groups",
  3221. ceph | "system_key": {
  3222. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3223. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3224. ceph | },
  3225. ceph | "placement_pools": [
  3226. ceph | {
  3227. ceph | "key": "default-placement",
  3228. ceph | "val": {
  3229. ceph | "index_pool": "zone1-zg2-realm2.rgw.buckets.index",
  3230. ceph | "storage_classes": {
  3231. ceph | "STANDARD": {
  3232. ceph | "data_pool": "zone1-zg2-realm2.rgw.buckets.data"
  3233. ceph | }
  3234. ceph | },
  3235. ceph | "data_extra_pool": "zone1-zg2-realm2.rgw.buckets.non-ec",
  3236. ceph | "index_type": 0,
  3237. ceph | "inline_data": true
  3238. ceph | }
  3239. ceph | },
  3240. ceph | {
  3241. ceph | "key": "pt1-zone1-zg2-realm2",
  3242. ceph | "val": {
  3243. ceph | "index_pool": "pt1-zone1-zg2-realm2.rgw.buckets.index",
  3244. ceph | "storage_classes": {
  3245. ceph | "STANDARD": {
  3246. ceph | "data_pool": "pt1-zone1-zg2-realm2.rgw.buckets.data"
  3247. ceph | }
  3248. ceph | },
  3249. ceph | "data_extra_pool": "",
  3250. ceph | "index_type": 0,
  3251. ceph | "inline_data": true
  3252. ceph | }
  3253. ceph | },
  3254. ceph | {
  3255. ceph | "key": "pt2-zone1-zg2-realm2",
  3256. ceph | "val": {
  3257. ceph | "index_pool": "pt2-zone1-zg2-realm2.rgw.buckets.index",
  3258. ceph | "storage_classes": {
  3259. ceph | "STANDARD": {
  3260. ceph | "data_pool": "pt2-zone1-zg2-realm2.rgw.buckets.data"
  3261. ceph | }
  3262. ceph | },
  3263. ceph | "data_extra_pool": "",
  3264. ceph | "index_type": 0,
  3265. ceph | "inline_data": true
  3266. ceph | }
  3267. ceph | }
  3268. ceph | ],
  3269. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3270. ceph | }
  3271. ceph | + [[ 20 -ge 14 ]]
  3272. ceph | + COLD_STORAGE_CLASS=COLD
  3273. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --placement-id pt2-zone1-zg2-realm2 --storage-class COLD
  3274. ceph | 2025-05-12T13:03:30.885+0000 7f36274ea8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3275. ceph | 2025-05-12T13:03:30.888+0000 7f36274ea8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3276. ceph | 2025-05-12T13:03:30.889+0000 7f36274ea8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3277. ceph | [
  3278. ceph | {
  3279. ceph | "key": "default-placement",
  3280. ceph | "val": {
  3281. ceph | "name": "default-placement",
  3282. ceph | "tags": [],
  3283. ceph | "storage_classes": [
  3284. ceph | "STANDARD"
  3285. ceph | ]
  3286. ceph | }
  3287. ceph | },
  3288. ceph | {
  3289. ceph | "key": "pt1-zone1-zg2-realm2",
  3290. ceph | "val": {
  3291. ceph | "name": "pt1-zone1-zg2-realm2",
  3292. ceph | "tags": [],
  3293. ceph | "storage_classes": [
  3294. ceph | "STANDARD"
  3295. ceph | ]
  3296. ceph | }
  3297. ceph | },
  3298. ceph | {
  3299. ceph | "key": "pt2-zone1-zg2-realm2",
  3300. ceph | "val": {
  3301. ceph | "name": "pt2-zone1-zg2-realm2",
  3302. ceph | "tags": [],
  3303. ceph | "storage_classes": [
  3304. ceph | "COLD",
  3305. ceph | "STANDARD"
  3306. ceph | ]
  3307. ceph | }
  3308. ceph | }
  3309. ceph | ]
  3310. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone1-zg2-realm2 --placement-id pt2-zone1-zg2-realm2 --storage-class COLD --data-pool pt2-zone1-zg2-realm2.rgw.cold.data
  3311. ceph | 2025-05-12T13:03:30.955+0000 7efcf9c778c0 -1 WARNING: all dangerous and experimental features are enabled.
  3312. ceph | 2025-05-12T13:03:30.959+0000 7efcf9c778c0 -1 WARNING: all dangerous and experimental features are enabled.
  3313. ceph | 2025-05-12T13:03:30.960+0000 7efcf9c778c0 -1 WARNING: all dangerous and experimental features are enabled.
  3314. ceph | {
  3315. ceph | "id": "49dd7b30-9bb1-459d-874e-608b49c15ce2",
  3316. ceph | "name": "zone1-zg2-realm2",
  3317. ceph | "domain_root": "zone1-zg2-realm2.rgw.meta:root",
  3318. ceph | "control_pool": "zone1-zg2-realm2.rgw.control",
  3319. ceph | "gc_pool": "zone1-zg2-realm2.rgw.log:gc",
  3320. ceph | "lc_pool": "zone1-zg2-realm2.rgw.log:lc",
  3321. ceph | "log_pool": "zone1-zg2-realm2.rgw.log",
  3322. ceph | "intent_log_pool": "zone1-zg2-realm2.rgw.log:intent",
  3323. ceph | "usage_log_pool": "zone1-zg2-realm2.rgw.log:usage",
  3324. ceph | "roles_pool": "zone1-zg2-realm2.rgw.meta:roles",
  3325. ceph | "reshard_pool": "zone1-zg2-realm2.rgw.log:reshard",
  3326. ceph | "user_keys_pool": "zone1-zg2-realm2.rgw.meta:users.keys",
  3327. ceph | "user_email_pool": "zone1-zg2-realm2.rgw.meta:users.email",
  3328. ceph | "user_swift_pool": "zone1-zg2-realm2.rgw.meta:users.swift",
  3329. ceph | "user_uid_pool": "zone1-zg2-realm2.rgw.meta:users.uid",
  3330. ceph | "otp_pool": "zone1-zg2-realm2.rgw.otp",
  3331. ceph | "notif_pool": "zone1-zg2-realm2.rgw.log:notif",
  3332. ceph | "topics_pool": "zone1-zg2-realm2.rgw.meta:topics",
  3333. ceph | "account_pool": "zone1-zg2-realm2.rgw.meta:accounts",
  3334. ceph | "group_pool": "zone1-zg2-realm2.rgw.meta:groups",
  3335. ceph | "system_key": {
  3336. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3337. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3338. ceph | },
  3339. ceph | "placement_pools": [
  3340. ceph | {
  3341. ceph | "key": "default-placement",
  3342. ceph | "val": {
  3343. ceph | "index_pool": "zone1-zg2-realm2.rgw.buckets.index",
  3344. ceph | "storage_classes": {
  3345. ceph | "STANDARD": {
  3346. ceph | "data_pool": "zone1-zg2-realm2.rgw.buckets.data"
  3347. ceph | }
  3348. ceph | },
  3349. ceph | "data_extra_pool": "zone1-zg2-realm2.rgw.buckets.non-ec",
  3350. ceph | "index_type": 0,
  3351. ceph | "inline_data": true
  3352. ceph | }
  3353. ceph | },
  3354. ceph | {
  3355. ceph | "key": "pt1-zone1-zg2-realm2",
  3356. ceph | "val": {
  3357. ceph | "index_pool": "pt1-zone1-zg2-realm2.rgw.buckets.index",
  3358. ceph | "storage_classes": {
  3359. ceph | "STANDARD": {
  3360. ceph | "data_pool": "pt1-zone1-zg2-realm2.rgw.buckets.data"
  3361. ceph | }
  3362. ceph | },
  3363. ceph | "data_extra_pool": "",
  3364. ceph | "index_type": 0,
  3365. ceph | "inline_data": true
  3366. ceph | }
  3367. ceph | },
  3368. ceph | {
  3369. ceph | "key": "pt2-zone1-zg2-realm2",
  3370. ceph | "val": {
  3371. ceph | "index_pool": "pt2-zone1-zg2-realm2.rgw.buckets.index",
  3372. ceph | "storage_classes": {
  3373. ceph | "COLD": {
  3374. ceph | "data_pool": "pt2-zone1-zg2-realm2.rgw.cold.data"
  3375. ceph | },
  3376. ceph | "STANDARD": {
  3377. ceph | "data_pool": "pt2-zone1-zg2-realm2.rgw.buckets.data"
  3378. ceph | }
  3379. ceph | },
  3380. ceph | "data_extra_pool": "",
  3381. ceph | "index_type": 0,
  3382. ceph | "inline_data": true
  3383. ceph | }
  3384. ceph | }
  3385. ceph | ],
  3386. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3387. ceph | }
  3388. ceph | + for ZONE_NUM in 1 2
  3389. ceph | + ZONE_NAME=zone2-zg2-realm2
  3390. ceph | + ZONE_OPTIONS=
  3391. ceph | + [[ 2 == 1 ]]
  3392. ceph | + /usr/bin/radosgw-admin zone create --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone2-zg2-realm2 --endpoints http://ceph:8003 --access-key M1KBQY1XV9ELH8Y637PD --secret GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx
  3393. ceph | 2025-05-12T13:03:31.031+0000 7f483cf388c0 -1 WARNING: all dangerous and experimental features are enabled.
  3394. ceph | 2025-05-12T13:03:31.035+0000 7f483cf388c0 -1 WARNING: all dangerous and experimental features are enabled.
  3395. ceph | 2025-05-12T13:03:31.035+0000 7f483cf388c0 -1 WARNING: all dangerous and experimental features are enabled.
  3396. ceph | NOTICE: set zone's realm_id=ec44e7bf-5d73-49a6-ac82-4256334aa0b4
  3397. ceph | {
  3398. ceph | "id": "10054197-c8c6-4fae-a961-45898563ca0c",
  3399. ceph | "name": "zone2-zg2-realm2",
  3400. ceph | "domain_root": "zone2-zg2-realm2.rgw.meta:root",
  3401. ceph | "control_pool": "zone2-zg2-realm2.rgw.control",
  3402. ceph | "gc_pool": "zone2-zg2-realm2.rgw.log:gc",
  3403. ceph | "lc_pool": "zone2-zg2-realm2.rgw.log:lc",
  3404. ceph | "log_pool": "zone2-zg2-realm2.rgw.log",
  3405. ceph | "intent_log_pool": "zone2-zg2-realm2.rgw.log:intent",
  3406. ceph | "usage_log_pool": "zone2-zg2-realm2.rgw.log:usage",
  3407. ceph | "roles_pool": "zone2-zg2-realm2.rgw.meta:roles",
  3408. ceph | "reshard_pool": "zone2-zg2-realm2.rgw.log:reshard",
  3409. ceph | "user_keys_pool": "zone2-zg2-realm2.rgw.meta:users.keys",
  3410. ceph | "user_email_pool": "zone2-zg2-realm2.rgw.meta:users.email",
  3411. ceph | "user_swift_pool": "zone2-zg2-realm2.rgw.meta:users.swift",
  3412. ceph | "user_uid_pool": "zone2-zg2-realm2.rgw.meta:users.uid",
  3413. ceph | "otp_pool": "zone2-zg2-realm2.rgw.otp",
  3414. ceph | "notif_pool": "zone2-zg2-realm2.rgw.log:notif",
  3415. ceph | "topics_pool": "zone2-zg2-realm2.rgw.meta:topics",
  3416. ceph | "account_pool": "zone2-zg2-realm2.rgw.meta:accounts",
  3417. ceph | "group_pool": "zone2-zg2-realm2.rgw.meta:groups",
  3418. ceph | "system_key": {
  3419. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3420. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3421. ceph | },
  3422. ceph | "placement_pools": [
  3423. ceph | {
  3424. ceph | "key": "default-placement",
  3425. ceph | "val": {
  3426. ceph | "index_pool": "zone2-zg2-realm2.rgw.buckets.index",
  3427. ceph | "storage_classes": {
  3428. ceph | "STANDARD": {
  3429. ceph | "data_pool": "zone2-zg2-realm2.rgw.buckets.data"
  3430. ceph | }
  3431. ceph | },
  3432. ceph | "data_extra_pool": "zone2-zg2-realm2.rgw.buckets.non-ec",
  3433. ceph | "index_type": 0,
  3434. ceph | "inline_data": true
  3435. ceph | }
  3436. ceph | }
  3437. ceph | ],
  3438. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3439. ceph | }
  3440. ceph | + add_placement_targets_and_storage_classes
  3441. ceph | + for PT_NUM in 1 2
  3442. ceph | + PT_NAME=pt1-zone2-zg2-realm2
  3443. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg2-realm2 --placement-id pt1-zone2-zg2-realm2
  3444. ceph | 2025-05-12T13:03:31.199+0000 7f7bb4bd38c0 -1 WARNING: all dangerous and experimental features are enabled.
  3445. ceph | 2025-05-12T13:03:31.203+0000 7f7bb4bd38c0 -1 WARNING: all dangerous and experimental features are enabled.
  3446. ceph | 2025-05-12T13:03:31.203+0000 7f7bb4bd38c0 -1 WARNING: all dangerous and experimental features are enabled.
  3447. ceph | [
  3448. ceph | {
  3449. ceph | "key": "default-placement",
  3450. ceph | "val": {
  3451. ceph | "name": "default-placement",
  3452. ceph | "tags": [],
  3453. ceph | "storage_classes": [
  3454. ceph | "STANDARD"
  3455. ceph | ]
  3456. ceph | }
  3457. ceph | },
  3458. ceph | {
  3459. ceph | "key": "pt1-zone1-zg2-realm2",
  3460. ceph | "val": {
  3461. ceph | "name": "pt1-zone1-zg2-realm2",
  3462. ceph | "tags": [],
  3463. ceph | "storage_classes": [
  3464. ceph | "STANDARD"
  3465. ceph | ]
  3466. ceph | }
  3467. ceph | },
  3468. ceph | {
  3469. ceph | "key": "pt1-zone2-zg2-realm2",
  3470. ceph | "val": {
  3471. ceph | "name": "pt1-zone2-zg2-realm2",
  3472. ceph | "tags": [],
  3473. ceph | "storage_classes": [
  3474. ceph | "STANDARD"
  3475. ceph | ]
  3476. ceph | }
  3477. ceph | },
  3478. ceph | {
  3479. ceph | "key": "pt2-zone1-zg2-realm2",
  3480. ceph | "val": {
  3481. ceph | "name": "pt2-zone1-zg2-realm2",
  3482. ceph | "tags": [],
  3483. ceph | "storage_classes": [
  3484. ceph | "COLD",
  3485. ceph | "STANDARD"
  3486. ceph | ]
  3487. ceph | }
  3488. ceph | }
  3489. ceph | ]
  3490. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone2-zg2-realm2 --placement-id pt1-zone2-zg2-realm2 --data-pool pt1-zone2-zg2-realm2.rgw.buckets.data --index-pool pt1-zone2-zg2-realm2.rgw.buckets.index
  3491. ceph | 2025-05-12T13:03:31.277+0000 7f91cb1a68c0 -1 WARNING: all dangerous and experimental features are enabled.
  3492. ceph | 2025-05-12T13:03:31.281+0000 7f91cb1a68c0 -1 WARNING: all dangerous and experimental features are enabled.
  3493. ceph | 2025-05-12T13:03:31.281+0000 7f91cb1a68c0 -1 WARNING: all dangerous and experimental features are enabled.
  3494. ceph | {
  3495. ceph | "id": "10054197-c8c6-4fae-a961-45898563ca0c",
  3496. ceph | "name": "zone2-zg2-realm2",
  3497. ceph | "domain_root": "zone2-zg2-realm2.rgw.meta:root",
  3498. ceph | "control_pool": "zone2-zg2-realm2.rgw.control",
  3499. ceph | "gc_pool": "zone2-zg2-realm2.rgw.log:gc",
  3500. ceph | "lc_pool": "zone2-zg2-realm2.rgw.log:lc",
  3501. ceph | "log_pool": "zone2-zg2-realm2.rgw.log",
  3502. ceph | "intent_log_pool": "zone2-zg2-realm2.rgw.log:intent",
  3503. ceph | "usage_log_pool": "zone2-zg2-realm2.rgw.log:usage",
  3504. ceph | "roles_pool": "zone2-zg2-realm2.rgw.meta:roles",
  3505. ceph | "reshard_pool": "zone2-zg2-realm2.rgw.log:reshard",
  3506. ceph | "user_keys_pool": "zone2-zg2-realm2.rgw.meta:users.keys",
  3507. ceph | "user_email_pool": "zone2-zg2-realm2.rgw.meta:users.email",
  3508. ceph | "user_swift_pool": "zone2-zg2-realm2.rgw.meta:users.swift",
  3509. ceph | "user_uid_pool": "zone2-zg2-realm2.rgw.meta:users.uid",
  3510. ceph | "otp_pool": "zone2-zg2-realm2.rgw.otp",
  3511. ceph | "notif_pool": "zone2-zg2-realm2.rgw.log:notif",
  3512. ceph | "topics_pool": "zone2-zg2-realm2.rgw.meta:topics",
  3513. ceph | "account_pool": "zone2-zg2-realm2.rgw.meta:accounts",
  3514. ceph | "group_pool": "zone2-zg2-realm2.rgw.meta:groups",
  3515. ceph | "system_key": {
  3516. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3517. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3518. ceph | },
  3519. ceph | "placement_pools": [
  3520. ceph | {
  3521. ceph | "key": "default-placement",
  3522. ceph | "val": {
  3523. ceph | "index_pool": "zone2-zg2-realm2.rgw.buckets.index",
  3524. ceph | "storage_classes": {
  3525. ceph | "STANDARD": {
  3526. ceph | "data_pool": "zone2-zg2-realm2.rgw.buckets.data"
  3527. ceph | }
  3528. ceph | },
  3529. ceph | "data_extra_pool": "zone2-zg2-realm2.rgw.buckets.non-ec",
  3530. ceph | "index_type": 0,
  3531. ceph | "inline_data": true
  3532. ceph | }
  3533. ceph | },
  3534. ceph | {
  3535. ceph | "key": "pt1-zone2-zg2-realm2",
  3536. ceph | "val": {
  3537. ceph | "index_pool": "pt1-zone2-zg2-realm2.rgw.buckets.index",
  3538. ceph | "storage_classes": {
  3539. ceph | "STANDARD": {
  3540. ceph | "data_pool": "pt1-zone2-zg2-realm2.rgw.buckets.data"
  3541. ceph | }
  3542. ceph | },
  3543. ceph | "data_extra_pool": "",
  3544. ceph | "index_type": 0,
  3545. ceph | "inline_data": true
  3546. ceph | }
  3547. ceph | }
  3548. ceph | ],
  3549. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3550. ceph | }
  3551. ceph | + for PT_NUM in 1 2
  3552. ceph | + PT_NAME=pt2-zone2-zg2-realm2
  3553. ceph | + /usr/bin/radosgw-admin zonegroup placement --rgw-realm realm2 add --rgw-zonegroup zg2-realm2 --placement-id pt2-zone2-zg2-realm2
  3554. ceph | 2025-05-12T13:03:31.350+0000 7f34562628c0 -1 WARNING: all dangerous and experimental features are enabled.
  3555. ceph | 2025-05-12T13:03:31.353+0000 7f34562628c0 -1 WARNING: all dangerous and experimental features are enabled.
  3556. ceph | 2025-05-12T13:03:31.353+0000 7f34562628c0 -1 WARNING: all dangerous and experimental features are enabled.
  3557. ceph | [
  3558. ceph | {
  3559. ceph | "key": "default-placement",
  3560. ceph | "val": {
  3561. ceph | "name": "default-placement",
  3562. ceph | "tags": [],
  3563. ceph | "storage_classes": [
  3564. ceph | "STANDARD"
  3565. ceph | ]
  3566. ceph | }
  3567. ceph | },
  3568. ceph | {
  3569. ceph | "key": "pt1-zone1-zg2-realm2",
  3570. ceph | "val": {
  3571. ceph | "name": "pt1-zone1-zg2-realm2",
  3572. ceph | "tags": [],
  3573. ceph | "storage_classes": [
  3574. ceph | "STANDARD"
  3575. ceph | ]
  3576. ceph | }
  3577. ceph | },
  3578. ceph | {
  3579. ceph | "key": "pt1-zone2-zg2-realm2",
  3580. ceph | "val": {
  3581. ceph | "name": "pt1-zone2-zg2-realm2",
  3582. ceph | "tags": [],
  3583. ceph | "storage_classes": [
  3584. ceph | "STANDARD"
  3585. ceph | ]
  3586. ceph | }
  3587. ceph | },
  3588. ceph | {
  3589. ceph | "key": "pt2-zone1-zg2-realm2",
  3590. ceph | "val": {
  3591. ceph | "name": "pt2-zone1-zg2-realm2",
  3592. ceph | "tags": [],
  3593. ceph | "storage_classes": [
  3594. ceph | "COLD",
  3595. ceph | "STANDARD"
  3596. ceph | ]
  3597. ceph | }
  3598. ceph | },
  3599. ceph | {
  3600. ceph | "key": "pt2-zone2-zg2-realm2",
  3601. ceph | "val": {
  3602. ceph | "name": "pt2-zone2-zg2-realm2",
  3603. ceph | "tags": [],
  3604. ceph | "storage_classes": [
  3605. ceph | "STANDARD"
  3606. ceph | ]
  3607. ceph | }
  3608. ceph | }
  3609. ceph | ]
  3610. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone2-zg2-realm2 --placement-id pt2-zone2-zg2-realm2 --data-pool pt2-zone2-zg2-realm2.rgw.buckets.data --index-pool pt2-zone2-zg2-realm2.rgw.buckets.index
  3611. ceph | 2025-05-12T13:03:31.419+0000 7f4c531658c0 -1 WARNING: all dangerous and experimental features are enabled.
  3612. ceph | 2025-05-12T13:03:31.423+0000 7f4c531658c0 -1 WARNING: all dangerous and experimental features are enabled.
  3613. ceph | 2025-05-12T13:03:31.423+0000 7f4c531658c0 -1 WARNING: all dangerous and experimental features are enabled.
  3614. ceph | {
  3615. ceph | "id": "10054197-c8c6-4fae-a961-45898563ca0c",
  3616. ceph | "name": "zone2-zg2-realm2",
  3617. ceph | "domain_root": "zone2-zg2-realm2.rgw.meta:root",
  3618. ceph | "control_pool": "zone2-zg2-realm2.rgw.control",
  3619. ceph | "gc_pool": "zone2-zg2-realm2.rgw.log:gc",
  3620. ceph | "lc_pool": "zone2-zg2-realm2.rgw.log:lc",
  3621. ceph | "log_pool": "zone2-zg2-realm2.rgw.log",
  3622. ceph | "intent_log_pool": "zone2-zg2-realm2.rgw.log:intent",
  3623. ceph | "usage_log_pool": "zone2-zg2-realm2.rgw.log:usage",
  3624. ceph | "roles_pool": "zone2-zg2-realm2.rgw.meta:roles",
  3625. ceph | "reshard_pool": "zone2-zg2-realm2.rgw.log:reshard",
  3626. ceph | "user_keys_pool": "zone2-zg2-realm2.rgw.meta:users.keys",
  3627. ceph | "user_email_pool": "zone2-zg2-realm2.rgw.meta:users.email",
  3628. ceph | "user_swift_pool": "zone2-zg2-realm2.rgw.meta:users.swift",
  3629. ceph | "user_uid_pool": "zone2-zg2-realm2.rgw.meta:users.uid",
  3630. ceph | "otp_pool": "zone2-zg2-realm2.rgw.otp",
  3631. ceph | "notif_pool": "zone2-zg2-realm2.rgw.log:notif",
  3632. ceph | "topics_pool": "zone2-zg2-realm2.rgw.meta:topics",
  3633. ceph | "account_pool": "zone2-zg2-realm2.rgw.meta:accounts",
  3634. ceph | "group_pool": "zone2-zg2-realm2.rgw.meta:groups",
  3635. ceph | "system_key": {
  3636. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3637. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3638. ceph | },
  3639. ceph | "placement_pools": [
  3640. ceph | {
  3641. ceph | "key": "default-placement",
  3642. ceph | "val": {
  3643. ceph | "index_pool": "zone2-zg2-realm2.rgw.buckets.index",
  3644. ceph | "storage_classes": {
  3645. ceph | "STANDARD": {
  3646. ceph | "data_pool": "zone2-zg2-realm2.rgw.buckets.data"
  3647. ceph | }
  3648. ceph | },
  3649. ceph | "data_extra_pool": "zone2-zg2-realm2.rgw.buckets.non-ec",
  3650. ceph | "index_type": 0,
  3651. ceph | "inline_data": true
  3652. ceph | }
  3653. ceph | },
  3654. ceph | {
  3655. ceph | "key": "pt1-zone2-zg2-realm2",
  3656. ceph | "val": {
  3657. ceph | "index_pool": "pt1-zone2-zg2-realm2.rgw.buckets.index",
  3658. ceph | "storage_classes": {
  3659. ceph | "STANDARD": {
  3660. ceph | "data_pool": "pt1-zone2-zg2-realm2.rgw.buckets.data"
  3661. ceph | }
  3662. ceph | },
  3663. ceph | "data_extra_pool": "",
  3664. ceph | "index_type": 0,
  3665. ceph | "inline_data": true
  3666. ceph | }
  3667. ceph | },
  3668. ceph | {
  3669. ceph | "key": "pt2-zone2-zg2-realm2",
  3670. ceph | "val": {
  3671. ceph | "index_pool": "pt2-zone2-zg2-realm2.rgw.buckets.index",
  3672. ceph | "storage_classes": {
  3673. ceph | "STANDARD": {
  3674. ceph | "data_pool": "pt2-zone2-zg2-realm2.rgw.buckets.data"
  3675. ceph | }
  3676. ceph | },
  3677. ceph | "data_extra_pool": "",
  3678. ceph | "index_type": 0,
  3679. ceph | "inline_data": true
  3680. ceph | }
  3681. ceph | }
  3682. ceph | ],
  3683. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3684. ceph | }
  3685. ceph | + [[ 20 -ge 14 ]]
  3686. ceph | + COLD_STORAGE_CLASS=COLD
  3687. ceph | + /usr/bin/radosgw-admin zonegroup placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --placement-id pt2-zone2-zg2-realm2 --storage-class COLD
  3688. ceph | 2025-05-12T13:03:31.488+0000 7f3678c4f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3689. ceph | 2025-05-12T13:03:31.492+0000 7f3678c4f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3690. ceph | 2025-05-12T13:03:31.493+0000 7f3678c4f8c0 -1 WARNING: all dangerous and experimental features are enabled.
  3691. ceph | [
  3692. ceph | {
  3693. ceph | "key": "default-placement",
  3694. ceph | "val": {
  3695. ceph | "name": "default-placement",
  3696. ceph | "tags": [],
  3697. ceph | "storage_classes": [
  3698. ceph | "STANDARD"
  3699. ceph | ]
  3700. ceph | }
  3701. ceph | },
  3702. ceph | {
  3703. ceph | "key": "pt1-zone1-zg2-realm2",
  3704. ceph | "val": {
  3705. ceph | "name": "pt1-zone1-zg2-realm2",
  3706. ceph | "tags": [],
  3707. ceph | "storage_classes": [
  3708. ceph | "STANDARD"
  3709. ceph | ]
  3710. ceph | }
  3711. ceph | },
  3712. ceph | {
  3713. ceph | "key": "pt1-zone2-zg2-realm2",
  3714. ceph | "val": {
  3715. ceph | "name": "pt1-zone2-zg2-realm2",
  3716. ceph | "tags": [],
  3717. ceph | "storage_classes": [
  3718. ceph | "STANDARD"
  3719. ceph | ]
  3720. ceph | }
  3721. ceph | },
  3722. ceph | {
  3723. ceph | "key": "pt2-zone1-zg2-realm2",
  3724. ceph | "val": {
  3725. ceph | "name": "pt2-zone1-zg2-realm2",
  3726. ceph | "tags": [],
  3727. ceph | "storage_classes": [
  3728. ceph | "COLD",
  3729. ceph | "STANDARD"
  3730. ceph | ]
  3731. ceph | }
  3732. ceph | },
  3733. ceph | {
  3734. ceph | "key": "pt2-zone2-zg2-realm2",
  3735. ceph | "val": {
  3736. ceph | "name": "pt2-zone2-zg2-realm2",
  3737. ceph | "tags": [],
  3738. ceph | "storage_classes": [
  3739. ceph | "COLD",
  3740. ceph | "STANDARD"
  3741. ceph | ]
  3742. ceph | }
  3743. ceph | }
  3744. ceph | ]
  3745. ceph | + /usr/bin/radosgw-admin zone placement add --rgw-realm realm2 --rgw-zonegroup zg2-realm2 --rgw-zone zone2-zg2-realm2 --placement-id pt2-zone2-zg2-realm2 --storage-class COLD --data-pool pt2-zone2-zg2-realm2.rgw.cold.data
  3746. ceph | 2025-05-12T13:03:31.551+0000 7f05d33518c0 -1 WARNING: all dangerous and experimental features are enabled.
  3747. ceph | 2025-05-12T13:03:31.555+0000 7f05d33518c0 -1 WARNING: all dangerous and experimental features are enabled.
  3748. ceph | 2025-05-12T13:03:31.555+0000 7f05d33518c0 -1 WARNING: all dangerous and experimental features are enabled.
  3749. ceph | {
  3750. ceph | "id": "10054197-c8c6-4fae-a961-45898563ca0c",
  3751. ceph | "name": "zone2-zg2-realm2",
  3752. ceph | "domain_root": "zone2-zg2-realm2.rgw.meta:root",
  3753. ceph | "control_pool": "zone2-zg2-realm2.rgw.control",
  3754. ceph | "gc_pool": "zone2-zg2-realm2.rgw.log:gc",
  3755. ceph | "lc_pool": "zone2-zg2-realm2.rgw.log:lc",
  3756. ceph | "log_pool": "zone2-zg2-realm2.rgw.log",
  3757. ceph | "intent_log_pool": "zone2-zg2-realm2.rgw.log:intent",
  3758. ceph | "usage_log_pool": "zone2-zg2-realm2.rgw.log:usage",
  3759. ceph | "roles_pool": "zone2-zg2-realm2.rgw.meta:roles",
  3760. ceph | "reshard_pool": "zone2-zg2-realm2.rgw.log:reshard",
  3761. ceph | "user_keys_pool": "zone2-zg2-realm2.rgw.meta:users.keys",
  3762. ceph | "user_email_pool": "zone2-zg2-realm2.rgw.meta:users.email",
  3763. ceph | "user_swift_pool": "zone2-zg2-realm2.rgw.meta:users.swift",
  3764. ceph | "user_uid_pool": "zone2-zg2-realm2.rgw.meta:users.uid",
  3765. ceph | "otp_pool": "zone2-zg2-realm2.rgw.otp",
  3766. ceph | "notif_pool": "zone2-zg2-realm2.rgw.log:notif",
  3767. ceph | "topics_pool": "zone2-zg2-realm2.rgw.meta:topics",
  3768. ceph | "account_pool": "zone2-zg2-realm2.rgw.meta:accounts",
  3769. ceph | "group_pool": "zone2-zg2-realm2.rgw.meta:groups",
  3770. ceph | "system_key": {
  3771. ceph | "access_key": "M1KBQY1XV9ELH8Y637PD",
  3772. ceph | "secret_key": "GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx"
  3773. ceph | },
  3774. ceph | "placement_pools": [
  3775. ceph | {
  3776. ceph | "key": "default-placement",
  3777. ceph | "val": {
  3778. ceph | "index_pool": "zone2-zg2-realm2.rgw.buckets.index",
  3779. ceph | "storage_classes": {
  3780. ceph | "STANDARD": {
  3781. ceph | "data_pool": "zone2-zg2-realm2.rgw.buckets.data"
  3782. ceph | }
  3783. ceph | },
  3784. ceph | "data_extra_pool": "zone2-zg2-realm2.rgw.buckets.non-ec",
  3785. ceph | "index_type": 0,
  3786. ceph | "inline_data": true
  3787. ceph | }
  3788. ceph | },
  3789. ceph | {
  3790. ceph | "key": "pt1-zone2-zg2-realm2",
  3791. ceph | "val": {
  3792. ceph | "index_pool": "pt1-zone2-zg2-realm2.rgw.buckets.index",
  3793. ceph | "storage_classes": {
  3794. ceph | "STANDARD": {
  3795. ceph | "data_pool": "pt1-zone2-zg2-realm2.rgw.buckets.data"
  3796. ceph | }
  3797. ceph | },
  3798. ceph | "data_extra_pool": "",
  3799. ceph | "index_type": 0,
  3800. ceph | "inline_data": true
  3801. ceph | }
  3802. ceph | },
  3803. ceph | {
  3804. ceph | "key": "pt2-zone2-zg2-realm2",
  3805. ceph | "val": {
  3806. ceph | "index_pool": "pt2-zone2-zg2-realm2.rgw.buckets.index",
  3807. ceph | "storage_classes": {
  3808. ceph | "COLD": {
  3809. ceph | "data_pool": "pt2-zone2-zg2-realm2.rgw.cold.data"
  3810. ceph | },
  3811. ceph | "STANDARD": {
  3812. ceph | "data_pool": "pt2-zone2-zg2-realm2.rgw.buckets.data"
  3813. ceph | }
  3814. ceph | },
  3815. ceph | "data_extra_pool": "",
  3816. ceph | "index_type": 0,
  3817. ceph | "inline_data": true
  3818. ceph | }
  3819. ceph | }
  3820. ceph | ],
  3821. ceph | "realm_id": "ec44e7bf-5d73-49a6-ac82-4256334aa0b4"
  3822. ceph | }
  3823. ceph | + RGW_DAEMON_PORT=8004
  3824. ceph | + create_system_user 2 realm2 zg1-realm2 zone1-zg1-realm2
  3825. ceph | + local USER_NUM=2
  3826. ceph | + local USER_UID=dashboard
  3827. ceph | + local SECRET_INDEX=2-1
  3828. ceph | + [[ -z 2 ]]
  3829. ceph | + local REALM_NAME=realm2
  3830. ceph | + local ZG_NAME=zg1-realm2
  3831. ceph | + local ZONE_NAME=zone1-zg1-realm2
  3832. ceph | + local NAMESPACE_OPTIONS=
  3833. ceph | + [[ -n realm2 ]]
  3834. ceph | + NAMESPACE_OPTIONS='--rgw-realm realm2'
  3835. ceph | + [[ -n zg1-realm2 ]]
  3836. ceph | + NAMESPACE_OPTIONS+=' --rgw-zonegroup zg1-realm2'
  3837. ceph | + [[ -n zone1-zg1-realm2 ]]
  3838. ceph | + NAMESPACE_OPTIONS+=' --rgw-zone zone1-zg1-realm2'
  3839. ceph | + /usr/bin/radosgw-admin user create --uid dashboard --display-name 'Ceph Dashboard2' --access-key M1KBQY1XV9ELH8Y637PD --secret GsOwxjOfxAwM2It2mBiB5A5CJFxu73GjpNjCROvx --rgw-realm realm2 --rgw-zonegroup zg1-realm2 --rgw-zone zone1-zg1-realm2 --system
  3840. ceph | 2025-05-12T13:03:31.615+0000 7fe7d6b558c0 -1 WARNING: all dangerous and experimental features are enabled.
  3841. ceph | 2025-05-12T13:03:31.619+0000 7fe7d6b558c0 -1 WARNING: all dangerous and experimental features are enabled.
  3842. ceph | 2025-05-12T13:03:31.619+0000 7fe7d6b558c0 -1 WARNING: all dangerous and experimental features are enabled.
  3843. ceph | 2025-05-12T13:03:31.625+0000 7fe7d6b558c0 0 ERROR: current period 973d6929-942d-4af6-996a-917ac22778e6 does not contain zone id e7d31ea2-6b5f-4246-b7f0-b24240422f1b
  3844. ceph | 2025-05-12T13:03:31.632+0000 7fe7d6b558c0 0 ERROR: incorrect zonegroup: zg1-realm2 (got: zg1-realm2, expected: zg1-realm1)
  3845. ceph | 2025-05-12T13:03:31.632+0000 7fe7d6b558c0 0 ERROR: failed to start notify service ((22) Invalid argument
  3846. ceph | 2025-05-12T13:03:31.632+0000 7fe7d6b558c0 0 ERROR: failed to init services (ret=(22) Invalid argument)
  3847. ceph | couldn't init storage provider
  3848. ceph exited with code 5
  3849.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment