[Bug 1776375] Re: [SRU] Making gnocchi resource support multiple projects with the same name
Seyeong Kim
seyeong.kim at canonical.com
Tue Aug 14 05:10:14 UTC 2018
Hello,
I verified that bionic are working fine.
Thanks.
dpkg -l | grep aodh
ii aodh-api 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - API server
ii aodh-common 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - common files
ii aodh-evaluator 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - alarm evaluator
ii aodh-expirer 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - expirer
ii aodh-listener 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - listener
ii aodh-notifier 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - alarm notifier
ii python-aodh 6.0.1-0ubuntu1.1 all OpenStack Telemetry (Ceilometer) Alarming - Python libraries
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
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:
[SRU] Making gnocchi resource support multiple projects with the same
name
Status in Aodh:
Fix Released
Status in Ubuntu Cloud Archive:
Triaged
Status in Ubuntu Cloud Archive ocata series:
Triaged
Status in Ubuntu Cloud Archive pike series:
Fix Committed
Status in Ubuntu Cloud Archive queens series:
Fix Committed
Status in Ubuntu Cloud Archive rocky series:
Triaged
Status in aodh package in Ubuntu:
Fix Released
Status in aodh source package in Bionic:
Fix Committed
Status in aodh source package in Cosmic:
Fix Released
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.
This is affected to O, P, Q and Bionic ( but Ocata backporting is in
progress, there is testing error so I didn't put it here )
[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. adjust configuration
- gnocchi_external_project_owner = services below [api] on aodh.conf
gnocchi_external_domain_name = service_domain
- insert belows on credentials
project_domain_name = service_domain
user_domain_name = service_domain
8. 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]
master commit link
https://github.com/openstack/aodh/commit/e923493e4feec239c9fe9b58736960a40e373bee
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