Commit graph

1569 commits

Author SHA1 Message Date
Cédric Bosdonnat
392cf89296 libvirt events engine: constant fixes
The libvirt constants for pool and nodedev events need tweaking since
they don't match the rule used to autogenerate them. Fixes these warnings
at the engine start.

   Skipping "pool/lifecycle" events: libvirt too old
   Skipping "pool/refresh" events: libvirt too old
   Skipping "nodedev/lifecycle" events: libvirt too old
   Skipping "nodedev/update" events: libvirt too old
2020-07-31 15:20:07 -07:00
Erik Johnson
0b3b7835dd Add changelog entry 2020-07-30 15:17:02 -07:00
Eric Robeson@saltit-or1-workspace-01
f81383ac3e add changelog file 2020-07-29 22:24:07 -07:00
Erik Johnson
b2bf8ef5e4 Tweak wording in changelog file 2020-07-29 22:23:02 -07:00
Erik Johnson
cbe64404ed Add changelog file 2020-07-29 22:23:02 -07:00
Dmitry Kuzmenko
f8ef3e7015 Update docs and changelog 2020-07-29 15:49:07 -07:00
Tyler
f4c1cdce56 Update 55024.fixed
clarified changelog to clarify it was failing before and no longer won't.
2020-07-29 15:36:20 -07:00
Tyler Bowers
df933a7494 added changelog 2020-07-29 15:36:20 -07:00
nicholasmhughes
43853445d1 49063 changelog 2020-07-29 11:36:53 -07:00
Gareth J. Greenaway
b73a692850 Adding changelog file. 2020-07-29 11:22:16 -07:00
twangboy
c621719545 Fix changelog 2020-07-28 15:28:47 -07:00
twangboy
bfd2368640 Add changelog 2020-07-28 15:28:47 -07:00
Wayne Werner
c3e683af51 Updated changelog 2020-07-24 14:11:38 -07:00
Wayne Werner
cc2c11fb56 Added changelog files 2020-07-24 14:11:38 -07:00
Frode Gundersen
45efc4c142 Changelog update 2020-07-15 14:56:00 -07:00
Frode Gundersen
4a0342de1b Update Changelog and Releasenotes for the 3001.1 release 2020-07-15 14:10:25 -07:00
Gareth J. Greenaway
4487f613b0 Adding changelog. 2020-07-15 11:39:09 -07:00
twangboy
6c2603ef57 Add changelog 2020-07-14 15:12:06 -07:00
Wesley Whetstone
30bd6771c3 add changelog 2020-07-14 09:31:21 -07:00
Daniel A. Wozniak
a6e481ea73 Add changelog and docs for 57718 fix 2020-07-14 09:30:34 -07:00
Erik Johnson
9b47f9c6cc Restore "gid_from_name" and put on a deprecation path
This argument was removed in 3001 with no deprecation path. This
restores it and puts it on a proper deprecation path.
2020-07-13 16:54:44 -07:00
Erik Johnson
c1f6ebadab Fix dict being changed during iteration
Also remove a bunch of needless calls to "keys", as membership checks
for dicts are more efficient using the built-in dict membership check,
which utilizes hashing instead of iterating over the keys.
2020-07-13 16:52:45 -07:00
Pedro Algarvio
ade7a09205 Fix sorting issues on x509.certificate_managed triggering unnecessary changes
Fixes #56556
2020-07-13 16:37:51 -07:00
Wayne Werner
b1af5c64c5 Added changelog 2020-07-13 15:57:30 -07:00
Mathieu Parent
fec3c93e4e Use atomic open to write cache
Otherwise a race can happen between Salt processes and results in unpack error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/pillar/__init__.py", line 745, in render_pstate
    **defaults)
  File "/usr/lib/python3/dist-packages/salt/template.py", line 101, in compile_template
    ret = render(input_data, saltenv, sls, **render_kwargs)
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 378, in render
    return _decrypt_object(gpg_data, translate_newlines=translate_newlines, encoding=kwargs.get('encoding', None))
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 357, in _decrypt_object
   translate_newlines=translate_newlines)
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 353, in _decrypt_object
    return _decrypt_ciphertexts(obj, translate_newlines=translate_newlines, encoding=encoding)
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 328, in _decrypt_ciphertexts
    ret, num = GPG_CIPHERTEXT.subn(replace, to_bytes(cipher))
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 325, in replace
    result = to_bytes(_decrypt_ciphertext(match.group()))
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 298, in _decrypt_ciphertext
    cache = _get_cache()
  File "/usr/lib/python3/dist-packages/salt/renderers/gpg.py", line 280, in _get_cache
    minion_cache_path=os.path.join(cachedir, 'gpg_cache')
  File "/usr/lib/python3/dist-packages/salt/utils/cache.py", line 37, in factory
    return CacheDisk(ttl, kwargs['minion_cache_path'], *args, **kwargs)
  File "/usr/lib/python3/dist-packages/salt/utils/cache.py", line 90, in __init__
    self._read()
  File "/usr/lib/python3/dist-packages/salt/utils/cache.py", line 138, in _read
    cache = salt.utils.data.decode(salt.utils.msgpack.load(fp_, encoding=__salt_system_encoding__))
  File "/usr/lib/python3/dist-packages/salt/utils/msgpack.py", line 116, in unpack
    return msgpack.unpack(stream, **_sanitize_msgpack_kwargs(kwargs))
  File "/usr/lib/python3/dist-packages/msgpack/__init__.py", line 58, in unpack
    return unpackb(data, **kwargs)
  File "msgpack/_unpacker.pyx", line 211, in msgpack._unpacker.unpackb
