Skip to content

Commit

Permalink
[DNM] Test flavors with non-local storage
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt committed Aug 30, 2023
1 parent 0064767 commit ec54e68
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
13 changes: 7 additions & 6 deletions terraform/environments/ci.tfvars
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# customisation:access_floatingip
# customisation:default
# customisation:neutron_floatingip
# override:manager_boot_from_image
# override:manager_boot_from_volume
# override:neutron_availability_zone_hints_network
# override:neutron_availability_zone_hints_router
# override:nodes_boot_from_image
flavor_manager = "SCS-4V-8-50s"
flavor_node = "SCS-8V-32-100s"
# override:nodes_boot_from_volume
flavor_manager = "SCS-4V-8"
flavor_node = "SCS-8V-32"
image = "Ubuntu 22.04"
image_node = "Ubuntu 22.04"
public = "public"
availability_zone = "nova"
volume_availability_zone = "nova"
network_availability_zone = "nova"
volume_availability_zone = "nova"
public = "public"
volume_type = "ssd"
1 change: 1 addition & 0 deletions terraform/manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource "openstack_blockstorage_volume_v3" "manager_base_volume" {
name = "${var.prefix}-volume-manager-base"
size = var.volume_size_base
availability_zone = var.volume_availability_zone
volume_type = var.volume_type
}

resource "openstack_compute_instance_v2" "manager_server" {
Expand Down
1 change: 1 addition & 0 deletions terraform/nodes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ resource "openstack_blockstorage_volume_v3" "node_base_volume" {
name = "${var.prefix}-volume-${count.index}-node-base"
size = var.volume_size_base
availability_zone = var.volume_availability_zone
volume_type = var.volume_type
}
5 changes: 5 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ variable "volume_size_storage" {
default = 10
}

variable "volume_type" {
type = string
default = "__DEFAULT__"
}

variable "flavor_node" {
type = string
default = "SCS-8V:32:50"
Expand Down

0 comments on commit ec54e68

Please sign in to comment.