Fixes #27671. Increase the size of storagehub.

This commit is contained in:
Andrea Dell'Amico 2024-06-26 19:13:11 +02:00
parent 78d96bcae1
commit 7e16e70be9
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 24 additions and 12 deletions

View File

@ -45,7 +45,7 @@ resource "openstack_blockstorage_volume_v3" "storagehub_prod_temp_volume" {
resource "openstack_compute_instance_v2" "storagehub1_prod" {
name = "storagehub1"
availability_zone_hints = module.common_variables.availability_zone_no_gpu_name
flavor_name = module.common_variables.flavor_list.m2_large
flavor_name = "m2.large"
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]
block_device {
@ -81,7 +81,7 @@ resource "openstack_compute_instance_v2" "storagehub1_prod" {
resource "openstack_compute_instance_v2" "storagehub2_prod" {
name = "storagehub2"
availability_zone_hints = module.common_variables.availability_zone_no_gpu_name
flavor_name = module.common_variables.flavor_list.m1_xlarge
flavor_name = "m2.large"
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]
block_device {

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.4",
"serial": 18,
"terraform_version": "1.7.5",
"serial": 22,
"lineage": "2fcb0d7a-4633-fecf-ab9f-0551f8d16805",
"outputs": {},
"resources": [
@ -404,7 +404,13 @@
"index_key": 0,
"schema_version": 0,
"attributes": {
"attachment": [],
"attachment": [
{
"device": "/dev/vdb",
"id": "9287ce45-8c5e-461c-950c-769765f8ec4d",
"instance_id": "9daff67b-8a3b-4c7e-8cdd-0fc21cf25599"
}
],
"availability_zone": "nova",
"backup_id": "",
"consistency_group_id": null,
@ -470,7 +476,13 @@
"index_key": 0,
"schema_version": 0,
"attributes": {
"attachment": [],
"attachment": [
{
"device": "/dev/vdc",
"id": "08a1870c-2867-44ad-81c3-de0ed1b851d1",
"instance_id": "9daff67b-8a3b-4c7e-8cdd-0fc21cf25599"
}
],
"availability_zone": "nova",
"backup_id": "",
"consistency_group_id": null,
@ -559,7 +571,7 @@
],
"config_drive": null,
"created": "2024-02-06 16:25:56 +0000 UTC",
"flavor_id": "14",
"flavor_id": "20",
"flavor_name": "m2.large",
"force_delete": false,
"id": "9daff67b-8a3b-4c7e-8cdd-0fc21cf25599",
@ -590,7 +602,7 @@
],
"network_mode": null,
"personality": [],
"power_state": "error",
"power_state": "active",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"security_groups": [
@ -600,7 +612,7 @@
"stop_before_destroy": false,
"tags": [],
"timeouts": null,
"updated": "2024-06-20 08:53:27 +0000 UTC",
"updated": "2024-06-26 12:56:37 +0000 UTC",
"user_data": "",
"vendor_options": []
},
@ -646,7 +658,7 @@
"config_drive": null,
"created": "2024-02-06 16:25:57 +0000 UTC",
"flavor_id": "14",
"flavor_name": "m1.xlarge",
"flavor_name": "m2.large",
"force_delete": false,
"id": "3aa1326a-773a-4f19-8fdb-b4c691d6b251",
"image_id": "Attempt to boot from volume - no image supplied",
@ -686,8 +698,8 @@
"stop_before_destroy": false,
"tags": [],
"timeouts": null,
"updated": "2024-02-06 16:26:48 +0000 UTC",
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"updated": "2024-06-26 16:05:05 +0000 UTC",
"user_data": "",
"vendor_options": []
},
"sensitive_attributes": [],