msgpack.exceptions.UnpackValueError: Unpack failed: error = 0
2020-07-13 15:55:09 -07:00
twangboy
6d9df8e8e7 Add changelog 2020-07-13 15:49:08 -07:00
Gareth J. Greenaway
3cd9549878 Adding changelog file 2020-07-13 15:47:29 -07:00
twangboy
42eeccf8b6 Add changelog 2020-07-13 15:43:42 -07:00
piterpunk
1b21bcc02f Changes the 'SSDs' grain name to 'ssds'
- By the documentation (https://docs.saltstack.com/en/latest/topics/grains),
  all grains needs to be resolved in lowered case, so the 'SSDs' grain was
  changed to 'ssds'.
2020-07-13 15:42:18 -07:00
piterpunk
5493a50942 Added the Changelog entry for fix 57612
- Fixes issue with virtual block devices, like loopbacks and LVMs,
    wrongly populating the "disks" or "SSDs" grains.
2020-07-13 15:42:18 -07:00
Gareth J. Greenaway
0ddb93995b Requested changes. Additional test for the False state. 2020-07-13 07:03:39 -07:00
Gareth J. Greenaway
0e32651b59 Adding changelog file. 2020-07-13 07:03:39 -07:00
Jorge Schrauwen
95eda904fc [Fix] #57714 virtual grain should work on illumos 2020-07-13 07:02:21 -07:00
Sam SIU
b9ceb89e9d [#56901] network.managed state failed to bring down lo ip alias
- Added support to lo ip alias in network.managed state
- Added test case for the change
2020-07-13 06:59:03 -07:00
twangboy
e90abe5b33 Add changelog 2020-06-09 02:22:20 -07:00
Pedro Algarvio
16551e45fe Update noxfile.py to work with upstream nox 2020-06-08 17:40:55 -07:00
Markus Kramer
39e74066d0 Pofiling should be Profiling! 2020-06-08 17:39:52 -07:00
Markus Kramer
c80bcdc50d documentation 2020-06-08 17:39:52 -07:00
twangboy
bfde74f1b0 Fix spalling 2020-06-08 17:38:35 -07:00
twangboy
7dd1bbfe91 Update changelog 2020-06-08 17:38:35 -07:00
twangboy
79c887ee26 changelog 2020-06-08 17:38:35 -07:00
Wayne Werner
f637c4e032 Add changelog keep file 2020-06-06 20:59:24 -07:00
twangboy
fdec215072 Add change log 2020-06-04 10:10:07 -07:00
Wayne Werner
51dc125d76 Sodium Changelog 2020-05-23 12:55:19 -07:00
Wayne Werner
21ccabfc9b Add Sodium release missing changelog files. 2020-05-23 12:55:19 -07:00
Sebastian Marsching
8168db5dbb Add test for fix in salt.modules.file.check_file_meta. 2020-05-21 20:49:31 -07:00
Wayne Werner
ee181c97a5
Sodium deprecations (#57370)
* Drop deprecated mac_brew_pkg namespace fixup

Closes #57361

* Note deprecation in release notes

* Remove deprecated napalm_network features

Closes #57362

These arguments are no longer useful, since we no longer support using
NAPALM native templates.

* Remove selinux.fcontext_add_or_delete_policy

It was deprecated and slated for removal in Sodium. Closes #57363

* Remove deprecated refresh_db param

Closes #57366

Parameter has been renamed to `refresh`

* Remove deprecated sdecode functions

Closes #57367

sdecode and sdecode_if_string functionalities have both been moved to
decode.

* Remove assorted deprecated features

Closes #57368

- removed obsolete .destroy methods from zeromq channels
- removed winexe support from salt.utils.cloud
- removed obsolete override_name from
  salt.utils.context.NamespacedDictWrapper
- removed obsolete `show_ipv4` parameter from salt.utils.minions
- removed impacket support from salt.utils.smb
- removed obsolete salt.transport.Channel, and fixed test.

* Change module.run deprecation version

* Remove deprecated destroy test

* Remove deprecation from skip

* Re-add keystone docs

* Blacken merge conflict

Co-authored-by: Daniel Wozniak <dwozniak@saltstack.com>
2020-05-21 19:46:14 -07:00
Ken Crowell
22b9e30ad9 Fix s3fs cache byte/str mismatch 2020-05-21 16:44:05 -07:00
jude
5342442903 57347: Updating rpm_lowpkg:version_cmp warning messages 2020-05-20 16:37:05 -07:00
Cédric Bosdonnat
f19bcf49c2 virt: handle build differently depending on the pool type
Some libvirt storage pools backends don't implement the build function.
In thoses cases the virt.pool_defined and virt.pool_running states must
not run the virt.pool_build() function.

There are also cases where build only works once. For example when
creating a LVM VG or a disk partition pool, if the VG or partition is
already present build will fail.

Fixes issue #56454
2020-05-20 16:35:28 -07:00