Tempest Plugin gives out DuplicateOptError

Bug #1621036 reported by Daniel Mellado
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Nishant Kumar
Gnocchi
Fix Released
Undecided
Nishant Kumar
Ironic Inspector
Fix Released
High
Nishant Kumar
Magnum
In Progress
Undecided
Nishant Kumar
Mistral
Fix Released
Medium
Nishant Kumar
Monasca
Fix Released
Undecided
Pallavi
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
Nishant Kumar
OpenStack DBaaS (Trove)
Fix Released
Undecided
Daniel Mellado
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Nishant Kumar
Vitrage
Fix Released
Undecided
Nishant Kumar
Zun
Fix Released
Undecided
Nishant Kumar
senlin
Fix Released
Undecided
Nishant Kumar
vmware-nsx
Fix Released
Undecided
Nishant Kumar
watcher
Fix Released
Medium
Nishant Kumar

Bug Description

When discovering Trove Tempest plugin, it gives out DuplicateOptError on oslo.config

2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins [-] Plugin trove_tests raised an exception trying to run register_opts
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins Traceback (most recent call last):
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/tmp/tempest/tempest/test_discover/plugins.py", line 93, in register_plugin_opts
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins plug.obj.register_opts(conf)
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/trove/tests/tempest/plugin.py", line 37, in register_opts
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins trove_config.ServiceAvailableGroup
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/tmp/tempest/tempest/config.py", line 42, in register_opt_group
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins conf.register_opt(opt, group=getattr(opt_group, 'name', None))
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2193, in __inner
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins result = f(self, *args, **kwargs)
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2338, in register_opt
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins return group._register_opt(opt, cli)
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1607, in _register_opt
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins if _is_opt_registered(self._opts, opt):
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 662, in _is_opt_registered
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins raise DuplicateOptError(opt.name)
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins DuplicateOptError: duplicate option: trove
2016-09-08 00:01:07.445 14632 ERROR tempest.test_discover.plugins

This just means that the same content is (still) in tempest.

Related branches

Changed in trove:
assignee: nobody → Daniel Mellado (daniel-mellado)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/366716

Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Daniel Mellado (<email address hidden>) on branch: master
Review: https://review.openstack.org/366716
Reason: Will post follow-up patch

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/366963

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/366963
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=04f334e5304ebc08183b6b5407d06613be035798
Submitter: Jenkins
Branch: master

commit 04f334e5304ebc08183b6b5407d06613be035798
Author: Daniel Mellado <email address hidden>
Date: Wed Sep 7 22:03:17 2016 +0200

    Stop adding ServiceAvailable group option

    This commit modifies the tempest plugin to avoid keep adding already
    existing option groups.

    Change-Id: Idc9e571b4b4f5fe15c4342547cecd69de52ab552
    Closes-Bug: #1621036

Changed in trove:
status: In Progress → Fix Released
Changed in ceilometer:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380210

Changed in ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/380210
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=6fbbed1daba85908d8e7f58610e4596f73382d89
Submitter: Jenkins
Branch: master

commit 6fbbed1daba85908d8e7f58610e4596f73382d89
Author: Nishant Kumar <email address hidden>
Date: Fri Sep 30 17:37:50 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I7822e1f5fd2fae8b34aeb1dd4eaf68d9ae03c8b0
    Closes-Bug: #1621036

Changed in ceilometer:
status: In Progress → Fix Released
Changed in freezer:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in gnocchi:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in manila:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in mistral:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in senlin:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380718

Changed in freezer:
status: New → In Progress
Changed in gnocchi:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380719

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380720

Changed in mistral:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380721

Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380722

