Adding compute node fails if >1 security group
Bug #1923490 reported by
Paul Bakoyiannis
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
New
|
Undecided
|
Unassigned |
Bug Description
Adding a second compute node to the cluster fails if there is more than one security group. The script runs the command to list security groups under the assumption that there is only one. It then attempts to find and add default rules while supplying a list of security groups as the group id parameter to the command.
Attempting to add a second compute node to the cluster continued to fail for various reasons - this is the only one I've solved so far. After these attempts networking broke on my main cluster node, which I cannot yet say definitely it was due to this process, but things point in that direction.
To post a comment you must log in.
I'm facing the same issue, there is my log output:
DEBUG - Error while executing command: No SecurityGroup found for 40512d18- 5d68-4611- a31c-1a23aab863 02
2021-05-21 15:36:57,281 - microstack_init - DEBUG - 7d06f08c- 587c-4e46- 9635-c90cb5dffb 8e
2021-05-21 15:36:57,281 - microstack_init - DEBUG - 8fa2e710- d3e8-4602- 800e-dd201efcdf 44
Traceback (most recent call last): microstack/ 233/bin/ microstack" , line 11, in <module> entry_point( 'microstack= =0.0.1' , 'console_scripts', 'microstack')() microstack/ 233/lib/ python3. 8/site- packages/ microstack/ main.py" , line 44, in main microstack/ 233/lib/ python3. 8/site- packages/ init/main. py", line 60, in wrapper microstack/ 233/lib/ python3. 8/site- packages/ init/main. py", line 227, in init microstack/ 233/lib/ python3. 8/site- packages/ init/questions/ question. py", line 210, in ask microstack/ 233/lib/ python3. 8/site- packages/ init/questions/ __init_ _.py", line 907, in yes 'openstack' , 'security', 'group', 'rule', 'create', microstack/ 233/lib/ python3. 8/site- packages/ init/shell. py", line 69, in check CalledProcessEr ror(proc. returncode, " ".join(args)) CalledProcessEr ror: Command 'openstack security group rule create 40512d18- 5d68-4611- a31c-1a23aab863 02 587c-4e46- 9635-c90cb5dffb 8e d3e8-4602- 800e-dd201efcdf 44 --proto icmp' returned non-zero exit status 1.
File "/snap/
load_
File "/snap/
cmd()
File "/snap/
return func(*args, **kwargs)
File "/snap/
question.ask()
File "/snap/
self.yes(awr)
File "/snap/
check(
File "/snap/
raise subprocess.
subprocess.
7d06f08c-
8fa2e710-