novnc-by-default-from-package

Bug #1249815 reported by Ilya Kharin
This bug report is a duplicate of:  Bug #1248923: Devstack install is failing:. Edit Remove
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Unassigned

Bug Description

The change (https://review.openstack.org/#/c/54251/) that install the novnc from package by default was merged to the branch of master. After that I've got a problem to install the devstack from master because the novnc package requires the nova-common package by dependency. This package provides /etc/nova/api-paste.ini with nova:nova permissions on it. So, the process of nova-api that runned from not the nova user has got the "Permission denied" error. It's tested on Ubuntu 12.04 LTS.

The traceback from the window of the screen:

:~/devstack$ cd /opt/stack/nova && /usr/local/bin/nova-api
2013-11-10 17:14:51.557 22876 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-paste.ini load_app /opt/stack/nova/nova/wsgi.py:485
2013-11-10 17:14:51.558 22876 CRITICAL nova [-] [Errno 13] Permission denied: '/etc/nova/api-paste.ini'
2013-11-10 17:14:51.558 22876 TRACE nova Traceback (most recent call last):
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/local/bin/nova-api", line 10, in <module>
2013-11-10 17:14:51.558 22876 TRACE nova sys.exit(main())
2013-11-10 17:14:51.558 22876 TRACE nova File "/opt/stack/nova/nova/cmd/api.py", line 49, in main
2013-11-10 17:14:51.558 22876 TRACE nova max_url_len=16384)
2013-11-10 17:14:51.558 22876 TRACE nova File "/opt/stack/nova/nova/service.py", line 308, in __init__
2013-11-10 17:14:51.558 22876 TRACE nova self.app = self.loader.load_app(name)
2013-11-10 17:14:51.558 22876 TRACE nova File "/opt/stack/nova/nova/wsgi.py", line 486, in load_app
2013-11-10 17:14:51.558 22876 TRACE nova return deploy.loadapp("config:%s" % self.config_path, name=name)
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2013-11-10 17:14:51.558 22876 TRACE nova return loadobj(APP, uri, name=name, **kw)
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
2013-11-10 17:14:51.558 22876 TRACE nova global_conf=global_conf)
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
2013-11-10 17:14:51.558 22876 TRACE nova global_conf=global_conf)
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 317, in _loadconfig
2013-11-10 17:14:51.558 22876 TRACE nova loader = ConfigLoader(path)
2013-11-10 17:14:51.558 22876 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 393, in __init__
2013-11-10 17:14:51.558 22876 TRACE nova with open(filename) as f:
2013-11-10 17:14:51.558 22876 TRACE nova IOError: [Errno 13] Permission denied: '/etc/nova/api-paste.ini'
2013-11-10 17:14:51.558 22876 TRACE nova

Dependencies of the novnc package:

~/devstack$ apt-cache depends novnc
novnc
  Depends: libc6
  Depends: python-novnc
  Depends: python
  Depends: nova-common
  Depends: python-numpy
  Depends: adduser
  Conflicts: novnc:i386

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.