Rally bootstrap container needs /var/log/kolla/rally

Bug #1630377 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Christian Berendt

Bug Description

Traceback (most recent call last):
  File "/var/lib/kolla/venv/bin/rally-manage", line 10, in <module>
    sys.exit(main())
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/rally/cli/manage.py", line 72, in main
    return cliutils.run(sys.argv, categories)
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/rally/cli/cliutils.py", line 491, in run
    logging.setup("rally")
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/rally/common/logging.py", line 54, in setup
    oslogging.setup(CONF, product_name, version)
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_log/log.py", line 269, in setup
    _setup_logging_from_conf(conf, product_name, version)
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_log/log.py", line 366, in _setup_logging_from_conf
    filelog = file_handler(logpath)
  File "/usr/lib/python2.7/logging/handlers.py", line 391, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 913, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 943, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/var/log/kolla/rally/rally.log'

Hui Kang (huikang27)
Changed in kolla:
assignee: nobody → Hui Kang (huikang27)
Changed in kolla:
importance: Undecided → Low
status: New → In Progress
assignee: Hui Kang (huikang27) → Christian Berendt (berendt)
milestone: none → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/382074
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=1a79fb6032f5a6638b97772124ffaf233fd6e44c
Submitter: Jenkins
Branch: master

commit 1a79fb6032f5a6638b97772124ffaf233fd6e44c
Author: Christian Berendt <email address hidden>
Date: Tue Oct 4 23:30:29 2016 +0200

    Create /var/log/kolla/rally before running rally-manage db create/upgrade

    Change-Id: I6f88a4ecb4ba980836b4778252bb49731463f4eb
    Closes-bug: #1630377

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

This issue was fixed in the openstack/kolla 3.0.0.0rc2 release candidate.

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.