Commit 2a3213b
committed
mgr/cephadm: add only_bind_port_on_networks support for rgw
This means with a spec like
```
service_type: rgw
service_id: foo
service_name: rgw.foo
placement:
hosts:
- vm-00
networks:
- 192.168.122.0/24
spec:
only_bind_port_on_networks: true
```
cephadm will search for an IP address within 192.168.122.0/24
and have the RGW daemon only bind on that IP rather than on
all networks. What RGW binds to is controlled by the
"rgw_frontends" setting for the rgw daemon, so what cephadm
write there is all that is modified by this commit.
Signed-off-by: Adam King <[email protected]>1 parent c3b9e1c commit 2a3213b
File tree
2 files changed
+26
-8
lines changed- src
- pybind/mgr/cephadm/services
- python-common/ceph/deployment
2 files changed
+26
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1138 | 1153 | | |
1139 | 1154 | | |
1140 | | - | |
| 1155 | + | |
1141 | 1156 | | |
1142 | | - | |
| 1157 | + | |
1143 | 1158 | | |
1144 | 1159 | | |
1145 | 1160 | | |
1146 | 1161 | | |
1147 | 1162 | | |
1148 | 1163 | | |
1149 | 1164 | | |
1150 | | - | |
1151 | | - | |
| 1165 | + | |
| 1166 | + | |
1152 | 1167 | | |
1153 | 1168 | | |
1154 | 1169 | | |
1155 | 1170 | | |
1156 | | - | |
| 1171 | + | |
1157 | 1172 | | |
1158 | | - | |
| 1173 | + | |
1159 | 1174 | | |
1160 | 1175 | | |
1161 | 1176 | | |
1162 | 1177 | | |
1163 | 1178 | | |
1164 | 1179 | | |
1165 | 1180 | | |
1166 | | - | |
1167 | | - | |
| 1181 | + | |
| 1182 | + | |
1168 | 1183 | | |
1169 | 1184 | | |
1170 | 1185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| 1227 | + | |
1227 | 1228 | | |
1228 | 1229 | | |
1229 | 1230 | | |
| |||
1276 | 1277 | | |
1277 | 1278 | | |
1278 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
1279 | 1282 | | |
1280 | 1283 | | |
1281 | 1284 | | |
| |||
0 commit comments