Project

General

Profile

Scénario #29853

Updated by Joël Cuissinat over 2 years ago

Suite du scénario #29644 qui avait abouti à une version fonctionnelle basée sur OpenNebula 5.10.1.

Certainement suite à une modification Ubuntu, l'instanciation du module n'est plus fonctionnelle depuis le 26 mars.

Dans les jobs 31 à 34 du test https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-instance-acahapy-2.8.0-amd64/, on voit l'erreur suivante :

<pre>
run-parts: executing /usr/share/eole/posttemplate/90-one-db instance
Mise à jour de la base de données ONE

Ignoring curb-0.9.10 because its extensions are not built. Try: gem pristine curb --version 0.9.10
Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.7
Ignoring ffi-1.11.1 because its extensions are not built. Try: gem pristine ffi --version 1.11.1
Ignoring mysql2-0.5.2 because its extensions are not built. Try: gem pristine mysql2 --version 0.5.2
Ignoring nokogiri-1.10.5 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.5
Ignoring ox-2.11.0 because its extensions are not built. Try: gem pristine ox --version 2.11.0
Ignoring sqlite3-1.4.1 because its extensions are not built. Try: gem pristine sqlite3 --version 1.4.1
Ignoring thin-1.7.2 because its extensions are not built. Try: gem pristine thin --version 1.7.2
AUTOMATE : Traceback dans la sortie console!
Traceback (most recent call last):
10: from /usr/bin/onedb:58:in `<main>'
9: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
8: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
7: from /usr/lib/one/ruby/onedb/onedb_live.rb:1:in `<top (required)>'
6: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
5: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
4: from /usr/lib/one/ruby/opennebula.rb:27:in `<top (required)>'
3: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
2: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
1: from /usr/lib/one/ruby/opennebula/xml_utils.rb:19:in `<top (required)>'
/usr/lib/one/ruby/opennebula/xml_utils.rb:144:in `<module:OpenNebula>': nokogiri gem not installed. (RuntimeError)
run-parts: /usr/share/eole/posttemplate/90-one-db exited with return code 1
</pre>

h3. Solutions à mettre en œuvre

* Trouver la source du problème et le corriger

h3. Critères d'acceptation

* Le module s'instancie de nouveau
* test https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-instance-acahapy-2.8.0-amd64/ passant
* test https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-importation-acahapy-2.8.0-amd64/ passant
* test https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-hapy-001-2.8.0-amd64/ passant

Back