EGI-Federation / fedcloud-dashboard

Common dashboard for the EGI Cloud Compute service
MIT License
3 stars 2 forks source link

First deploy attempt #5

Closed enolfc closed 2 years ago

enolfc commented 2 years ago

Summary

Try to deploy VM automatically


Related issue :

github-actions[bot] commented 2 years ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan ``` terraform openstack_networking_floatingip_v2.fip: Refreshing state... [id=1a2e1285-0a20-4582-aab9-27255607a862] openstack_compute_secgroup_v2.secgroup: Refreshing state... [id=47779555-2ce1-400c-ba68-d177683c7228] openstack_compute_instance_v2.dashboard: Refreshing state... [id=64417f02-61b5-4eb0-a9bd-a0f386a71d42] openstack_compute_floatingip_associate_v2.fip: Refreshing state... [id=147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/] Note: Objects have changed outside of Terraform Terraform detected the following changes made outside of Terraform since the last "terraform apply": # openstack_networking_floatingip_v2.fip has been changed ~ resource "openstack_networking_floatingip_v2" "fip" { + fixed_ip = "192.168.10.94" id = "1a2e1285-0a20-4582-aab9-27255607a862" + port_id = "336adaaf-87d0-4cf4-8238-07094e6d95de" tags = [] # (4 unchanged attributes hidden) } # openstack_compute_instance_v2.dashboard has been changed ~ resource "openstack_compute_instance_v2" "dashboard" { id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" name = "dashboard" + tags = [] # (13 unchanged attributes hidden) # (1 unchanged block hidden) } Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes. ───────────────────────────────────────────────────────────────────────────── Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # openstack_compute_floatingip_associate_v2.fip must be replaced -/+ resource "openstack_compute_floatingip_associate_v2" "fip" { ~ id = "147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/" -> (known after apply) ~ instance_id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) # forces replacement + region = (known after apply) # (1 unchanged attribute hidden) } # openstack_compute_instance_v2.dashboard must be replaced -/+ resource "openstack_compute_instance_v2" "dashboard" { ~ access_ip_v4 = "192.168.10.94" -> (known after apply) + access_ip_v6 = (known after apply) ~ all_metadata = {} -> (known after apply) ~ all_tags = [] -> (known after apply) ~ availability_zone = "nova" -> (known after apply) ~ flavor_name = "m1.medium" -> (known after apply) ~ id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) ~ image_name = "Ubuntu-20.04-20211006" -> (known after apply) name = "dashboard" + region = (known after apply) - tags = [] -> null ~ user_data = "f81c59595cb3c50817fcba140058bde5fb303f9b" -> "bc484ad740c02fb955cc9405815b63782b63467b" # forces replacement # (6 unchanged attributes hidden) ~ network { ~ fixed_ip_v4 = "192.168.10.94" -> (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) ~ mac = "fa:16:3e:f7:a8:66" -> (known after apply) ~ name = "private-network" -> (known after apply) + port = (known after apply) # (2 unchanged attributes hidden) } } Plan: 2 to add, 0 to change, 2 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. Releasing state lock. This may take a few moments... ```

Pusher: @enolfc, Action: pull_request

