An error occurred fetching the project authors.
- 30 Oct, 2019 6 commits
-
-
Jérome Perrin authored
If slaprunner itself was installed on a slapos which had shared parts enabled, these shared parts will also be used while installing softwares inside the slaprunner. Because ${buildout:shared-part-list} is a multi line property, it was not possible to generate .cfg files (which needs special handling of multi-line strings) directly from software buildout (where jinja templates are not yet available), so we use a trick of generating a plain text file in software and parsing it during instance.
-
Jérome Perrin authored
Instead of having to copy and paste the "ssh command", having a clickable link is more user friendly. This integrates seamlessly with ChromeOS secure shell app (eventhough the app does not do anything with fingerprint as per version 0.19)
-
Jérome Perrin authored
Because this slapos often is executed when just running `slapos` at is in the $PATH, we should also consider special cases where users want to call this script with another $SLAPOS_CONFIGURATION. When $SLAPOS_CONFIGURATION is already set, ~/bin/slapos will not change it, it will only set it when not set.
-
Jérome Perrin authored
Because slaprunner might be instanciated in a different directory than the shell user $HOME (like in recursive SlapOS), it's necessary to set HOME to the base directory. For "bare metal" SlapOS, this would not make any difference.
-
Jérome Perrin authored
so that terminal uses terminfo from the same curses library.
-
Jérome Perrin authored
-
- 04 Oct, 2019 1 commit
-
-
Thomas Gambier authored
Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start: slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch RUNNING pid 27835, uptime 0:03:45 slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch EXITED Mar 06 04:52 PM To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe hash-existing-files list all the files used for hash that are not handled by buildout. For those files, the hash is calculated as soon as the __init__ function so that if there is a change in those files, buildout will remove the existing wrapper (it will uninstall the section) and replace it with the new wrapper. /reviewed-on nexedi/slapos!525
-
- 09 Sep, 2019 1 commit
-
-
Julien Muchembled authored
This is important for performance and it enables testless promises. For partitions that are instantiated successfully, let slapos decide when there's no parameter change (usually once a day). Instantiation can be forced on manual action in the UI.
-
- 11 Jul, 2019 1 commit
-
-
Rafael Monnerat authored
There are cases when the db isn't upgrade but the webrunner is, that the db migration may occur during the import, cause error for a certain period of time (until db inside runner0 is updated).
-
- 24 Jun, 2019 1 commit
-
-
Julien Muchembled authored
-
- 17 Jun, 2019 1 commit
-
-
Rafael Monnerat authored
Missing update from previous commits
-
- 26 Mar, 2019 1 commit
-
-
Guillaume Hervier authored
-
- 11 Mar, 2019 1 commit
-
-
Thomas Gambier authored
share parts with instance-runner.cfg /cc @rafael @Nicolas @alain.takoudjou /reviewed-on nexedi/slapos!527
-
- 10 Jan, 2019 1 commit
-
-
Thomas Gambier authored
-
- 07 Jan, 2019 1 commit
-
-
Jérome Perrin authored
Using `software11` breaks now that the version of the database was increased in nexedi/slapos.core!76 /reviewed-on nexedi/slapos!483
-
- 07 Dec, 2018 1 commit
-
-
Guillaume Hervier authored
/reviewed-on nexedi/slapos!465
-
- 03 Dec, 2018 1 commit
-
-
Nicolas Wavrant authored
We don't need ssl features in shellinabox as we make it listen on a unix socket. This allows to remove the dependency between shellinabox and openssl.
-
- 14 Nov, 2018 2 commits
-
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
- 13 Nov, 2018 1 commit
-
-
Guillaume Hervier authored
This should fix resiliency tests /reviewed-on nexedi/slapos!439
-
- 24 Oct, 2018 1 commit
-
-
Guillaume Hervier authored
-
- 12 Oct, 2018 1 commit
-
-
Nicolas Wavrant authored
usually, the software release path is : in a web runner : /srv/slapgrid/slappartXX/srv/runner/project/buildout.cfg in a test node : /srv/slapgrid/slappartX/srv/testnode/xx/inst/test0-XX/srv/runner/project/buldout.cfg the previous regex was replacing in all slappartX and test0-X by the new test0-Y which of course would make an existing path : /srv/slapgrid/test0-Y/.../test0-Y/... This commit only replace the latest occurence in order to have compatible code in the "normal" case, and in the test nodes
-
- 05 Oct, 2018 2 commits
-
-
Alain Takoudjou authored
Runner exporter failed with this message while checking if file changed during backup of instances files: < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb ./runner/instance/slappart2/srv/backup/pbs/slaprunner-slappart1-runner-1/backup.signature < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb ./runner/instance/slappart3/srv/backup/runner/backup.signature < 3226bab4cd318d30cfbde18e6530435dcae3205f94103384ce266c3c73d1afeb ./runner/instance/slappart5/srv/backup/runner/backup.signature 5248d5244 < bb3d96876d1d6cecee9878d835e7515215fc5d2a6ae6b647d0e7915c36700b54 ./runner/instance/slappart4/srv/backup/runner/backup.signature ERROR: Some backups are not consistent, exporter should be re-run. This is because instance in webrunner has also backup.signature the file is excluded while doing sha256sum on backup file: find -type f ! -name backup.signature -print0 | xargs -0 sha256sum | sort -k 66 > backup.signature A fix is to exclude backup.signature in `find`.
-
Alain Takoudjou authored
If instance/slappartXX is not a folder but file, skip chdir else import/export fail with a message like: /srv/slapgrid/slappart18/bin/runner-exporter run at : Thu Oct 4 04:30:03 CEST 2018 Traceback (most recent call last): File "<stdin>", line 17, in <module> OSError: [Errno 20] Not a directory: '/srv/slapgrid/slappart18/srv//runner/instance/slappart5-mariadb.dump.sql.gz'
-
- 03 Oct, 2018 2 commits
-
-
Alain Takoudjou authored
-
Julien Muchembled authored
-
- 28 Sep, 2018 1 commit
-
-
Alain Takoudjou authored
/reviewed-on nexedi/slapos!415
-
- 13 Sep, 2018 1 commit
-
-
Kirill Smelkov authored
kill -SIGXXX works only in bash and not when the shell is e.g. dash, for example: $ kill -SIGUSR1 1 /bin/sh: 2: kill: Illegal option -S This way log rotation for slapproxy.log & friends was not properly working. Fix it by using `kill -XXX` form which is supported everywhere. /reviewed-on nexedi/slapos!402
-
- 29 Aug, 2018 1 commit
-
-
Alain Takoudjou authored
On runner importer script, when updating database, set timeout to 5 seconds (same value as the default in python sqlite3 module: https://docs.python.org/2.7/library/sqlite3.html#sqlite3.connect). If database is locked by another process we wait a bit instead of raise immediately "database is locked". Importer script will raise if database is locked for more than 5 seconds. /reviewed-on nexedi/slapos!384
-
- 17 Aug, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 03 Aug, 2018 1 commit
-
-
Alain Takoudjou authored
the recipe slapos.cookbook:generate.password will install the password only after the [request-xx] was called for the first time. Then the second run of buildout the password can change as it was not stored yet. We use publish-early to make it persistent on master and avoid inconsistency between published password and stored one. /reviewed-on nexedi/slapos!370
-
- 30 Jul, 2018 2 commits
-
-
Alain Takoudjou authored
make sure password section is installed before request runner{0,1} and pbs instance for webrunner because the password is send in the request.
-
Alain Takoudjou authored
The path of software release in webrunner is like: `/srv/slapgrid/slappartXX/srv//runner/project/slapos/software/soft/software.cfg` because ~/srv directory in webrunner is set with a / at the end: Changing that path will modify the URL of software release in webrunner, this is why we should always keep it as: `/srv/slapgrid/slappartXX/srv//`
-
- 25 Jul, 2018 1 commit
-
-
Alain Takoudjou authored
This reverts commit 1c9075a1. The changes will be done on slapos.toolbox/runner to always create missing proxy.db file
-
- 24 Jul, 2018 1 commit
-
-
Alain Takoudjou authored
-
- 18 Jul, 2018 1 commit
-
-
Guillaume Hervier authored
-
- 22 Jun, 2018 2 commits
-
-
Rafael Monnerat authored
The webrunner user don't necessary uses webrunner to develop slapos, he can use webrunner to develop a new component, where instance is never created. If the software release don't instantiate instances, skip from continue and consider the restauration job done (data is copied, software is built).
-
Vincent Pelletier authored
Filename is split as an URL path, and joined in OS-dependent manner. Remove corresponding comment in all buildout.hash.cfg files.
-
- 12 Apr, 2018 2 commits
-
-
Alain Takoudjou authored
This reverts commit 1bdac5da. This commit breaks webrunner resilience importer. This is not the proper fix
-
Ivan Tyagov authored
Because of this: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos/grid/promise/generic.py#L44 When slapgrid run promises, it now save promise logs. Thus we need to logrotate them. Thanks @Alain.
-