Skip to content

Latest commit

 

History

History
350 lines (285 loc) · 27.5 KB

CHANGELOG.md

File metadata and controls

350 lines (285 loc) · 27.5 KB

Changelog

v1.12.3 (2022-12-13)

Fix

  • Add cache decorator for older python versions. (c4c1a67)
  • mrack.spec: Missing dependency in c8s for beaker-client (aac3ed4)
  • AWS: Refactor sources to be py3.6 compatible (cd0335a)

v1.12.2 (2022-12-02)

Fix

  • Owner requirement boolean parsing from string (592f364)

v1.12.1 (2022-11-24)

Fix

  • Make db file and provisioning file optional (9449082)
  • Use MrackError in action Up to catch all possible mrack errors at once (990224b)
  • Validate ownership and lifetime only for AWS and OpenStack (111d481)

v1.12.0 (2022-11-14)

Feature

  • aws: Add owner/lifetime info in VM's metadata (ed9e977)
  • openstack: Add owner/lifetime info in VM's metadata (e33038e)

Fix

  • Integration test_actions test fixes (07682c1)
  • Do not use deprecated asyncio.coroutine wrapper (c66fef7)

v1.11.0 (2022-11-03)

Feature

  • AWS: Add multiple subnet support & IPs availability check (742ed9c)

Fix

  • mrack.spec: Fix the location for mrack.egg-info (9a998bc)
  • mrack.spec: Cli package files and deps (f76c31a)
  • Podman: Fix action ssh import failing if podman provider not found (87c397e)
  • mrack.spec: Remove unecessary statement (dbb43f3)

v1.10.0 (2022-10-26)

Feature

  • OpenStack: Pick from all networks based on load (317c2ac)

Fix

  • Update paths in specfile and python_provide (5262bca)
  • utils: Add encoding to open functions (e28e044)
  • Podman: Add encoding to open function (84cd4dc)
  • Beaker: Add encoding to open when opening ssh key (71ef2f1)

v1.9.1 (2022-10-20)

Fix

  • Add CHANGELOG.md to MANIFEST.in (64fa546)
  • Update spec to match fedora community standard (91726d7)
  • Beaker: Traceback when hub is not accessible at session creation (18f6b78)
  • Beaker: Connection to hub timing out (9c258d8)

v1.9.0 (2022-10-12)

Feature

  • Split mrack spec to multiple packages (1709af0)

Documentation

  • Update installation steps based on mrack package division (48b16f4)

v1.8.1 (2022-10-10)

Fix

  • Add missing split support for transformer (d22d360)

v1.8.0 (2022-10-10)

Feature

  • Add support to dynamically load providers (607c99c)

Fix

  • Use encoding when opening files in setup.py (3ef4b92)

v1.7.0 (2022-09-20)

Feature

  • Beaker: Specify ks_append per host or config (59ba489)
  • Beaker: Support configurable jobxml specs (e9b6fa7)
  • Beaker: Support custom configurable ks_meta values (e167443)

Fix

  • Beaker: Do not throw an Exception when not authenticated (d1b794b)
  • Issue when searching for value when dict_name == attr (98255c7)
  • Beaker log polling to logfile instead of console (be560d9)

v1.6.0 (2022-07-27)

Feature

  • pytest-multihost: Arbitrary attributes for hosts (d0c28f6)
  • ansible-inventory: Host arbitrary attributes (65057e7)
  • Copyign meta_ attributes from host to ansible inventory (3da517c)

Fix

  • pytest-multihost: Crash when group is not defined (d337a7b)
  • pytest-multihost: Crash when mhcfg is missing in prov. config (d6e3483)

v1.5.0 (2022-07-08)

Feature

  • AWS: Create unique instance name with the tag (b3e31e0)

v1.4.1 (2022-06-17)

Fix

  • Creating inventory with None host (7489240)

v1.4.0 (2022-05-05)

Feature

  • AWS: Move tagging into creation request itself (b4fae6b)

Fix

  • AWS: Return False when ValidationError is raised (bb5594b)

v1.3.1 (2022-04-05)

Fix

  • Image transformer none value in requirements (cb5290d)

Documentation

  • Update the _get_image() method doc string (6b88058)

v1.3.0 (2022-04-01)

Feature

  • Beaker: Support distro variant configuration (e568507)
  • Openstack: Printout compose_id when using -latest image pointer (bb91893)
  • aws: Delete volumes on termination (d90375e)
  • Possibility to disable host DNS resolution in outputs (3fbd133)
  • aws: Request spot instances (25576cb)
  • aws: Defining AMIs by tags (a04497c)

