slapos:b96cdf9cd8f1cf9d859c1a11594c267218d2ff43 commitshttps://lab.nexedi.com/nexedi/slapos/-/commits/b96cdf9cd8f1cf9d859c1a11594c267218d2ff432019-06-19T19:20:13+02:00https://lab.nexedi.com/nexedi/slapos/-/commit/b96cdf9cd8f1cf9d859c1a11594c267218d2ff43Some clean-up in the monitor stack and its use in ERP52019-06-19T19:20:13+02:00Julien Muchembledjm@nexedi.com
We'll add monitoring to NEO so some parts are also moved there from ERP5.https://lab.nexedi.com/nexedi/slapos/-/commit/a184cca8b860282dce28e36e12b7073086cf05f7Try to reuse existing file to avoid excessive IO on update + other minor opti...2019-06-19T18:53:00+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/685c2aa9f9a5d4d197265c0acd295d88e6135eeacaddy-frontend: Inform about how to add CA certificate2019-06-19T12:48:55+02:00Lukasz Nowakluke@nexedi.com
As apache-ca-certificate field is not implemented for caddy, inform how to
obtain required functionality.https://lab.nexedi.com/nexedi/slapos/-/commit/1698034e18b24c09eaba70b7b7eaff3e84ad8baffix "caddy-frontend: Update documentation according to current state"2019-06-19T12:46:24+02:00Lukasz Nowakluke@nexedi.com
ssl_ca_crt is still supported and needed in the UI, so put it back with
DEPRECATED information.https://lab.nexedi.com/nexedi/slapos/-/commit/6c4e40511bfcbee1e9621e452e0ac69b2946a5c0wendelin: v↑ wendelin.core (v0.13)2019-06-18T15:40:47+03:00Kirill Smelkovkirr@nexedi.com
/reviewed-by: TrustMehttps://lab.nexedi.com/nexedi/slapos/-/commit/d431f234ec2250c2a62ffc18ddd54a4712fbf9bfslaprunner: Update md5sum of instance-runner.cfg2019-06-17T19:25:25-03:00Rafael Monneratrafael@nexedi.com
Missing update from previous commitshttps://lab.nexedi.com/nexedi/slapos/-/commit/3e69b64beef1415494476b14f272277cffc22070[webrunner] use 1.0 branch in slapos repository2019-06-17T18:50:20+02:00Thomas Gambierthomas.gambier@nexedi.com
branch 1.0 is pinning the following repositories:
* erp5
* vifib
* wendelin
* wendelin.core
* neoppod-repository
For resiliency, it's better to pin the repositories (we want exactly the
same software on runner0 and runner1). If people wants to develop inside
one of those repositories, they will clone it inside srv/runner/project
directory and this will be sync on runner1.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/576" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/576" data-link="false" data-link-reference="true" data-project="15" data-merge-request="3049" data-project-path="nexedi/slapos" data-iid="576" data-mr-title="[webrunner] use 1.0 branch in slapos repository" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!576</a>https://lab.nexedi.com/nexedi/slapos/-/commit/622604360a1eececc30dc06439be64fac8dca67afix "caddy-frontend: Drop not needed apache references"2019-06-17T11:55:31+02:00Lukasz Nowakluke@nexedi.com
Rename was missing in buildout.hash.cfghttps://lab.nexedi.com/nexedi/slapos/-/commit/71ca6d4317678eafa099ed782835b080a8306501caddy-frontend: Drop not working promise2019-06-17T08:34:47+02:00Lukasz Nowakluke@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/575" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/575" data-link="false" data-link-reference="true" data-project="15" data-merge-request="3041" data-project-path="nexedi/slapos" data-iid="575" data-mr-title="caddy-frontend: Drop not working promise" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/slapos!575</a>https://lab.nexedi.com/nexedi/slapos/-/commit/05b1d21551a5e51087b2a9cf8560f799d667e9a7caddy-frontend: Put back certificates to input schemas2019-06-14T14:16:42+02:00Lukasz Nowakluke@nexedi.com
In "caddy-frontend: Implement KeDiFa SSL information" the certificates were
dropped from the schema, but still internally supported. This lead to missing
UI fields for still supported parameters.
Reintroduced them with OBSOLETE mark.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/574" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/574" data-link="false" data-link-reference="true" data-project="15" data-merge-request="3038" data-project-path="nexedi/slapos" data-iid="574" data-mr-title="caddy-frontend: Put back certificates to input schemas" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!574</a>https://lab.nexedi.com/nexedi/slapos/-/commit/c9279858ee2a0da39001c32ec6011a9fd34d346fStop treat warnings as errors. The problem is not in nginx itself but2019-06-12T12:48:06+02:00Ivan Tyagovivan@nexedi.com
nginx-push-stream-module still it prevents from compiling nginx.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/573" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/573" data-link="false" data-link-reference="true" data-project="15" data-merge-request="3027" data-project-path="nexedi/slapos" data-iid="573" data-mr-title="Stop treat warnings as errors. The problem is not in nginx itself but" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!573</a>https://lab.nexedi.com/nexedi/slapos/-/commit/15b371424b13c24cd0aaaa5e86da1d864ced17c6caddy-frontend: Log direct access to backend for cached slaves2019-06-12T11:55:19+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/9f55ce2c73c2bb90a7e0641d7363b6d6466c35dacaddy-frontend: Avoid repetition of parts2019-06-12T11:55:19+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/722a40a2a96e200af07f8448755286821fb40ceecaddy-frontend/test: Improve untilSlavePartitionReady2019-06-12T11:55:19+02:00Lukasz Nowakluke@nexedi.com
It is ready when all on-watch processes are not EXITED.https://lab.nexedi.com/nexedi/slapos/-/commit/b7f1d45bb0028c435895b4279577c40ef99f77dfcaddy-frontend/test: Make getSupervisorRPCServer classmethod2019-06-12T11:55:19+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/3a21eeed8218979ab03b700107fa3707e6b413e7version up: slapos.libnetworkcache 0.172019-06-07T21:46:52+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/93648a2a35355449b31d0cec89eeb4eed2beecf9Revert "Revert "Update slapos.core version""2019-06-07T13:02:42+02:00Thomas Gambierthomas.gambier@nexedi.com
This reverts commit <a href="/nexedi/slapos/-/commit/83e9bd45eb73186298d1cdfa54cb254469186086" data-original="83e9bd45eb73186298d1cdfa54cb254469186086" data-link="false" data-link-reference="false" data-project="15" data-commit="83e9bd45eb73186298d1cdfa54cb254469186086" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title='Revert "Update slapos.core version"' class="gfm gfm-commit has-tooltip">83e9bd45</a>https://lab.nexedi.com/nexedi/slapos/-/commit/4e29c3959a9ae21f4ccc2f49ffd7ca7a30fcefd1certificate_authority: unique_subject = no2019-06-06T14:58:34+02:00Thomas Gambierthomas.gambier@nexedi.com
"openssl ca" is keeping track of all generated certificates in its DB.
If we try to regenerate a certificate that was already generated,
openssl ca fails with :
ERROR:There is already a certificate for /C=XX/ST=(State,)/O=Company/CN=ca-shellinabox/emailAddress=xx@example.com
Changing "unique_subject" to no removes this ERROR.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/556" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/556" data-link="false" data-link-reference="true" data-project="15" data-merge-request="2923" data-project-path="nexedi/slapos" data-iid="556" data-mr-title="certificate_authority: unique_subject = no" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!556</a>https://lab.nexedi.com/nexedi/slapos/-/commit/75f3255ded7930da93404babe98bd509d308b773Update perl-URI version2019-06-06T12:25:00+02:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/6782c79148741572259d7db8bb0261e2c6b86271fix "caddy-frontend: Adapt to ATS 7"2019-06-06T11:00:30+02:00Lukasz Nowakluke@nexedi.com
Before normalize_ae_gzip was 0, and better keep it this way as it is
suspected root problem of incorrectly varianted cache depending on
client Accept-Encoding.https://lab.nexedi.com/nexedi/slapos/-/commit/5f7d7dcb0100aa8930afa642b39b076d554871c0Bump versions.2019-06-06T10:29:09+03:00Ivan Tyagovivan@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/83e9bd45eb73186298d1cdfa54cb254469186086Revert "Update slapos.core version"2019-06-06T09:06:44+09:00Vincent Pelletiervincent@nexedi.com
This reverts commit <a href="/nexedi/slapos/-/commit/8251f3ddee3edaab424cb8c94531608763217304" data-original="8251f3ddee3edaab424cb8c94531608763217304" data-link="false" data-link-reference="false" data-project="15" data-commit="8251f3ddee3edaab424cb8c94531608763217304" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Update slapos.core version" class="gfm gfm-commit has-tooltip">8251f3dd</a>.
1.4.23 is not available on pypi yet, causing all involved software releases
to fail instanciating, breaking all tests.
Feel free to reapply once the version is actually released.https://lab.nexedi.com/nexedi/slapos/-/commit/8251f3ddee3edaab424cb8c94531608763217304Update slapos.core version2019-06-05T16:49:56+02:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/f979c949931de8e8815fa624dda8f738352d5163caddy-frontend: Move out TODOs2019-06-05T15:43:05+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/b0d55ba2dc9cb9f6f2c23b49c02fa586f4b51f08ERP5: Add eggs useful for testing2019-06-05T12:20:56+02:00Jérome Perrinjerome@nexedi.com
[mock](<a href="https://docs.python.org/3/library/unittest.mock.html" rel="nofollow noreferrer noopener" target="_blank">https://docs.python.org/3/library/unittest.mock.html</a>) and [responses](<a href="https://github.com/getsentry/responses" rel="nofollow noreferrer noopener" target="_blank">https://github.com/getsentry/responses</a>).
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos/merge_requests/568" data-original="https://lab.nexedi.com/nexedi/slapos/merge_requests/568" data-link="false" data-link-reference="true" data-project="15" data-merge-request="3000" data-project-path="nexedi/slapos" data-iid="568" data-mr-title="ERP5: Add eggs useful for testing" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!568</a>https://lab.nexedi.com/nexedi/slapos/-/commit/2c68fedce92c88d1e2178d5d006460fe820bc96eERP5: disable unused beta plugin handlersocket in MariaDB2019-06-04T17:05:26+02:00Julien Muchembledjm@nexedi.com
Since we moved to MariaDB 10.3, that's actually already the case
because of --plugin-maturity=gammahttps://lab.nexedi.com/nexedi/slapos/-/commit/04eff73271839e4f02a11e8c93bafba2ffbe9481neoppod: remove usless version pin on mock2019-05-31T10:38:21+02:00Jérome Perrinjerome@nexedi.com
mock is only a test dependency for zobdurihttps://lab.nexedi.com/nexedi/slapos/-/commit/16cd5e6e95e7490fb1d3db67810edb68ee100c87erp5: add responses egg2019-05-31T10:38:20+02:00Jérome Perrinjerome@nexedi.com
<a href="https://github.com/getsentry/responses" rel="nofollow noreferrer noopener" target="_blank">https://github.com/getsentry/responses</a> A utility for mocking out the
Python Requests library.https://lab.nexedi.com/nexedi/slapos/-/commit/f8062da26f3fef50678902181dc6b52b87b5c106erp5: add mock egg2019-05-31T10:38:15+02:00Jérome Perrinjerome@nexedi.com
<a href="https://pypi.org/project/mock/" rel="nofollow noreferrer noopener" target="_blank">https://pypi.org/project/mock/</a> which is a backport of
<a href="https://docs.python.org/3/library/unittest.mock.html" rel="nofollow noreferrer noopener" target="_blank">https://docs.python.org/3/library/unittest.mock.html</a>https://lab.nexedi.com/nexedi/slapos/-/commit/5bd895ab34b98f876300776861446684e3e9a61ecaddy-frontend: Just read last validation state2019-05-31T09:27:25+02:00Lukasz Nowakluke@nexedi.com
Instead of expensive and long checking of the configuration during promise run
read last stored state.
This decouples configuration validation calculation from promise check. The
validation information is updated often (on each configuration change, on each
reload, etc) and every 2 hours.https://lab.nexedi.com/nexedi/slapos/-/commit/34d94cf626d82fd02502dcd24f310c34654bb697caddy-frontend: Improve validation with decoupled configuration state calcula...2019-05-31T09:27:25+02:00Lukasz Nowakluke@nexedi.com
Validation happens on each configuration change, but for sure it is checked
each 2 hours.
State of configuration is calculated in separate script.https://lab.nexedi.com/nexedi/slapos/-/commit/cce6ddbd21a3fc130772d51aa44e601c9144803dfix "caddy-frontend: Test bin/trafficserver-logrotate utility"2019-05-31T09:25:20+02:00Lukasz Nowakluke@nexedi.com
Order of files does not matter for the assertion.https://lab.nexedi.com/nexedi/slapos/-/commit/c533c361bb3e1dc68ea0b1dc291eaf5d96a48413caddy-frontend: Run kedifa-updater prepare w/o network requirement2019-05-30T18:34:41+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/2573a9da950858450dc2b384886480532257cc68caddy-frontend: Pick up recent kedifa2019-05-30T18:34:41+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/5cbaeecf104987688d7bc9dbe49ee7730e2c85bfcaddy-frontend: Test bin/trafficserver-logrotate utility2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/6a88557acf66d996c060236ffbe66f81bfe93f0eslapos-sr-testing: Use backports.lzma2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.com
Tests need to open xz files for checking.https://lab.nexedi.com/nexedi/slapos/-/commit/eeda8affe516d231f8790e78e032df6399a48e18component: Add backports.lzma2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos/-/commit/ae1508f589da7ced47ee11369f44b1658a213ef9caddy-frontend: Test etc/cron.d of partitions2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.com
It's interesting what appears in cron entries, as they are important for proper
partition usage.https://lab.nexedi.com/nexedi/slapos/-/commit/661161594eae34a00fc8e62baeb753bf3ac4648fcaddy-frontend: Improve _test_file_list2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.com
Always work from the slave_dir path for extensibility and allow no ignore
paths if caller does not need to ignore anything.https://lab.nexedi.com/nexedi/slapos/-/commit/e064e03c4416caa47b5795215f6dbe9b35b77e6efix "caddy-frontend/test: Ignore disappearing file"2019-05-30T08:59:56+02:00Lukasz Nowakluke@nexedi.com
Ignore path's shall be relative to checked directory.