Added volume size

This commit is contained in:
Giancarlo Panichi 2024-01-17 15:36:16 +01:00
parent 7d88cba937
commit 2184f5691b
1 changed files with 421 additions and 290 deletions

View File

@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.4",
"serial": 90,
"serial": 114,
"lineage": "baea8c53-fd72-1573-59ac-35ef1fc58d33",
"outputs": {},
"resources": [
@ -742,295 +742,6 @@
}
]
},
{
"module": "module.instance_with_data_volume",
"mode": "managed",
"type": "openstack_blockstorage_volume_v3",
"name": "instance_data_volume",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"index_key": "dataminer_1_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "ef02b882-2c0d-4811-8677-52e9c4942a9e",
"instance_id": "bf35cfcd-403e-4282-b00f-a5e3fb4b7ffd"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "ef02b882-2c0d-4811-8677-52e9c4942a9e",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_1_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 80,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_2_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "8c4863d4-840f-4434-b53d-908d6d5448ca",
"instance_id": "62120426-24c8-4db4-bc46-f4cdea1408d1"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "8c4863d4-840f-4434-b53d-908d6d5448ca",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_2_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 80,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_4_gw_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "7c89af02-e3ff-4a8a-a0a3-4dbeb5ad87a4",
"instance_id": "12d2ed0c-77cf-414b-90ea-eb020c74ad61"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "7c89af02-e3ff-4a8a-a0a3-4dbeb5ad87a4",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_4_gw_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 40,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_5_gw_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "091ac4a5-d02d-4478-917c-437e8805dd88",
"instance_id": "f781c324-dc2a-40d0-84a6-69f70b9ab8d0"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "091ac4a5-d02d-4478-917c-437e8805dd88",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_5_gw_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 40,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_5_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "816321d7-1608-4443-b211-721579f46190",
"instance_id": "dcf157b9-7407-46da-9127-a64f092aa861"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "816321d7-1608-4443-b211-721579f46190",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_5_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 80,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_6_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "c229fc5c-8d43-4305-8380-21f6f7c55716",
"instance_id": "56b3bcb6-0eea-4d36-bd2e-9e69cac08062"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "c229fc5c-8d43-4305-8380-21f6f7c55716",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_6_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 80,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_8_proto_1804",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "79fdc75f-4aee-4788-a13f-29b02c2b1416",
"instance_id": "e2d69bd9-5242-4a63-8e40-797054b4234b"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "79fdc75f-4aee-4788-a13f-29b02c2b1416",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dataminer_8_proto_1804_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 80,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dm_pool_manager_proto",
"schema_version": 0,
"attributes": {
"attachment": [
{
"device": "/dev/vdb",
"id": "20622ba0-bdaa-4e2e-9312-c9bccdeb1564",
"instance_id": "64bb8cd6-3a93-42c5-9f3a-525114bc5394"
}
],
"availability_zone": "nova",
"consistency_group_id": null,
"description": "",
"enable_online_resize": null,
"id": "20622ba0-bdaa-4e2e-9312-c9bccdeb1564",
"image_id": null,
"metadata": {},
"multiattach": null,
"name": "dm_pool_manager_proto_data_volume",
"region": "isti_area_pi_1",
"scheduler_hints": [],
"size": 30,
"snapshot_id": "",
"source_replica": null,
"source_vol_id": "",
"timeouts": null,
"volume_type": "cephUnencrypted"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
}
]
},
{
"module": "module.instance_with_data_volume",
"mode": "managed",
@ -2209,6 +1920,90 @@
"name": "smartgears_service",
"provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]",
"instances": [
{
"index_key": "dataminer_1_proto_1804",
"status": "tainted",
"schema_version": 0,
"attributes": {
"access_ip_v4": null,
"access_ip_v6": null,
"admin_pass": null,
"all_metadata": null,
"all_tags": [],
"availability_zone": null,
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 80,
"volume_type": ""
}
],
"config_drive": null,
"created": null,
"flavor_id": null,
"flavor_name": "m1.xxl",
"floating_ip": null,
"force_delete": false,
"id": "abbc9188-269a-4e68-8c40-bf7cee173be2",
"image_id": null,
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "dataminer1-proto-1804",
"network": [
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": ""
},
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "postgresql-srv-net",
"port": "",
"uuid": ""
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": null,
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": null,
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_2_gw_proto_1804",
"status": "tainted",
@ -2293,6 +2088,258 @@
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_2_proto_1804",
"status": "tainted",
"schema_version": 0,
"attributes": {
"access_ip_v4": null,
"access_ip_v6": null,
"admin_pass": null,
"all_metadata": null,
"all_tags": [],
"availability_zone": null,
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 80,
"volume_type": ""
}
],
"config_drive": null,
"created": null,
"flavor_id": null,
"flavor_name": "m1.xxl",
"floating_ip": null,
"force_delete": false,
"id": "829f4f38-c913-4b3e-ba41-637a4374f668",
"image_id": null,
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "dataminer2-proto-1804",
"network": [
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": ""
},
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "postgresql-srv-net",
"port": "",
"uuid": ""
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": null,
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": null,
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_3_gw_proto_1804",
"status": "tainted",
"schema_version": 0,
"attributes": {
"access_ip_v4": null,
"access_ip_v6": null,
"admin_pass": null,
"all_metadata": null,
"all_tags": [],
"availability_zone": null,
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 40,
"volume_type": ""
}
],
"config_drive": null,
"created": null,
"flavor_id": null,
"flavor_name": "c2.large",
"floating_ip": null,
"force_delete": false,
"id": "71c509bc-084d-498d-bafb-14dc30a03cf6",
"image_id": null,
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "dataminer3-gw-proto-1804",
"network": [
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": ""
},
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "postgresql-srv-net",
"port": "",
"uuid": ""
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": null,
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": null,
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_3_proto_1804",
"status": "tainted",
"schema_version": 0,
"attributes": {
"access_ip_v4": null,
"access_ip_v6": null,
"admin_pass": null,
"all_metadata": null,
"all_tags": [],
"availability_zone": null,
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 80,
"volume_type": ""
}
],
"config_drive": null,
"created": null,
"flavor_id": null,
"flavor_name": "m1.xxl",
"floating_ip": null,
"force_delete": false,
"id": "f62dab6d-bca1-4104-9113-2ad658984b7a",
"image_id": null,
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "dataminer3-proto-1804",
"network": [
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": ""
},
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "postgresql-srv-net",
"port": "",
"uuid": ""
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": null,
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": null,
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_4_gw_proto_1804",
"status": "tainted",
@ -2461,6 +2508,90 @@
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_5_gw_proto_1804",
"status": "tainted",
"schema_version": 0,
"attributes": {
"access_ip_v4": null,
"access_ip_v6": null,
"admin_pass": null,
"all_metadata": null,
"all_tags": [],
"availability_zone": null,
"availability_zone_hints": "cnr-isti-nova-a",
"block_device": [
{
"boot_index": 0,
"delete_on_termination": false,
"destination_type": "volume",
"device_type": "",
"disk_bus": "",
"guest_format": "",
"multiattach": false,
"source_type": "image",
"uuid": "7ed6a2cd-2b07-482e-8ce4-f018dff16c89",
"volume_size": 40,
"volume_type": ""
}
],
"config_drive": null,
"created": null,
"flavor_id": null,
"flavor_name": "c2.large",
"floating_ip": null,
"force_delete": false,
"id": "75a8b5a5-4657-4859-a8e9-3836b97b402f",
"image_id": null,
"image_name": null,
"key_pair": "Giancarlo Panichi",
"metadata": null,
"name": "dataminer5-gw-proto-1804",
"network": [
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "d4s-production-cloud-main",
"port": "",
"uuid": ""
},
{
"access_network": false,
"fixed_ip_v4": "",
"fixed_ip_v6": "",
"floating_ip": "",
"mac": "",
"name": "postgresql-srv-net",
"port": "",
"uuid": ""
}
],
"network_mode": null,
"personality": [],
"power_state": "active",
"region": null,
"scheduler_hints": [],
"security_groups": [
"default_for_all",
"traffic_from_the_main_load_balancers"
],
"stop_before_destroy": false,
"tags": null,
"timeouts": null,
"updated": null,
"user_data": "47d4769e61324c305c4b70ed6673de4fad84150d",
"vendor_options": [],
"volume": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwMH19",
"dependencies": [
"data.terraform_remote_state.privnet_dns_router"
]
},
{
"index_key": "dataminer_5_proto_1804",
"status": "tainted",