Current behaviour of cp.push is that salt master checks file_recv_max_size
during file transfer process. Given that by default this limit is
about 100MB if we try to send 101MB then 100MB would be sent anyway,
and only after that master interrupts the transfer. Such useless
transfers should be avoided.
This commit adds additional field 'size' to 'load' structure that
minion sends to master, transfrerring file size in every message,
so that master can check the size recieving just the first chunk
of data, saving the queue bandwith.
The `no_chown` option in various functions was marked for removal in
Fluorine. This PR removes those warnings and updates the releaes notes
accordingly.
This PR also updates some of the Fluorine references in the zfs module
as the documentation can be more specific.
Since `Fluorine` was misspelled in a couple of places and subsequently fixed,
the removal of the `cache_nodes_ip` function was missed.
This PR removes the deprecated `cache_nodes_ip` function from salt.utils.cloud.
This PR also updates some of the warn_util versions to match the removal/support
warning message. The `warn_util` version was set to `Fluorine`, but the "will be
removed in version" message stated Sodium. Sodium is the correct version, so the
docs and warn_util versions have been corrected.
This removes the need to hard code contents in the test. The roots
fileserver just reads from the file in binary mode, so we should be able
to do the same in the test to confirm the correct behavior of the roots
backend.
The PR tests use the ``.testing.pylintrc`` file, rather than the
more restrictive ``.pylintrc`` file. This can be a point of confusion
when following the current documentation.
The docs should reference the testing file and that the Jenkins PR
tests use ``.testing.pylintrc`` instead of ``.pylintrc``.
Fixes#48417
Doing a pwd.getpwnam() will raise a KeyError
exception that is not catched anymore, after
a change that happened in 2012. Do catch that.
Signed-off-by: Rares POP <rares.pop@ni.com>
User need to be able to update an existing virtual machine definition.
This function changes the definition for the next start of the VM and
tries hard to live update the virtual machine.