Fix

  • Use host['os'] as default value when distro is not found (253a380)
  • Virt: Remove password when provisioning windows (e3a976a)

Documentation

  • aws: Add missing examples to provisioning config (e00e149)

v1.2.0 (2021-12-15)

Feature

  • aws: Support for PrivateIpAddress (8b7ed70)
  • aws: Subnet support (01c6bf5)
  • aws: Multiple security groups (1340813)
  • Openstack: Poll openstack load when running can_provision() (8ef8312)
  • Search also provider config for username (8419698)
  • Find_value_in_config_hierarchy utility method (c05ab58)

Fix

  • SSH action - do not redirect to PIPEs (8992629)
  • Prepare_provisioning now shall return bool value (7e47c6f)
  • Virt: Handle traceback when image is not accessible (a0de847)

v1.1.1 (2021-11-25)

Fix

  • Add domain name for fqdn if host has short name (a870f7f)

v1.1.0 (2021-11-23)

Feature

  • Add shortname in Ansible inventory output (ea76cbc)
  • Add group specific ssh config possibility (f0e32d8)
  • Make post provisioning ssh check configurable (c419dc2)
  • Beaker: Add parsing of HostRequires to the job (e696872)
  • Podman: Add possibility to run post provisioning commands (ea488fc)

Fix

  • OpenStack: Do not raise exception when using unavailable network (6c31bb6)
  • openstack: Use shortnames for Windows vm names (d4a1bec)
  • AWS: Fix provision of non-existing ami (0971479)
  • Beaker: Change host status to error when task did not pass (90cd628)
  • Podman: Fix the exception handling when container creation is failing (6df9605)
  • Podman: Raise an exception when image failed to pull (ed79732)

Documentation

  • Add post-provisioning ssh check docs (ef0e339)
  • Fix toctree for guides (d9075f9)

v1.0.0 (2021-09-03)

Feature

  • Use global context instead of dictionary as ctx for click (9f38a3c)
  • Use GlobalContext class in runtime (2c23c97)
  • Log message when job is not changing state (9e50f46)
  • Improve logging for openstack and ssh subprocess (7594732)
  • Do not destroy if there are not success hosts (84dce71)
  • Virt: Support testcloud v0.6.0 and later (6403bd6)
  • Virt: Log the tracebacks for Virt provider (d508aff)
  • Use max_retry across providers to define retry count (d8caab5)
  • Beaker: Use timeout instead of number of retries (00330ef)
  • Add possibility to change strategy per provider in provisioning config (ee8cb36)

Fix

  • AWS: Catch traceback when credentials are missing (1dc975e)
  • Podman: Handle premature deletion (0353d89)
  • Beaker: Delete_host handle premature deletion (c57ff28)
  • Virt: Create more readable output and move to debug (04d4d4a)
  • Do not end provisioning if there are no resources (4cbdc50)
  • OpenStack: Add exception handling to init of provider (5ac9eaf)
  • Beaker: Handle Fault exception when contacting hub (02cfd66)
  • Attempts should be greater than max_retry (e29e92d)
  • Add missing '/' to log message while deleting (65e4ad0)
  • Make static provider more verbose (9c6b217)
  • Destroy active VMs after other providers fail (7e58e5d)
  • Add verbosity to virt and podman resource deletion (c7653fb)
  • Beaker: Beaker job link add missing '/' in url (4a33072)
  • Virt: Add de-sync state and fix error parsing. (5875883)
  • Do not remove error hosts when doing last retry (6201042)
  • Fail without traceback when job times out (5aa156e)
  • Use SPECS and ERROR_OBJ keys to create fault object (2de1f6f)
  • Unite providers's create server to return tuple (5f9ba63)
  • Do not proceed to ssh check if port is not open (ea94a8e)

Breaking

  • Release 1.0.0 candidate (2df06d7)
  • Using GlobalContext class in runtime allows us to use mrack actions without parameters Up/Destroy/... which simplify the workflow in scripts so mrack can be used as library in python automation. (2c23c97)

Documentation

  • Add docs about usage mrack as lib (2df06d7)
  • Fix title underline too short (225cff4)
  • Add documentation to strategy switch (5cd1a8a)

v0.14.0 (2021-07-01)

Feature

  • Beaker: Add distro tag from provisioning conf (762e88a)

v0.13.0 (2021-06-08)

Feature

  • Support size definition in metadata (b3923ba)

Fix

  • Use BaseOS as variant for RHEL9.0 in Beaker (9908257)

v0.12.0 (2021-05-13)

