Bug #1106
wrong path in oneacct
Status: | Closed | Start date: | 02/03/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
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.