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

Bug #709187 reported by Édouard Thuleau
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Marc Cluet
nova (Ubuntu)
Fix Released
Medium
Unassigned

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.

Thierry Carrez (ttx)
tags: added: ubuntu
Revision history for this message
Robert Roth (evfool) wrote :

Which version of ubuntu do You use? Which version of nova?

Revision history for this message
Édouard Thuleau (ethuleau) wrote :

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

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 709187] Re: AjaxTerm refer to a unexistant folder "tools" with the Ubuntu packaging

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.
>
>

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Thierry Carrez (ttx) wrote :

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).

Changed in nova (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Brian Lamar (blamar) wrote :

This is currently handled by a patch during deb generation, but I still think it's a bug: A clean fix IMO would involve packaging ajaxterm and using it as a dependency instead of copying it to the nova tools folder. It's not currently in pypi, so would an acceptable fix be to get ajaxterm packaged separately and added as a nova dependency?

Dave Walker (davewalker)
tags: added: server-o-rs
Marc Cluet (lynxman)
Changed in nova:
assignee: nobody → Marc Cluet (lynxman)
Revision history for this message
Marc Cluet (lynxman) wrote :

This was fixed in the Apr 15th patch as mentioned by Brian, looks good to me

Changed in nova:
status: Confirmed → Fix Released
Changed in nova (Ubuntu):
status: Confirmed → Fix Released
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.