Petr Michalec
10462bba7f
Add system.env, system.profile, system.proxy and configure proxy under system.repo
7 years ago
Simon Pasquier
a4a6f16bbe
Fix severity for the linux_system_cpu_warning alarm
Change-Id: Ic3a1e77f2d38c5d916dd3c07211a6ea160559e6f
7 years ago
Petr Jediný
16f928f5df
Workaround for salt network interfaces bug
We need to save our manualy managed interfaces to different directory to
workaround salt bug that causes interface deconfiguration in
/etc/network/interfaces for interfaces manualy configured in
/etc/network/interfaces.d
Upstream-Bug: https://github.com/saltstack/salt/issues/40262
7 years ago
Petr Michalec
c146f18e8f
Add consolidate/clean_file/refresh_db pkgrepo options
7 years ago
Filip Pytloun
8578aafdde
Fix typo and test
Change-Id: I93e135a9366c1f7c93397dfa0c342428fb64eb1c
7 years ago
Jakub Pavlik
aa75906e0b
Linux OVS dpdk vxlan tunnel endpoint ip address
Add possiblity to add ip address and mtu on dpdk ovs bridge to
be able use VXLAN as tenant segmentation.
Change-Id: I1394d30c5d9935218841b17ff7651dac7b4abefa
Epic: PROD-8957
7 years ago
Simon Pasquier
89b97640d0
Report swap metrics in bytes
Change-Id: Ic39fa0f18e0d9aeca0ef73ae6d985d12d15a1c3a
7 years ago
Filip Pytloun
e9bcd2d6dd
Setup LV before mkfs
Change-Id: Ib4cb70615af8da2f1037b0a43520c215365979ba
7 years ago
Filip Pytloun
d549b454c9
Fix ipv6 hosts entries
Change-Id: I83f09d01ff047bd61e044977b1eae0e2d0442b5c
7 years ago
Jakub Pavlik
21ca2159b2
Linux OVS-dpdk and multiqueue support
Introduce dpdk support for linux OVS configuration.
It configures dpdk interface bind, ovs dpdk ports, bonding,
parameters for dpdk cpu pmd and set multique queues for specific
ovs dpdk interfaces.
Change-Id: I3f38660bab8db0c2b38f03ed8c94eb10b6b3beb9
Epic: PROD-8957
Epic: PROD-8958
7 years ago
Marek Celoud
159d381e0f
require linux_packages install in repo state
7 years ago
Marek Celoud
8904d6039f
disable restart of networking service without reboot
7 years ago
Petr Michalec
1c4c8d8932
Add sudo state, salt-managed aliases,users,groups
- apply review comments
- add visudo check cmd
7 years ago
Marek Celoud
f0864a0945
add master option for bond slaves
7 years ago
Jakub Pavlik
aeb7e6f2f1
Fix hugepages mount user rights
Enable access for all users.
Change-Id: I8a2b4fd81ead14f690fc2ea0c252b811a89ed417
7 years ago
Bruno Binet
b691efe5f9
Group packages to install/remove when possible for better performance ( #62 )
* Allow to install package without specifying any version
* Group packages to install/remove when possible for better performance
7 years ago
Jakub Pavlik
6c9ead164d
Implement isolcpu grub configuration
Separate cpu for host os from workload.
Change-Id: I5b274a6324fe2fa47c09df82c01e3b95dadb5e53
Epic: PROD-8959
7 years ago
Filip Pytloun
8a7064c45b
Fix include of linux.system.autoupdates
7 years ago
Bruno Binet
69a9d8d6ca
Add system.autoupdates state ( #61 )
* Add support for autoupdates
only Debian-based systems are supported for now
(through unattended-upgrades package)
* Fix test on system.autoupdates.pkgs
7 years ago
Tomáš Kukrál
ba35b21516
add support for kernel modules
Change-Id: I6ba3d72307805341829fe0f6919e326f3698e833
7 years ago
Bruno Binet
e3c04fd535
Prefer "pkgs" rather than "names" when using pkg.installed
"names" makes a separate call to the package management frontend to
install each package, whereas "pkgs" makes just a single call so that it
improves performance.
7 years ago
Petr Michalec
8a6770e61e
remove trailing line, causing every deployment to update the file and trigger hostname enforce
7 years ago
Jakub Pavlik
5398d873d5
SRIOV support
Enable SR-IOV support on server.
Change-Id: I7dabe340abd398cc0422698112cbdd81804446b7
Epic: PROD-8956
7 years ago
Petr Michalec
fe57bdd45b
dont touch hostname if not needed
7 years ago
Jakub Pavlik
b148c8ca8e
Hugepages support
Grub hugepages configuration and mount point action.
Change-Id: I49b26871c325b95a7d3f264892a9e997b58765bc
Epic: PROD-8959
7 years ago
Michel Nederlof
6df65bbd67
Because it is possible to add more interfaces to the same bridge, make the salt resource name more unique.
8 years ago
Michel Nederlof
7c077f64b6
Only add the interface to the ovs_bridge, if the name in ovs_bridge is the same.
8 years ago
Olivier Bourdon
fb9736ddbd
Fix issue where interface is left unconfigured
Change-Id: I48f912c9d966c99d78cd2e89b605a2d016afe18b
8 years ago
Dennis Dmitriev
279521e7d5
Remove excess records from /etc/hosts
Before adding new records to /etc/hosts, remove all hostnames
that are managed by the model but have different addresses
than provided in the model.
Change-Id: Idf5a30429497c33027e6ba973e684ba0443a1edf
8 years ago
Jiri Broulik
f8f55a2fcc
cpu governor
8 years ago
Simon Pasquier
375001e027
Add linux.storage.loopback state
This state allows to configure loopback device(s). This isn't meant to
be used in production but offers a cheap way to test Cinder with LVM
volumes.
8 years ago
Filip Pytloun
86506fe743
Allow enforcing of whole /etc/hosts
Parameter purge_hosts will enforce whole /etc/hosts file, removing entries
that are not defined in model except defaults for both IPv4 and IPv6 localhost
and hostname + fqdn.
It's good to use this option if you want to ensure /etc/hosts is always in a
clean state however it's not enabled by default for safety.
Change-Id: Ieb219b2dd494d5a66ecc52a2ec00dd5157ee2b7a
8 years ago
vmikes
37837f3280
Revert "turn off check swap if needed"
This reverts commit a63f4053f3
.
8 years ago
vmikes
a63f4053f3
turn off check swap if needed
8 years ago
Jakub Pavlik
fc60eb0668
OVS improvements
8 years ago
Éric Lemoine
6d6f5b4c00
Remove support for log_collector
The support for collecting syslog is going to be moved to the rsyslog
formula.
8 years ago
Vladimir Eremin
6c3b8b9b16
I believe you mean cron.absent state
8 years ago
Éric Lemoine
a956bfe054
Remove ununused heka.conf file
8 years ago
Filip Pytloun
f2720ea9eb
Allow defining config files user, group and mode
8 years ago
Marek Celoud
f6cd1921c1
fix options setting in resolv
8 years ago
Jakub Pavlik
02e681ce7f
ovs advanced options
8 years ago
Filip Pytloun
02f7761b5d
Fix missing iteritems in loop
8 years ago
Filip Pytloun
6c6944604d
Support defaults in linux.system.config
8 years ago
Simon Pasquier
6b6058fd3a
Support no volume for linux.storage.lvm state
8 years ago
Simon Pasquier
a4eb313e4f
Fix linux.storage state to support lvm
8 years ago
Jakub Pavlik
376af20441
hotfix interface name
8 years ago
Guillaume Thouvenin
b4f82c6013
Put Grafana dashboards into their own directory
8 years ago
Ales Komarek
6086f63c37
Added proper OpenVswitch support
8 years ago
Éric Lemoine
2f06db9e6d
Add more alarms
This commit adds more built-in alarms to the Linux formula.
8 years ago
Filip Pytloun
e3ffd62604
Fix variable reference
8 years ago