Release 0.17.0

Tags:

Attention:

Focus of this release has been:

  • Support for new URL protocol (based on https)
    kankus://khub.example.com/path/to/KankuFile
  • improve packaging for rpm and deb based distros
  • refactor LWP::UserAgent based libraries to use Net::OBS::Client/Net::OBS::LWP/UserAgent which supports experimental 'Signature' HTTP Authentication Scheme
  • cleanup deprecated/obsolete/broken libraries

The following libraries have been deleted.
Please check your configs for the following Handlers:

  • Kanku::Handler::OBSDownload (use Kanku::Handler::ImageDownload)
  • Kanku::Handler::OpenStack::CreateInstance (discontinued w/o replacement)
  • Kanku::Handler::OpenStack::Image (discontinued w/o replacement)
  • Kanku::Handler::OpenStack::RemoveInstance (discontinued w/o replacement)

The following libraries have been also removed. This should only be relevant for kanku developers. Kanku users should not notice these changes:

  • Kanku::Util::HTTPMirror
  • OpenStack::API
  • OpenStack::API::Cinder
  • OpenStack::API::EC2
  • OpenStack::API::Glance
  • OpenStack::API::Neutron
  • OpenStack::API::Nova
  • OpenStack::API::Quantum
  • OpenStack::API::Role::Client
  • OpenStack::API::Role::Service

FEATURES

  • [dist] new package 'kanku-iptables' (Store and restore kanku iptables rules)
  • [dist] added x-scheme-handler kankus://
  • [core] configurable SigAuth for http(s) dependent libraries, e.g.: - Kanku::Handler::OBSCheck - Kanku::Handler::ImageDownload - Kanku::Util::CurlHttpDownload

  • [dist] improvments for rpm/debian packages
  • [test] updated libraries in base check
  • [dist] new kanku job 'test' to create a vm running kanku test suite
  • [handler] removed obsolete OpenStack handler and modules
  • [handler] OBSCheck: setter for api_url for later use
  • [handler] removed deprecated K::H::OBSDownload
  • [templates] examples for Net::OBS::Client authentication
  • [util] deleted Kanku::Util::HTTPMirror

BUGFIXES

  • [handler] fix skip_all_checks in OBSCheck
  • [util] DoD: fixed auth problem
  • [dist] fix mkdir for system-user-kankurun.conf
  • [dist] more fixes for spec

Example configuration for SigAuth

Add the following config snippet to your kanku config:

  • ~/.kanku/kanku-config.yml (devel mode)
  • /etc/kanku/kanku-config.yml (server mode)

Net::OBS::SigAuth will try to find a private key to sign your request in the following order

  • first key in ssh-agent (SEE ssh-add -L)
  • ~/.ssh/id_ed25519
  • ~/.ssh/id_rsa

Net::OBS::Client:
  credentials:
    https://obs.example.com:
      sigauth_credentials:
        user: Bob

SEE etc/templates/cmd/setup/kanku-config.yml.tt2 for more configuration examples.