SeaGL / seagl-terraform

Terraform used to maintain SeaGL's VMs, RDS database, DNS, etc.
GNU Affero General Public License v3.0
1 stars 2 forks source link

Create a Docker cluster VM #91

Closed strugee closed 1 week ago

seagl-atlantis[bot] commented 1 week ago

Ran Plan for project: seagl dir: . workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a will be created + resource "aws_route53_record" "dns-a" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "docker-cluster.host.seagl.org" + records = (known after apply) + ttl = 300 + type = "A" + zone_id = "Z0173878287JIU5M4KB8R" } # module.production_env.module.docker-cluster-vm.openstack_compute_instance_v2.instance will be created + resource "openstack_compute_instance_v2" "instance" { + access_ip_v4 = (known after apply) + access_ip_v6 = (known after apply) + all_metadata = (known after apply) + all_tags = (known after apply) + availability_zone = (known after apply) + created = (known after apply) + flavor_id = (known after apply) + flavor_name = "m1.large" + force_delete = false + id = (known after apply) + image_id = (known after apply) + image_name = (known after apply) + name = "docker-cluster" + power_state = "active" + region = (known after apply) + security_groups = [ + "docker-cluster", ] + stop_before_destroy = false + updated = (known after apply) + user_data = "ce58ac6040dd5ef465c704b49ba6d6600287333a" + block_device { + delete_on_termination = true + destination_type = "volume" + multiattach = false + source_type = "image" + uuid = "0cbd4881-026e-4b2f-8883-2aca75af2ca1" + volume_size = 20 } + network { + access_network = false + fixed_ip_v4 = (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) + mac = (known after apply) + name = "general_servers2" + port = (known after apply) + uuid = (known after apply) } } # module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.icmp4-ingress will be created + resource "openstack_networking_secgroup_rule_v2" "icmp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = "icmp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv4-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv4-egress" { + direction = "egress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv6-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv6-egress" { + direction = "egress" + ethertype = "IPv6" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_v2.main-sg will be created + resource "openstack_networking_secgroup_v2" "main-sg" { + all_tags = (known after apply) + delete_default_rules = true + description = (known after apply) + id = (known after apply) + name = "docker-cluster" + region = (known after apply) + tenant_id = (known after apply) } Plan: 6 to add, 0 to change, 0 to destroy. ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 5 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -p seagl` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.seagl.org/lock?id=SeaGL%252Fseagl-terraform%252F.%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -p seagl`

Plan: 6 to add, 0 to change, 0 to destroy.


strugee commented 1 week ago

atlantis apply

seagl-atlantis[bot] commented 1 week ago

Ran Apply for project: seagl dir: . workspace: default

Show Output ```diff module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_v2.main-sg: Creating... module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_v2.main-sg: Creation complete after 1s [id=07fbc3a6-e1cf-40d6-964d-a53b7d95c139] module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv4-egress: Creating... module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.icmp4-ingress: Creating... module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv6-egress: Creating... module.production_env.module.docker-cluster-vm.openstack_compute_instance_v2.instance: Creating... module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv6-egress: Creation complete after 1s [id=f226e030-aab5-405d-b873-0115a8eaa487] module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.ipv4-egress: Creation complete after 1s [id=7bb5bc42-3c1a-45be-bef1-bdfc428ce584] module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.icmp4-ingress: Creation complete after 1s [id=703f6da4-fb7c-421a-9f41-056c77b68367] module.production_env.module.docker-cluster-vm.openstack_compute_instance_v2.instance: Still creating... [10s elapsed] module.production_env.module.docker-cluster-vm.openstack_compute_instance_v2.instance: Creation complete after 16s [id=af650354-b1ca-4669-9ab0-b1a0f85524ba] module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a: Creating... module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a: Still creating... [10s elapsed] module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a: Still creating... [20s elapsed] module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a: Still creating... [30s elapsed] module.production_env.module.docker-cluster-vm.aws_route53_record.dns-a: Creation complete after 38s [id=Z0173878287JIU5M4KB8R_docker-cluster.host.seagl.org_A] ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. ╵ Apply complete! Resources: 6 added, 0 changed, 0 destroyed. ```
seagl-atlantis[bot] commented 1 week ago

Automatically merging because all plans have been successfully applied.

seagl-atlantis[bot] commented 1 week ago

Automerging failed:

merging pull request: PUT https://api.github.com/repos/SeaGL/seagl-terraform/pulls/91/merge: 405 Repository rule violations found

At least 1 approving review is required by reviewers with write access.

 []
seagl-atlantis[bot] commented 1 week ago

Ran Plan for project: seagl dir: . workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 22 + port_range_min = 22 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = "07fbc3a6-e1cf-40d6-964d-a53b7d95c139" + tenant_id = (known after apply) } Plan: 1 to add, 0 to change, 0 to destroy. ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 5 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -p seagl` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.seagl.org/lock?id=SeaGL%252Fseagl-terraform%252F.%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -p seagl`

Plan: 1 to add, 0 to change, 0 to destroy.


strugee commented 1 week ago

atlantis apply

seagl-atlantis[bot] commented 1 week ago

Ran Apply for project: seagl dir: . workspace: default

Show Output ```diff module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"]: Creating... module.production_env.module.docker-cluster-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"]: Creation complete after 1s [id=3756c04d-df25-4a61-a94d-bb5247d962b6] ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. ╵ Apply complete! Resources: 1 added, 0 changed, 0 destroyed. ```
seagl-atlantis[bot] commented 1 week ago

Automatically merging because all plans have been successfully applied.

seagl-atlantis[bot] commented 1 week ago

Automerging failed:

merging pull request: PUT https://api.github.com/repos/SeaGL/seagl-terraform/pulls/91/merge: 405 Repository rule violations found

At least 1 approving review is required by reviewers with write access.

 []
seagl-atlantis[bot] commented 1 week ago

Locks and plans deleted for the projects and workspaces modified in this pull request: