tests can fail due to there being multiple security groups with the same name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
New
|
Medium
|
Unassigned |
Bug Description
In https:/
769s DEBUG (shell:822) Multiple security_group matches found for name '<email address hidden>', use an ID to be more specific. (HTTP 409) (Request-ID: req-8babe87a-
769s Traceback (most recent call last):
769s File "/usr/lib/
769s OpenStackComput
769s File "/usr/lib/
769s args.func(self.cs, args)
769s File "/usr/lib/
769s server = cs.servers.
769s File "/usr/lib/
769s return self._boot(
769s File "/usr/lib/
769s return self._create(
769s File "/usr/lib/
769s resp, body = self.api.
769s File "/usr/lib/
769s return self.request(url, 'POST', **kwargs)
769s File "/usr/lib/
769s raise exceptions.
769s novaclient.
We should probably just switch to using an ID instead of the name but there is also a question as to how we are getting multiple security groups with the same name.
There was a later exception with the following traceback:
769s Traceback (most recent call last): python3/ dist-packages/ novaclient/ shell.py" , line 820, in main eShell( ).main( argv) python3/ dist-packages/ novaclient/ shell.py" , line 742, in main python3/ dist-packages/ novaclient/ v2/shell. py", line 971, in do_boot create( *boot_args, **boot_kwargs) python3/ dist-packages/ novaclient/ v2/servers. py", line 1477, in create response_ key, *boot_args, **boot_kwargs) python3/ dist-packages/ novaclient/ v2/servers. py", line 836, in _boot '/servers' , body, response_key, python3/ dist-packages/ novaclient/ base.py" , line 363, in _create client. post(url, body=body) python3/ dist-packages/ keystoneauth1/ adapter. py", line 392, in post python3/ dist-packages/ novaclient/ client. py", line 69, in request ient, self).request(url, python3/ dist-packages/ keystoneauth1/ adapter. py", line 545, in request nAdapter, self).request( *args, **kwargs) python3/ dist-packages/ keystoneauth1/ adapter. py", line 248, in request request( url, method, **kwargs) python3/ dist-packages/ keystoneauth1/ session. py", line 913, in request python3/ dist-packages/ keystoneauth1/ session. py", line 1020, in _send_request ConnectFailure( msg) exceptions. connection. ConnectFailure: Unable to establish connection to https:/ /nova.ps5. canonical. com:8774/ v2.1/servers: ('Connection aborted.', RemoteDisconnec ted('Remote end closed connection without response'))
769s File "/usr/lib/
769s OpenStackComput
769s File "/usr/lib/
769s args.func(self.cs, args)
769s File "/usr/lib/
769s server = cs.servers.
769s File "/usr/lib/
769s return self._boot(
769s File "/usr/lib/
769s return self._create(
769s File "/usr/lib/
769s resp, body = self.api.
769s File "/usr/lib/
769s return self.request(url, 'POST', **kwargs)
769s File "/usr/lib/
769s resp, body = super(SessionCl
769s File "/usr/lib/
769s resp = super(LegacyJso
769s File "/usr/lib/
769s return self.session.
769s File "/usr/lib/
769s resp = send(**kwargs)
769s File "/usr/lib/
769s raise exceptions.
769s keystoneauth1.
I have an MP adding keystoneauth1. exceptions. connection. ConnectFailure to temp fails which will workaround the issue so this is less important but still worth addressing some day.