Mykyta Karpin
8ece67561c
Add ability to set reactor_worker_threads
There is issue [1] with reactor in salt 2017, one
of the workarounds is to set reactor workers to 1
[1] https://github.com/saltstack/salt/issues/47539
Change-Id: I47d76cc1dc5d0afe6d8b215e2d32cdbab3ac1a8c
Related-Prod: https://mirantis.jira.com/browse/PROD-21463
6 vuotta sitten
Dzmitry Stremkouski
58a0dc667b
Make rest api timeout configureable.
It is important to be able to increase timeouts on api when running
orchestrate tasks via pepper.
Change-Id: I3ff0988bfec3ec4715348c5de15247fe0b075443
6 vuotta sitten
Dzmitry Stremkouski
b8acf1f9c8
Adding virtualport interface attribute for nic
Prod-Related: PROD-20747
Change-Id: Id7822963ab45ff7db3252f5329a9376aa4bf10d6
6 vuotta sitten
Petr Michalec
cfd93e1e91
Add option to overrided minion id without scrict linux formula dependency
Change-Id: I602338811610d4ff08dfb8b2b3aed9dc46f5b3b0
6 vuotta sitten
Oleksii Chupryn
7b7102a675
Add posibility to configure salt logging params:
- LOG_FILE
- LOG_LEVEL
- LOG_LEVEL_LOGFILE
Change-Id: Ic8c0c3bb2a4a80ba0590ca79d8e491dd4f840897
6 vuotta sitten
Dzmitry Stremkouski
7ee2340ea8
[Feature] libvirt xml: pass rng to vm
[Fix] Doc
Issue: - It is not possible to pass [R]andom [N]umber [G]enerator
device to libvirt guest xml in order to control entropy.
- Doc has no information on how to provision vms using salt
Solution: - Pass rng parameters via kwargs from node: pillar
Attach rng xml object to generated xml.
- Provide with an example
Prod-Related: PROD-19214
Customer-Found
Change-Id: Iea111f2d927edf46f06bb7ccfad06d37b752fba9
6 vuotta sitten
Petr Michalec
df75d684a6
Add support for jinja2 renderer options. (2018.2)
Change-Id: Idf6c18597a222e6c1b60bf940eadb1d6d8a611c7
6 vuotta sitten
Jakub Josef
605e77dc73
Fixed shebang kernel limitation with virtualenv during test run ( https://github.com/pypa/virtualenv/issues/596 )
Change-Id: I5057111822b6915ed0c7109db64181a2952d0fcf
6 vuotta sitten
Marcin Iwinski
03560d7e1e
Adding environment variables for salt minion
salt-minion started via upstart is not using /etc/environment to
source variables therefore is not using system wide http_proxy parameters if
they are set there. With this patch if salt.minion.env_vars is set to engine:
file salt will set envvars in /etc/default/salt-minion and will use them for
all commands executed remotely via salt. Since /etc/default is not used on
systems with systemd override for salt-minion to use /etc/environmnet will be
set.
Change-Id: Icfe122de2486a83820a0bd2e2aeea4be3796c6aa
Closes-bug: PROD-16676
7 vuotta sitten
Mateusz Los
4c7cd2d8c8
support for putting vm images in custom locations
Change-Id: I685de4207f1f7f17264cc4ad2d81c3348ca20074
6 vuotta sitten
Petr Michalec
bc015c3611
Add master.conf pillar_safe_render_error option
Change-Id: I3ddfb01dd785f559e4bbf197bc164b8d0389a4f1
6 vuotta sitten
Jakub Josef
6f2f014205
Fixed typo in run_tests.sh file
Change-Id: I345ec121d984320bec4908b416ed6ec19f181c31
7 vuotta sitten
Jiri Broulik
b347eaf066
salt master / minion backup
PROD-16375
Change-Id: I758d38701cdf0e1cc6fa99c38192de2f9052468c
7 vuotta sitten
Ales Komarek
b2ada52c5a
Backup and restore of Salt master's state: pki and generated metadata
Change-Id: I5c88d22589ec1fa6a9806c1a625b752dd4fc8b54
7 vuotta sitten
Petr Michalec
df4e781356
Fix backward compatibility, storage_type/invetory reclass defaults
Change-Id: I8dee93ffd4441391a5b26ba2c5b46e43357a0ca7
7 vuotta sitten
Petr Michalec
1f541c49ed
allow-multiple-ext-pillars-and-reclass-options
Change-Id: I336b0825712218e2381e1654251765a24581da00
7 vuotta sitten
Dennis Dmitriev
a57463cea7
Add possibility to specify multiple disks for salt.control formula
Example:
parameters:
salt:
control:
size: #RAM 4096,8192,16384,32768,65536
openstack.control:
cpu: 8
ram: 32768
disk_profile: small_two_disks
net_profile: default
virt:
disk:
small_two_disks:
- system:
size: 50000
image: http:/path/to/image.qcow2
- cinder-volume:
size: 50000
Change-Id: Ie092b77627cb2b1d36ba4b7a2a7d749ad91881c8
7 vuotta sitten
Elena Ezhova
457e5723f1
Don't send CA keys to mine
Exposing CA keys in a mine creates a security flaw, thus such
should be avoided.
This change removes code responsible for putting and retrieving
CA key from a mine and changes the ca.sls state to allow configuring
where CA cert and its key would be generated as well as their owners.
Fixes PROD-13439
Change-Id: I6d78b13dcb3754c51606edd7e2d8158e128244a4
7 vuotta sitten
Sam Stoelinga
bb4c04bbe4
Salt minion allow to specify HTTP backend
This is useful when using proxies. The default Tornado backend does not
utilize proxy environment variables and isn't able to set no_proxy variable.
Change-Id: I4a51c6fc9abe65d46ed4f3adeb30f7a25337857e
7 vuotta sitten
Jiri Broulik
8827524529
proxy_minion fix
Change-Id: I73a4a14734651f6483fae169a2290e9c5b377d76
7 vuotta sitten
Petr Michalec
7a2f1d281c
version to be specified for salt formula
7 vuotta sitten
Ales Komarek
5474068a16
Reactor system, documentation fixes
Change-Id: Ic64656c6fc3d4f561226d884b8bfb535dd537e14
7 vuotta sitten
Petr Michalec
0218e6e29f
minor, lint/syntax
7 vuotta sitten
Jiri Broulik
a0f4668a04
salt-proxy
Change-Id: I2aba1213b1dda46aee929b8ea583c41316e3eb0b
7 vuotta sitten
Petr Michalec
0f6c4718cf
fix make test in tests_minion_pki_cert
7 vuotta sitten
Petr Michalec
64e7e680f2
fix, ca crt rollout for trusted_ca_minions
7 vuotta sitten
Petr Michalec
e07687e17e
Global trust for SaltCA, distribute ca.crt
7 vuotta sitten
Martin819
92294ff2af
Added Kitchen and Travis
7 vuotta sitten
Filip Pytloun
e3a26aea43
Fix salt-ssh, fix version
8 vuotta sitten
Ales Komarek
b2c8ff6df5
Pillar test data
8 vuotta sitten
Ales Komarek
8fb1da8490
Salt-ssh support
8 vuotta sitten
Filip Pytloun
e3b0492cf9
Fix source dependency parsing
8 vuotta sitten
Ales Komarek
8bc12a261f
Removed failing metadata due to mine call
8 vuotta sitten
Filip Pytloun
2952299538
Fix tests dependency fetch
8 vuotta sitten
Filip Pytloun
a09370fc23
Add makefile, run tests during package build
8 vuotta sitten
Ales Komarek
370356a933
PKI client cert paths
8 vuotta sitten
Ales Komarek
9a9abb366b
Salt PKI proper x509v3 cert extensions
8 vuotta sitten
Ales Komarek
ffbaaed24d
Salt PKI fixes
8 vuotta sitten
Ales Komarek
5d17e4b42c
Added Salt PKI setup, orchestration skeleton
8 vuotta sitten
Filip Pytloun
587cab3fd1
Fix tests
8 vuotta sitten
Ales Komarek
ccbb103887
Tests cleanups
8 vuotta sitten
Ales Komarek
8ba9c0b81a
Provisioning overhaul
8 vuotta sitten
Ales Komarek
9bc205c5ae
Pillar from salt, tests metadata
8 vuotta sitten
Ales Komarek
735a37c1c5
fix reclass tests
8 vuotta sitten
Ales Komarek
cdb1d74ce3
tests fixes
8 vuotta sitten
Ales Komarek
16bd253903
Tests
8 vuotta sitten