Bug #2016

Bug in install.sh for 4.0 not properly installing files (notably DB migrator)

Added by Simon Boulet about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:05/09/2013
Priority:HighDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:invalid Pull request:
Affected Versions:OpenNebula 4.0

Description

I'm using a custom Debian packaging script that relies on ./install.sh.

My issue was that the 3.9.90 to 4.0.0 DB migrator was not properly being packaged.

Line 1029 of install.sh you can see a reference to src/onedb/3.9.80_to_4.0.0.rb. This file doesn't exist (at least not from release-4.0). The migrator files are 3.9.80_to_3.9.90.rb , and 3.9.90_to_4.0.0.rb.

Here the warning/errors I was getting from install.sh:

cp: cannot stat `x/src/onedb/3.9.80_to_4.0.0.rb': No such file or directory
cp: cannot stat `x/share/install_novnc.sh': No such file or directory
cp: cannot stat `x/src/sunstone/models/SunstonePlugins.rb': No such file or directory
cp: cannot stat `x/src/sunstone/public/js/monitoring.js': No such file or directory
cp: cannot stat `x/src/sunstone/etc/sunstone-plugins.yaml': No such file or directory

I fixed the naming of the DB migrator files, but couldn't find any of the last 4 files, and assumed they no longer exist in 4.0.

History

#1 Updated by Simon Boulet about 8 years ago

Sorry, investigating further I think I improperly rebased against release-4.0. You can ignore this issue.

Simon

#2 Updated by Carlos Martín about 8 years ago

  • Status changed from Pending to Closed
  • Resolution set to invalid

Also available in: Atom PDF