Bug #1106

wrong path in oneacct

Added by olivier sallou over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:02/03/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:CLI
Target version:-
Resolution:duplicate Pull request:
Affected Versions:OpenNebula 3.2

Description

In one 3.2 debian package, the script oneacct use a wrong path to load ruby files:

ONE_LOCATION=ENV['ONE_LOCATION']
$: << ONE_LOCATION+'/lib'
$: << ONE_LOCATION+'lib/cli'

But:
1) if ONE_LOCATION is not set in env, it fails
2) path in system path is wrong:
correct path is
ONE_LOCATION='/usr/lib/one/ruby/' (+cli)


Related issues

Duplicates Bug #1063: oneacct does not work in systemwide installations Closed 01/18/2012

History

#1 Updated by Javi Fontan over 9 years ago

  • Category set to CLI
  • Status changed from New to Closed
  • Resolution set to duplicate

Check bug #1063. It comes with a new oneacct executable to fix this problem.

Also available in: Atom PDF