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

Seyeong Kim seyeong.kim at canonical.com
Thu Jul 19 07:44:24 UTC 2018


** Patch added: "lp1776375_bionic.debdiff"
   https://bugs.launchpad.net/aodh/+bug/1776375/+attachment/5165197/+files/lp1776375_bionic.debdiff

** Description changed:

  [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. 
+ 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

** Description changed:

  [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. 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

-- 
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.

  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. 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