-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: title says it Differential Revision: D58302088 fbshipit-source-id: 71a1e94335004fae24381598c7c378b83884c141
- Loading branch information
1 parent
8b50ed0
commit 57b302d
Showing
9 changed files
with
572 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ pub enum HostType { | |
DevServer, | ||
OnDemand, | ||
TwShared, | ||
Tw, | ||
Synmon, | ||
Dns, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
@generated SignedSource<<f1ded817beb0796e1f26f7e8cf3b2712>> | ||
@codegen-command arc cfgen update-inputs fb-oomd | ||
{ | ||
"fqdn": "tw066.02.cln2.facebook.com", | ||
"region": "ireland", | ||
"clusterType": "SERVICE_GENERIC_NON_MEMCACHE", | ||
"modelId": 333376, | ||
"kernelRelease": "5.19.0-0_fbk12_11583_g0bef9520ca2b", | ||
"serverType": "TYPE_I_WEB", | ||
"experiments": [], | ||
"cpuArchitecture": "skylakede", | ||
"metalosRootfs": false, | ||
"provisioningConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"maxChannelsCombined": 36 | ||
} | ||
}, | ||
"cpuCoreCount": 18, | ||
"parentModelId": 334303, | ||
"recoveryEnvironment": false, | ||
"deviceType": "SERVER", | ||
"datacenter": "cln2", | ||
"cluster": "02", | ||
"memTotal": 66999275520, | ||
"osVersion": { | ||
"distribution_name": "CentOS Stream release", | ||
"version": 9, | ||
"is_in_ramdisk": false, | ||
"is_metalos": false | ||
}, | ||
"pciByAddress": { | ||
"0000:02:00.0": { | ||
"vendor_id": 5555, | ||
"device_id": 4117, | ||
"class_code": 131072, | ||
"board_part_number": "MCX4431N-GCAN_FB" | ||
} | ||
}, | ||
"static_smc_tiers": [], | ||
"machine": "x86_64" | ||
}, | ||
"bootConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"driver": "mlx5_core", | ||
"driver_version": "5.19.0-0_fbk12_11583_g0bef9520c", | ||
"firmware_version": "14.32.1206 (FB_0000000006)", | ||
"bus_info": "0000:02:00.0" | ||
} | ||
} | ||
}, | ||
"runtimeConfig": { | ||
"hasHighPrivCert": true, | ||
"regionRoutableCluster": "cln1.02", | ||
"block_devices": { | ||
"block_devices": { | ||
"nvme0n1": { | ||
"size_bytes": 256060514304, | ||
"is_rotational": false, | ||
"model": "HFS256GD9TNG-62A0A", | ||
"serial": "MJ91N499211501J6C", | ||
"physical_block_size": 512, | ||
"logical_block_size": 512, | ||
"is_root": true | ||
} | ||
} | ||
}, | ||
"dynamic_smc_tiers": [], | ||
"cluster_state": "CLUSTER_IN_USE", | ||
"installed_platforms": [ | ||
"platform010", | ||
"platform010-compat" | ||
], | ||
"device_nics_enum": [ | ||
"ETH0", | ||
"SVC0" | ||
] | ||
}, | ||
"reservationConfig": { | ||
"active_machine_materialization_id": "", | ||
"current_reservation_host_profile_id": "NEWLY_PROVISIONED_PROFILE" | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
src/oomd/cfgen/test/cfgen_test_inputs/twpool_no_senpai.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
@generated SignedSource<<385d00650b8b80058480fedbea087963>> | ||
@codegen-command arc cfgen update-inputs fb-oomd | ||
{ | ||
"fqdn": "tw023.04.vll2.facebook.com", | ||
"region": "newmexico", | ||
"clusterType": "HADOOP", | ||
"modelId": 331202, | ||
"kernelRelease": "5.19.0-0_fbk12_11583_g0bef9520ca2b", | ||
"serverType": "TYPE_VI_FEED", | ||
"experiments": [], | ||
"cpuArchitecture": "skylake", | ||
"metalosRootfs": false, | ||
"provisioningConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"maxChannelsCombined": 63 | ||
} | ||
}, | ||
"cpuCoreCount": 40, | ||
"parentModelId": 333803, | ||
"recoveryEnvironment": false, | ||
"deviceType": "SERVER", | ||
"datacenter": "vll2", | ||
"cluster": "04", | ||
"memTotal": 270019551232, | ||
"osVersion": { | ||
"distribution_name": "CentOS Stream release", | ||
"version": 9, | ||
"is_in_ramdisk": false, | ||
"is_metalos": false | ||
}, | ||
"pciByAddress": { | ||
"0000:5e:00.0": { | ||
"vendor_id": 5555, | ||
"device_id": 4117, | ||
"class_code": 131072, | ||
"board_part_number": "MCX4411D-ACAN_FB" | ||
} | ||
}, | ||
"static_smc_tiers": [], | ||
"machine": "x86_64" | ||
}, | ||
"bootConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"driver": "mlx5_core", | ||
"driver_version": "5.19.0-0_fbk12_11583_g0bef9520c", | ||
"firmware_version": "14.27.2606 (FB_0000000005)", | ||
"bus_info": "0000:5e:00.0" | ||
} | ||
} | ||
}, | ||
"runtimeConfig": { | ||
"hasHighPrivCert": true, | ||
"regionRoutableCluster": "vll1.02", | ||
"block_devices": { | ||
"block_devices": { | ||
"sda": { | ||
"size_bytes": 2000398934016, | ||
"is_rotational": true, | ||
"model": "HGST HUS722T2TALA604", | ||
"serial": "WMC6N0P94N1J", | ||
"physical_block_size": 512, | ||
"logical_block_size": 512, | ||
"is_root": true | ||
} | ||
} | ||
}, | ||
"dynamic_smc_tiers": [], | ||
"cluster_state": "CLUSTER_IN_USE", | ||
"installed_platforms": [ | ||
"platform010", | ||
"platform010-compat" | ||
], | ||
"device_nics_enum": [ | ||
"ETH0", | ||
"SVC0" | ||
] | ||
}, | ||
"reservationConfig": { | ||
"active_machine_materialization_id": "", | ||
"current_reservation_host_profile_id": "NEWLY_PROVISIONED_PROFILE" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/oomd/cfgen/test/cfgen_test_outputs/twpool/50-change-propagator.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@generated SignedSource<<3dd8c7637bb7afa680fc168e9c49060d>> | ||
@codegen-command arc cfgen update-outputs fb-oomd | ||
[Service] | ||
Environment=OOMD_ARGS='--interval 1 --config /etc/oomd2.json --drop-in-dir /run/oomd/dropin' | ||
|
||
[Unit] |
Oops, something went wrong.