Commit d9189dba authored by Łukasz Nowak's avatar Łukasz Nowak

Revert "rapid-cdn: Relax promise constraint"

This reverts commit b6f08b9e.

Because this promise is relaxed, it leads to situation, that slaves are not
prepared, and no more processing would be needed.

Most possibly much more advanced logic is required.

This revertion is created to store the finding.

The error is like:

======================================================================
FAIL: test_https_url (test.TestSlave)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart33/t/dwd/soft/5dab459bdda9e53f1db7e0d954b37126/parts/slapos-repository/software/rapid-cdn/test/test.py", line 4792, in test_https_url
    self.assertEqual(
AssertionError: b'---[25 chars]nMIIDKjCCAhKgAwIBAgIUXLVeJJwHEQDnyJAbiqOlk7qkN[1100 chars]--\n' != b'---[25 chars]nMIIDVzCCAj+gAwIBAgIUJ99OAJ5qFcT5shJYBLHmdHKFu[1162 chars]--\n't
parent e078f206
......@@ -26,11 +26,11 @@ md5sum = 6af1b5abd03894ecc8d3c5aa46a76b10
[profile-master]
filename = instance-master.cfg.in
md5sum = 8baf0f22b8f92ca54965bffa594f1f0c
md5sum = 33e92cfe3c35499dcd0095423d3c1b45
[profile-slave-list]
filename = instance-slave-list.cfg.in
md5sum = 52b752dbac369a47f3f3114cca411851
md5sum = 96bd66e98c7b4492ab4aba46e0e14e13
[profile-master-publish-slave-information]
filename = instance-master-publish-slave-information.cfg.in
......
......@@ -1079,11 +1079,6 @@ name = publish-failsafe-error.py
config-filename = ${check-publish-failsafe-error:file}
config-state = empty
config-url = ${check-publish-failsafe-error-publish:url}
config-failure-amount = 5
config-result-count = 5
# It shall bang, as republishing has a chance to fix it, and in order to
# republish the instance has to reprocess
config-report-anomaly = False
[logrotate-setup-validate]
<= jinja2-template-base
......
......@@ -685,6 +685,3 @@ promise = check_file_state
name = ${:_buildout_section_name_}.py
config-filename = ${key-download-url-ready:output}
config-state = empty
config-failure-amount = 5
config-result-count = 5
config-report-anomaly = True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment