Remove the kolla-build.conf

Bug #1532066 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Martin André

Bug Description

https://review.openstack.org/263794
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/kolla" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 781eefeccf7f15475f62a68e1a837fce5415c530
Author: Jeffrey Zhang <email address hidden>
Date: Thu Jan 7 20:29:24 2016 +0800

    Remove the kolla-build.conf

    use tox -e genconfig to generate this file

    DocImpact

    Closes-Bug: #1531202
    Change-Id: I3a6e57c3cc48aeb3a45a055b173207ea6e214960

Tags: kolla
Revision history for this message
Hui Kang (huikang27) wrote :

I got the following error when I run tox -e genconfig

tox -e genconfig
genconfig develop-inst-noop: /root/development/kolla
genconfig runtests: PYTHONHASHSEED='168146209'
genconfig runtests: commands[0] | oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf
Traceback (most recent call last):
  File ".tox/genconfig/bin/oslo-config-generator", line 11, in <module>
    sys.exit(main())
  File "/root/development/kolla/.tox/genconfig/lib/python3.4/site-packages/oslo_config/generator.py", line 312, in main
    generate(conf)
  File "/root/development/kolla/.tox/genconfig/lib/python3.4/site-packages/oslo_config/generator.py", line 269, in generate
    for group, opts in listing:
  File "/root/development/kolla/kolla/common/config.py", line 240, in gen_all_source_opts
    for name, params in SOURCES.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
ERROR: InvocationError: '/root/development/kolla/.tox/genconfig/bin/oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf'

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

1. seem that u are using the py3, which doesn't support in the master code.
2. I had push a PS[0] to fix the py3 stuff.

[0] https://review.openstack.org/#/c/267282/

Steven Dake (sdake)
Changed in kolla:
status: New → Confirmed
importance: Undecided → Low
milestone: none → mitaka-3
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-3 → mitaka-rc1
Prithiv (prithiv)
Changed in kolla:
assignee: nobody → Prithiv (prithiv)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/291000
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3105580d39205bee6e17a2283161d18c6e7a892e
Submitter: Jenkins
Branch: master

commit 3105580d39205bee6e17a2283161d18c6e7a892e
Author: Martin André <email address hidden>
Date: Thu Mar 10 14:48:59 2016 +0900

    Provide instruction to generate kolla-build.conf

    Although not strictly mandatory, it's less confusing to have
    a kolla-build.conf file in /etc/kolla that users can modify it they
    want to customize their builds, rather than to rely on defaults
    settings and command line options.

    The `tox -e genconfig` was already documented in "Image building" doc.

    Change-Id: Ia44e6f28ce18601cdaba5109ea12cd50fa8372b2
    Closes-Bug: #1532066

Changed in kolla:
status: Confirmed → Fix Released
Martin André (mandre)
Changed in kolla:
assignee: Prithiv (prithiv) → Martin André (mandre)
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.