FreeNAS/freenas ae34d75src/middlewared/middlewared/alert/source active_directory.py nis.py, src/middlewared/middlewared/plugins nis.py activedirectory.py

Ensure that triggered alerts also update DS state

Also make the various "set_state" functions naming consistent.
I also noticed that I needed to update the return values for
'nis.started'. The various <ds>.started functions should
return True if it's healthy, False if it's disabled, and raise
an exception if it's enabled and not healthy.

ypwhich has some strange and not very helpful failure modes. It
may return 1 indicating failure, or it may fail and return 0. Checking
for stderr is probably less problematic. If it returns 1, there is
also output on stderr so we can reduce the checks here.

FreeNAS/freenas cf2ed60src/middlewared/middlewared/etc_files/local/openldap ldap.conf

Fix traceback in ldap.conf generation

FreeNAS/freenas 42d709asrc/middlewared/middlewared/plugins jail.py

Add start/stop jail checks

FreeNAS/freenas 15eda96src/middlewared/middlewared/alert/source active_directory.py nis.py, src/middlewared/middlewared/plugins nis.py activedirectory.py

Ensure that triggered alerts also update DS state

Also make the various "set_state" functions naming consistent.
I also noticed that I needed to update the return values for
'nis.started'. The various <ds>.started functions should
return True if it's healthy, False if it's disabled, and raise
an exception if it's enabled and not healthy.

ypwhich has some strange and not very helpful failure modes. It
may return 1 indicating failure, or it may fail and return 0. Checking
for stderr is probably less problematic. If it returns 1, there is
also output on stderr so we can reduce the checks here.

FreeNAS/freenas a779ef9src/middlewared/middlewared/etc_files/local/openldap ldap.conf

Fix traceback in ldap.conf generation

FreeNAS/freenas 7f2c49fsrc/middlewared/middlewared/plugins backup.py, tests/api2 backup.py backup_credential.py

We are not using backup plugin anymore

FreeNAS/freenas 6dfa409src/middlewared/middlewared/plugins datastore.py

query-filters and query-options null fix follow-up

FreeNAS/freenas 9779d7asrc/middlewared/middlewared/plugins network.py

fix(middlewared/network): make sure interface is UP before dhclient

Ticket: NAS-103577

FreeNAS/freenas d74c0fdsrc/middlewared/middlewared/plugins iscsi.py

Fix defaults

FreeNAS/freenas fae6795src/middlewared/middlewared/plugins datastore.py

There is no sense in making query-filters and query-options null

FreeNAS/freenas dee822asrc/middlewared/middlewared sqlalchemy.py, src/middlewared/middlewared/alembic/versions/12.0 2019-10-22_17-52_rename_indexes.py

Rename indexes migration

FreeNAS/freenas 887cc0asrc/freenas/usr/local/lib/migrate113/freenasUI choices.py, src/freenas/usr/local/lib/migrate113/freenasUI/account/fixtures bsdUsers.json bsdGroups.json

migrate113

FreeNAS/freenas f269704src/middlewared/middlewared/plugins jail.py

Correctly query jail attachments

This commit makes sure that we don't retrieve jails if the query specified path is 
different then that of the jails dataset.

FreeNAS/freenas ff16079src/middlewared/middlewared/plugins network.py

fix(middlewared/network): rollback for HA and sync routes after interfaces

Ticket: NAS-103303

FreeNAS/freenas 1f63feasrc/middlewared/middlewared/plugins network.py

fix(middlewared/network): rollback for HA and sync routes after interfaces

Ticket: NAS-103303

FreeNAS/freenas cc846basrc/middlewared/middlewared/plugins alert.py crypto.py

Fix defaults

FreeNAS/freenas f0ceb06src/middlewared/middlewared/plugins acme_protocol.py keychain.py

Fix defaults

FreeNAS/freenas 8e1beaagui/tools arc_summary.py

Merge pull request #3696 from freenas/NAS-103539-11.2

NAS-103539 / 11.2 / Fix arc_summary.py l2arc ValueError exception (by freqlabs)

FreeNAS/freenas 97f9ebdgui/tools arc_summary.py

Fix arc_summary.py l2arc ValueError exception

Use the Decimal values of the kstat to find the total number of L2ARC
evictions rather than trying to parse the formatted numbers as ints.

Ticket: NAS-103539
(cherry picked from commit 235664e2614e8ac1b05ccfc39a834827cd8f6a02)

FreeNAS/freenas 814b04dsrc/middlewared/middlewared/etc_files rc.conf.py

ensure mapping dict is defined

FreeNAS/freenas b0dc583src/middlewared/middlewared/etc_files rc.conf.py

properly configure rc.conf.local on TrueNAS HA

FreeNAS/freenas 040d5d9src/middlewared/middlewared/apidocs/templates/websocket jobs.md events.md

Address docs review for api v2 docs

FreeNAS/freenas 65491f1src/middlewared/middlewared/plugins filesystem.py

Explicitly check for ACL support in filesystem.acl_is_trivial

On paths without nfsv4 ACL support (e.g. tmpfs), acl_is_trivial_np()
raises an OSError. Make an explicit check via pathconf to determine
whether NFS4 ACLs are supported on the path before making the
syscall.

