-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scenarios/ost/keystone/lp1896125: better detection of the LP#1896125 (#…
…757) the previous revision of the scenario was tied to the specific keystone versions which impedes the scenario's ability to detect the bug in other keystone versions. the new revision will detect the bug regardless of the keystone version. Closes #756 Signed-off-by: Mustafa Kemal Gilor <[email protected]>
- Loading branch information
Showing
8 changed files
with
141 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-16-30-99-should-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:16.30.99-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: | ||
https://bugs.launchpad.net/bugs/1896125: >- | ||
Known Keystone bug identified that causes Denial-of-Service when | ||
LDAP connection pooling is enabled via use_pool=True. This bug may | ||
manifest itself in LDAP operations such as OpenStack dashboard login | ||
failures. It is recommended to upgrade to the next point release | ||
available for the package. To workaround LDAP login failure problem, | ||
disable LDAP pooling by setting `ldap-use-pool` to `false` for *all* | ||
deployed `keystone-ldap` applications in charmed deployments. For | ||
non-charmed deployments, set `use_pool` to `false` in the LDAP domain | ||
/etc/keystone/domains/*.conf file. |
23 changes: 23 additions & 0 deletions
23
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-17-0-0-should-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:17.0.0-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: | ||
https://bugs.launchpad.net/bugs/1896125: >- | ||
Known Keystone bug identified that causes Denial-of-Service when | ||
LDAP connection pooling is enabled via use_pool=True. This bug may | ||
manifest itself in LDAP operations such as OpenStack dashboard login | ||
failures. It is recommended to upgrade to the next point release | ||
available for the package. To workaround LDAP login failure problem, | ||
disable LDAP pooling by setting `ldap-use-pool` to `false` for *all* | ||
deployed `keystone-ldap` applications in charmed deployments. For | ||
non-charmed deployments, set `use_pool` to `false` in the LDAP domain | ||
/etc/keystone/domains/*.conf file. |
13 changes: 13 additions & 0 deletions
13
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-17-0-1-should-not-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:17.0.1-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: # none |
13 changes: 13 additions & 0 deletions
13
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-17-0-2-should-not-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:17.0.2-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: # none |
23 changes: 23 additions & 0 deletions
23
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-18-0-0-should-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:18.0.0-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: | ||
https://bugs.launchpad.net/bugs/1896125: >- | ||
Known Keystone bug identified that causes Denial-of-Service when | ||
LDAP connection pooling is enabled via use_pool=True. This bug may | ||
manifest itself in LDAP operations such as OpenStack dashboard login | ||
failures. It is recommended to upgrade to the next point release | ||
available for the package. To workaround LDAP login failure problem, | ||
disable LDAP pooling by setting `ldap-use-pool` to `false` for *all* | ||
deployed `keystone-ldap` applications in charmed deployments. For | ||
non-charmed deployments, set `use_pool` to `false` in the LDAP domain | ||
/etc/keystone/domains/*.conf file. |
13 changes: 13 additions & 0 deletions
13
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125-18-0-1-should-not-raise.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
target-name: lp1896125.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii keystone 2:18.0.1-0ubuntu0.20.04.1 amd64 | ||
var/log/keystone/keystone.log: | | ||
Traceback (most recent call last): | ||
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__ | ||
return next(self.gen) | ||
File "/usr/lib/python3/dist-packages/ldappool/__init__.py", line 391, in connection | ||
raise MaxConnectionReachedError(self.uri) | ||
ldappool.MaxConnectionReachedError: ldaps://ldapserver.example.com | ||
raised-bugs: # none |
20 changes: 0 additions & 20 deletions
20
hotsos/defs/tests/scenarios/openstack/keystone/bugs/lp1896125.yaml
This file was deleted.
Oops, something went wrong.