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
pirms 6 gadiem
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
pirms 6 gadiem
Dzmitry Stremkouski
b8acf1f9c8
Adding virtualport interface attribute for nic
Prod-Related: PROD-20747
Change-Id: Id7822963ab45ff7db3252f5329a9376aa4bf10d6
pirms 6 gadiem
Petr Michalec
cfd93e1e91
Add option to overrided minion id without scrict linux formula dependency
Change-Id: I602338811610d4ff08dfb8b2b3aed9dc46f5b3b0
pirms 6 gadiem
Oleksii Chupryn
7b7102a675
Add posibility to configure salt logging params:
- LOG_FILE
- LOG_LEVEL
- LOG_LEVEL_LOGFILE
Change-Id: Ic8c0c3bb2a4a80ba0590ca79d8e491dd4f840897
pirms 6 gadiem
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
pirms 6 gadiem
Petr Michalec
df75d684a6
Add support for jinja2 renderer options. (2018.2)
Change-Id: Idf6c18597a222e6c1b60bf940eadb1d6d8a611c7
pirms 6 gadiem
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
pirms 7 gadiem
Mateusz Los
4c7cd2d8c8
support for putting vm images in custom locations
Change-Id: I685de4207f1f7f17264cc4ad2d81c3348ca20074
pirms 7 gadiem
Petr Michalec
bc015c3611
Add master.conf pillar_safe_render_error option
Change-Id: I3ddfb01dd785f559e4bbf197bc164b8d0389a4f1
pirms 7 gadiem
Jiri Broulik
b347eaf066
salt master / minion backup
PROD-16375
Change-Id: I758d38701cdf0e1cc6fa99c38192de2f9052468c
pirms 7 gadiem
Ales Komarek
b2ada52c5a
Backup and restore of Salt master's state: pki and generated metadata
Change-Id: I5c88d22589ec1fa6a9806c1a625b752dd4fc8b54
pirms 7 gadiem
Petr Michalec
df4e781356
Fix backward compatibility, storage_type/invetory reclass defaults
Change-Id: I8dee93ffd4441391a5b26ba2c5b46e43357a0ca7
pirms 7 gadiem
Petr Michalec
1f541c49ed
allow-multiple-ext-pillars-and-reclass-options
Change-Id: I336b0825712218e2381e1654251765a24581da00
pirms 7 gadiem
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
pirms 7 gadiem
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
pirms 7 gadiem
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
pirms 7 gadiem
Jiri Broulik
8827524529
proxy_minion fix
Change-Id: I73a4a14734651f6483fae169a2290e9c5b377d76
pirms 7 gadiem
Petr Michalec
7a2f1d281c
version to be specified for salt formula
pirms 7 gadiem
Ales Komarek
5474068a16
Reactor system, documentation fixes
Change-Id: Ic64656c6fc3d4f561226d884b8bfb535dd537e14
pirms 7 gadiem
Petr Michalec
0218e6e29f
minor, lint/syntax
pirms 7 gadiem
Jiri Broulik
a0f4668a04
salt-proxy
Change-Id: I2aba1213b1dda46aee929b8ea583c41316e3eb0b
pirms 7 gadiem
Petr Michalec
0f6c4718cf
fix make test in tests_minion_pki_cert
pirms 7 gadiem
Petr Michalec
64e7e680f2
fix, ca crt rollout for trusted_ca_minions
pirms 7 gadiem
Petr Michalec
e07687e17e
Global trust for SaltCA, distribute ca.crt
pirms 7 gadiem
Martin819
92294ff2af
Added Kitchen and Travis
pirms 7 gadiem
Filip Pytloun
e3a26aea43
Fix salt-ssh, fix version
pirms 8 gadiem
Ales Komarek
b2c8ff6df5
Pillar test data
pirms 8 gadiem
Ales Komarek
8fb1da8490
Salt-ssh support
pirms 8 gadiem
Ales Komarek
8bc12a261f
Removed failing metadata due to mine call
pirms 8 gadiem
Ales Komarek
370356a933
PKI client cert paths
pirms 8 gadiem
Ales Komarek
9a9abb366b
Salt PKI proper x509v3 cert extensions
pirms 8 gadiem
Ales Komarek
ffbaaed24d
Salt PKI fixes
pirms 8 gadiem
Ales Komarek
5d17e4b42c
Added Salt PKI setup, orchestration skeleton
pirms 8 gadiem
Filip Pytloun
587cab3fd1
Fix tests
pirms 8 gadiem
Ales Komarek
ccbb103887
Tests cleanups
pirms 8 gadiem
Ales Komarek
8ba9c0b81a
Provisioning overhaul
pirms 8 gadiem
Ales Komarek
9bc205c5ae
Pillar from salt, tests metadata
pirms 9 gadiem
Ales Komarek
735a37c1c5
fix reclass tests
pirms 9 gadiem
Ales Komarek
cdb1d74ce3
tests fixes
pirms 9 gadiem
Ales Komarek
16bd253903
Tests
pirms 9 gadiem