Docs: Building Container Images in kolla - which tox.ini

Bug #1744453 reported by David Rabel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
David Rabel

Bug Description

The document starts basically with

pip install tox
tox -e genconfig

But there is no hint where the tox.ini is coming from. I did not find one in any kolla package, so I ran oslo-config-generator instead.

-----------------------------------
Release: 6.0.0.0b3.dev68 on 2018-01-17 11:43
SHA: dbbd4ef059f8e91e172d952ee1632632f8f14639
Source: https://git.openstack.org/cgit/openstack/kolla/tree/doc/source/admin/image-building.rst
URL: https://docs.openstack.org/kolla/latest/admin/image-building.html

Revision history for this message
Omar Muhtaseb (omarm) wrote :

You have to be inside the kolla directory in order to use this command.

cd kolla
tox -e genconfig

Chason Chan (chen-xing)
Changed in kolla:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
David Rabel (rabel-b1) wrote :

Which kolla directory? /usr/local/share/kolla ? There is no tox.ini .

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

Reviewed: https://review.openstack.org/538804
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=b8d8c21f8841b3de35c7437d545fc3c933039552
Submitter: Zuul
Branch: master

commit b8d8c21f8841b3de35c7437d545fc3c933039552
Author: chenxing <email address hidden>
Date: Mon Jan 29 15:02:54 2018 +0800

    Add one more step to generate kolla-build.conf file

    Change-Id: Ieaa516c8f18d42d0a8fd3f65ad6cf0b88d9c49ef
    Closes-Bug: #1744453

Changed in kolla:
status: Confirmed → Fix Released
Revision history for this message
David Rabel (rabel-b1) wrote :

As stated above there is no tox.ini in /usr/local/share/kolla . It is not clear in which directory you have to cd after installing tox. The patch is not fixing my issue nor answering my question.

I therefore reopen the bug report.

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

This issue was fixed in the openstack/kolla 6.0.0.0rc1 release candidate.

David Rabel (rabel-b1)
Changed in kolla:
assignee: nobody → David Rabel (rabel-b1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/564292
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=6f441ccd1bc1226a31884e735aeb80e248189ee6
Submitter: Zuul
Branch: master

commit 6f441ccd1bc1226a31884e735aeb80e248189ee6
Author: David Rabel <email address hidden>
Date: Wed Apr 25 19:19:29 2018 +0200

    Clarify how to generate kolla-build.conf in docs

    image-building.rst does not mention where to find the
    necessary files to generate kolla-build.conf with tox.

    This patch clarifies that you need to check out the git
    repository first and also that it is technically not
    necessary to generate the kolla-build.conf file.

    Change-Id: Ifd6ed216e5086b935ca399b1613319d67424d5ae
    Closes-Bug: #1744453

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

This issue was fixed in the openstack/kolla 7.0.0.0b2 development milestone.

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.