[Openstack-devel] nova-manage: Fails to list users

Loic Dachary loic at enovance.com
Wed Feb 22 13:42:11 UTC 2012


Hi,

Would you be so kind as to file these problems as bugs against the corresponding packages ? This will ensure they get an answer, eventually.

Cheers

On 02/22/2012 01:00 AM, Alexey Eromenko wrote:
> Debian-testing / wheezy:
>
> myuser at nova-server1:~$ nova-manage user list
> Traceback (most recent call last):
>   File "/usr/bin/nova-manage", line 2376, in <module>
>     main()
>   File "/usr/bin/nova-manage", line 2316, in main
>     logging.setup()
>   File "/usr/lib/python2.7/dist-packages/nova/log.py", line 349, in setup
>     logging.root = NovaRootLogger("nova")
>   File "/usr/lib/python2.7/dist-packages/nova/log.py", line 284, in __init__
>     NovaLogger.__init__(self, name, level)
>   File "/usr/lib/python2.7/dist-packages/nova/log.py", line 142, in __init__
>     self.setup_from_flags()
>   File "/usr/lib/python2.7/dist-packages/nova/log.py", line 299, in
> setup_from_flags
>     self.filelog = WatchedFileHandler(logpath)
>   File "/usr/lib/python2.7/logging/handlers.py", line 386, in __init__
>     logging.FileHandler.__init__(self, filename, mode, encoding, delay)
>   File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
>     StreamHandler.__init__(self, self._open())
>   File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
>     stream = open(self.baseFilename, self.mode)
> IOError: [Errno 13] Permission denied: '/var/log/nova/nova-manage.log'
>
> Workas as root:
>
> root at nova-server1:~# nova-manage user list
> novaadmin
>
> root at nova-server1:~# dpkg -l | grep nova
> ii  nova-api                              2012.1~e3-4
>   OpenStack Compute - API frontend
> ii  nova-common                           2012.1~e3-4
>   OpenStack Compute - common files
> ii  nova-compute                          2012.1~e3-4
>   OpenStack Compute - compute node
> ii  nova-compute-kvm                      2012.1~e3-4
>   OpenStack Compute - compute node (KVM)
> ii  nova-doc                              2012.1~e3-4
>   OpenStack Compute - documentation
> ii  nova-network                          2012.1~e3-4
>   OpenStack Compute - Network manager
> ii  nova-objectstore                      2012.1~e3-4
>   OpenStack Compute - object store
> ii  nova-scheduler                        2012.1~e3-4
>   OpenStack Compute - virtual machine scheduler
> ii  nova-volume                           2012.1~e3-4
>   OpenStack Compute - storage
> ii  python-nova                           2012.1~e3-4
>   OpenStack Compute - libraries
> ii  python-novaclient                     1:2012.1~e3-1
>   client library for OpenStack Compute API
>


-- 
Loïc Dachary         Chief Research Officer
// eNovance labs   http://labs.enovance.com
// ✉ loic at enovance.com  ☎ +33 1 49 70 99 82




More information about the Openstack-devel mailing list