Activity log for bug #1831181

Date Who What changed Old value New value Message
2019-05-31 03:28:06 Jorge Niedbalski bug added bug
2019-05-31 03:28:31 Jorge Niedbalski bug task added aodh
2019-05-31 03:28:40 Jorge Niedbalski aodh: assignee Jorge Niedbalski (niedbalski)
2019-05-31 03:28:43 Jorge Niedbalski aodh (Ubuntu): assignee Jorge Niedbalski (niedbalski)
2019-05-31 03:29:03 Jorge Niedbalski bug task added charm-aodh
2019-05-31 03:29:10 Jorge Niedbalski charm-aodh: assignee Jorge Niedbalski (niedbalski)
2019-05-31 03:30:22 Jorge Niedbalski charm-aodh: status New In Progress
2019-05-31 03:30:25 Jorge Niedbalski aodh (Ubuntu): status New In Progress
2019-05-31 21:38:54 Jorge Niedbalski bug task added charm-interface-keystone
2019-05-31 21:39:11 Jorge Niedbalski charm-interface-keystone: status New In Progress
2019-05-31 21:39:16 Jorge Niedbalski charm-interface-keystone: assignee Jorge Niedbalski (niedbalski)
2019-06-03 16:37:41 Jorge Niedbalski nominated for series Ubuntu Bionic
2019-06-03 16:37:41 Jorge Niedbalski bug task added aodh (Ubuntu Bionic)
2019-06-03 16:37:41 Jorge Niedbalski nominated for series Ubuntu Disco
2019-06-03 16:37:41 Jorge Niedbalski bug task added aodh (Ubuntu Disco)
2019-06-03 16:37:41 Jorge Niedbalski nominated for series Ubuntu Eoan
2019-06-03 16:37:41 Jorge Niedbalski bug task added aodh (Ubuntu Eoan)
2019-06-03 16:37:41 Jorge Niedbalski nominated for series Ubuntu Xenial
2019-06-03 16:37:41 Jorge Niedbalski bug task added aodh (Ubuntu Xenial)
2019-06-03 16:37:41 Jorge Niedbalski nominated for series Ubuntu Cosmic
2019-06-03 16:37:41 Jorge Niedbalski bug task added aodh (Ubuntu Cosmic)
2019-06-03 19:16:50 Jorge Niedbalski aodh (Ubuntu Disco): assignee Jorge Niedbalski (niedbalski)
2019-06-03 19:16:52 Jorge Niedbalski aodh (Ubuntu Cosmic): assignee Jorge Niedbalski (niedbalski)
2019-06-03 19:16:54 Jorge Niedbalski aodh (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski)
2019-06-03 19:16:59 Jorge Niedbalski aodh (Ubuntu Xenial): assignee Jorge Niedbalski (niedbalski)
2019-06-03 20:08:26 Jorge Niedbalski aodh (Ubuntu Eoan): assignee Jorge Niedbalski (niedbalski)
2019-06-03 20:08:37 Jorge Niedbalski aodh (Ubuntu Eoan): status In Progress New
2019-06-03 20:14:49 Jorge Niedbalski bug task added cloud-archive
2019-06-11 15:07:53 Jorge Niedbalski charm-interface-keystone: status In Progress Fix Released
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/train
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/train
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/rocky
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/rocky
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/queens
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/queens
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/stein
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/stein
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/mitaka
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/mitaka
2019-06-11 15:38:33 Corey Bryant nominated for series cloud-archive/ocata
2019-06-11 15:38:33 Corey Bryant bug task added cloud-archive/ocata
2019-06-11 15:50:24 Corey Bryant aodh (Ubuntu Eoan): importance Undecided High
2019-06-11 15:50:24 Corey Bryant aodh (Ubuntu Eoan): status New Triaged
2019-06-11 15:50:51 Corey Bryant aodh (Ubuntu Eoan): importance High Medium
2019-06-11 15:52:01 Corey Bryant aodh (Ubuntu Disco): importance Undecided Medium
2019-06-11 15:52:01 Corey Bryant aodh (Ubuntu Disco): status New Triaged
2019-06-11 15:53:25 Corey Bryant aodh (Ubuntu Cosmic): importance Undecided Medium
2019-06-11 15:53:25 Corey Bryant aodh (Ubuntu Cosmic): status New Triaged
2019-06-11 15:53:37 Corey Bryant aodh (Ubuntu Bionic): importance Undecided Medium
2019-06-11 15:53:37 Corey Bryant aodh (Ubuntu Bionic): status New Triaged
2019-06-11 15:54:49 Corey Bryant aodh (Ubuntu Xenial): importance Undecided Medium
2019-06-11 15:54:49 Corey Bryant aodh (Ubuntu Xenial): status New Triaged
2019-06-11 15:55:20 Corey Bryant cloud-archive/train: importance Undecided Medium
2019-06-11 15:55:20 Corey Bryant cloud-archive/train: status New Triaged
2019-06-11 15:55:32 Corey Bryant cloud-archive/stein: importance Undecided Medium
2019-06-11 15:55:32 Corey Bryant cloud-archive/stein: status New Triaged
2019-06-11 15:55:48 Corey Bryant cloud-archive/rocky: importance Undecided Medium
2019-06-11 15:55:48 Corey Bryant cloud-archive/rocky: status New Triaged
2019-06-11 15:56:08 Corey Bryant cloud-archive/queens: importance Undecided Medium
2019-06-11 15:56:08 Corey Bryant cloud-archive/queens: status New Triaged
2019-06-11 15:56:26 Corey Bryant cloud-archive/ocata: importance Undecided Medium
2019-06-11 15:56:26 Corey Bryant cloud-archive/ocata: status New Triaged
2019-06-11 15:56:47 Corey Bryant cloud-archive/mitaka: importance Undecided Medium
2019-06-11 15:56:47 Corey Bryant cloud-archive/mitaka: status New Triaged
2019-06-11 18:41:09 OpenStack Infra charm-aodh: status In Progress Fix Committed
2019-06-14 19:38:22 Jorge Niedbalski aodh (Ubuntu Xenial): assignee Jorge Niedbalski (niedbalski)
2019-06-14 19:39:27 Jorge Niedbalski aodh (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski)
2019-06-14 19:39:38 Jorge Niedbalski aodh (Ubuntu Cosmic): assignee Jorge Niedbalski (niedbalski)
2019-06-14 19:39:50 Jorge Niedbalski aodh (Ubuntu Disco): assignee Jorge Niedbalski (niedbalski)
2019-06-26 23:13:31 Jorge Niedbalski aodh (Ubuntu Eoan): status Triaged Fix Committed
2019-06-26 23:13:59 Jorge Niedbalski aodh (Ubuntu Disco): assignee Jorge Niedbalski (niedbalski)
2019-06-26 23:14:13 Jorge Niedbalski aodh (Ubuntu Cosmic): assignee Jorge Niedbalski (niedbalski)
2019-06-26 23:15:21 Jorge Niedbalski bug task deleted aodh (Ubuntu Xenial)
2019-06-26 23:20:54 Jorge Niedbalski aodh (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski)
2019-06-26 23:21:31 Jorge Niedbalski attachment added Disco SRU debdiff https://bugs.launchpad.net/ubuntu/bionic/+source/aodh/+bug/1831181/+attachment/5273607/+files/lp1831181-disco.debdiff
2019-06-26 23:21:49 Jorge Niedbalski attachment added Cosmic SRU debdiff https://bugs.launchpad.net/ubuntu/bionic/+source/aodh/+bug/1831181/+attachment/5273608/+files/lp1831181-cosmic.debdiff
2019-06-26 23:22:14 Jorge Niedbalski attachment added Bionic SRU Debdiff https://bugs.launchpad.net/ubuntu/bionic/+source/aodh/+bug/1831181/+attachment/5273609/+files/lp1831181-bionic.debdiff
2019-06-27 00:21:28 Ubuntu Foundations Team Bug Bot tags patch
2019-06-27 00:21:40 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2019-06-27 20:42:58 Jorge Niedbalski tags patch patch sts-sru-needed
2019-07-08 19:00:45 Corey Bryant aodh (Ubuntu Cosmic): status Triaged Won't Fix
2019-07-16 13:04:17 Corey Bryant cloud-archive/train: status Triaged Fix Released
2019-07-22 21:13:28 Jorge Niedbalski aodh (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski)
2019-07-22 21:13:41 Jorge Niedbalski aodh (Ubuntu Disco): assignee Jorge Niedbalski (niedbalski)
2019-07-22 21:13:54 Jorge Niedbalski aodh (Ubuntu Cosmic): assignee Jorge Niedbalski (niedbalski)
2019-07-22 21:14:12 Jorge Niedbalski bug task deleted aodh (Ubuntu Cosmic)
2019-07-22 21:19:49 Jorge Niedbalski description [Environment] Xenial/Queens [Description] If no user_domain_id is provided then, the following exception will be raised by the aodh-notifier component: $ openstack alarm-history show 1424b6fb-1d9d-4d69-b00a-ad455aad0ecb ==> /var/log/aodh/aodh-notifier.log <== 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 201, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self._plugin.get_auth_ref(session, **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 63, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier authenticated=False, log=False) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self.request(url, 'POST', **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 737, in request 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier raise exceptions.from_response(resp, method, url) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier NotFound: (http://10.5.0.36:35357/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-50d54903-d2af-4fd1-be68-a92498d91b85) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier Domain configuration for the aodh service is as follows: root@juju-95497c-controller-1:/home/ubuntu# grep domain /etc/aodh/aodh.conf gnocchi_external_domain_name = service_domain project_domain_name = service_domain user_domain_name = service_domain ### Explanation The following line https://github.com/openstack/aodh/blob/master/aodh/keystone_client.py#L51 enforces the existence of the user_domain_id for getting the authenticated keystone session. [Proposed Solution] * Use user_domain_name as a fallback if no user_domain_id is provided. * The charm templates should provide only user_domain_id if provided orelse fallback to user_domain_name. [Environment] Xenial/Queens [Description] If no user_domain_id is provided then, the following exception will be raised by the aodh-notifier component: $ openstack alarm-history show 1424b6fb-1d9d-4d69-b00a-ad455aad0ecb ==> /var/log/aodh/aodh-notifier.log <== 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 201, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self._plugin.get_auth_ref(session, **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 63, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier authenticated=False, log=False) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self.request(url, 'POST', **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 737, in request 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier raise exceptions.from_response(resp, method, url) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier NotFound: (http://10.5.0.36:35357/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-50d54903-d2af-4fd1-be68-a92498d91b85) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier Domain configuration for the aodh service is as follows: root@juju-95497c-controller-1:/home/ubuntu# grep domain /etc/aodh/aodh.conf gnocchi_external_domain_name = service_domain project_domain_name = service_domain user_domain_name = service_domain [Test Case] 1) Configure aodh service with the following configuration root@juju-95497c-controller-1:/home/ubuntu# grep domain /etc/aodh/aodh.conf gnocchi_external_domain_name = service_domain project_domain_name = service_domain user_domain_name = service_domain 2) Check the alarm history ubuntu@niedbalski-bastion:~/cases/229352$ openstack alarm-history show 1424b6fb-1d9d-4d69-b00a-ad455aad0ecb ==> /var/log/aodh/aodh-notifier.log <== 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 201, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self._plugin.get_auth_ref(session, **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 63, in get_auth_ref 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier authenticated=False, log=False) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848, in post 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier return self.request(url, 'POST', **kwargs) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 737, in request 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier raise exceptions.from_response(resp, method, url) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier NotFound: (http://10.5.0.36:35357/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-50d54903-d2af-4fd1-be68-a92498d91b85) 2019-05-31 02:07:26.663 15274 ERROR aodh.notifier *** With the patch applied the latest traceback doesn't gets generated. [Regression Potential] * None has been identified ### Explanation The following line https://github.com/openstack/aodh/blob/master/aodh/keystone_client.py#L51 enforces the existence of the user_domain_id for getting the authenticated keystone session. [Proposed Solution] * Use user_domain_name as a fallback if no user_domain_id is provided. * The charm templates should provide only user_domain_id if provided orelse fallback to user_domain_name.
2019-07-30 18:15:52 Brian Murray aodh (Ubuntu Disco): status Triaged Fix Committed
2019-07-30 18:15:56 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2019-07-30 18:15:58 Brian Murray bug added subscriber SRU Verification
2019-07-30 18:16:03 Brian Murray tags patch sts-sru-needed patch sts-sru-needed verification-needed verification-needed-disco
2019-08-05 22:21:20 Jorge Niedbalski tags patch sts-sru-needed verification-needed verification-needed-disco patch sts-sru-needed verification-done verification-done-disco
2019-08-06 20:07:50 Dan Streetman bug added subscriber STS Sponsors
2019-08-06 20:08:03 Dan Streetman tags patch sts-sru-needed verification-done verification-done-disco patch sts-sponsor sts-sru-needed verification-done verification-done-disco
2019-08-06 20:14:17 Dan Streetman tags patch sts-sponsor sts-sru-needed verification-done verification-done-disco patch sts-sru-needed verification-done verification-done-disco
2019-08-06 20:14:24 Dan Streetman removed subscriber STS Sponsors
2019-08-07 09:23:50 James Page charm-aodh: milestone 19.07
2019-08-07 12:52:48 James Page cloud-archive/stein: status Triaged Fix Committed
2019-08-07 12:52:50 James Page tags patch sts-sru-needed verification-done verification-done-disco patch sts-sru-needed verification-done verification-done-disco verification-stein-needed
2019-08-07 15:04:28 Sahid Orentino attachment added RESULT-TEST-PROPOSED https://bugs.launchpad.net/ubuntu/+source/aodh/+bug/1831181/+attachment/5281443/+files/RESULT-TEST-PROPOSED
2019-08-07 15:05:10 Sahid Orentino tags patch sts-sru-needed verification-done verification-done-disco verification-stein-needed patch sts-sru-needed verification-done verification-done-disco verification-stein-done
2019-08-08 08:27:42 Launchpad Janitor aodh (Ubuntu Disco): status Fix Committed Fix Released
2019-08-08 08:27:47 Ɓukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-08-12 21:17:42 David Ames charm-aodh: status Fix Committed Fix Released
2019-08-13 14:38:27 Corey Bryant bug added subscriber Ubuntu Stable Release Updates Team
2019-08-13 18:21:25 Brian Murray aodh (Ubuntu Bionic): status Triaged Fix Committed
2019-08-13 18:21:31 Brian Murray tags patch sts-sru-needed verification-done verification-done-disco verification-stein-done patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-stein-done
2019-08-13 18:45:09 Corey Bryant cloud-archive/rocky: status Triaged Fix Committed
2019-08-13 18:45:11 Corey Bryant tags patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-stein-done patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-rocky-needed verification-stein-done
2019-08-13 19:49:05 Brian Murray removed subscriber Ubuntu Sponsors Team
2019-08-27 20:37:18 Corey Bryant cloud-archive/queens: status Triaged Fix Committed
2019-08-27 20:37:21 Corey Bryant tags patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-rocky-needed verification-stein-done patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-queens-needed verification-rocky-needed verification-stein-done
2019-09-02 19:49:16 Jorge Niedbalski tags patch sts-sru-needed verification-done-disco verification-needed verification-needed-bionic verification-queens-needed verification-rocky-needed verification-stein-done patch sts-sru-done verification-done verification-done-bionic verification-done-disco verification-queens-done verification-rocky-done verification-stein-done
2019-09-03 18:31:23 Launchpad Janitor aodh (Ubuntu Bionic): status Fix Committed Fix Released
2019-09-09 14:34:14 Corey Bryant cloud-archive/stein: status Fix Committed Fix Released
2019-09-09 14:35:07 Corey Bryant cloud-archive/rocky: status Fix Committed Fix Released
2019-09-09 14:36:22 Corey Bryant cloud-archive/queens: status Fix Committed Fix Released
2019-09-23 14:35:58 Corey Bryant aodh (Ubuntu Eoan): status Fix Committed Fix Released