Bug #1555788 reported by Devdatta Kulkarni
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Devdatta Kulkarni
Changed in solum:
assignee: nobody → Devdatta Kulkarni (devdatta-kulkarni)
importance: Undecided → Critical
milestone: none → next-mitaka
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

2:08 devkulkarni: I've run into that- it's caused by the config-generator encountering a conf.register call more than once, once via the oslo.config.opts hook and then in oslo.config.opts.defaults.
2:08 At least, in that case it was.
2:08 (in my case)
2:09 The fix I had to implement was make sure the oslo.config.opts.defaults hook is in a file that in no way registers a new config.
2:09 krotscheck : there's a config parameter in their copy of log.py to
2:09 too
2:09 that was my initial suspicion
2:09 krotscheck: oh okay
2:10 if that doesn't work... I got nothin'.
2:10 krotscheck: do you have the patch/code where you implemented this handy?
2:10 devkulkarni: Not explicitly, but sahara had a similar problem. Lemme find it.
2:10 I can try that
2:10 krotscheck: cool
2:11 dims_: *looking at log.py*
2:11 devkulkarni: https://review.openstack.org/#/c/287368/1..3
2:11 krotscheck: patch 287368 - sahara - Moved CORS middleware configuration into oslo-conf... (MERGED)
2:11 You'll note that I had to add a new package and file.
2:11 krotscheck: thanks for the patch. looking
2:12 e0ne [~e0ne@] entered the room.
2:13 krotscheck: ok got it. let me try that

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

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

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

Reviewed: https://review.openstack.org/291419
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=5bea1d2547e8d2e4cac44d0523507ab59e467b4b
Submitter: Jenkins
Branch: master

commit 5bea1d2547e8d2e4cac44d0523507ab59e467b4b
Author: Devdatta Kulkarni <email address hidden>
Date: Thu Mar 10 14:40:17 2016 -0600

    Workaround for oslo duplicate config issue

    Providing sample config instead of generating it,
    since config generation is running into trouble
    as outlined in the bug description.

    This is a workaround till we identify the root
    cause of the issue and address it.

    Change-Id: Ide4cbbe711a5c48fd1ff93251037c0b8b16f385d
    Related-Bug: #1555788

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to solum (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/291900

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to solum (master)

Reviewed: https://review.openstack.org/291900
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=118be211577941a3de120e1311caaf5c38b0a6c1
Submitter: Jenkins
Branch: master

commit 118be211577941a3de120e1311caaf5c38b0a6c1
Author: Ronald Bradford <email address hidden>
Date: Fri Mar 11 20:18:32 2016 +0000

    Workaround debug DuplicateOptError with generator

    The oslo-config-generator error is caused by including
    oslo.middleware.cors in the generator file. A workaround for
    bringing in same named options twice is to ensure Oslo Log incubator
    options attributes match those of Oslo Log.

    Change-Id: I11b9b29d186e4ea33e0559264c42c5008a2ccbcd
    Related-Bug: #1555788

tags: added: solum-infra
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers