termie / nova-migration-demo

Nova is a cloud computing fabric controller (the main part of an IaaS system). It is written in Python.
http://openstack.org/projects/compute/
Apache License 2.0
2 stars 0 forks source link

AjaxTerm refer to a unexistant folder "tools" with the Ubuntu packaging #231

Open termie opened 13 years ago

termie commented 13 years ago

Using Ubuntu packages, when we request an ajax console, the driver try to access the folder /usr/lib/pymodules/python2.6/tools to lunch the command "ajaxterm.py". But this folder doesn't exist and isn't packaged with Nova.


Imported from Launchpad using lp2gh.

termie commented 13 years ago

(by evfool) Which version of ubuntu do You use? Which version of nova?

termie commented 13 years ago

(by edouard1-thuleau) Sorry, I use Ubuntu LTS 10.04 server and the trunk of Nova 2011.1~bzr635-0ubuntu0ppa1~lucid1

termie commented 13 years ago

(by vishvananda) I suspect this is being ignored by setup.py

On Jan 28, 2011, at 6:06 AM, Edouard Thuleau wrote:

Sorry, I use Ubuntu LTS 10.04 server and the trunk of Nova 2011.1~bzr635-0ubuntu0ppa1~lucid1

You received this bug notification because you are a member of Nova Bug Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/709187

Title: AjaxTerm refer to a unexistant folder "tools" with the Ubuntu packaging

Status in OpenStack Compute (Nova): New Status in “nova” package in Ubuntu: New

Bug description: Using Ubuntu packages, when we request an ajax console, the driver try to access the folder /usr/lib/pymodules/python2.6/tools to lunch the command "ajaxterm.py". But this folder doesn't exist and isn't packaged with Nova.

termie commented 13 years ago

(by ttx) No, it's not ignored by setup.py but tools/ is not installed in the Ubuntu packaging.

however there still is an issue in nova itself, I think: code is calling '%s/tools/ajaxterm/ajaxterm.py --command "%s" -t %s -p %s' % (utils.novadir(), ajaxterm_cmd, token, port)

This is valid when running from the tarball or the branch but does not degrade gracefully when you explode the package in FHS locations (ends up looking for the tools directory under /usr/lib/pymodules/python2.6/tools).