Skip to content
Snippets Groups Projects
  1. 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
  2. Aug 24, 2017
  3. Aug 23, 2017
  4. 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
  5. 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
  6. Aug 10, 2017
  7. Aug 09, 2017
  8. 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
  9. 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
  10. Apr 27, 2017
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. Sep 30, 2016
  26. 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
  27. Jul 21, 2016
  28. 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
  29. Jul 13, 2016
  30. 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
  31. 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
  32. Jul 03, 2016
    • James Page's avatar
      Re-license charm as Apache-2.0 · d1fd1326
      James Page authored
      All contributors to this charm have agreed to the switch
      from GPL v3 to Apache 2.0; switch to Apache-2.0 license
      as agreed so we can move forward with official project status.
      
      Change-Id: Iaee75f59fe51f01da18aa2703a46c3885ade73c0
      d1fd1326
  33. Jun 23, 2016
  34. 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
  35. 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
  36. Apr 06, 2016
    • Liam Young's avatar
      Run keystone with apache + mod_wsgi for liberty+ · 6a1c04a4
      Liam Young authored
      The Kilo release of openstack deprecated the eventlet wsgi server in favor of
      using apache with mod_wsgi. This changes disables the keystone service and
      adds a vhost to the existing apache server to run keystone using mod_wsgi.
      
      Change-Id: I8125d8081c14550e86cd77b25185f27f500e368b
      Closes-Bug: 1515628
      6a1c04a4
  37. Apr 04, 2016
  38. 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
Loading