← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1838811] Re: /opt/stack/devstack/tools/outfilter.py failing in neutron functional jobs since 8/2

 

Reviewed:  https://review.opendev.org/674426
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=86feb7916b6a69a7d4076cb3fc59e392ab1b73c1
Submitter: Zuul
Branch:    master

commit 86feb7916b6a69a7d4076cb3fc59e392ab1b73c1
Author: Jens Harbott <j.harbott@xxxxxxxx>
Date:   Fri Aug 2 21:21:52 2019 +0000

    Fix log directory permissions for functional job
    
    After [0] devstack no longer changes the ownership of the whole
    /opt/stack tree to the stack user unconditionally. So we need to create
    /opt/stack/logs with the correct owner directly.
    
    [0] https://review.opendev.org/203698
    
    Change-Id: I4597c83bfce6267ef93bb8f7b0de62fa3ac94db4
    Closes-Bug: 1838811


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1838811

Title:
  /opt/stack/devstack/tools/outfilter.py failing in neutron functional
  jobs since 8/2

Status in devstack:
  Confirmed
Status in neutron:
  Fix Released

Bug description:
  Seen here:

  https://logs.opendev.org/86/673486/4/gate/neutron-functional-
  python27/c3fe4df/ara-report/result/28d8d223-313a-49ba-b8aa-
  8af15fdda973/

  ++ ./stack.sh:main:500                      :   /opt/stack/devstack/tools/outfilter.py -v --no-timestamp -o /opt/stack/logs/devstacklog.txt.2019-08-02-160322
  Traceback (most recent call last):
    File "/opt/stack/devstack/tools/outfilter.py", line 104, in <module>
      sys.exit(main())
    File "/opt/stack/devstack/tools/outfilter.py", line 61, in main
      outfile = open(opts.outfile, 'ab', 0)
  IOError: [Errno 13] Permission denied: '/opt/stack/logs/devstacklog.txt.2019-08-02-160322'

  Looks like it's a result of:

  https://review.opendev.org/#/c/203698/

  Based on logstash data of that failure:

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22IOError%3A%20%5BErrno%2013%5D%20Permission%20denied%3A%20'%2Fopt%2Fstack%2Flogs%2Fdevstacklog.txt%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1838811/+subscriptions