I attempted to export a sqlite3 database to the SQL format, but when I sended the task to the Grid engine (using jsub), the error log mentions sqlite3 is not found.
Description
Details
Event Timeline
I can confirm this behavior
chicocvenancio@tools-bastion-03:~$ sqlite3 --version
3.8.2 2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d
chicocvenancio@tools-bastion-03:~$ jsub sqlite3 --version
Your job 6611969 ("sqlite3") has been submitted
chicocvenancio@tools-bastion-03:~$ tail sqlite3.err
-bash: /usr/bin/sqlite3: No such file or directory
I confirm the package is not installed in the exec nodes.
@Chicocvenancio would you mind sending a small patch to add the package to modules/toollabs/manifests/exec_environ.pp?
I can review and merge it.
If not, I can handle this myself next week.
Change 436903 had a related patch set uploaded (by Chico Venancio; owner: Chico Venancio):
[operations/puppet@production] Toolforge: add sqlite3 package to exec_environ
Change 436903 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] Toolforge: add sqlite3 package to exec_environ
Mentioned in SAL (#wikimedia-cloud) [2018-06-04T10:28:43Z] <arturo> T196006 installing sqlite3 package in exec nodes
This produced some puppet errors in Toolforge:
aborrero@tools-bastion-02:~$ sudo puppet agent -t -v Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[sqlite3] is already declared in file /etc/puppet/modules/toollabs/manifests/dev_environ.pp:40; cannot redeclare at /etc/puppet/modules/toollabs/manifests/exec_environ.pp:112 at /etc/puppet/modules/toollabs/manifests/exec_environ.pp:112:5 on node tools-bastion-02.tools.eqiad.wmflabs Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Change 437216 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/puppet@production] toolforge: fix duplicated sqlite3 package declaration in toolforge bastions
Change 437216 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] toolforge: fix duplicated sqlite3 package declaration in toolforge bastions