Ask Your Question
0

nova-vncproxy returns error: [Errno 13] Permission denied on startup

asked 2011-08-15 18:09:28 -0500

p-spencer-davis gravatar image

I'm trying to integrate noVNC into dashboard, but nova-vncproxy crashes on startup with the following errors:

2011-08-15 14:02:50,917 INFO nova.wsgi [-] Started VNC Proxy on 0.0.0.0:6080 2011-08-15 14:02:50,917 INFO nova.wsgi [-] Starting TCP server /usr/bin/nova-vnc proxy on 0.0.0.0:843 2011-08-15 14:02:50,917 CRITICAL nova [-] [Errno 13] Permission denied (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-vncproxy", line 117, in <module> (nova): TRACE: server.start_tcp(handle_flash_socket_policy, 843, host=FLAGS. vncproxy_host) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/wsgi.py", line 119, in start_tcp (nova): TRACE: socket = eventlet.listen((host, port), backlog=backlog) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py" , line 38, in listen (nova): TRACE: sock.bind(addr) (nova): TRACE: File "/usr/lib/python2.7/socket.py", line 224, in meth (nova): TRACE: return getattr(self._sock,name)(*args) (nova): TRACE: error: [Errno 13] Permission denied (nova): TRACE:

Here is my /etc/nova/nova.conf:

RabbitMQ

--rabbit_host=10.192.30.137

MySQL

--sql_connection=mysql://nova:*@10.192.30.137/nova

Networking

--network_manager=nova.network.manager.VlanManager --vlan_interface=eth1 --public_interface=eth0 --network_host=10.192.30.137 --routing_source_ip=10.192.30.137 --fixed_range=172.16.0.0/16 --network_size=1024 --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --user_ipv6=false

Virtualization

--libvirt_type=kvm

Volumes

--iscsi_ip_prefix=10.192.30.137 --num_targets=100

APIs

--auth_driver=nova.auth.dbdriver.DbDriver --cc_host=10.192.30.137 --ec2_url=http://10.192.30.137:8773/services/Cloud --s3_host=10.192.30.137 --s3_dmz=10.192.30.137

Image service

#--glance_host=10.192.30.137 --glance_api_servers=10.192.30.137:9292 --image_service=nova.image.glance.GlanceImageService

Misc

--logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose

VNC Console

--vnc_enabled=true --vncproxy_url=http://10.192.30.137:6080 --vnc_console_proxy_url=http://10.192.30.137:6080

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2011-08-15 19:18:20 -0500

p-spencer-davis gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-08-15 18:45:01 -0500

vishvananda gravatar image

It doesn't have access to port 443 which it is trying to use for the flash proxy. This needs to be addressed, but for now you can workaround it by running it as root.

Vish

On Aug 15, 2011, at 11:11 AM, P Spencer Davis wrote:

New question #168067 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I'm trying to integrate noVNC into dashboard, but nova-vncproxy crashes on startup with the following errors:

2011-08-15 14:02:50,917 INFO nova.wsgi [-] Started VNC Proxy on 0.0.0.0:6080 2011-08-15 14:02:50,917 INFO nova.wsgi [-] Starting TCP server /usr/bin/nova-vnc proxy on 0.0.0.0:843 2011-08-15 14:02:50,917 CRITICAL nova [-] [Errno 13] Permission denied (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-vncproxy", line 117, in <module> (nova): TRACE: server.start_tcp(handle_flash_socket_policy, 843, host=FLAGS. vncproxy_host) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/wsgi.py", line 119, in start_tcp (nova): TRACE: socket = eventlet.listen((host, port), backlog=backlog) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py" , line 38, in listen (nova): TRACE: sock.bind(addr) (nova): TRACE: File "/usr/lib/python2.7/socket.py", line 224, in meth (nova): TRACE: return getattr(self._sock,name)(*args) (nova): TRACE: error: [Errno 13] Permission denied (nova): TRACE:

Here is my /etc/nova/nova.conf:

RabbitMQ

--rabbit_host=10.192.30.137

MySQL

--sql_connection=mysql://nova:*@10.192.30.137/nova

Networking

--network_manager=nova.network.manager.VlanManager --vlan_interface=eth1 --public_interface=eth0 --network_host=10.192.30.137 --routing_source_ip=10.192.30.137 --fixed_range=172.16.0.0/16 --network_size=1024 --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --user_ipv6=false

Virtualization

--libvirt_type=kvm

Volumes

--iscsi_ip_prefix=10.192.30.137 --num_targets=100

APIs

--auth_driver=nova.auth.dbdriver.DbDriver --cc_host=10.192.30.137 --ec2_url=http://10.192.30.137:8773/services/Cloud --s3_host=10.192.30.137 --s3_dmz=10.192.30.137

Image service

#--glance_host=10.192.30.137 --glance_api_servers=10.192.30.137:9292 --image_service=nova.image.glance.GlanceImageService

Misc

--logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose

VNC Console

--vnc_enabled=true --vncproxy_url=http://10.192.30.137:6080 --vnc_console_proxy_url=http://10.192.30.137:6080


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-15 18:09:28 -0500

Seen: 480 times

Last updated: Aug 15 '11