Martin Horak
9e11aa23e4
Readme update.
6 jaren geleden
Martin Horak
0d183cb7b5
Allow to enable_vnc for provisioned VMs.
6 jaren geleden
Pavel Cizinsky
f03c4e8227
add support for cpuset
Related PROD-23040 (PROD:23040)
Change-Id: I6cf2cb5ff66dcffb1532343a58416fb242703322
6 jaren geleden
Petr Michalec
91699ab6cf
fix typo in service class name
Change-Id: I88e88d9156d7bec0add9716d088e46dac6e3cf0b
6 jaren geleden
Vasyl Saienko
436cffcff6
Merge "Add gitfs support"
6 jaren geleden
Petr Michalec
1f125682bf
Merge pull request #73 from alexandruavadanii/aarch64-salt-control
libvirt xml: pass loader, virt machine, cpu mode
6 jaren geleden
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>
6 jaren geleden
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
6 jaren geleden
Ivan Suzdal
7e2a2ca320
Add gitfs support
Change-Id: I3ac728f84a0a63973ca7d90a679c096378eee7c8
Related-PROD: https://mirantis.jira.com/browse/PROD-20392
6 jaren geleden
mcp-jenkins
262e8b0ba2
Merge "Add new reclass config options into salt formula - overrides"
6 jaren geleden
Vasyl Saienko
49511c1f76
Add upgrade deployment metadata
The metadata will be used to get list of enabled applications
that implement formula based upgrades.
Change-Id: Ibc368d993aa1c3c8715598513467da78792c752b
6 jaren geleden
lmercl
6d5c89bc6f
Add new reclass config options into salt formula - overrides
Related-Bug: PROD-21498 (PROD:21498)
Change-Id: I59ab700630f86f38d25571368a4cecb83baa988f
6 jaren geleden
Dzmitry Stremkouski
7b15d8a383
Extending salt minion and slat master params.
Change-Id: Ia9410364a82ac84889b80b30380ec5f897c7165c
6 jaren geleden
Petr Michalec
a380b04bfb
Merge "Add retry for x509.certificate_managed state"
6 jaren geleden
Martin Polreich
eb45892b34
Add retry for x509.certificate_managed state
Fixes: PROD-21792 (PROD:21792)
Change-Id: Iff22ba927c74a9cb3bd8726253106ebdbb20fe32
6 jaren geleden
Vasyl Saienko
26b4ba58b7
Merge "Secure salt minion files."
6 jaren geleden
Dzmitry Stremkouski
be5d5552f5
Secure salt minion files.
By default salt minion meta files are created with wide
permissions.
This makes OS tokens, keystone credentials unprotected.
Patch fixes this.
Prod-Related: CEEMCP-13 unprotected keystone credentials
Customer-Found
Change-Id: I18283cff4aec795e0656b7b3519381792e8a6e54
6 jaren geleden
OlgaGusarenko
f1fd82e1d4
README update
Change-Id: Iea79e2c8c9f29ddc5903a97c104e013878f63cd7
6 jaren geleden
Aleksey Zvyagintsev
ff1730eca2
Merge "Repair multi-ca generating states"
6 jaren geleden
Oleksandr Shyshko
18ddd14357
Repair multi-ca generating states
Salt (ca.sls) supports generation a few CA.cert but it works incorrectly.
When we generate a few ca.cert, salt must upload it to mine. But it overwrites previous ones.
Related-Prod: PROD-21740
Change-Id: I60f1089cc58758d3be65371deaaa69348fde86a4
6 jaren geleden
Vasyl Saienko
16d77d390e
Merge "Revert "Revert "Generate salt minion orchestration config"""
6 jaren geleden
Vasyl Saienko
4a780bc836
Revert "Revert "Generate salt minion orchestration config""
This reverts commit a84007cf9e
.
Change-Id: I547d741da0699abe3e645a0b767d55d5d53e0dbb
6 jaren geleden
Vasyl Saienko
44efe1736f
Merge "Revert "Generate salt minion orchestration config""
6 jaren geleden
Vasyl Saienko
a84007cf9e
Revert "Generate salt minion orchestration config"
This reverts commit 0cd19b9ea1
.
Change-Id: Iea9bc493c246d2c4fdee48d58883d21a10ebf054
6 jaren geleden
Vasyl Saienko
89eb7b1e17
Merge "Generate salt minion orchestration config"
6 jaren geleden
Oleksii Grudev
0cd19b9ea1
Generate salt minion orchestration config
The patch adds _orchestrate.conf file to salt minion
configuration. Its template searches for "/meta/salt.yml"
file across all installed formulas and parses them if found.
As of now config will contain following data, e.g.:
orchestration:
deploy:
applications:
cinder:
priority: 150
keystone:
priority: 100
Application priorities will be used later for salt deploy
orchestration
Change-Id: I56b0d15e5a13ca4975d98b9675991f84885120e6
Related-PROD: PROD-19973
6 jaren geleden
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 jaren geleden
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 jaren geleden
Ondrej Smola
d04a6b7e06
Merge "Fix Python version for Travis CI tests"
6 jaren geleden
Ondrej Smola
2f7a5b62a7
Merge "Add option to overrided minion id without scrict linux formula dependency"
6 jaren geleden
Dzmitry Stremkouski
2ffd3669a7
Fix for salt control virt state.
The conflicting ID is 'libvirt_service' and is found in SLS:
- libvirt.server.service
- salt.control.virt
Change-Id: Ibb0b6f0a574a53f1cb8517a9fe0d7f0febb07bb3
6 jaren geleden
Dzmitry Stremkouski
b8acf1f9c8
Adding virtualport interface attribute for nic
Prod-Related: PROD-20747
Change-Id: Id7822963ab45ff7db3252f5329a9376aa4bf10d6
6 jaren geleden
Petr Michalec
cfd93e1e91
Add option to overrided minion id without scrict linux formula dependency
Change-Id: I602338811610d4ff08dfb8b2b3aed9dc46f5b3b0
6 jaren geleden
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
6 jaren geleden
Martin Polreich
d7549eaccd
Fix Python version for Travis CI tests
Change-Id: Idd52f0285ca3c858d21850f8d324cdfe64e149d6
6 jaren geleden
Richard Felkl
84158fe1e5
Merge "ensure that libvirt is running before creation of VM"
6 jaren geleden
Ondrej Smola
26dcad73f2
Merge "Adding salt_syndic_enabled to soft params"
6 jaren geleden
Ondrej Smola
403a1b4b63
ensure that libvirt is running before creation of VM
Related bug: PROD-20531
Change-Id: Ia00a4310c5e1ec590ddd9c16b8013e42198632ac
6 jaren geleden
Oleh Hryhorov
645ec011bf
Adding salt_syndic_enabled to soft params
The patch adds ability to enable/disable salt-syndic
by changing the value with soft params.
Depends-on: Id97088e0a8c449c38943b8ceaa2111647fea19fc
Change-Id: I019fc1a08ae4781a1bfd39f39acf1d695691b997
Related-PROD: PROD-20579
6 jaren geleden
Jiri Broulik
d42281e680
keep pki files on restore failure
PROD-20712
Change-Id: I5f498e3a21cc3c78c313c7d3a72ecb303e7c4f61
6 jaren geleden
Ales Komarek
4efaa0d068
Fix winrepo support
Change-Id: Iee0165a071ed29fd1ffc63b88edf687247c396d4
6 jaren geleden
Ales Komarek
f64011b891
Fixed the winrepo for new version of Salt
Change-Id: I7572d8e16e9126d5164a683ccf99b21f4c280cdb
6 jaren geleden
Ales Komarek
f44e64c77d
Updated the windows repository support
Change-Id: I9d834d67e29d7c6d0b11599b0b543427cf1d7706
6 jaren geleden
Ondrej Smola
8ad5417460
Merge "Make admin user for mongodb optional"
6 jaren geleden
Filip Pytloun
7d9750c986
Don't fail if graph is empty
Change-Id: Id8fbf6f94533346af6ceea10257cd4d2dd745a6a
6 jaren geleden
Dmitry Kalashnik
2e55d7243d
Make admin user for mongodb optional
Change-Id: I8279e79eac334dbd0007f17eb645b24fdce5005f
PROD-related: PROD-19892
6 jaren geleden
Oleksii Chupryn
874225f0b7
Add ability to configure backup path for minion
Prod-Related: PROD-20181
Change-Id: I86fb92022521f42a70b6ffd112f0c5eff3fd607b
6 jaren geleden
Ondrej Smola
c7f6cfcb4f
add option to globally disable rng device
related to bug: PROD-20139
Change-Id: I32fee91f22e0963ec60de63b4c6e020df92f9f3b
6 jaren geleden
Petr Michalec
0b97ce9ffc
Merge "Add Salt 2018.3 tests"
6 jaren geleden
Ondrej Smola
ef04394cb1
Merge "Add posibility to configure salt logging params:"
6 jaren geleden