# changelog

author: Paul Cuzner <pcuzner@redhat.com> 2.1-1
changelog:
  - updated for TCMU support (krbd/device mapper support removed)
  - rbd-target-api restructured to remove python-flask-restful dependency
  - api endpoints available through a get /api call
  - spec updated for pyOpenSSL dependency (used by API)
  - added feature text to disk info command instead of just a feature code (int)
  - automatically select TLS version based on version of werkzeug
  - disk resize and info now available from the upper level 'disks' section
  - requested commands echo'd to the log file improving audit record
  - add gateways refresh command
  - fix: disk resize now changes all related entries in the tree
  - ceph clusters are populated automatically through presence in /etc/ceph
  - added ceph cluster name to disk info output
  - 'ansible' mode exports decrypt chap passwords automatically
  - cli installation binds rbd-target-api to the unit state of rbd-target-gw
  - workflow: switch dir to newly created client to speed up client definition
  - workflow: non-existent disk gets autodefined within the client dialog
  - gateway health determined using iscsi port AND api port state


author: Paul Cuzner <pcuzner@redhat.com> 2.5-2
changelog:
  - automatically check state of gateways every 5 seconds
  - hostgroup logic updated
  - added an isalive api endpoint to check state of gateways
  - abort any change request, when there are offline iscsi gateways


author: Jason Dillaman <dillaman@redhat.com> 2.6-1
changelog:
  - new release
  - rbd-target-api: fix create gateway issue
  - rbd-target-api: adjust minimum supported kernel version
  - storage: use multi-threading when fetching the size of rbd images
  - gateway: store the scan_threads in the UI root object
  - gwcli: add -t option to control parallelism during rbd scans
  - client: updated to include ip addr and alias for an info command
  - get_disks API adds 'config=yes' parameter support
  - rbd-target-api add detail examples for all APIs
  - Fix hostgroup params and keep code the same with the doc's descripttions
  - Fix for disk doc message
  - gateway: Throw the error message more clearly
  - Fix for poolnames containing '-' chars
  - client auth comments and help doc update
  - rbd-target-api: remove useless internal_text
  - gateway - catch export requests made when the config is empty
  - Enforce the minimum gateways setting
  - Properly construct seed gateway list
  - Prevent creation of more than 256 disks
  - client auth logic updated to further validate username/password chap strings
  - updated APIRequest Logic to handle connection failures
  - Validate client IQN for create and delete UI actions
  - Wrap JSON response decoding with exception handling
  - Corrected health check summary scrap logic for Luminous
  - storage: add further validation to disk create request
  - storage: fix the display of capacity when adding disks
  - client: fix auth workflow issue BZ 1491550
  - rbd-target-api: bypass rpm checks if the platform is not redhat
  - rbd-target-api: be less specific with the package checks
  - rbd-target-api: health check logic and gateway validity checks updated
  - gateway: gateway creation and health checks updated
  - ceph: use the first mon in quorum list when exporting the config
  - ceph: updated to provide more health information within the UI
  - utils: added os_cmd function
  - Improved systemd limits and system protection
  - hostgroup: fix for disk removal from a hostgroup
  - rbd-target-api: fix gateway order during device deletion request
  - rbd-target-api: add image_id validation to the disk endpoint
  - storage: add quick sanity check to a delete request
  - spec: updated to document latest code changes
  - gateway: added a 5sec background thread to check gateway health
  - hostgroup: UI fixes
  - rbd-target-api: fix issue of changes being accepted when a gateway is down
  - storage: ensure create_disk issues a return value
  - client: doctext update
  - utils: fix 'valid_disk' logic
  - rbd-target-api: fix to address a problem when deleting rbd images
  - client: doc updates and added methods to support group management
  - hostgroup: refactored the code, including a number of bug fixes
  - rbd-target-api : minor change to make the code more readable
  - node: prevent 'info' command causing an exception
  - hostgroup: fetch updated group definition to refresh UI subtree
  - rbd-target-api: prevent disk create requests when # gateways <2
  - storage: catch invalid pool names in disk create request
  - gateway: fix api call when clearing the config
  - client/auth: fix special characters accepted in UI


