* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* doc
* changelog
* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* doc
* changelog
* Add some tests
* Rename instead of remove
* doc
* no sleep
* pylint
* Use direct import instead of __utils__
* Remove __utils__ from other modules __virtual__ func
* Remove py2 code
* Revert boto_ec2
There's a problem with the assign_funcs util that I don't know how to
fix
* Rever boto_sns
There a problems with the assign_funcs util that I don't know how to fix
* Remove py2 code form elbv2
* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* delete_schedule_conf_on_yaml_parse_error
* doc
* changelog
* Add some tests
* Rename instead of remove
* doc
* no sleep
* pylint
* Remove py2
* Fix format strings
* Fix some black
* fix some lint
* Fix failing test
* Added changelogs
* Moved test code of Twangboy, help of DmitryKuzmenko
* Redundant import
* Fix black
* Fix issue with iterator
Co-authored-by: twangboy <slee@saltstack.com>
This is a code cleanup change as the directory contains more than
the module.dep.{timestamp,md5sum} files, so the test was misleading.
The old file test was a remnant from when the only reboot sources were
kernel module changes (the files still get created unconditionally).
This is a change done by Ioan-Adrian Ratiu in NI salt repo: commit 505206
Signed-off-by: Cristian <cristian.hotea@ni.com>
* Port #49697 to master
Fix set_static_all, always display requestmode and refactor
_change_state.
Display requestmode even if service is offline. This will keep parity
between older and newer nilrt distro.
Split the logic of _change_state function for older and newer disto.
Fix set_static_all. If there are no nameservers specified, we shouldn't
set any property for nameservers configuration to the service.
* Port #49926 to master.
Configure network interfaces without cable & add tests.
On NG we use connman as a network manager which consider a service, an
interface connected with a cable. The only way to set-up an interface
without a cable is through config files. This works also for services
because before we start the connamn daemon, we create a config file,
/var/lib/connman/interfaces.config with DHCP settings for each
interface.
* Require pyifaces, skip test if no pyifaces installed.
* Update unit test correspondingly to the module changes.
* Ran pre-commit hook
Co-authored-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
because the future was generated from tornado.gen.sleep, its eventual timer
still fires regardless of if the future is manually set with set_result. When
set_result is called twice (once manually by saltnado, once by tornado call_later),
a stacktrace like so is thrown:
[ERROR ] Uncaught exception POST / (::1)
Traceback (most recent call last):
File "/home/mphillips81/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "<string>", line 3, in raise_exc_info
File "/home/mphillips81/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tornado/stack_context.py", line 314, in wrapped
ret = fn(*args, **kwargs)
File "/home/mphillips81/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tornado/gen.py", line 771, in later
f.set_result(None)
File "/home/mphillips81/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tornado/concurrent.py", line 254, in set_result
self._set_done()
File "/home/mphillips81/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tornado/concurrent.py", line 298, in _set_done
for cb in self._callbacks:
TypeError: 'NoneType' object is not iterable
This patch attempts to fix that.
The 'mem' property in the virt.update value should indicate the result
of a live memory setting. The value should be an int in KiB. Fixing the
code and tests for this.
This patch ensures that the extents file attribute is ignored when
comparing file attributes. This is necessary because this attribute is
set by the underlying file system and can never be reset.