[Bug 1776375] Re: [SRU] Making gnocchi resource support multiple projects with the same name

Corey Bryant corey.bryant at canonical.com
Wed Sep 19 07:17:01 UTC 2018


This bug was fixed in the package aodh - 6.0.1-0ubuntu1.1~cloud0
---------------

 aodh (6.0.1-0ubuntu1.1~cloud0) xenial-queens; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 aodh (6.0.1-0ubuntu1.1) bionic; urgency=medium
 .
   * d/p/0001-Support-same-projects-in-different-domain.patch
     - Support same projects in different domain (LP: #1776375)


** Changed in: cloud-archive/queens
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in Ubuntu Cloud Archive ocata series:
  Triaged
Status in Ubuntu Cloud Archive pike series:
  Fix Released
Status in Ubuntu Cloud Archive queens series:
  Fix Released
Status in Ubuntu Cloud Archive rocky series:
  Fix Released
Status in aodh package in Ubuntu:
  Fix Released
Status in aodh source package in Bionic:
  Fix Released
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