FreeNAS/freenas b93f1e4src/middlewared/middlewared/alert/source samba4.py

NAS-103566: Fix Auto-Migration spelling error

FreeNAS/freenas 31b5104src/middlewared/middlewared service.py

fix(middlewared/core): properly show address for `core.sessions`

FreeNAS/freenas 235664egui/tools arc_summary.py

Fix arc_summary.py l2arc ValueError exception

Use the Decimal values of the kstat to find the total number of L2ARC
evictions rather than trying to parse the formatted numbers as ints.

Ticket: NAS-103539

FreeNAS/freenas a4f15f8gui/tools arc_summary.py

Fix arc_summary.py l2arc ValueError exception

Use the Decimal values of the kstat to find the total number of L2ARC
evictions rather than trying to parse the formatted numbers as ints.

Ticket: NAS-103539

FreeNAS/freenas 1f39ecfsrc/middlewared/middlewared/plugins filesystem.py

Explicitly check for ACL support in filesystem.acl_is_trivial

On paths without nfsv4 ACL support (e.g. tmpfs), acl_is_trivial_np()
raises an OSError. Make an explicit check via pathconf to determine
whether NFS4 ACLs are supported on the path before making the
syscall.

FreeNAS/freenas ede1b4asrc/middlewared/middlewared/plugins jail.py

Ensure iocage checks are performed on boot

This commit ensures iocage checks are performed before attempting to start any jail which 
is supposed to start at boot.

FreeNAS/freenas b3f1a7bsrc/middlewared/middlewared/plugins sysdataset.py pool.py

Add system dataset checks

FreeNAS/freenas 3218cdasrc/middlewared/middlewared/plugins filesystem.py

Explicitly check for ACL support in filesystem.acl_is_trivial

On paths without nfsv4 ACL support (e.g. tmpfs), acl_is_trivial_np()
raises an OSError. Make an explicit check via pathconf to determine
whether NFS4 ACLs are supported on the path before making the
syscall.

FreeNAS/freenas 9b84b0bsrc/middlewared/middlewared/etc_files rc.conf.py

ensure mapping dict is defined

FreeNAS/freenas 1b6dc7dsrc/middlewared/middlewared/plugins jail.py

Ensure iocage checks are performed on boot

This commit ensures iocage checks are performed before attempting to start any jail which 
is supposed to start at boot.

FreeNAS/freenas 15fc558src/middlewared/middlewared/plugins filesystem.py

Handle OSError in filesystem.acl_is_trivial

On paths without nfsv4 ACL support (e.g. tmpfs), acl_is_trivial_np()
raises an OSError. In this case, catch the OSError and return True
because the filesystem by definition can't have an ACL.

FreeNAS/freenas 2e41205src/middlewared/middlewared/plugins pool.py

Export keys for an encryption root

FreeNAS/freenas 14ae239src/freenas/etc rc.conf.local

Merge pull request #3659 from freenas/NAS-103496

NAS-103496 / 11.2 / properly handle rc.conf.local on TrueNAS HA systems

FreeNAS/freenas 5d919d5src/middlewared/middlewared main.py

Fix asyncio + futures memory leak on python 3.6

FreeNAS/freenas 71ab0cesrc/middlewared/middlewared/plugins pool.py

Add method to keep db keys reflect encrypted datasets reality

FreeNAS/freenas 1e2468bsrc/middlewared/middlewared/plugins pool.py

Unlock raw/hex encrypted datasets at boot

FreeNAS/freenas 60c8e59src/middlewared/middlewared/plugins pool.py

Fix key loading check

FreeNAS/freenas 09c3db5src/middlewared/middlewared/plugins pool.py

Correctly recursively lock datasets

FreeNAS/freenas 5024351src/middlewared/middlewared/plugins zfs.py

Add ability to umount dataset before unloading key

FreeNAS/freenas ce58c35src/middlewared/middlewared/plugins pool.py

Expose method to summarise encryption roots

FreeNAS/freenas 48a26e2src/middlewared/middlewared/plugins pool.py

Add ability to generate a new key for encrypted datasets

FreeNAS/freenas 126f390src/middlewared/middlewared/plugins zfs.py

Add bulk processing to zfs.dataset service

FreeNAS/freenas f99561esrc/middlewared/middlewared/plugins pool.py

Expose method to inherit parent encryption root properties

FreeNAS/freenas 6f0fe49src/freenas/usr/local/lib/middlewared_truenas/plugins failover.py, src/middlewared/middlewared/plugins datastore.py

Address review

FreeNAS/freenas a06a006src/middlewared/middlewared/etc_files rc.conf.py

properly configure rc.conf.local on TrueNAS HA

FreeNAS/freenas 0056d68src/middlewared/middlewared service.py

fix(middlewared/core): properly show address for `core.sessions`

FreeNAS/freenas 57c245asrc/middlewared/middlewared/common/smart areca.py smartctl.py, src/middlewared/middlewared/pytest/unit/common/smart test_areca.py test_smartctl.py

Areca S.M.A.R.T. fixes