Skip to content
Snippets Groups Projects
  1. Nov 30, 2017
    • David Ames's avatar
      Updates for stable branch creation · d1b5356c
      David Ames authored
      Set default branch for git review/gerrit.
      
      Switch amulet tests to stable.
      
      Switch to using stable charm-helpers branch.
      
      Change-Id: I717a23bc9321a0ef843588a459eeed5719d1854e
      d1b5356c
  2. Nov 27, 2017
  3. Nov 16, 2017
  4. 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
  5. 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
  6. Sep 28, 2017
    • David Ames's avatar
      Snap install OpenStack in Charms · 8da85834
      David Ames authored
      Install OpenStack using snaps. By setting openstack-origin to
      snap:track/channel or snap:track the charm will use snaps to
      install rather than debs. If channel is left off it defaults to
      stable. For example: snap:ocata/edge will install the edge version of
      Ocata and snap:pike will install the stable version of Pike.
      
      Charm helpers sync for snap related helpers.
      
      Change-Id: I6e3540e4ffe081540404f91061e5c9b7039b3eac
      8da85834
  7. Sep 25, 2017
    • Frode Nordahl's avatar
      Do ch-sync · c92597d9
      Frode Nordahl authored
      Change-Id: I60eabd566d204c784229ae109a2566dbc501d6a2
      c92597d9
  8. Sep 12, 2017
    • David Ames's avatar
      Updates for stable branch creation · 00379aad
      David Ames authored
      Set default branch for git review/gerrit.
      
      Switch amulet tests to stable.
      
      Switch to using stable charm-helpers branch.
      
      Change-Id: I91b95577f1f3963541f6196381e2ce881847a19f
      00379aad
  9. Aug 24, 2017
  10. Aug 23, 2017
  11. Aug 21, 2017
    • Frode Nordahl's avatar
      Make sure haproxy runs post-install · 01816c84
      Frode Nordahl authored
      Unconfigured keystone service listening on ports destined for haproxy
      race with start of haproxy service.
      
      Change-Id: I9f601344e72bd67738429f82151f9683f5ecf8e4
      Closes-Bug: #1648396
      01816c84
  12. 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
  13. Aug 10, 2017
  14. Aug 09, 2017
  15. 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
  16. Apr 28, 2017
    • David Ames's avatar
      Enable Zesty-Ocata Amulet Tests · a7baed8c
      David Ames authored
      - Turn on Zesty-Ocata Amulet test definitions.
      - Standardize test-requirements.txt
      - Sync charm helpers for various fixes
      
      Change-Id: Ia86ed2cf9557d9eb11f577d641eb3e6920ff9e3e
      a7baed8c
  17. Apr 27, 2017
  18. 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
  19. 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
  20. Feb 21, 2017
    • Frode Nordahl's avatar
      Update policy.json for Ocata · 67034c4d
      Frode Nordahl authored
      Refresh v2 and v3 portion of policy.json from upstream keystone
      repository @ commit
      d4a890a6c8bd6927e229f4b665a982a51c130073
      
      Add functional tests to verify effect of policy
      
      Update functional tests to use keystone_configure_api_version
      from charm-helpers
      
      Update functional tests to correctly validate cinder services
      when openstack release >= ocata
      
      Enable functional test for ocata, set appropriate cinder
      configuration.
      
      Change-Id: Idf07ff3a7c9d7e7eb30792719541319ab3426a41
      Closes-Bug: 1651989
      Closes-Bug: 1649446
      67034c4d
  21. 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
  22. Jan 30, 2017
    • James Page's avatar
      Enable domain specific drivers · 795ebdeb
      James Page authored
      Enable support for domain specific drivers, managed via
      configuration files (instead of directly using the API and
      database).
      
      Using multiple domains means that calls to users.list must
      be scoped to a specific domain; ensure that v3 calls to this
      method are appropriately scoped.
      
      Change-Id: I7ed84b7210597ab1633eba343a0c68741a5a8578
      Partial-Bug: 1645803
      795ebdeb
  23. 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
  24. Jan 12, 2017
    • Edward Hope-Morley's avatar
      Avoid keystone password update if unchanged · f9670295
      Edward Hope-Morley authored
      Avoid calling update_password() if the password has not
      changed since it will actually change the db value
      regardless resulting in a revocation event and all current
      tokens being invalidated.
      
      Change-Id: Icb901b5e87d9cd716fa1a0d146e2252339e5678b
      Closes-Bug: 1648677
      f9670295
    • Frode Nordahl's avatar
      Revert change of role for v3 service accounts · dd65408d
      Frode Nordahl authored
      More work is needed on policy changes before we can have fine
      grained RBAC for service accounts.
      
      Add service project to cloud_admin rule to maintain service access
      to admin-only calls.
      
      Change-Id: I3d6776ec821e97353d63d2709b36efd9091f0123
      Closes-Bug: 1655028
      dd65408d
  25. Jan 04, 2017
    • Frode Nordahl's avatar
      Fix error in functional test 910 · 23f6363c
      Frode Nordahl authored
      The current code for test 910 references self.keystone_sentry
      this was replaced by an array in commit
      4d2ab666.
      
      There was probably a race between the commits and functional
      tests was not run on a updated version of the tree prior to
      commit 49f99398.
      
      After the addition of running keystone clustered in commit
      4d2ab666 the test in 910 has
      transient failures. Add call to set_api_version after removal
      and addition of percona-cluster relation as it will retry and
      verify authentication accross all nodes making sure that
      configuration has settled before performing final test.
      
      Change-Id: Ib5505adb0ace7c86384bb922008b9a8d73f60f24
      23f6363c
  26. Dec 09, 2016
    • Frode Nordahl's avatar
      Replace local storage of domain UUIDs with leader storage · 4d2ab666
      Frode Nordahl authored
      Currently the Keystone leader charm creates new domains and stores
      the UUIDs locally on disk. This approach predates charm relation-/
      leader- storage, is error prone, and causes problems in HA setups.
      
      Move to leader storage and remove old interfaces. There is no need
      to migrate the on-disk stored data as it is read from the deployment
      and stored as a part of the upgrade process.
      
      Do not set default values for service_tenant_id, admin_domain_id and
      default_domain_id. This will cause context to be incomplete on peer
      units until the values are actually available.
      
      Change functional tests to run on Keystone cluster to verify contents of
      configuration and operation of services in clustered environment.
      
      Closes-Bug: 1637453
      Change-Id: Id0eaf7bfceead627cc691e9b52dd889d60c05fa9
      4d2ab666
  27. Dec 07, 2016
    • Frode Nordahl's avatar
      Make update_user_password() domain aware · 0e438ed2
      Frode Nordahl authored
      Current version of function does not scope its search for users to
      a domain.
      
      Change-Id: I435b7edf61adbe7196b00b2e58b08d5c4de7ed5c
      Closes-Bug: 1644606
      0e438ed2
    • Liam Young's avatar
      Disable API query when unit is paused · 2b66f2f6
      Liam Young authored
      When the unit is paused the charm should not attempt to run
      update_all_identity_relation_units because it depends on the
      Keystone API being available.
      
      Closes-Bug: 1648016
      
      Change-Id: I58fc0639791eed16c11ec836746e912e715588d9
      2b66f2f6
  28. Dec 02, 2016
    • David Ames's avatar
      Fix amulet tests that reference trusty_juno · 09769576
      David Ames authored
      Juno has been deprecated. A recent charm helper sysnc removed
      references to trusty_juno. Therefore it is no longer defined.
      Move checks back to icehouse.
      
      Change-Id: I0272ad4f7a2339c6f60b4ba8a6ddfcb76cc3ded7
      09769576
  29. 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
  30. Nov 24, 2016
    • Frode Nordahl's avatar
      Refresh keystone.conf and policy.json for Mitaka and Newton · 10e3d84e
      Frode Nordahl authored
      keystone.conf:
      - Change log_config to log_config_append DEPRECATED
      - Remove verbose DEPRECATED
      - Remove eventlet_server section DEPRECATED
      - Remove ec2 section, no longer available in Keystone
        It has been moved to the keystonemiddleware package
      - Update driver names. Using full module path is DEPRECATED
      - Add resource section and specify admin_project_domain_name
        and admin_project_name
      
      mitaka/policy.json:
      - Refresh from upstream stable/mitaka
      - Apply stricter rule:service_role
      - Allow identity:list_projects to rule:service_role
      
      newton/policy.json:
      - Refresh from upstream stable/newton
      - Apply stricter rule:service_role
      - Allow identity:list_projects to rule:service_role
      
      hooks/keystone_context.py:
      - Add admin_domain_name to Keystone context
      
      tests/basic_deployment.py:
      - Add config check for changes for Mitaka and newer releases
      
      Partial-Bug: 1636098
      Change-Id: Ib267418f34066eaf6e4885627010d2a18e312192
      10e3d84e
  31. 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
  32. Sep 30, 2016
  33. 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
  34. Jul 21, 2016
  35. Jul 18, 2016
    • James Page's avatar
      Use bundletester for amulet test execution · 0b47a8c3
      James Page authored
      Switch to using bundletester for execution of functional tests,
      leveraging tox to build out test virtualenvs.
      
      Rename amulet tests inline with gate-* and dfs-* naming standards.
      
      Update README to refer to functional testing section of the charm
      guide.
      
      Change-Id: I037529196125e507bb15c1b0a3681a7457a6e8d1
      0b47a8c3
  36. Jul 13, 2016
  37. 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
  38. 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
Loading