author: Jason Dillaman <dillaman@redhat.com> 2.7-1
changelog:
  - Cleanup handling for max_data_area_mb override (25 minutes ago) <Jason Dillaman>
  - gwcli: accept optional "ring_buffer_size" when creating LUNs (9 days ago) <Venky Shankar>
  - rbd-target-api: disable LUN deactivate call if session logged-in (35 hours ago) <Jason Dillaman>
  - gwcli: fixed hostgroup member/disk form parameter naming (5 days ago) <Jason Dillaman>
  - gwcli: added snapshot create/rollback/delete command (5 days ago) <Jason Dillaman>
  - gwcli: add snapshot listing to disk info command (5 days ago) <Jason Dillaman>
  - rbd-target-api: add disksnap endpoint for managing snapshots (5 days ago) <Jason Dillaman>
  - rbd-target-api: added activate/deactivate modes to the disk endpoint (5 days ago) <Jason Dillaman>
  - Relax OS distro check to support CentOS and RHEL >=7.4 (5 weeks ago) <Jason Dillaman>
  - position correction of function gateways.remove(local_host) (7 weeks ago) <Gangbiao>
  - Prevent ValueError for kernels with multiple dashes (7 weeks ago) <Alexander Bauer>


author: Paul Cuzner <pcuzner@redhat.com> - 0.6-1
changelog:
  - update LUN module to use a pool/image key, and include more meta data on the disk object
  - moved generic rados query functions to the common.utils module
  - updated the client module to handle rbd names in pool/image format


author: Paul Cuzner <pcuzner@redhat.com> - 0.8-1
changelog:
  - fixed tpg creation on existing gateways when a new gateway(s) is added to the configuration
  - removed rpm packages from the source archive


author: Paul Cuzner <pcuzner@redhat.com> - 1.1-1
changelog:
  - spec file updated - patch from ktdreyer
  - alua module reformatting in line with PEP 8
  - gateway object can now defer adding portal IP to the active TPG
  - rbd-target-gw now defers port IP allocation until nodeACLs are applied
  - deferring IP allocation at boot time, prevents windows connectivity issues


author: Paul Cuzner <pcuzner@redhat.com> - 1.2-1
changelog:
  - fix for BZ 1384858 - admin updated hosts file but did not add an ip to gateway_ip_list
  - fix unblacklisting process in rbd-target-gw
  - correct ALUA binding issue
  - added a version number to the rados configuration object
  - fix i/o delays when using non-optimised paths with ALUA


author: Paul Cuzner <pcuzner@redhat.com> - 1.3-1
changelog:
  - fix disk size not showing correctly in targetcli following a resize (BZ 1386149)
  - use of fqdn in the LUN request (BZ 1386939)
  - rbd-target-gw - ensure tpgs are disabled on service shutdown
  - config.gateway - create alua group per tpg
  - config.client - reduce timeouts for faster path failover
  - use global settings config file across modules (BZ 1386617)
  - resize dm device following rbd size request (BZ 1386149)
  - allow host names to use FQDN on LUN request (BZ 1386939)


author: Paul Cuzner <pcuzner@redhat.com> - 1.4-1
changelog:
  - fix - ensure large config objects are read correctly (rhbz 1387297)
  - provide support for the same image name across mulitple rados pools (rhbz 1387952)
  - add lun id to config object preventing potential data corruptions (rhbz 1387953)
  - add create/update datestamps to config object metadata
  - resolve rbd-target-gw reload/restart issues (rhbz 1388703)
  - add lun remove capability
  - fix rbd-target-gw to drop LIO configuration on a systemctl stop request


