Skip to content

Instantly share code, notes, and snippets.

@GregoryVds
Last active October 13, 2020 12:51
Show Gist options
  • Save GregoryVds/5e02af04cea43598235e5670dc504eb0 to your computer and use it in GitHub Desktop.
Save GregoryVds/5e02af04cea43598235e5670dc504eb0 to your computer and use it in GitHub Desktop.
$ OS_DEBUG=1 terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.openstack_images_image_v2.aio_image: Refreshing state... [id=94e9d1f5-f54e-4831-a602-4506768e0e19]
openstack_networking_port_v2.node_int: Refreshing state... [id=784cf7c9-95b9-44cd-ab0e-787ac8c9ae6e]
openstack_networking_port_v2.node_slave: Refreshing state... [id=90dd01f9-317b-4b72-bdfd-18902e810d22]
openstack_networking_port_v2.node_main: Refreshing state... [id=89282b72-6d68-4582-aa2e-af2d0aee7969]
openstack_networking_port_v2.node_oam: Refreshing state... [id=d72a0149-2aeb-4868-962c-5fa5add13b91]
openstack_networking_floatingip_associate_v2.hag_vip: Refreshing state... [id=fa860f29-ac2d-4ce6-a0b1-e2758a7d2eba]
openstack_compute_instance_v2.node: Refreshing state... [id=f04b6b74-8571-4ebc-801a-ba47f124f372]
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# openstack_networking_port_v2.node_int will be updated in-place
~ resource "openstack_networking_port_v2" "node_int" {
admin_state_up = true
all_fixed_ips = [
"42.42.42.91",
]
all_security_group_ids = []
all_tags = []
device_id = "f04b6b74-8571-4ebc-801a-ba47f124f372"
device_owner = "compute:nova"
dns_assignment = [
{
"fqdn" = "node.nix.tessares.net."
"hostname" = "node"
"ip_address" = "42.42.42.91"
},
]
dns_name = "node"
id = "784cf7c9-95b9-44cd-ab0e-787ac8c9ae6e"
mac_address = "fa:16:3e:3e:84:06"
name = "node-int"
network_id = "bc48526c-da20-4f8d-a5aa-ef07ff41ffce"
port_security_enabled = false
region = "TessaresOffice"
tags = []
tenant_id = "2867c293ed9a450b9b214e08060c962b"
~ binding {
- host_id = "openstack05.nix.tessares.net" -> null
profile = jsonencode({})
vif_details = {
"bridge_name" = "br-int"
"datapath_type" = "netdev"
"ovs_hybrid_plug" = "false"
"port_filter" = "false"
"vhostuser_mode" = "server"
"vhostuser_ovs_plug" = "true"
"vhostuser_socket" = "/var/run/openvswitch/vhu784cf7c9-95"
}
vif_type = "vhostuser"
vnic_type = "normal"
}
}
# openstack_networking_port_v2.node_main will be updated in-place
~ resource "openstack_networking_port_v2" "node_main" {
admin_state_up = true
all_fixed_ips = [
"42.42.42.73",
]
all_security_group_ids = []
all_tags = []
device_id = "f04b6b74-8571-4ebc-801a-ba47f124f372"
device_owner = "compute:nova"
dns_assignment = [
{
"fqdn" = "node.nix.tessares.net."
"hostname" = "node"
"ip_address" = "42.42.42.73"
},
]
dns_name = "node"
id = "89282b72-6d68-4582-aa2e-af2d0aee7969"
mac_address = "fa:16:3e:8b:24:c0"
name = "node-main"
network_id = "ed799fc9-490f-4785-9fe9-f3de6ae04295"
port_security_enabled = false
region = "TessaresOffice"
tags = []
tenant_id = "2867c293ed9a450b9b214e08060c962b"
~ binding {
- host_id = "openstack05.nix.tessares.net" -> null
profile = jsonencode({})
vif_details = {
"bridge_name" = "br-int"
"datapath_type" = "netdev"
"ovs_hybrid_plug" = "false"
"port_filter" = "false"
"vhostuser_mode" = "server"
"vhostuser_ovs_plug" = "true"
"vhostuser_socket" = "/var/run/openvswitch/vhu89282b72-6d"
}
vif_type = "vhostuser"
vnic_type = "normal"
}
}
# openstack_networking_port_v2.node_slave will be updated in-place
~ resource "openstack_networking_port_v2" "node_slave" {
admin_state_up = true
all_fixed_ips = [
"42.42.42.165",
]
all_security_group_ids = []
all_tags = []
device_id = "f04b6b74-8571-4ebc-801a-ba47f124f372"
device_owner = "compute:nova"
dns_assignment = [
{
"fqdn" = "node.nix.tessares.net."
"hostname" = "node"
"ip_address" = "42.42.42.165"
},
]
dns_name = "node"
id = "90dd01f9-317b-4b72-bdfd-18902e810d22"
mac_address = "fa:16:3e:60:2c:e9"
name = "node-slave"
network_id = "e9e574c5-c27e-42d7-aae0-f590ce98c512"
port_security_enabled = false
region = "TessaresOffice"
tags = []
tenant_id = "2867c293ed9a450b9b214e08060c962b"
~ binding {
- host_id = "openstack05.nix.tessares.net" -> null
profile = jsonencode({})
vif_details = {
"bridge_name" = "br-int"
"datapath_type" = "netdev"
"ovs_hybrid_plug" = "false"
"port_filter" = "false"
"vhostuser_mode" = "server"
"vhostuser_ovs_plug" = "true"
"vhostuser_socket" = "/var/run/openvswitch/vhu90dd01f9-31"
}
vif_type = "vhostuser"
vnic_type = "normal"
}
}
Plan: 0 to add, 3 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment