[Bug 1776375] Re: Making gnocchi resource support multiple projects with the same name
OpenStack Infra
1776375 at bugs.launchpad.net
Fri Jul 6 11:34:10 UTC 2018
Reviewed: https://review.openstack.org/580586
Committed: https://git.openstack.org/cgit/openstack/aodh/commit/?id=91c094529fc3d825421e2e5e3839d8946c91ae94
Submitter: Zuul
Branch: stable/queens
commit 91c094529fc3d825421e2e5e3839d8946c91ae94
Author: Seyeong Kim <seyeong.kim at canonical.com>
Date: Fri Jun 15 13:50:09 2018 +0900
Support same projects in different domain
Getting 500 error when there are same project name
in different domain.
Selecting one domain from service_credentials.
e.g. services(or service) projects are in default and service_domain
having differrent id. so this selects default's services project
instead of service_domain's services project
Change-Id: I3f12811684a49794bca87c4a10b18d45879da773
Closes-Bug: #1776375
** Tags added: in-stable-queens
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1776375
Title:
Making gnocchi resource support multiple projects with the same name
Status in Aodh:
Fix Released
Status in Ubuntu Cloud Archive:
New
Bug description:
[Impact]
There are 500 error when creating
AodhGnocchiAggregationByResourcesAlarm
If openstack env has the same projects name ( e.g. services ) in
different domain ( e.g. default, service_domain), It will get default
domain even if you want to choose service_domain.
[TestCase]
1. deploy openstack env (https://pastebin.ubuntu.com/p/3SXDQT9hWq/)
- juju run-action heat/0 domain-setup
2. create new domain, project, user, role etc (https://pastebin.ubuntu.com/p/x8VDrzbWS3/)
3. create image, flavor, network if needed
4. source testrc (https://pastebin.ubuntu.com/p/b25bSY3ktf/)
5. openstack keypair create testkey > ~/testkey.pem; chmod 600 ~/testkey.pem;
6. prepare stack templates
web.yaml(https://pastebin.ubuntu.com/p/vr6brGjqbp/)
lb_server.yaml(https://pastebin.ubuntu.com/p/mmJ39VsCg6/)
7. openstack stack create -t ./web.yaml asg --wait
[Regression]
This patch changes aodh code for gnocchi resource. this patch adds new option for gnocchi resource setting, User should set this properly. After this patch, restarting aodh(apache2) services. this causes short service unavailable.
[Others]
To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1776375/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list