Changed in vitrage:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vitrage (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380766

Changed in vitrage:
status: New → In Progress
Changed in mistral:
milestone: none → ocata-1
importance: Undecided → Medium
Changed in aodh:
assignee: nobody → Sharat Sharma (sharat-sharma)
status: New → In Progress
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to aodh (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380952

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380960

Changed in cinder:
assignee: nobody → Sharat Sharma (sharat-sharma)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/380721
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=cab2734a942698a915e57e132bdd138d6f8b40b3
Submitter: Jenkins
Branch: master

commit cab2734a942698a915e57e132bdd138d6f8b40b3
Author: Nishant Kumar <email address hidden>
Date: Sat Oct 1 12:58:37 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I570cb7c1d2e13318a102b9f01a85fd24ffb89f9a
    Closes-Bug: #1621036

Changed in mistral:
status: In Progress → Fix Released
Changed in watcher:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in zun:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/381016

Changed in zun:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.openstack.org/381024

Changed in watcher:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/380722
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=ee532d7cece223fca1e2f9b04b8a5d01de74ae09
Submitter: Jenkins
Branch: master

commit ee532d7cece223fca1e2f9b04b8a5d01de74ae09
Author: Nishant Kumar <email address hidden>
Date: Sat Oct 1 13:30:48 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: Ib7820829b12d9051bcc8af164600bffd3311196c
    Closes-Bug: #1621036

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/380719
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=811a8fd3ce4ff40bb3398835595c13529ed9f650
Submitter: Jenkins
Branch: master

commit 811a8fd3ce4ff40bb3398835595c13529ed9f650
Author: Nishant Kumar <email address hidden>
Date: Sat Oct 1 12:31:49 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I86a7cecbafb1785c9fc15a1d78fe2a79c5527bf1
    Closes-Bug: #1621036

Changed in gnocchi:
status: In Progress → Fix Committed
Pallavi (pallavi-s)
Changed in murano:
assignee: nobody → Pallavi (pallavi-s)
Pallavi (pallavi-s)
Changed in monasca:
assignee: nobody → Pallavi (pallavi-s)
Changed in magnum:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to monasca-api (master)

Fix proposed to branch: master
Review: https://review.openstack.org/381756

Changed in monasca:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/381016
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=645b7e0128bd7d9b07cc01d74dbd7a6e7ed3380f
Submitter: Jenkins
Branch: master

commit 645b7e0128bd7d9b07cc01d74dbd7a6e7ed3380f
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 3 15:21:03 2016 +0530

    Stop adding ServiceAvailable group option

    service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I7efc357969c71159bcc50f37f8304ee1b3538eb2
    Closes-Bug: #1621036

Changed in zun:
status: In Progress → Fix Released
Changed in watcher:
milestone: none → ocata-1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/380720
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=5041d4a710cc5e2a0295b13a613e5855a5807d78
Submitter: Jenkins
Branch: master

commit 5041d4a710cc5e2a0295b13a613e5855a5807d78
Author: Nishant Kumar <email address hidden>
Date: Sat Oct 1 12:50:39 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I9680abe0a177a80860ec6ba1dbacc04fac41758d
    Closes-Bug: #1621036

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (master)

Reviewed: https://review.openstack.org/380718
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=73f09ad70515b9af12d54fd4ef51b5ce5239186e
Submitter: Jenkins
Branch: master

commit 73f09ad70515b9af12d54fd4ef51b5ce5239186e
Author: Nishant Kumar <email address hidden>
Date: Sat Oct 1 12:22:34 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I4ac4c0f3bf8edf9e454b73946e923772cbcf52a7
    Closes-Bug: #1621036

Changed in freezer:
status: In Progress → Fix Released
Changed in magnum:
assignee: Nishant Kumar (nishant-tech07) → nobody
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in vmware-nsx:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in ironic-inspector:
assignee: nobody → Nishant Kumar (nishant-tech07)
Changed in bgpvpn:
assignee: nobody → Nishant Kumar (nishant-tech07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-inspector (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384346

Changed in ironic-inspector:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vmware-nsx (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384350

Changed in vmware-nsx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-bgpvpn (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384375

Changed in bgpvpn:
status: New → In Progress
Changed in magnum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384376

Changed in bgpvpn:
assignee: Nishant Kumar (nishant-tech07) → Thomas Morin (tmmorin-orange)
Changed in murano:
importance: Undecided → Low
milestone: none → ocata-1
status: New → Confirmed
Dmitry Tantsur (divius)
Changed in ironic-inspector:
importance: Undecided → High
Changed in bgpvpn:
milestone: none → 5.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-bgpvpn (master)

Reviewed: https://review.openstack.org/384375
Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=3ee534fcadc9607ddc0f1d757066d1e4d0f5620d
Submitter: Jenkins
Branch: master

commit 3ee534fcadc9607ddc0f1d757066d1e4d0f5620d
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 10 14:37:04 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I0adb294c029565bc86c366891304224888513d24
    Closes-Bug: #1621036

Changed in bgpvpn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-inspector (master)

Reviewed: https://review.openstack.org/384346
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=ad24055498c321a4e1f468d00833425b4c7a9cea
Submitter: Jenkins
Branch: master

commit ad24055498c321a4e1f468d00833425b4c7a9cea
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 10 13:27:10 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I930e53e4934d72ed76735847581932fd227be2f0
    Closes-Bug: #1621036

Changed in ironic-inspector:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/381024
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=631e1398a12db1da539a993fa5dc791cc8a54c29
Submitter: Jenkins
Branch: master

commit 631e1398a12db1da539a993fa5dc791cc8a54c29
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 3 13:30:49 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I2096ed1f69a1f70fbf248fee5fded94e3caca6c6
    Closes-Bug: #1621036

Changed in watcher:
status: In Progress → Fix Released
no longer affects: bgpvpn
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-bgpvpn 5.0.0

This issue was fixed in the openstack/networking-bgpvpn 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 0.32.0

This issue was fixed in the openstack/watcher 0.32.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 3.0.0.0b1

This issue was fixed in the openstack/senlin 3.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 4.0.0.0b1

This issue was fixed in the openstack/mistral 4.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Adrian Otto (<email address hidden>) on branch: master
Review: https://review.openstack.org/384376
Reason: Marking this as abandoned due to >30 days of inactivity. You are welcome to un-abandon this and submit a revision, but it's too stale for reviewers to consider it for merge.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.0.0b1

This issue was fixed in the openstack/manila 4.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-bgpvpn 5.0.0

This issue was fixed in the openstack/networking-bgpvpn 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vitrage (master)

Reviewed: https://review.openstack.org/380766
Committed: https://git.openstack.org/cgit/openstack/vitrage/commit/?id=01125f2c48810c27eff3d94270721820edca35fe
Submitter: Jenkins
Branch: master

commit 01125f2c48810c27eff3d94270721820edca35fe
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 10 15:06:53 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: I608925ea6f15c302279a688d9f32e3e7688d12b6
    Closes-Bug: #1621036

Changed in vitrage:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/freezer 4.0.0.0b2

This issue was fixed in the openstack/freezer 4.0.0.0b2 development milestone.

no longer affects: aodh
no longer affects: cinder
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to monasca-api (master)

Reviewed: https://review.openstack.org/381756
Committed: https://git.openstack.org/cgit/openstack/monasca-api/commit/?id=4a6c2201152f8aa254923ac73df0b9a4dd378e4c
Submitter: Jenkins
Branch: master

commit 4a6c2201152f8aa254923ac73df0b9a4dd378e4c
Author: pallavi <email address hidden>
Date: Tue Oct 4 17:53:33 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: Ia02b23afebe0e41a197a34dccefb0a7f564a057f
    Closes-Bug: #1621036

Changed in monasca:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/vitrage 1.4.0

This issue was fixed in the openstack/vitrage 1.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (master)

Reviewed: https://review.openstack.org/384350
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=ea974706743ffb5e0a0c56f52dceb26dde6ddbe5
Submitter: Jenkins
Branch: master

commit ea974706743ffb5e0a0c56f52dceb26dde6ddbe5
Author: Nishant Kumar <email address hidden>
Date: Mon Oct 10 13:08:36 2016 +0530

    Stop adding ServiceAvailable group option

    Service available group already exists.Therefore we don't need to
    register this group here again.

    Change-Id: Ie4597e7faa87c768d19b1192a9a81e20c6f22637
    Closes-Bug: #1621036

Changed in vmware-nsx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 8.0.0

This issue was fixed in the openstack/ceilometer 8.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/gnocchi 3.1.0

This issue was fixed in the openstack/gnocchi 3.1.0 release.

gordon chung (chungg)
Changed in gnocchi:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-inspector 5.0.0

This issue was fixed in the openstack/ironic-inspector 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/monasca-api 1.6.0

This issue was fixed in the openstack/monasca-api 1.6.0 release.

Changed in murano:
milestone: 3.1.0 → pike-2
Changed in murano:
milestone: pike-2 → pike-rc1
zhurong (zhu-rong)
no longer affects: murano
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.