Skip to content
Snippets Groups Projects
  1. Nov 27, 2017
  2. Nov 16, 2017
  3. Oct 18, 2017
    • Liam Young's avatar
      Remove password expiry from unison user · 21e8c5ae
      Liam Young authored
      This change ensures that any password expiry has been removed from
      the user that runs unison to synchronize data. The fix is entirely
      in charm-helpers so this patch is a simple sync.
      
      Change-Id: I75d6ac0e9be19a87efe16a1095b1afd44f41dc17
      Closes-Bug: #1686085
      21e8c5ae
  4. Oct 17, 2017
    • Liam Young's avatar
      Add memcache backend · 4b00281b
      Liam Young authored
      Install and configure memcached on the keystone units and configure
      keystone to use the cache. This should speed up token access for
      existing tokens.
      
      Change-Id: I26af0a97660e5bbe293a32e6b9e3d209338f905a
      Closes-Bug: #1722541
      4b00281b
  5. Sep 25, 2017
    • Frode Nordahl's avatar
      Do ch-sync · c92597d9
      Frode Nordahl authored
      Change-Id: I60eabd566d204c784229ae109a2566dbc501d6a2
      c92597d9
  6. Aug 24, 2017
  7. Aug 11, 2017
    • David Ames's avatar
      Dual Stack VIPs · 1328ce58
      David Ames authored
      Enable dual stack IPv4 and IPv6 VIPs on the same interface.
      HAProxy always listens on both IPv4 and IPv6 allowing connectivity
      on either protocol.
      
      Update edge cases for is_ssl_cert_master for Bug #1709356.
      
      Update amulet tests for keystoneauth1 tests.
      
      charm-helpers sync for HAProxy template changes.
      
      Closes-Bug: #1709356
      
      Change-Id: I401071fcdd66252f389475d45e8136fc68c474f1
      1328ce58
  8. Aug 10, 2017
  9. May 12, 2017
    • James Page's avatar
      Updates for pike b1 · d36af554
      James Page authored
      Resync charmhelpers for pike version support.
      
      Add pike tests but leave disabled until all charms support pike.
      
      Add support for volumev3 service type for Cinder.
      
      Skip execution of PKI setup for >= pike as its been dropped from
      keystone.
      
      Change-Id: I9a4e452cc7b1b90126d1885c37f5a64b8241479d
      d36af554
  10. Apr 26, 2017
    • James Page's avatar
      Cap workers in containers, fix admin/pubic skew · 21a4e5be
      James Page authored
      Resync charm-helpers to pickup the latest code for calculation
      of worker process configuration, creating better default
      worker configuration when deploying in LXD containers.
      
      Switch the skew between public and admin processes to favour
      public 0.75/0.25 as the public API endpoints of a service will
      typically get a larger number of hits.
      
      Fixup unit test for minor behavioural change in charm-helpers.
      
      Change-Id: I4ab1d28f907ce29d5602b48ba7a438fc3690277c
      Closes-Bug: 1665270
      Closes-Bug: 1686049
      21a4e5be
  11. Mar 09, 2017
    • David Ames's avatar
      Enable Ocata Amulet Tests · 74bc2e2a
      David Ames authored
      - Add Zesty as a supported series to metadata.yaml.
      - Turn on Xenial-Ocata Amulet test definitions.
      - Sync charm helpers to get Juju 2.x amulet compatibility.
      - Keeping Zesty-Ocata Amulet test definitions turned off until the
        metadata.yaml changes propagate to the charm store.
      
      Change-Id: If89406dabee66cfcf395bbb214457bdd1e576aad
      74bc2e2a
  12. Feb 16, 2017
    • David Ames's avatar
      Do not run client relation until clustered if HA · b14c107d
      David Ames authored
      Check if VIP or dns-ha is set to determine if the unit expects to be
      in HA. This is less racey that just checking for the ha relation.
      Wait until clustered to run the client relation hooks.
      
      This fixes bugs where client charms receive the private-address
      rather than the VIP on initial client relations.
      
      Charmhelper sync.
      
      Change-Id: I48b15113360ef892e38235ec4518173ec78ad143
      Partial-bug: #1661392
      b14c107d
  13. Jan 18, 2017
    • Corey Bryant's avatar
      Use common WSGI code from charm-helpers · b4ccea72
      Corey Bryant authored
      The WSGI template and context code has been moved to charm-helpers.
      This change updates the charm to use the common code from charm-helpers.
      
      Change-Id: I6a3efdb0811c8d50c657f6f8b923b076e3de6716
      b4ccea72
  14. Nov 28, 2016
    • Ryan Beisner's avatar
      Update Amulet defs, series metadata and c-h sync · 9057c27b
      Ryan Beisner authored
      - Sync charm helpers if applicable.
      
      - Fix test executable hashbags for virtualenv prep.
      
      - Add Yakkety-Newton Amulet test definitions.
      
      - Prep Xenial-Ocata Amulet test definitions (not yet enabled).
      
      - Prep Zesty-Ocata Amulet test definitions (not yet enabled).
      
      - Add Zesty charm series metadata.
      
      - Remove Precise charm series metadata if present.
      
      - Remove Precise Amulet test definitions if present.
      
      Change-Id: Ia81b03da3f2d4c5a36a147c152123b490843c0f6
      9057c27b
  15. Oct 11, 2016
    • Ryan Beisner's avatar
      Update amulet test definitions for Newton · 6cd819aa
      Ryan Beisner authored
      - Remove Precise-Icehouse Amulet test definitions if they exist.
      
      - Add Xenial-Newton Amulet test definitions.
      
      - Add Yakkety-Newton Amulet test definitions.
      
      - Use the percona-cluster charm in tests instead of the mysql charm.
      
      Change-Id: Ia4c324b6fedec1dc607062a89eea7595d43c0060
      6cd819aa
  16. Sep 30, 2016
  17. Sep 20, 2016
    • James Page's avatar
      Add support for application version · 22c10316
      James Page authored
      Juju 2.0 provides support for display of the version of
      an application deployed by a charm in juju status.
      
      Insert the os_application_version_set function into the
      existing assess_status function - this gets called after
      all hook executions, and periodically after that, so any
      changes in package versions due to normal system updates
      will also be reflected in the status output.
      
      This review also includes a resync of charm-helpers to
      pickup hookenv and contrib.openstack support for this
      feature.
      
      Change-Id: I5734e87d39e62c1fb791b0b79ff216e30a784d1f
      22c10316
  18. Jul 21, 2016
  19. Jul 13, 2016
  20. Jul 12, 2016
    • Billy Olsen's avatar
      Change worker-multiplier to float · 4ab385f6
      Billy Olsen authored
      
      Change the worker-multiplier to a floating point config option type
      instead of integer. This allows users to specify workers to be less
      than the number of CPUs, which is useful in deployments with multiple
      services deployed into containers on top of bare metal.
      
      The fix is to simply change the config option type and to sync in
      the necessary update from lp:charm-helpers.
      
      Partial-Bug: #1602444
      
      Change-Id: I534165aa2fc45a28f6b3f3bb2f708789daf5ba8c
      Signed-off-by: default avatarBilly Olsen <billy.olsen@gmail.com>
      4ab385f6
  21. Jul 06, 2016
    • James Page's avatar
      Resync charmhelpers for licensing change · 960f1cec
      James Page authored
      The charm-helpers project have re-licensed to Apache 2.0
      inline with the agreed licensing approach to intefaces,
      layers and charms generally.
      
      Resync helpers to bring charmhelpers inline with charm
      codebase.
      
      Change-Id: Icedfb79814e186290a3120d953c9077e4e4504fe
      960f1cec
  22. Jun 23, 2016
  23. Jun 14, 2016
    • James Page's avatar
      Switch to using charm-store for amulet tests · 5bb76585
      James Page authored
      All OpenStack charms are now directly published to the charm store
      on landing; switch Amulet helper to resolve charms using the
      charm store rather than bzr branches, removing the lag between
      charm changes landing and being available for other charms to
      use for testing.
      
      This is also important for new layered charms where the charm must
      be build and published prior to being consumable.
      
      This patch also fixes a potential restart of apache2 when the unit
      is in paused state during the execution of config-changed; this is
      the root cause of the intermittent amulet test failures.
      
      Change-Id: I90e61f5c217ae709bc30ffe16b1569b9fd2c5719
      5bb76585
  24. Apr 08, 2016
    • Liam Young's avatar
      Restart apache2 safely when using mod_wsgi · eae361c3
      Liam Young authored
      The restart_on_change function uses the underlying init systems service
      control programs to stop/start/restart services. However, sometimes
      these misbehave like apache2 with mod_wsgi which can leave process
      running after stop has completed which then block start from running.
      These change ensures that apache really has stopped before starting it.
      
      Change-Id: I8255d8f5371f7bb0783878253afafcf27275b6b8
      Closes-Bug: 1567741
      eae361c3
  25. Apr 04, 2016
  26. Mar 31, 2016
    • James Page's avatar
      Add Juju Network Space support · 7a16d3bb
      James Page authored
      Juju 2.0 provides support for network spaces, allowing
      charm authors to support direct binding of relations and
      extra-bindings onto underlying network spaces.
      
      Resync charm-helpers to pickup support in API endpoint
      resolution code and add API extra-bindings to the charm
      metadata.
      
      Change-Id: I802eeb236930a3f2f2dbb0c9260f407adcd1d5bd
      7a16d3bb
  27. Mar 20, 2016
    • Liam Young's avatar
      Retry Connection to Manager and charmhelper sync · 7a5ad0ce
      Liam Young authored
      There is a small window between the keystone init script exiting on startup and
      the keystone api endpoint responding to requets. This change adds the
      retry_on_exception decorator to retry the connection to workaround this.
      
      Change-Id: I9762e195bed042dd201a251252e4214192cad136
      7a5ad0ce
  28. Mar 15, 2016
    • James Page's avatar
      Enhanced pause/resume with gated restarts - 2 · 5be84337
      James Page authored
      This contains a fix against the original change id:
      Ie0c5e0249bde0839345ad66f7400522754aa91ca which broke
      keystone. Otherwise, the fix is the same:
      
      The existing pause/resume functionality is enhanced with
      changed charm-helpers support to chech that the services
      really are stopped and that paused units really stay
      paused.  The restart_on_change decorator is gated
      such that if the unit is 'paused' then the service
      is not accidentally started.
      
      Change-Id: I6a828676be11338266845e822be087d734944da0
      5be84337
  29. Mar 09, 2016
    • Liam Young's avatar
      Enable Keystone v3 API · c283a1c9
      Liam Young authored
      This changes enables the Keystone v3 api. It can be toggled on and off via the
      preferred-api-version option.
      
      When services join the identity-service relation they will be presented with a
      new parameter api_version which is the maximum api version the keystone charm
      supports and matches what was set via preferred-api-version.
      
      If preferred-api-version is set to 3 then the charm will render a new
      policy.json which adds support for domains etc when keystone is checking
      authorisation. The new policy.json requires an admin domain to be created and
      specifies that a user is classed as an admin of the whole cloud if they have
      the admin role against that admin domain.
      
      The admin domain, called admin_domain, is created by the charm. The name of
      this domain is currently not user configurable. The role that enables a user to
      be classed as an admin is specified by the old charm option admin-role. The
      charm grants admin-role to the admin-user against the admin_domain.
      
      Switching a deployed cloud from preferred-api-version 2 to
      preferred-api-version 3 is supported. Switching from preferred-api-version 3 to
      preferred-api-version 2 should work from the charm point of view but may cause
      problems if there are duplicate users between domains or may have unintended
      consequences like escalating the privilege of some users so is not recommended.
      
      Change-Id: I8eec2a90e0acbf56ee72cb5036a0a21f4a77a2c3
      c283a1c9
  30. Feb 11, 2016
  31. Feb 10, 2016
    • Alex Kavanagh's avatar
      Synced in lp:~ajkavanagh/charm-helpers/add-service-checks-lp1524388 version · 873d96b6
      Alex Kavanagh authored
      of charm-helpers to test that modification will work - this is for demo
      purposes only and will be revised prior to merge proposal.
      
      Also changed tests to to work with revision 514:
      "misc changes for haproxy template and context ..."
      which required changes to the test_haproxy_context_service_enabled test
      in unit_tests/test_keystone_contexts.py
      873d96b6
  32. Jan 04, 2016
  33. Sep 28, 2015
  34. Sep 25, 2015
  35. Sep 02, 2015
  36. Aug 28, 2015
  37. Aug 18, 2015
  38. Aug 17, 2015
  39. Jul 01, 2015
  40. Jun 19, 2015
Loading