Skip to content

Commit 0e77b2e

Browse files
committed
revert changes to sms tf config for testing
1 parent 1c8eed3 commit 0e77b2e

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
cluster_networks = [
2+
# {
3+
# network = "stackhpc-ipv4-geneve"
4+
# subnet = "stackhpc-ipv4-geneve-subnet"
5+
# }
26
{
3-
network = "stackhpc-ipv4-geneve"
4-
subnet = "stackhpc-ipv4-geneve-subnet"
7+
network = "steveb-isolated"
8+
subnet = "steveb-isolated"
59
}
610
]
711
control_node_flavor = "general.v1.small"
8-
other_node_flavor = "general.v1.small"
12+
other_node_flavor = "general.v1.small"
13+
14+
15+
# stackhpc-ipv4-geneve-subnet: 172.16.0.0 - 172.16.1.255
16+
# stackhpc-ipv4-vlan-subnet 192.168.48.0 - 192.168.48.255
17+
# steveb-isolated 192.168.99.0 - 192.168.99.255

environments/.stackhpc/tofu/main.tf

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ module "cluster" {
6464
cluster_name = var.cluster_name
6565
cluster_networks = var.cluster_networks
6666
vnic_types = var.vnic_types
67-
key_pair = "slurm-app-ci"
67+
#key_pair = "slurm-app-ci" # TODO: make this a variable
68+
key_pair = "steveb-slurm-deploy"
6869
cluster_image_id = data.openstack_images_image_v2.cluster.id
6970
control_node_flavor = var.control_node_flavor
7071

@@ -99,11 +100,4 @@ module "cluster" {
99100
state_volume_type = var.state_volume_type
100101
home_volume_type = var.home_volume_type
101102

102-
login_security_groups = [
103-
"isolated", # allow all in-cluster services
104-
"isolated-ssh-https", # access via ssh and ondemand
105-
]
106-
nonlogin_security_groups = [
107-
"isolated"
108-
]
109103
}

0 commit comments

Comments
 (0)