Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos
Commits
719f05a9
Commit
719f05a9
authored
Jul 09, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
057d3a46
ad0562fc
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
163 additions
and
194 deletions
+163
-194
setup.py
setup.py
+1
-1
slapos/recipe/pbs.py
slapos/recipe/pbs.py
+3
-9
software/erp5testnode/testsuite/instance-kvm-resilient-test.cfg.jinja2
...testnode/testsuite/instance-kvm-resilient-test.cfg.jinja2
+0
-1
software/kvm/instance-kvm-resilient-input-schema.json
software/kvm/instance-kvm-resilient-input-schema.json
+0
-7
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd1900-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-enb-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd2600-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-enb-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd3500-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-enb-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd3700-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-enb-input-schema.json
+8
-8
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
+11
-11
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
+11
-11
software/ors-amarisoft/software-tdd1900.cfg.json
software/ors-amarisoft/software-tdd1900.cfg.json
+1
-1
software/ors-amarisoft/software-tdd2600.cfg.json
software/ors-amarisoft/software-tdd2600.cfg.json
+1
-1
software/ors-amarisoft/software-tdd3500.cfg.json
software/ors-amarisoft/software-tdd3500.cfg.json
+1
-1
software/ors-amarisoft/software-tdd3700.cfg.json
software/ors-amarisoft/software-tdd3700.cfg.json
+1
-1
software/slaprunner/instance-runner-resilient-input-schema.json
...re/slaprunner/instance-runner-resilient-input-schema.json
+0
-7
software/theia/instance-resilient-input-schema.json
software/theia/instance-resilient-input-schema.json
+0
-7
stack/resilient/buildout.hash.cfg
stack/resilient/buildout.hash.cfg
+2
-2
stack/resilient/instance-pull-backup.cfg.in
stack/resilient/instance-pull-backup.cfg.in
+0
-1
stack/resilient/template-replicated.cfg.in
stack/resilient/template-replicated.cfg.in
+0
-2
stack/slapos.cfg
stack/slapos.cfg
+1
-1
No files found.
setup.py
View file @
719f05a9
...
...
@@ -28,7 +28,7 @@ from setuptools import setup, find_packages
import
glob
import
os
version
=
'1.0.25
2
'
version
=
'1.0.25
3
'
name
=
'slapos.cookbook'
long_description
=
open
(
"README.rst"
).
read
()
...
...
slapos/recipe/pbs.py
View file @
719f05a9
...
...
@@ -226,13 +226,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback):
(
self
.
options
[
'sshclient-binary'
],
parsed_url
.
username
,
parsed_url
.
hostname
,
parsed_url
.
port
)))
# Create known_hosts file by default.
# In some case, we don't want to create it (case where we share IP mong partitions)
if
not
self
.
isTrueValue
(
self
.
options
.
get
(
'ignore-known-hosts-file'
)):
# Migration code: if known_hosts file contains entry with just IP, then it
# is updated to use [IP]:port. It allows to share same IP among partitions
if
parsed_url
.
hostname
in
known_hosts_file
:
del
known_hosts_file
[
parsed_url
.
hostname
]
# Create known_hosts file
known_hostname
=
"[%s]:%s"
%
(
parsed_url
.
hostname
,
parsed_url
.
port
)
known_hosts_file
[
known_hostname
]
=
entry
[
'server-key'
].
strip
()
...
...
software/erp5testnode/testsuite/instance-kvm-resilient-test.cfg.jinja2
View file @
719f05a9
...
...
@@ -52,7 +52,6 @@ config-virtual-hard-drive-md5sum = ${slap-parameter:virtual-hard-drive-md5sum}
config-virtual-hard-drive-gzipped = ${slap-parameter:virtual-hard-drive-gzipped}
config-resiliency-backup-periodicity = */5 * * * *
config-resilient-clone-number = 1
config-ignore-known-hosts-file = false
return = ipv6
# XXX What to do?
sla-computer_guid = ${slap-connection:computer-id}
...
...
software/kvm/instance-kvm-resilient-input-schema.json
View file @
719f05a9
...
...
@@ -56,13 +56,6 @@
"type"
:
"string"
,
"default"
:
"2W"
,
"optional"
:
true
},
"ignore-known-hosts-file"
:
{
"title"
:
"Ignore known_hosts file"
,
"description"
:
"Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, webrunner)."
,
"type"
:
"boolean"
,
"default"
:
false
,
"optional"
:
true
}
}
}
...
...
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd1900-enb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd2600-enb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3500-enb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3700-enb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
719f05a9
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
View file @
719f05a9
software/ors-amarisoft/software-tdd1900.cfg.json
View file @
719f05a9
software/ors-amarisoft/software-tdd2600.cfg.json
View file @
719f05a9
software/ors-amarisoft/software-tdd3500.cfg.json
View file @
719f05a9
software/ors-amarisoft/software-tdd3700.cfg.json
View file @
719f05a9
software/slaprunner/instance-runner-resilient-input-schema.json
View file @
719f05a9
...
...
@@ -58,13 +58,6 @@
"type"
:
"string"
,
"default"
:
"2W"
,
"optional"
:
true
},
"ignore-known-hosts-file"
:
{
"title"
:
"Ignore known_hosts file"
,
"description"
:
"Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, webrunner)."
,
"type"
:
"boolean"
,
"default"
:
false
,
"optional"
:
true
}
}
}
...
...
software/theia/instance-resilient-input-schema.json
View file @
719f05a9
...
...
@@ -59,13 +59,6 @@
"type"
:
"string"
,
"default"
:
"2W"
,
"optional"
:
true
},
"ignore-known-hosts-file"
:
{
"title"
:
"Ignore known_hosts file"
,
"description"
:
"Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, theia)."
,
"type"
:
"boolean"
,
"default"
:
false
,
"optional"
:
true
}
}
}
...
...
stack/resilient/buildout.hash.cfg
View file @
719f05a9
...
...
@@ -26,11 +26,11 @@ md5sum = 2ef471242ab1fe9d0998f49304bfa066
[template-pull-backup]
filename = instance-pull-backup.cfg.in
md5sum =
44a3166048a81d0d76d69527b1934ef7
md5sum =
1b8645835f04081861266436505fd28f
[template-replicated]
filename = template-replicated.cfg.in
md5sum =
2eea3b0227c3ae9e44cfc41df9930fa7
md5sum =
ba90373d7ba062a6b8117b821a2d7765
[template-parts]
filename = template-parts.cfg.in
...
...
stack/resilient/instance-pull-backup.cfg.in
View file @
719f05a9
...
...
@@ -124,7 +124,6 @@ pull-push-maximum-run = 5
# XXX: this should be named "notifier-host"
notifier-url = http://[$${notifier:host}]:$${notifier:port}
slave-instance-list = {{ dumps(slave_instance_list) }}
ignore-known-hosts-file = {{ slapparameter_dict.get('ignore-known-hosts-file', 'false') }}
# To get a verbose feed about PBS state
instance-root-name = $${monitor-instance-parameter:root-instance-title}
log-url = $${monitor-publish-parameters:monitor-base-url}/private/notifier/
...
...
stack/resilient/template-replicated.cfg.in
View file @
719f05a9
...
...
@@ -196,7 +196,6 @@ software-type = pull-backup
[request-pbs-{{namebase}}-{{id}}]
<= request-pbs-common
name = PBS ({{namebase}} / {{id}})
config-ignore-known-hosts-file = ${slap-parameter:ignore-known-hosts-file}
config-monitor-title = PBS ${slap-connection:computer-id}-{{namebase}}-{{id}}
{% for key, value in six.iteritems(monitor_dict) -%}
config-{{ key }} = {{ value }}
...
...
@@ -294,6 +293,5 @@ sla-instance_guid = ${request-pbs-{{namebase}}-{{id}}:instance_guid}
{{namebase}}{{id}}-computer-guid =
pbs-{{namebase}}{{id}}-computer-guid =
{% endfor %}
ignore-known-hosts-file = false
{% endmacro %}
stack/slapos.cfg
View file @
719f05a9
...
...
@@ -194,7 +194,7 @@ setproctitle = 1.1.10
setuptools-dso = 1.7
rubygemsrecipe = 0.4.3
six = 1.12.0
slapos.cookbook = 1.0.25
2
slapos.cookbook = 1.0.25
3
slapos.core = 1.7.9
slapos.extension.strip = 0.4
slapos.extension.shared = 1.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment