Added storagehub4 in production
This commit is contained in:
parent
a91cab9e0b
commit
b1c546eb60
|
@ -180,7 +180,7 @@ resource "openstack_compute_instance_v2" "storagehub3_prod" {
|
||||||
# Instance 4
|
# Instance 4
|
||||||
resource "openstack_compute_instance_v2" "storagehub4_prod" {
|
resource "openstack_compute_instance_v2" "storagehub4_prod" {
|
||||||
name = "storagehub4"
|
name = "storagehub4"
|
||||||
availability_zone_hints = module.common_variables.availability_zone_no_gpu_name
|
availability_zone_hints = module.common_variables.availability_zone_with_gpu_name
|
||||||
flavor_name = "m2.large"
|
flavor_name = "m2.large"
|
||||||
key_pair = module.ssh_settings.ssh_key_name
|
key_pair = module.ssh_settings.ssh_key_name
|
||||||
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers]
|
security_groups = [data.terraform_remote_state.privnet_dns_router.outputs.default_security_group_name, data.terraform_remote_state.privnet_dns_router.outputs.security_group_list.http_and_https_from_the_load_balancers]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.6.4",
|
"terraform_version": "1.6.4",
|
||||||
"serial": 55,
|
"serial": 68,
|
||||||
"lineage": "2fcb0d7a-4633-fecf-ab9f-0551f8d16805",
|
"lineage": "2fcb0d7a-4633-fecf-ab9f-0551f8d16805",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
@ -487,7 +487,7 @@
|
||||||
"consistency_group_id": null,
|
"consistency_group_id": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"enable_online_resize": null,
|
"enable_online_resize": null,
|
||||||
"id": "7975f939-2c0f-41ed-b723-1971c10a45b2",
|
"id": "676ac0d1-b689-42ba-a411-55f1ab29739f",
|
||||||
"image_id": null,
|
"image_id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "storagehub4_data_volume",
|
"name": "storagehub4_data_volume",
|
||||||
|
@ -520,7 +520,7 @@
|
||||||
"consistency_group_id": null,
|
"consistency_group_id": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"enable_online_resize": null,
|
"enable_online_resize": null,
|
||||||
"id": "08fc749c-f5b6-4bed-9ee1-55f517e2aba3",
|
"id": "e8f5fc3a-ad4c-455f-9f98-c5afa8f0fe3e",
|
||||||
"image_id": null,
|
"image_id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "storagehub4_temp_volume",
|
"name": "storagehub4_temp_volume",
|
||||||
|
@ -947,16 +947,15 @@
|
||||||
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||||||
"instances": [
|
"instances": [
|
||||||
{
|
{
|
||||||
"status": "tainted",
|
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"access_ip_v4": null,
|
"access_ip_v4": "10.1.41.214",
|
||||||
"access_ip_v6": null,
|
"access_ip_v6": "",
|
||||||
"admin_pass": null,
|
"admin_pass": null,
|
||||||
"all_metadata": null,
|
"all_metadata": {},
|
||||||
"all_tags": [],
|
"all_tags": [],
|
||||||
"availability_zone": null,
|
"availability_zone": "cnr-isti-nova-gpu-a",
|
||||||
"availability_zone_hints": "cnr-isti-nova-a",
|
"availability_zone_hints": "cnr-isti-nova-gpu-a",
|
||||||
"block_device": [
|
"block_device": [
|
||||||
{
|
{
|
||||||
"boot_index": 0,
|
"boot_index": 0,
|
||||||
|
@ -973,12 +972,12 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"config_drive": null,
|
"config_drive": null,
|
||||||
"created": null,
|
"created": "2024-11-08 10:33:06 +0000 UTC",
|
||||||
"flavor_id": null,
|
"flavor_id": "20",
|
||||||
"flavor_name": "m2.large",
|
"flavor_name": "m2.large",
|
||||||
"force_delete": false,
|
"force_delete": false,
|
||||||
"id": "d26f8041-9156-4ddd-9de1-7003fc7cddf4",
|
"id": "fc1c2ee6-5ef1-4878-b5fa-efada6b09060",
|
||||||
"image_id": null,
|
"image_id": "Attempt to boot from volume - no image supplied",
|
||||||
"image_name": null,
|
"image_name": null,
|
||||||
"key_pair": "Giancarlo Panichi",
|
"key_pair": "Giancarlo Panichi",
|
||||||
"metadata": null,
|
"metadata": null,
|
||||||
|
@ -986,27 +985,27 @@
|
||||||
"network": [
|
"network": [
|
||||||
{
|
{
|
||||||
"access_network": false,
|
"access_network": false,
|
||||||
"fixed_ip_v4": "",
|
"fixed_ip_v4": "10.1.41.214",
|
||||||
"fixed_ip_v6": "",
|
"fixed_ip_v6": "",
|
||||||
"mac": "",
|
"mac": "fa:16:3e:0d:af:85",
|
||||||
"name": "d4s-production-cloud-main",
|
"name": "d4s-production-cloud-main",
|
||||||
"port": "",
|
"port": "",
|
||||||
"uuid": ""
|
"uuid": "020df98d-ae72-452a-b376-3b6dc289acac"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"access_network": false,
|
"access_network": false,
|
||||||
"fixed_ip_v4": "",
|
"fixed_ip_v4": "192.168.0.217",
|
||||||
"fixed_ip_v6": "",
|
"fixed_ip_v6": "",
|
||||||
"mac": "",
|
"mac": "fa:16:3e:8c:2b:42",
|
||||||
"name": "postgresql-srv-net",
|
"name": "postgresql-srv-net",
|
||||||
"port": "",
|
"port": "",
|
||||||
"uuid": ""
|
"uuid": "f6450bc8-1345-4b52-8f34-2903c0cca7f8"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"network_mode": null,
|
"network_mode": null,
|
||||||
"personality": [],
|
"personality": [],
|
||||||
"power_state": "active",
|
"power_state": "active",
|
||||||
"region": null,
|
"region": "isti_area_pi_1",
|
||||||
"scheduler_hints": [],
|
"scheduler_hints": [],
|
||||||
"security_groups": [
|
"security_groups": [
|
||||||
"default_for_all",
|
"default_for_all",
|
||||||
|
@ -1015,7 +1014,7 @@
|
||||||
"stop_before_destroy": false,
|
"stop_before_destroy": false,
|
||||||
"tags": null,
|
"tags": null,
|
||||||
"timeouts": null,
|
"timeouts": null,
|
||||||
"updated": null,
|
"updated": "2024-11-08 10:34:14 +0000 UTC",
|
||||||
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
|
"user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608",
|
||||||
"vendor_options": []
|
"vendor_options": []
|
||||||
},
|
},
|
||||||
|
@ -1207,6 +1206,66 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "openstack_compute_volume_attach_v2",
|
||||||
|
"name": "storagehub4_attach_1",
|
||||||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"device": "/dev/vdb",
|
||||||
|
"id": "fc1c2ee6-5ef1-4878-b5fa-efada6b09060/676ac0d1-b689-42ba-a411-55f1ab29739f",
|
||||||
|
"instance_id": "fc1c2ee6-5ef1-4878-b5fa-efada6b09060",
|
||||||
|
"multiattach": null,
|
||||||
|
"region": "isti_area_pi_1",
|
||||||
|
"tag": null,
|
||||||
|
"timeouts": null,
|
||||||
|
"vendor_options": [],
|
||||||
|
"volume_id": "676ac0d1-b689-42ba-a411-55f1ab29739f"
|
||||||
|
},
|
||||||
|
"sensitive_attributes": [],
|
||||||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
|
||||||
|
"dependencies": [
|
||||||
|
"data.terraform_remote_state.privnet_dns_router",
|
||||||
|
"openstack_blockstorage_volume_v3.storagehub4_prod_data_volume",
|
||||||
|
"openstack_compute_instance_v2.storagehub4_prod"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "openstack_compute_volume_attach_v2",
|
||||||
|
"name": "storagehub4_attach_2",
|
||||||
|
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"device": "/dev/vdc",
|
||||||
|
"id": "fc1c2ee6-5ef1-4878-b5fa-efada6b09060/e8f5fc3a-ad4c-455f-9f98-c5afa8f0fe3e",
|
||||||
|
"instance_id": "fc1c2ee6-5ef1-4878-b5fa-efada6b09060",
|
||||||
|
"multiattach": null,
|
||||||
|
"region": "isti_area_pi_1",
|
||||||
|
"tag": null,
|
||||||
|
"timeouts": null,
|
||||||
|
"vendor_options": [],
|
||||||
|
"volume_id": "e8f5fc3a-ad4c-455f-9f98-c5afa8f0fe3e"
|
||||||
|
},
|
||||||
|
"sensitive_attributes": [],
|
||||||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
|
||||||
|
"dependencies": [
|
||||||
|
"data.terraform_remote_state.privnet_dns_router",
|
||||||
|
"openstack_blockstorage_volume_v3.storagehub4_prod_data_volume",
|
||||||
|
"openstack_blockstorage_volume_v3.storagehub4_prod_temp_volume",
|
||||||
|
"openstack_compute_instance_v2.storagehub4_prod",
|
||||||
|
"openstack_compute_volume_attach_v2.storagehub4_attach_1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"module": "module.dns_records_create",
|
"module": "module.dns_records_create",
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
|
|
Loading…
Reference in New Issue