Horizon logs: [Errno 13] Permission denied: '/tmp/parser_table.py'

Bug #1349934 reported by Timur Nurlygayanov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Murano
Won't Fix
High
Unassigned

Bug Description

Steps To Reproduce:
1. Install Murano and Murano dashboard.
2. Check log of web service.

Observed Result:
many errors about incorrect previlegies for file /tmp/parser_table.py:
[Errno 13] Permission denied: '/tmp/parser_table.py'

[Tue Jul 29 08:12:34 2014] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 329
[Tue Jul 29 08:12:34 2014] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.108.45.3
[Tue Jul 29 08:12:34 2014] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 143
[Tue Jul 29 08:12:37 2014] [error] INFO:muranodashboard.common.cache:Using apps cache directory located at /var/cache/muranodashboard-cache/apps
[Tue Jul 29 08:12:38 2014] [error] Unable to create '/tmp/parser_table.py'
[Tue Jul 29 08:12:38 2014] [error] [Errno 13] Permission denied: '/tmp/parser_table.py'
[Tue Jul 29 08:12:38 2014] [error] INFO:muranodashboard.dynamic_ui.services:Using cache directory located at /var/cache/muranodashboard-cache

tags: added: low-hanging-fruit
tags: added: dashboard
Changed in murano:
importance: Low → Critical
Changed in murano:
importance: Critical → High
ruhe (ruhe)
Changed in murano:
importance: High → Medium
Changed in murano:
importance: Medium → High
Changed in murano:
assignee: nobody → Praveen Boodagoli (veen-boodagoli)
assignee: Praveen Boodagoli (veen-boodagoli) → nobody
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

This file generates yaql module and there is no place, where this file get cleaned:

parser.py:

parser = yacc.yacc(debug=False, outputdir=tempfile.gettempdir(), tabmodule='parser_table')

ruhe (ruhe)
Changed in murano:
milestone: juno-3 → juno-rc1
ruhe (ruhe)
Changed in murano:
milestone: juno-rc1 → none
Changed in murano:
assignee: nobody → Alexis Munyandekwe (ndekwe)
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Guys. I can't reproduce the bug. It seems to me that it is very old and has been fixed since, without setting fixes-bug.

Can we mark it as Invalid or Inclomplete?

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Kirill, could you please describe the steps how you tried to reproduce the issue?

Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Sorry for late response.

I'm running murano-engine, murano-api and murano-dashboard from their respective master branches. So as stated in description:
1. Install Murano and Murano dashboard.
2. Check log of web service.

And I do not see any mentions in the log.

 Latest mentions of this bug in murano-ci logs date back to 2014. I'm pretty sure it was fixed somewhere along the way

Changed in murano:
milestone: none → liberty-1
Changed in murano:
status: Confirmed → Fix Released
Changed in murano:
status: Fix Released → Confirmed
Changed in murano:
milestone: liberty-1 → liberty-2
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Bug is not reproduced anymore

Changed in murano:
status: Confirmed → Invalid
Revision history for this message
Serg Melikyan (smelikyan) wrote :

Bug is not fixed, key idea is to run murano-dashboard under one user and than re-run under another user... file is created by user X and is not accessible for user Y. Fixed by 1.0

Changed in murano:
status: Invalid → Won't Fix
assignee: Alexis Munyandekwe (ndekwe) → nobody
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.