diff --git a/openstack-tf/d4s-production/basic-infrastructure/terraform.tfstate b/openstack-tf/d4s-production/basic-infrastructure/terraform.tfstate index 008aad0..38c21e6 100644 --- a/openstack-tf/d4s-production/basic-infrastructure/terraform.tfstate +++ b/openstack-tf/d4s-production/basic-infrastructure/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.6.6", - "serial": 391, + "serial": 501, "lineage": "954b57a1-c68e-fa2b-cf2f-79cc54aea13e", "outputs": { "almalinux_9": { @@ -482,7 +482,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:47 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] }, @@ -580,7 +580,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:00 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] }, @@ -678,7 +678,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:02 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] } @@ -1146,6 +1146,480 @@ ], "sensitive": true }, + "swarm_managers_nfs_ip_ports": { + "value": [ + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.4.11" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "218369c6-7bd0-4b0c-aa71-dc07183007f3", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-4-11.openstacklocal.", + "hostname": "host-172-17-4-11", + "ip_address": "172.17.4.11" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "38399b60-1670-456f-88b3-834b6076b965", + "mac_address": "fa:16:3e:53:85:58", + "name": "swarm-mgr-01", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.0.195" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "0c00cb58-71a3-4066-8570-0c6333022b4e", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-0-195.openstacklocal.", + "hostname": "host-172-17-0-195", + "ip_address": "172.17.0.195" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "mac_address": "fa:16:3e:e6:06:03", + "name": "swarm-mgr-02", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.153" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "e27a68a2-f124-469f-8f9d-850bd93785e9", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-153.openstacklocal.", + "hostname": "host-172-17-2-153", + "ip_address": "172.17.2.153" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "67550c83-089d-45a4-91f1-5a43467c84f9", + "mac_address": "fa:16:3e:d8:93:44", + "name": "swarm-mgr-03", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + } + ], + "type": [ + "tuple", + [ + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ] + ] + ] + }, "swarm_worker_nodes": { "value": [ { @@ -3164,6 +3638,1271 @@ ], "sensitive": true }, + "swarm_workers_nfs_ip_ports": { + "value": [ + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.3.59" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "60ece97f-cfea-4989-836c-0bb87d258e5a", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-3-59.openstacklocal.", + "hostname": "host-172-17-3-59", + "ip_address": "172.17.3.59" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "mac_address": "fa:16:3e:98:5f:dd", + "name": "swarm-worker-01", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.145" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "3721fa5c-baf5-41c1-a00b-293cd6112e11", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-145.openstacklocal.", + "hostname": "host-172-17-2-145", + "ip_address": "172.17.2.145" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "mac_address": "fa:16:3e:98:06:7c", + "name": "swarm-worker-02", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.140" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "f3cf42e3-b28b-4694-92e2-de9581eb1503", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-140.openstacklocal.", + "hostname": "host-172-17-2-140", + "ip_address": "172.17.2.140" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "91606ddf-3eaa-4d5f-9e84-f077e178be11", + "mac_address": "fa:16:3e:5c:f6:02", + "name": "swarm-worker-03", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.94" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "14a705c3-844a-4c5f-b727-256b6f2f2039", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-94.openstacklocal.", + "hostname": "host-172-17-2-94", + "ip_address": "172.17.2.94" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "4cb9e4ee-9143-46db-a729-f3cc84a70848", + "mac_address": "fa:16:3e:3f:18:28", + "name": "swarm-worker-04", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.99" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "f39ad1ee-9f1e-43b7-b141-973d53e10a2e", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-99.openstacklocal.", + "hostname": "host-172-17-2-99", + "ip_address": "172.17.2.99" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "c3d70222-1c23-4935-bcfb-afe10e69fabc", + "mac_address": "fa:16:3e:11:37:01", + "name": "swarm-worker-05", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.0.85" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "58360f23-4703-47f0-8b27-d621463c245c", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-0-85.openstacklocal.", + "hostname": "host-172-17-0-85", + "ip_address": "172.17.0.85" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "ea14f9c6-6988-464e-b96d-e694a13034a4", + "mac_address": "fa:16:3e:70:6d:5d", + "name": "swarm-worker-06", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.3.253" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "dca55156-78be-4392-a9b1-3a93dee81dd0", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-3-253.openstacklocal.", + "hostname": "host-172-17-3-253", + "ip_address": "172.17.3.253" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "1117f371-c066-4e06-afff-f61a2977410c", + "mac_address": "fa:16:3e:b4:26:6d", + "name": "swarm-worker-07", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.1.221" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "62a0cd55-f4b9-4bf0-bc8b-2da1e43bca0c", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-1-221.openstacklocal.", + "hostname": "host-172-17-1-221", + "ip_address": "172.17.1.221" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "5c37e740-aa7f-4077-9896-df78921f3299", + "mac_address": "fa:16:3e:55:9b:11", + "name": "swarm-worker-08", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + } + ], + "type": [ + "tuple", + [ + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ], + [ + "object", + { + "admin_state_up": "bool", + "all_fixed_ips": [ + "list", + "string" + ], + "all_security_group_ids": [ + "set", + "string" + ], + "all_tags": [ + "set", + "string" + ], + "allowed_address_pairs": [ + "set", + [ + "object", + { + "ip_address": "string", + "mac_address": "string" + } + ] + ], + "binding": [ + "list", + [ + "object", + { + "host_id": "string", + "profile": "string", + "vif_details": [ + "map", + "string" + ], + "vif_type": "string", + "vnic_type": "string" + } + ] + ], + "description": "string", + "device_id": "string", + "device_owner": "string", + "dns_assignment": [ + "list", + [ + "map", + "string" + ] + ], + "dns_name": "string", + "extra_dhcp_option": [ + "set", + [ + "object", + { + "ip_version": "number", + "name": "string", + "value": "string" + } + ] + ], + "fixed_ip": [ + "list", + [ + "object", + { + "ip_address": "string", + "subnet_id": "string" + } + ] + ], + "id": "string", + "mac_address": "string", + "name": "string", + "network_id": "string", + "no_fixed_ip": "bool", + "no_security_groups": "bool", + "port_security_enabled": "bool", + "qos_policy_id": "string", + "region": "string", + "security_group_ids": [ + "set", + "string" + ], + "tags": [ + "set", + "string" + ], + "tenant_id": "string", + "timeouts": [ + "object", + { + "create": "string", + "delete": "string" + } + ], + "value_specs": [ + "map", + "string" + ] + } + ] + ] + ] + }, "ubuntu1804_data_file": { "value": "../../openstack_vm_data_scripts/ubuntu1804.sh", "type": "string" @@ -3899,7 +5638,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:47 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] }, @@ -4010,7 +5749,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:00 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] }, @@ -4121,7 +5860,7 @@ "tags": [], "timeouts": null, "updated": "2023-11-06 18:34:02 +0000 UTC", - "user_data": "bb83b25fd1219aa1b850ece9be8d7b0f31714608", + "user_data": "", "vendor_options": [], "volume": [] }, @@ -5632,6 +7371,289 @@ } ] }, + { + "mode": "managed", + "type": "openstack_compute_interface_attach_v2", + "name": "nfs_port_to_swarm_mgr", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.4.11", + "id": "218369c6-7bd0-4b0c-aa71-dc07183007f3/38399b60-1670-456f-88b3-834b6076b965", + "instance_id": "218369c6-7bd0-4b0c-aa71-dc07183007f3", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "38399b60-1670-456f-88b3-834b6076b965", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_managers", + "openstack_compute_servergroup_v2.swarm_masters", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_mgr_nfs_port", + "openstack_networking_secgroup_v2.default", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.0.195", + "id": "0c00cb58-71a3-4066-8570-0c6333022b4e/eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "instance_id": "0c00cb58-71a3-4066-8570-0c6333022b4e", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_managers", + "openstack_compute_servergroup_v2.swarm_masters", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_mgr_nfs_port", + "openstack_networking_secgroup_v2.default", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.2.153", + "id": "e27a68a2-f124-469f-8f9d-850bd93785e9/67550c83-089d-45a4-91f1-5a43467c84f9", + "instance_id": "e27a68a2-f124-469f-8f9d-850bd93785e9", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "67550c83-089d-45a4-91f1-5a43467c84f9", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_managers", + "openstack_compute_servergroup_v2.swarm_masters", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_mgr_nfs_port", + "openstack_networking_secgroup_v2.default", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + } + ] + }, + { + "mode": "managed", + "type": "openstack_compute_interface_attach_v2", + "name": "nfs_port_to_swarm_workers", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.3.59", + "id": "60ece97f-cfea-4989-836c-0bb87d258e5a/e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "instance_id": "60ece97f-cfea-4989-836c-0bb87d258e5a", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.2.145", + "id": "3721fa5c-baf5-41c1-a00b-293cd6112e11/75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "instance_id": "3721fa5c-baf5-41c1-a00b-293cd6112e11", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.2.140", + "id": "f3cf42e3-b28b-4694-92e2-de9581eb1503/91606ddf-3eaa-4d5f-9e84-f077e178be11", + "instance_id": "f3cf42e3-b28b-4694-92e2-de9581eb1503", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "91606ddf-3eaa-4d5f-9e84-f077e178be11", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 3, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.2.94", + "id": "14a705c3-844a-4c5f-b727-256b6f2f2039/4cb9e4ee-9143-46db-a729-f3cc84a70848", + "instance_id": "14a705c3-844a-4c5f-b727-256b6f2f2039", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "4cb9e4ee-9143-46db-a729-f3cc84a70848", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 4, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.2.99", + "id": "f39ad1ee-9f1e-43b7-b141-973d53e10a2e/c3d70222-1c23-4935-bcfb-afe10e69fabc", + "instance_id": "f39ad1ee-9f1e-43b7-b141-973d53e10a2e", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "c3d70222-1c23-4935-bcfb-afe10e69fabc", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 5, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.0.85", + "id": "58360f23-4703-47f0-8b27-d621463c245c/ea14f9c6-6988-464e-b96d-e694a13034a4", + "instance_id": "58360f23-4703-47f0-8b27-d621463c245c", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "ea14f9c6-6988-464e-b96d-e694a13034a4", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 6, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.3.253", + "id": "dca55156-78be-4392-a9b1-3a93dee81dd0/1117f371-c066-4e06-afff-f61a2977410c", + "instance_id": "dca55156-78be-4392-a9b1-3a93dee81dd0", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "1117f371-c066-4e06-afff-f61a2977410c", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + }, + { + "index_key": 7, + "schema_version": 0, + "attributes": { + "fixed_ip": "172.17.1.221", + "id": "62a0cd55-f4b9-4bf0-bc8b-2da1e43bca0c/5c37e740-aa7f-4077-9896-df78921f3299", + "instance_id": "62a0cd55-f4b9-4bf0-bc8b-2da1e43bca0c", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "port_id": "5c37e740-aa7f-4077-9896-df78921f3299", + "region": "isti_area_pi_1", + "timeouts": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_compute_instance_v2.docker_swarm_workers", + "openstack_compute_servergroup_v2.swarm_workers", + "openstack_networking_network_v2.swarm_nfs_net", + "openstack_networking_port_v2.swarm_workers_nfs_port", + "openstack_networking_secgroup_v2.swarm_internal_traffic", + "openstack_networking_subnet_v2.swarm_nfs_subnet" + ] + } + ] + }, { "mode": "managed", "type": "openstack_compute_servergroup_v2", @@ -7605,6 +9627,939 @@ } ] }, + { + "mode": "managed", + "type": "openstack_networking_port_secgroup_associate_v2", + "name": "swarm_mgr_nfs_port_secgroup", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [], + "enforce": false, + "id": "38399b60-1670-456f-88b3-834b6076b965", + "port_id": "38399b60-1670-456f-88b3-834b6076b965", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_mgr_nfs_port" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [], + "enforce": false, + "id": "eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "port_id": "eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_mgr_nfs_port" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [], + "enforce": false, + "id": "67550c83-089d-45a4-91f1-5a43467c84f9", + "port_id": "67550c83-089d-45a4-91f1-5a43467c84f9", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_mgr_nfs_port" + ] + } + ] + }, + { + "mode": "managed", + "type": "openstack_networking_port_secgroup_associate_v2", + "name": "swarm_worker_nfs_port_secgroup", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "port_id": "e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "port_id": "75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "91606ddf-3eaa-4d5f-9e84-f077e178be11", + "port_id": "91606ddf-3eaa-4d5f-9e84-f077e178be11", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 3, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "4cb9e4ee-9143-46db-a729-f3cc84a70848", + "port_id": "4cb9e4ee-9143-46db-a729-f3cc84a70848", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 4, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "c3d70222-1c23-4935-bcfb-afe10e69fabc", + "port_id": "c3d70222-1c23-4935-bcfb-afe10e69fabc", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 5, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "ea14f9c6-6988-464e-b96d-e694a13034a4", + "port_id": "ea14f9c6-6988-464e-b96d-e694a13034a4", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 6, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "1117f371-c066-4e06-afff-f61a2977410c", + "port_id": "1117f371-c066-4e06-afff-f61a2977410c", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + }, + { + "index_key": 7, + "schema_version": 0, + "attributes": { + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "enforce": false, + "id": "5c37e740-aa7f-4077-9896-df78921f3299", + "port_id": "5c37e740-aa7f-4077-9896-df78921f3299", + "region": "isti_area_pi_1", + "security_group_ids": [ + "167e4897-f776-4cbd-986f-77313aa68af2" + ] + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router", + "openstack_networking_port_v2.swarm_workers_nfs_port" + ] + } + ] + }, + { + "mode": "managed", + "type": "openstack_networking_port_v2", + "name": "swarm_mgr_nfs_port", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.4.11" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "218369c6-7bd0-4b0c-aa71-dc07183007f3", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-4-11.openstacklocal.", + "hostname": "host-172-17-4-11", + "ip_address": "172.17.4.11" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "38399b60-1670-456f-88b3-834b6076b965", + "mac_address": "fa:16:3e:53:85:58", + "name": "swarm-mgr-01", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.0.195" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "0c00cb58-71a3-4066-8570-0c6333022b4e", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-0-195.openstacklocal.", + "hostname": "host-172-17-0-195", + "ip_address": "172.17.0.195" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "eb3bcb76-f945-41d2-97e8-3d528ea5c519", + "mac_address": "fa:16:3e:e6:06:03", + "name": "swarm-mgr-02", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.153" + ], + "all_security_group_ids": [], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "e27a68a2-f124-469f-8f9d-850bd93785e9", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-153.openstacklocal.", + "hostname": "host-172-17-2-153", + "ip_address": "172.17.2.153" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "67550c83-089d-45a4-91f1-5a43467c84f9", + "mac_address": "fa:16:3e:d8:93:44", + "name": "swarm-mgr-03", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + } + ] + }, + { + "mode": "managed", + "type": "openstack_networking_port_v2", + "name": "swarm_workers_nfs_port", + "provider": "provider[\"registry.terraform.io/terraform-provider-openstack/openstack\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.3.59" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "60ece97f-cfea-4989-836c-0bb87d258e5a", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-3-59.openstacklocal.", + "hostname": "host-172-17-3-59", + "ip_address": "172.17.3.59" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "e7a2cd57-1f61-44c3-a51d-9f9b694e8959", + "mac_address": "fa:16:3e:98:5f:dd", + "name": "swarm-worker-01", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 1, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.145" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "3721fa5c-baf5-41c1-a00b-293cd6112e11", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-145.openstacklocal.", + "hostname": "host-172-17-2-145", + "ip_address": "172.17.2.145" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "75e28cfb-dcd6-4761-b115-dd7fe17f6e12", + "mac_address": "fa:16:3e:98:06:7c", + "name": "swarm-worker-02", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 2, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.140" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "f3cf42e3-b28b-4694-92e2-de9581eb1503", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-140.openstacklocal.", + "hostname": "host-172-17-2-140", + "ip_address": "172.17.2.140" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "91606ddf-3eaa-4d5f-9e84-f077e178be11", + "mac_address": "fa:16:3e:5c:f6:02", + "name": "swarm-worker-03", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 3, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.94" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "14a705c3-844a-4c5f-b727-256b6f2f2039", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-94.openstacklocal.", + "hostname": "host-172-17-2-94", + "ip_address": "172.17.2.94" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "4cb9e4ee-9143-46db-a729-f3cc84a70848", + "mac_address": "fa:16:3e:3f:18:28", + "name": "swarm-worker-04", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 4, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.2.99" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "f39ad1ee-9f1e-43b7-b141-973d53e10a2e", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-2-99.openstacklocal.", + "hostname": "host-172-17-2-99", + "ip_address": "172.17.2.99" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "c3d70222-1c23-4935-bcfb-afe10e69fabc", + "mac_address": "fa:16:3e:11:37:01", + "name": "swarm-worker-05", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 5, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.0.85" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "58360f23-4703-47f0-8b27-d621463c245c", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-0-85.openstacklocal.", + "hostname": "host-172-17-0-85", + "ip_address": "172.17.0.85" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "ea14f9c6-6988-464e-b96d-e694a13034a4", + "mac_address": "fa:16:3e:70:6d:5d", + "name": "swarm-worker-06", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 6, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.3.253" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "dca55156-78be-4392-a9b1-3a93dee81dd0", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-3-253.openstacklocal.", + "hostname": "host-172-17-3-253", + "ip_address": "172.17.3.253" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "1117f371-c066-4e06-afff-f61a2977410c", + "mac_address": "fa:16:3e:b4:26:6d", + "name": "swarm-worker-07", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + }, + { + "index_key": 7, + "schema_version": 0, + "attributes": { + "admin_state_up": true, + "all_fixed_ips": [ + "172.17.1.221" + ], + "all_security_group_ids": [ + "d41938a9-a581-4974-b213-4aa50498344c" + ], + "all_tags": [], + "allowed_address_pairs": [], + "binding": [ + { + "host_id": "", + "profile": "", + "vif_details": {}, + "vif_type": "", + "vnic_type": "normal" + } + ], + "description": "", + "device_id": "62a0cd55-f4b9-4bf0-bc8b-2da1e43bca0c", + "device_owner": "compute:cnr-isti-nova-a", + "dns_assignment": [ + { + "fqdn": "host-172-17-1-221.openstacklocal.", + "hostname": "host-172-17-1-221", + "ip_address": "172.17.1.221" + } + ], + "dns_name": "", + "extra_dhcp_option": [], + "fixed_ip": [ + { + "ip_address": "", + "subnet_id": "6ff0f9e8-0e74-4cc3-a268-7ed4af435696" + } + ], + "id": "5c37e740-aa7f-4077-9896-df78921f3299", + "mac_address": "fa:16:3e:55:9b:11", + "name": "swarm-worker-08", + "network_id": "5f4023cc-4016-404c-94e5-86220095fbaf", + "no_fixed_ip": null, + "no_security_groups": null, + "port_security_enabled": true, + "qos_policy_id": "", + "region": "isti_area_pi_1", + "security_group_ids": null, + "tags": [], + "tenant_id": "1b45adf388934758b56d0dfdb4bfacf3", + "timeouts": null, + "value_specs": null + }, + "sensitive_attributes": [], + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwfX0=", + "dependencies": [ + "data.terraform_remote_state.privnet_dns_router" + ] + } + ] + }, { "mode": "managed", "type": "openstack_networking_secgroup_rule_v2", diff --git a/openstack-tf/modules/docker_swarm/docker-swarm.tf b/openstack-tf/modules/docker_swarm/docker-swarm.tf index 63c0f0c..344bbfb 100644 --- a/openstack-tf/modules/docker_swarm/docker-swarm.tf +++ b/openstack-tf/modules/docker_swarm/docker-swarm.tf @@ -188,6 +188,55 @@ resource "openstack_compute_instance_v2" "docker_swarm_workers" { } } +# +# Manila NFS Share +# +# Managers +resource "openstack_networking_port_v2" "swarm_mgr_nfs_port" { + count = var.docker_swarm_data.mgr_count + name = format("%s-%02d", var.docker_swarm_data.mgr_name, count.index + 1) + network_id = data.terraform_remote_state.privnet_dns_router.outputs.storage_nfs_network_id + admin_state_up = "true" + fixed_ip { + subnet_id = data.terraform_remote_state.privnet_dns_router.outputs.storage_nfs_subnet_id + } +} + +resource "openstack_networking_port_secgroup_associate_v2" "swarm_mgr_nfs_port_secgroup" { + count = var.docker_swarm_data.mgr_count + port_id = openstack_networking_port_v2.swarm_mgr_nfs_port[count.index].id + security_group_ids = [data.terraform_remote_state.privnet_dns_router.outputs.nfs_share_no_ingress_secgroup_id] +} + +resource "openstack_compute_interface_attach_v2" "nfs_port_to_swarm_mgr" { + count = var.docker_swarm_data.mgr_count + instance_id = openstack_compute_instance_v2.docker_swarm_managers[count.index].id + port_id = openstack_networking_port_v2.swarm_mgr_nfs_port[count.index].id +} + +# Workers +resource "openstack_networking_port_v2" "swarm_workers_nfs_port" { + count = var.docker_swarm_data.worker_count + name = format("%s-%02d", var.docker_swarm_data.worker_name, count.index + 1) + network_id = data.terraform_remote_state.privnet_dns_router.outputs.storage_nfs_network_id + admin_state_up = "true" + fixed_ip { + subnet_id = data.terraform_remote_state.privnet_dns_router.outputs.storage_nfs_subnet_id + } +} + +resource "openstack_networking_port_secgroup_associate_v2" "swarm_worker_nfs_port_secgroup" { + count = var.docker_swarm_data.worker_count + port_id = openstack_networking_port_v2.swarm_workers_nfs_port[count.index].id + security_group_ids = [data.terraform_remote_state.privnet_dns_router.outputs.nfs_share_no_ingress_secgroup_id] +} + +resource "openstack_compute_interface_attach_v2" "nfs_port_to_swarm_workers" { + count = var.docker_swarm_data.worker_count + instance_id = openstack_compute_instance_v2.docker_swarm_workers[count.index].id + port_id = openstack_networking_port_v2.swarm_workers_nfs_port[count.index].id +} + # NFS server # Block device resource "openstack_blockstorage_volume_v3" "swarm_nfs_data_vol" { @@ -236,11 +285,11 @@ resource "openstack_compute_volume_attach_v2" "swarm_nfs_data_attach_vol" { # # Swarm load balancer. L4, backed by Octavia resource "openstack_lb_loadbalancer_v2" "swarm_lb" { - vip_subnet_id = var.main_private_subnet_id - name = var.octavia_swarm_data.swarm_lb_name - description = var.octavia_swarm_data.swarm_lb_description - flavor_id = var.octavia_swarm_data.octavia_flavor_id - vip_address = var.octavia_swarm_data.swarm_octavia_main_ip + vip_subnet_id = var.main_private_subnet_id + name = var.octavia_swarm_data.swarm_lb_name + description = var.octavia_swarm_data.swarm_lb_description + flavor_id = var.octavia_swarm_data.octavia_flavor_id + vip_address = var.octavia_swarm_data.swarm_octavia_main_ip # availability_zone = var.availability_zones_names.availability_zone_no_gpu loadbalancer_provider = "amphora" } @@ -541,3 +590,12 @@ output "swarm_worker_nodes" { value = openstack_compute_instance_v2.docker_swarm_workers sensitive = true } + +output "swarm_managers_nfs_ip_ports" { + description = "IP addresses in the share NFS network" + value = openstack_networking_port_v2.swarm_mgr_nfs_port +} +output "swarm_workers_nfs_ip_ports" { + description = "IP addresses in the share NFS network" + value = openstack_networking_port_v2.swarm_workers_nfs_port +} \ No newline at end of file