Feature

  • Gracefully destroy servers after traceback (ab22410)
  • Wait for provider resources up to hour (b9612cf)
  • OpenStack: Check openstack response for resources issue (328e0c9)
  • Virt: Use generated run IDs for parallel jobs (60292ea)
  • Password authentication in ssh_to_host (dd151b5)
  • Virt a local virtual machine provider (b2f917e)
  • OpenStack: Move network translation to provider (5d5146b)
  • Add capability to disable ssh check (efc5061)
  • OpenStack: Distribute choosing of networks (b28acca)

Fix

  • Remove redundant host validation (baa2a06)
  • Change priority of hardcoding Administrator to Win hosts (3a5f19f)
  • Do not add the config_drive_req to req (db1f82a)

Documentation

  • Update method docsting as it does not Validate hosts anymore (46e725c)

v0.11.0 (2021-05-07)

Feature

  • Log mrack version into mrack.log (8ffa3c6)
  • Add --version option to mrack cli (1863b79)

Fix

  • Decrease and insanely long timeout (2d8ed4e)

v0.10.0 (2021-04-30)

Feature

  • Create podman networks in preparation (c6791ce)
  • Pull podman images in preparation (c19b230)
  • Check ssh connectivity outside of pares_error_hosts more than once (ecd5470)
  • Use always root user for provisioned containers (311a8a5)
  • Use more flexible way of defining podman names (a94d922)
  • Use ssh public key to access container instead of podman id (87c1ff0)
  • Add capability to use custom podman options (d05a41f)

Fix

  • The type of duration is not correct (dbdc25c)
  • Ssh action crashes as it misses global_context (a210f6e)
  • Log error when ssh fails after provisioning (76af86e)
  • Do not use compression when trying ssh to machine (26d89be)
  • Mrack ssh action needs host.host_id for podman (c4daabd)
  • Use pubkey instead of keypair for beaker (abc2a84)
  • Podman provider logger does not use Podman prefix (ef7dd59)

Documentation

  • Add example provisioning config for podman (f54b2e9)
  • Fix typo in docstring (255032b)

v0.9.0 (2021-04-19)

Feature

  • Enable config drive in OpenStack (3cdb54b)

v0.8.0 (2021-04-15)

Feature

  • Use ssh to check VM availability after provisioning (7af47ec)

Documentation

  • Add info on how to install on Fedora (90a52bc)

v0.7.1 (2021-03-23)

Fix

  • Update project homepage (1a1a0c2)

Documentation

  • Add copr build badge and fix some typos (f85e236)

v0.7.0 (2021-03-22)

Feature

  • Add RPM spec file (17aebbb)
  • OpenStack: increase polling time based on number of hosts (7558969)

Fix

  • Handle ServerError in all Openstack calls (585543a)
  • Handle timeout state and treat it as an error (a6b9738)
  • Podman ansible inventory and status_map (503a680)
  • Fix pylint isssues and reuse existing methods (788b2ff)
  • If mrack is run first time db may not exist (bd51176)
  • Require beaker version with support for python 3.9 (6f22bea)
  • OpenStack provider does not crash if no credentials are provided (6115c1a)
  • Provider: await abort_and_delete (8f361f5)

v0.6.0 (2021-01-27)

Feature

  • Podman support in SSH action (10a43f1)
  • Podman support in Ansible inventory (f5dbed9)
  • Add Podman provider (ef35545)

Fix

  • Handle ServerError in OpenStack provisioning (46048c0)
  • More verbose print about available networks (824b359)

v0.5.2 (2020-12-21)

Fix

  • Mrack eh add no longer complains about coroutine 'eh' not awaited (7dbdd6a)
  • Error for non authorized user reading image (a5c355d)
  • Mrack.conf '~' causes no such file or directory (4b8dee8)
  • Load possible missing image specified in metadata (19103c0)

v0.5.1 (2020-12-14)

Fix

  • Set user for Windows host in pytest-multihost config (e36138c)

v0.5.0 (2020-12-11)

Feature

  • Retry provisioning strategy (3683d3c)

Fix

  • Openstack: log which server is being provisioned (d89aa5d)
  • Pytest-multihost: handle unresolvable IP into DNS (56c716e)
  • Fix making ssh_key_filename absolute for default behavior. (6b5ea95)
  • Remove double status translation in parse_errors (e5da9cd)

v0.4.0 (2020-12-07)

Feature

  • Output file paths configurable in mrack config (1761baf)
  • Simple way to add hosts into /etc/hosts file (da24ac5)

Fix

  • Use meta_ prefix for parent domain (aaeeb58)
  • Add missing annotations for mypy (2427b15)
  • Remove deprecated flag --recursive from Makefile (48937f3)
  • Move common methods to transfromer.py (4ea839e)