github-actions[bot] commented 2 years ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan ``` terraform Acquiring state lock. This may take a few moments... openstack_networking_floatingip_v2.fip: Refreshing state... [id=1a2e1285-0a20-4582-aab9-27255607a862] openstack_compute_secgroup_v2.secgroup: Refreshing state... [id=47779555-2ce1-400c-ba68-d177683c7228] openstack_compute_instance_v2.dashboard: Refreshing state... [id=64417f02-61b5-4eb0-a9bd-a0f386a71d42] openstack_compute_floatingip_associate_v2.fip: Refreshing state... [id=147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/] Note: Objects have changed outside of Terraform Terraform detected the following changes made outside of Terraform since the last "terraform apply": # openstack_compute_instance_v2.dashboard has been changed ~ resource "openstack_compute_instance_v2" "dashboard" { id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" name = "dashboard" + tags = [] # (13 unchanged attributes hidden) # (1 unchanged block hidden) } # openstack_networking_floatingip_v2.fip has been changed ~ resource "openstack_networking_floatingip_v2" "fip" { + fixed_ip = "192.168.10.94" id = "1a2e1285-0a20-4582-aab9-27255607a862" + port_id = "336adaaf-87d0-4cf4-8238-07094e6d95de" tags = [] # (4 unchanged attributes hidden) } Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes. ───────────────────────────────────────────────────────────────────────────── Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # openstack_compute_floatingip_associate_v2.fip must be replaced -/+ resource "openstack_compute_floatingip_associate_v2" "fip" { ~ id = "147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/" -> (known after apply) ~ instance_id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) # forces replacement + region = (known after apply) # (1 unchanged attribute hidden) } # openstack_compute_instance_v2.dashboard must be replaced -/+ resource "openstack_compute_instance_v2" "dashboard" { ~ access_ip_v4 = "192.168.10.94" -> (known after apply) + access_ip_v6 = (known after apply) ~ all_metadata = {} -> (known after apply) ~ all_tags = [] -> (known after apply) ~ availability_zone = "nova" -> (known after apply) ~ flavor_name = "m1.medium" -> (known after apply) ~ id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) ~ image_name = "Ubuntu-20.04-20211006" -> (known after apply) name = "dashboard" + region = (known after apply) - tags = [] -> null ~ user_data = "f81c59595cb3c50817fcba140058bde5fb303f9b" -> "45da8044347746c3dcecba381c7c77ef9351bac9" # forces replacement # (6 unchanged attributes hidden) ~ network { ~ fixed_ip_v4 = "192.168.10.94" -> (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) ~ mac = "fa:16:3e:f7:a8:66" -> (known after apply) ~ name = "private-network" -> (known after apply) + port = (known after apply) # (2 unchanged attributes hidden) } } Plan: 2 to add, 0 to change, 2 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. Releasing state lock. This may take a few moments... ```

Pusher: @enolfc, Action: pull_request

github-actions[bot] commented 2 years ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan ``` terraform Acquiring state lock. This may take a few moments... openstack_compute_secgroup_v2.secgroup: Refreshing state... [id=47779555-2ce1-400c-ba68-d177683c7228] openstack_networking_floatingip_v2.fip: Refreshing state... [id=1a2e1285-0a20-4582-aab9-27255607a862] openstack_compute_instance_v2.dashboard: Refreshing state... [id=64417f02-61b5-4eb0-a9bd-a0f386a71d42] openstack_compute_floatingip_associate_v2.fip: Refreshing state... [id=147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # openstack_compute_floatingip_associate_v2.fip must be replaced -/+ resource "openstack_compute_floatingip_associate_v2" "fip" { ~ id = "147.213.76.217/64417f02-61b5-4eb0-a9bd-a0f386a71d42/" -> (known after apply) ~ instance_id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) # forces replacement + region = (known after apply) # (1 unchanged attribute hidden) } # openstack_compute_instance_v2.dashboard must be replaced -/+ resource "openstack_compute_instance_v2" "dashboard" { ~ access_ip_v4 = "192.168.10.94" -> (known after apply) + access_ip_v6 = (known after apply) ~ all_metadata = {} -> (known after apply) ~ all_tags = [] -> (known after apply) ~ availability_zone = "nova" -> (known after apply) ~ flavor_name = "m1.medium" -> (known after apply) ~ id = "64417f02-61b5-4eb0-a9bd-a0f386a71d42" -> (known after apply) ~ image_name = "Ubuntu-20.04-20211006" -> (known after apply) name = "dashboard" + region = (known after apply) - tags = [] -> null ~ user_data = "f81c59595cb3c50817fcba140058bde5fb303f9b" -> "f230185b5fed7ab7964da349467c65079c20f662" # forces replacement # (6 unchanged attributes hidden) ~ network { ~ fixed_ip_v4 = "192.168.10.94" -> (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) ~ mac = "fa:16:3e:f7:a8:66" -> (known after apply) ~ name = "private-network" -> (known after apply) + port = (known after apply) # (2 unchanged attributes hidden) } } Plan: 2 to add, 0 to change, 2 to destroy. ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. Releasing state lock. This may take a few moments... ```

Pusher: @enolfc, Action: pull_request

enolfc commented 2 years ago

I'm merging, let's see if it works. And we move from here with gradual improvements