author: Paul Cuzner <pcuzner@redhat.com> - 1.5-1
changelog:
  - fix - catch config errors at rbd-target-gw startup
  - config.lun - trap unwanted rbd map stderr messages
  - rbd-target-gw - bypass shutdown if the gateway is not in the configuration (rhbz 1390022)
  - config.client - fix handling of invalid client iqn (rhbz 1390023)
  - rbd-target-gw - fix behaviour when daemon started prematurely (rhbz 1390022)
  - config.common - resolve invalid json backtrace during config read (rhbz 1387297)


author: Paul Cuzner <pcuzner@redhat.com> - 2.1-1
changelog:
  - added dependency for rpm-python
  - dropped support for krbd/device-mapper configuration
  - adopted TCMU based LIO configuration using librbd
  - config file name changed to iscsi-gateway.cfg (from *.conf)
  - fix: prevent image_lists with duplicate rbd images from being acted upon
  - if pub/priv keys are in /etc/ceph, passwords will be encrypted in the config object


author: Paul Cuzner <pcuzner@redhat.com> - 2.2-1
changelog:
  - remove redundant environment variable in settings
  - provide a sample cfg file in /usr/share/doc
  - fixes: alua cmd timeouts and service dependency (removing old multipathd)


author: Jason Dillaman <dillaman@redhat.com> - 2.3-1
changelog:
  - group: additional debug msgs added and validation logic changed
  - settings : fix missing default value api_ssl_verify
  - test_group: simple script testing add/update and removal of a host group
  - group: updated to handle updates to the group definition
  - utils: add a simple class to show list items that are added/removed
  - client:bypass setup_luns if the client is under group_name control
  - group.py: initial commit introducing host group management
  - common: update config handling to allow new sections to be added to the config


author: Paul Cuzner <pcuzner@redhat.com> 0.2-1
changelog:
  - added a sort key enabling the summary stats to be sorted by a given metric
  - sort can be in ascending/descending sequence
  - internally changed the indexing of the data from rbdX to pool/image


author: Paul Cuzner <pcuzner@redhat.com> 1.0-1
changelog:
  - switched data source from pmcd's disk.partition to disk.dm
  - simplified the lookup of dm device to rbd name, subprocess call removed
  - added custom exception handler to mask backtrace unless in debug
  - added i/o source flag showing whether the i/o to an rbd is local or not
  - updated invocation to allow sort by io source (t or O ... this or other)
  - added sample defaults file
  - added high level ceph output to the display (health and # osd's)
  - added man page


author: Paul Cuzner <pcuzner@redhat.com> 1.1-1
changelog:
  - size the output line to the maximum rbd image name
  - added the settings module from ceph_iscsi_config to enable non-default ceph names
  - add support for lun names of the format pool.image in lio


author: Paul Cuzner <pcuzner@redhat.com> 1.1-5
changelog:
  - fix issue with missing disk perf stats due to mismatch in disk names
  - fix client count
  - use dns name for the client name if the client is connected


author: Paul Cuzner <pcuzner@redhat.com> 2.0-1
changelog:
  - added provider runtime option (dm or lio) to determine the metrics
  - PCP collector restructured to support LIO and LINUX pmda providers
  - Added collector for LIO stats (pcp-pmda-lio)
  - Added -p switch on invocation to use the lio statistics
  - output formatting now an attribute of the relevant pcp collector class
  - added disk count to summary line
  - added reset of terminal if an exception occurs during textmode run
  - added -b switch to restrict display to only busy LUNs
  - catch thread exceptions within the generic exception_handler function
  - default pcp collector is chosen based on the current LUNs defined to LIO
  - fix rounding issue on LIO iops stats display
  - fix cpu usage calculation (rounding errors seen in 24c configurations)
  - man page updates
  - validate sort key request against the pcp provider type


author: Jason Dillaman <dillaman@redhat.com> 2.1-1
changelog:
  - gwtop: added device filter parameter to show specific devices
  - add -t and -l options to gwtop
  - gwtop: add iops as a sort field for the output
  - BACKLOG: Add backlog file to track user stores for additional functionality
  - gwtop: Updated the logger name to match the scriptname


