Openstack: possible security group name conflicts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Medium
|
Unassigned | ||
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Setup two Juju environments for Openstack, where one environment has an arbitrary name and where the second environment has the same name as the first envronment followed by "-nnn", where nnn is a number. In the example below, I used the names "playground-abel" and "playground-
Each deployed machine gets its own Openstack security group, where the security group name is "juju-<
With the example environment names, this means that the environment "playgrond-abel" uses the security groups "juju-playgroun
Depending on which environment is bootstrapped first, the configuration of the security group "juju-playgroun
Example output:
$ juju bootstrap -e playground-abel
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| ff8859dc-
+------
$ nova secgroup-list
+------
| Id | Name | Description |
+------
| 99426 | default | default |
| 126060 | juju-playground
| 126061 | juju-playground
+------
$ nova secgroup-list-rules juju-playground
+------
| IP Protocol | From Port | To Port | IP Range | Source Group |
+------
| tcp | 22 | 22 | 0.0.0.0/0 | |
| tcp | 37017 | 37017 | 0.0.0.0/0 | |
| tcp | 17070 | 17070 | 0.0.0.0/0 | |
| tcp | 1 | 65535 | | juju-playground
| udp | 1 | 65535 | | juju-playground
| icmp | -1 | -1 | | juju-playground
+------
$ nova secgroup-list-rules juju-playground
<empty output>
$ juju bootstrap -e playground-abel-0
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| a2a8f149-
| ff8859dc-
+------
$ nova secgroup-list
+------
| Id | Name | Description |
+------
| 99426 | default | default |
| 126060 | juju-playground
| 126061 | juju-playground
| 126062 | juju-playground
+------
$ nova secgroup-list-rules juju-playground
<empty output>
$ juju destroy-environment -e playground-abel-0
$ juju destroy-environment -e playground-abel
$ nova secgroup-delete juju-playground
$ nova secgroup-delete juju-playground
$ nova secgroup-delete juju-playground
$ juju bootstrap -e playground-abel-0
$ nova secgroup-list
+------
| Id | Name | Description |
+------
| 99426 | default | default |
| 126063 | juju-playground
| 126064 | juju-playground
+------
$ nova secgroup-list-rules juju-playground
+------
| IP Protocol | From Port | To Port | IP Range | Source Group |
+------
| tcp | 22 | 22 | 0.0.0.0/0 | |
| tcp | 37017 | 37017 | 0.0.0.0/0 | |
| tcp | 17070 | 17070 | 0.0.0.0/0 | |
| tcp | 1 | 65535 | | juju-playground
| udp | 1 | 65535 | | juju-playground
| icmp | -1 | -1 | | juju-playground
+------
$ juju bootstrap -e playground-abel
$ nova secgroup-list
+------
| Id | Name | Description |
+------
| 99426 | default | default |
| 126065 | juju-playground
| 126063 | juju-playground
| 126064 | juju-playground
+------
$ nova secgroup-list-rules juju-playground
+------
| IP Protocol | From Port | To Port | IP Range | Source Group |
+------
| tcp | 22 | 22 | 0.0.0.0/0 | |
| tcp | 37017 | 37017 | 0.0.0.0/0 | |
| tcp | 17070 | 17070 | 0.0.0.0/0 | |
| tcp | 1 | 65535 | | juju-playground
| udp | 1 | 65535 | | juju-playground
| icmp | -1 | -1 | | juju-playground
+------
description: | updated |
Changed in juju-core: | |
importance: | High → Medium |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
This issue overlaps with bug 1217595.