Pavel Cizinsky
f03c4e8227
add support for cpuset
Related PROD-23040 (PROD:23040)
Change-Id: I6cf2cb5ff66dcffb1532343a58416fb242703322
vor 6 Jahren
Alexandru Avadanii
00f187a90e
libvirt xml: pass loader, virt machine, cpu mode
Spawning AArch64 VMs using salt.control.virt requires a few extra
domain configuration items to be configurable:
- libvirt xml: pass loader param to vm
Based on upstream commit [1].
- libvirt xml: pass virt machine type
- libvirt xml: pass cpu mode to vm
- virt module: Allow NVRAM unlinking on DOM undefine
UEFI-enabled VMs usually have pflash (NVRAM) devices attached,
which require one additional libvirt flag to be passed at 'undefine'.
This is usually the case for AArch64 (arm64) VMs, where AAVMF (AA64
UEFI) is the only supported guest bootloader.
[1] https://github.com/saltstack/salt/commit/9cace9adb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
vor 6 Jahren
Dzmitry Stremkouski
97927ee35e
Adding ability to manualy configure network inside VM before boot.
This patchset obsoletes switching from "dhcp" to "static" during
deployment.
Example pillars:
salt:
control:
enabled: true
virt_enabled: true
size:
small:
cpu: 1
ram: 1
cluster:
infra:
domain: example.com
engine: virt
config:
engine: salt
host: master.domain.com
cloud_init:
network_data:
links:
- id: ens2
name: ens2
type: phy
user_data:
disable_ec2_metadata: true
resize_rootfs: True
timezone: UTC
ssh_deletekeys: True
ssh_genkeytypes: ['rsa', 'dsa', 'ecdsa']
ssh_svcname: ssh
locale: en_US.UTF-8
disable_root: true
apt_preserve_sources_list: false
apt:
sources_list: ""
sources:
ubuntu.list:
source: ${linux:system:repo:ubuntu:source}
mcp_saltstack.list:
source: ${linux:system:repo:mcp_saltstack:source}
node:
ctl01:
provider: kvm01.example.com
image: ubuntu-16.04.qcow2
size: small
cloud_init:
network_data:
networks:
- id: private-ipv4
ip_address: 192.168.0.161
link: ens2
netmask: 255.255.255.0
routes:
- gateway: 192.168.0.1
netmask: 0.0.0.0
network: 0.0.0.0
type: ipv4
Change-Id: I087518404c61e0bab2303e40957bacca94692102
vor 6 Jahren
Ivan Suzdal
7e2a2ca320
Add gitfs support
Change-Id: I3ac728f84a0a63973ca7d90a679c096378eee7c8
Related-PROD: https://mirantis.jira.com/browse/PROD-20392
vor 6 Jahren
Dzmitry Stremkouski
7b15d8a383
Extending salt minion and slat master params.
Change-Id: Ia9410364a82ac84889b80b30380ec5f897c7165c
vor 6 Jahren
OlgaGusarenko
f1fd82e1d4
README update
Change-Id: Iea79e2c8c9f29ddc5903a97c104e013878f63cd7
vor 6 Jahren
Dzmitry Stremkouski
b8acf1f9c8
Adding virtualport interface attribute for nic
Prod-Related: PROD-20747
Change-Id: Id7822963ab45ff7db3252f5329a9376aa4bf10d6
vor 6 Jahren
Petr Michalec
cfd93e1e91
Add option to overrided minion id without scrict linux formula dependency
Change-Id: I602338811610d4ff08dfb8b2b3aed9dc46f5b3b0
vor 6 Jahren
Oleh Hryhorov
ca6b917634
Adding REDIS as backend for salt cache
The patch adds ability to configure REDIS as cache
backed for salt-master to be used as distibuted cache
further.
Change-Id: I62a29713c23ad3f591f6e937bfc5b13eba92f402
Related-PROD: PROD-20581
vor 6 Jahren
Ales Komarek
f44e64c77d
Updated the windows repository support
Change-Id: I9d834d67e29d7c6d0b11599b0b543427cf1d7706
vor 6 Jahren
Ondrej Smola
c7f6cfcb4f
add option to globally disable rng device
related to bug: PROD-20139
Change-Id: I32fee91f22e0963ec60de63b4c6e020df92f9f3b
vor 6 Jahren
Oleksii Chupryn
7b7102a675
Add posibility to configure salt logging params:
- LOG_FILE
- LOG_LEVEL
- LOG_LEVEL_LOGFILE
Change-Id: Ic8c0c3bb2a4a80ba0590ca79d8e491dd4f840897
vor 6 Jahren
Ondrej Smola
e6bcb294fa
added option to manage VMs mac addresses
Change-Id: I28bbc7a6b5810dfb56b8391a557aecd1fa523385
vor 6 Jahren
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
vor 6 Jahren
Petr Michalec
df75d684a6
Add support for jinja2 renderer options. (2018.2)
Change-Id: Idf6c18597a222e6c1b60bf940eadb1d6d8a611c7
vor 6 Jahren
Jiri Broulik
3e28164df7
parametrize backup server side dir
PROD-18191
Change-Id: I15c2cc66f0c0010408863b46c0dccf84730f31d9
vor 6 Jahren
Ales Komarek
d768f1c3b1
Normalized documentation
Change-Id: Idf6a88ca1ac0b6b5fd3976f2e27d8cb24d7a1b3d
vor 6 Jahren
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
vor 7 Jahren
Ales Komarek
459407bb30
SaltStack - Architect integration
Change-Id: I96e16a3b203f9b3c9c150db1cb85e966bd14b573
vor 6 Jahren
Mateusz Los
4c7cd2d8c8
support for putting vm images in custom locations
Change-Id: I685de4207f1f7f17264cc4ad2d81c3348ca20074
vor 6 Jahren
Petr Michalec
bc015c3611
Add master.conf pillar_safe_render_error option
Change-Id: I3ddfb01dd785f559e4bbf197bc164b8d0389a4f1
vor 6 Jahren
Ales Komarek
b2ada52c5a
Backup and restore of Salt master's state: pki and generated metadata
Change-Id: I5c88d22589ec1fa6a9806c1a625b752dd4fc8b54
vor 7 Jahren
Petr Michalec
1f541c49ed
allow-multiple-ext-pillars-and-reclass-options
Change-Id: I336b0825712218e2381e1654251765a24581da00
vor 7 Jahren
Ales Komarek
a9fc6e7d21
Add support for salt master engines
Change-Id: Ic9decbeaf57e9aba2f95c3dd616393dc32763fcc
vor 7 Jahren
Adam Tengler
62188969cc
Salt reactor features refactoring
Change-Id: Ifac3f5e03099e8190db0a3af62a7be1f762f87be
vor 7 Jahren
Ales Komarek
3ed7c43dcc
Added support for sync modules and pillar after minion start
Change-Id: Ia3b1e93e5f0b3da7097a285122d24c5b1d2b20e2
vor 7 Jahren
Ales Komarek
213fbe0a66
Minion key create/delete - reactors and orchestration pipelines
Change-Id: I07e86cb5d132a83b2460deda08b8a7e65f379d33
vor 7 Jahren
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
vor 7 Jahren
Ales Komarek
e7844d1043
Orchestrates and reactors
Change-Id: I9e48e113656dd9f1ce644e98650276b36e444009
vor 7 Jahren
Ales Komarek
5c58de3f46
Salt orchestrate pipeline stars based on reactor triggers
Change-Id: I3f8ada34bf7e6e356bf6805d98eb0fa4bd66d8d3
vor 7 Jahren
Petr Michalec
56066ac642
Update readme trusted_ca_minions
vor 7 Jahren
Jiri Broulik
8827524529
proxy_minion fix
Change-Id: I73a4a14734651f6483fae169a2290e9c5b377d76
vor 7 Jahren
Petr Michalec
7a2f1d281c
version to be specified for salt formula
vor 7 Jahren
Ales Komarek
5474068a16
Reactor system, documentation fixes
Change-Id: Ic64656c6fc3d4f561226d884b8bfb535dd537e14
vor 7 Jahren
Tomáš Kukrál
044667bcce
set state_output to "changes"
Terse output is not enough for debugging.
Change-Id: Ida9a4ef0a2ad053fc370d3833d716d9e8d38d814
vor 7 Jahren
Tomáš Kukrál
8922aef95b
configure state_output
This option can configure default output of state calls. Terse (default
option) will make each call to be on single line and make salt output
better.
Change-Id: Id0987561e34a84fb26a796729d6ab3de3b9ae8e5
vor 7 Jahren
Jiri Broulik
a0f4668a04
salt-proxy
Change-Id: I2aba1213b1dda46aee929b8ea583c41316e3eb0b
vor 7 Jahren
Ondrej Smola
c2d3e6f12e
added readme for salt minion http proxy
vor 7 Jahren
Filip Pytloun
954dbd6701
Unify Makefile, .gitignore and update readme
vor 7 Jahren
Ales Komarek
2c5e080c01
Support of multi-master-of-masters
vor 7 Jahren
Ales Komarek
a33b905a72
Cleaned up salt-syndic features
vor 7 Jahren
Filip Pytloun
e3a26aea43
Fix salt-ssh, fix version
vor 8 Jahren
Ales Komarek
b2c8ff6df5
Pillar test data
vor 8 Jahren
Ales Komarek
8fb1da8490
Salt-ssh support
vor 8 Jahren
Ales Komarek
cdb280f5fd
Salt ACL and API updates
vor 8 Jahren
Adam Tengler
3eb85ad514
Formula reset to specific refs (example: Gerrit review)
vor 8 Jahren
Jakub Pavlik
d485984c88
remote peer sign
vor 8 Jahren
Adam Tengler
caedd97958
Optional installation source - pip
source:engine metadata created - defaults to pkg
installation, pip installation alternative added
vor 8 Jahren
Ales Komarek
5d17e4b42c
Added Salt PKI setup, orchestration skeleton
vor 8 Jahren
smolaon
a66f7a6a17
add disk and network profiles into virt
vor 8 Jahren