-
Notifications
You must be signed in to change notification settings - Fork 266
openstack: Fix non-self-hosted etcd security groups #1052
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once green 👍
@coreypobrien CI unfortunately complains with:
|
and there is a conflict because I just merged another OpenStack PR ;-) |
Security groups for controller nodes were broken when experimental was false because they attempted to reference the self-hosted etcd secrurity group which doesn't exist in that configuration. This change consolidates all security groups into their own openstack module to ensure that shared groups are only created once per plan. Both the self- hosted and non-self-hosted etcd security groups need to be created so that references to them resolve even if they ultimately aren't used due to the conditional logic from tectonic_experimental.
CI failure seems unrelated:
I will restart it. |
retest this please |
ok to test |
Can one of the admins verify this patch? |
@s-urbaniak ✅ :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. I guess we could rename the secgroups
module as net
or the like and move all network related resources there, iff we decide to remove the nova flavor in #1062. This would align it with i.e. AWS where the aws/vpc
module includes all network related resources including security groups.
Thanks!
Security groups for controller nodes were broken when experimental was false
because they attempted to reference the self-hosted etcd secrurity group
which doesn't exist in that configuration.
This change consolidates all security groups into their own openstack module
to ensure that shared groups are only created once per plan. Both the self-
hosted and non-self-hosted etcd security groups need to be created so that
references to them resolve even if they ultimately aren't used due to
the conditional logic from tectonic_experimental.