Skip to content
Snippets Groups Projects
  1. Nov 07, 2017
  2. Nov 06, 2017
  3. Nov 05, 2017
  4. Nov 04, 2017
  5. Nov 03, 2017
  6. Nov 02, 2017
  7. Nov 01, 2017
  8. Oct 30, 2017
  9. Oct 26, 2017
  10. Oct 25, 2017
  11. Oct 22, 2017
  12. Oct 11, 2017
    • Edward Hope-Morley's avatar
      Do relation consistency sweep on leader change · 9953530f
      Edward Hope-Morley authored
      The current charm design is to perform a sweep of all units
      related on the identity-service interface to ensure that
      they have all the correct setting values applied. If the
      leader unit is deleted and a new one is elected this will
      not happen until some event e.g. config-changed occurs. This
      can result in remote units malfunctioning since they think they
      are not configured. We resolve this by always doing a sweep when
      the leader-elected hook fires.
      
      Also fixes infinite loop edge case when ssl-cert-master switches
      as a result of leader switch.
      
      Also includes cherry-pick of commit:
      - ID: a59de539
      - Title: Fix issue with haproxy not restarted
      
      Change-Id: Icd68cc70d81d7d518c918e831056f686dbc7db1e
      Closes-Bug: 1721269
      (cherry picked from commit 68a0c872)
      9953530f
  13. Sep 07, 2017
    • James Page's avatar
      Ensure os_release is reset during upgrades · 7fb7ff90
      James Page authored
      Reset the os_release cache during the OpenStack upgrade process,
      ensuring that any post dist-upgrade operations are made in the
      context of the new OpenStack release, not the old one.
      
      Change-Id: I3d3584dd8e97f85e16c38e1143f627b03fa63bd0
      Closes-Bug: 1715624
      7fb7ff90
  14. Aug 25, 2017
    • Billy Olsen's avatar
      Remove cluster-change-departed hook · 97861e9c
      Billy Olsen authored
      The cluster-change-departed hook is tied to the cluster-changed
      hook. In the cluster changed hook, there is logic to ensure the
      initial admin exists which makes calls to the keystone service.
      If the remote database has already been removed (as seen in recent
      CI runs), then this will cause the hook to fail execution.
      
      This is safe to remove as the primary purpose of the cluster-changed
      hook is to sync the SSL keys and update identity relation units.
      There should be no need to sync the keys when a unit is departing
      the cluster relation. Likewise, the update of the identity relations
      are not needed either as the VIP is used for access to the keystone
      services by remote units and the access credentials won't change.
      
      Change-Id: Id8fed284557f67f5676189ec8951b778cf506c97
      Closes-Bug: #1713108
      97861e9c
  15. 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
  16. Aug 18, 2017
    • Alex Kavanagh's avatar
      Fix dangling file open() commands with no corresponding close · b3a6fdf5
      Alex Kavanagh authored
      The code relies on a undocumented (and probably unstable) feature
      of CPython to close a file when the reference is GCed.  However,
      it's pretty poor practice to do so, so this patchset replaces them
      with "with ..." statements to ensure that the files are closed
      when no longer being used.
      
      Change-Id: I6f24bc042a820ddd0147247267ee159753cfc1fb
      b3a6fdf5
  17. 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
  18. Aug 10, 2017
  19. Aug 01, 2017
  20. Jul 06, 2017
  21. 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
  22. May 04, 2017
    • David Ames's avatar
      Network space aware address for cluster relation · d62a2e75
      David Ames authored
      Use the get_relation_ip function for selecting addresses for the
      cluster relationship. Including overrides for the admin, internal,
      and public config settings or extra bindings.
      
      Change-Id: I6d92523be1707549751d7153cd395f7bae217952
      Partial-Bug: #1687439
      d62a2e75
  23. Apr 27, 2017
  24. Apr 26, 2017
    • David Ames's avatar
      Avoid shared-db change when using access-network · d1685a73
      David Ames authored
      When the percona-cluster charm sets an access-network but the default
      unit-get address is not on that network extra shared-db relations get
      executed. This is specifically a problem when running upgrades and
      trying to avoid API downtime.
      
      The root cause is that the access-network is not checked until the
      SharedDBContext is consulted. But then db_joined function will
      change it back to the wrong ip on subsequent runs.
      
      This change adds a check for access-network on the relation during
      the db_joined function and pushes IP selection off to
      get_relation_ip.
      
      Charm helpers sync to pull in changes to get_relation_ip.
      
      Change-Id: If1246bbe68d231df0aefea45598dc8c7cd904b87
      Partial-bug: #1677647
      d1685a73
  25. Apr 13, 2017
  26. Apr 06, 2017
    • Edward Hope-Morley's avatar
      Ensure cluster settings updated if config changes · 7188af87
      Edward Hope-Morley authored
      This ensures that if the config changes and for example
      os-admin-network is set/changed then that info will be
      propagated to the cluster relation as required by things
      like HAProxyContext to properly configure backends.
      
      Change-Id: Ia820b7dc86ba081b6737007f63e5c1a7789fba0c
      Closes-Bug: 1641870
      7188af87
  27. Mar 22, 2017
    • Edward Hope-Morley's avatar
      Fix premature identity-relation poll breakage · b0b273c6
      Edward Hope-Morley authored
      It is possible for the keystone charm to poll identity-relation
      before their remote unit has set values. This patch fixes a
      corner cases that cause a hook exception under this
      circumstance.
      
      Change-Id: I3339870b87adcd712a341ae5074b4af1e924f64a
      Closes-Bug: 1674786
      b0b273c6
  28. 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
  29. Feb 15, 2017
    • David Ames's avatar
      Cleanup unused apache site configurations · 3cfc297f
      David Ames authored
      When the keystone charm is upgraded the apache mod_wisgi
      configuration file name has changed. With duplicate configuration
      files apache fails to start up. Generalize the function
      disable_unused_apache_sites to handle any sites we may need cleaned
      up now or in the future.
      
      Change-Id: I13111bf9788ba3bfbef3efedb7b027323c84a6b8
      Closes-bug: #1665044
      3cfc297f
  30. Feb 08, 2017
  31. Feb 01, 2017
    • Dmitrii Shcherbakov's avatar
      keytone_utils: add zaqar to valid_services · 92079605
      Dmitrii Shcherbakov authored
      The lack of zaqar in the valid_services dict leads to an error if
      it tries to establish a relationship with keystone.
      
      Change-Id: I8dcf14c103bf4d8a70d2f580e7743f3374f4327b
      92079605
    • James Page's avatar
      Add new subordinate relation for domain backends · 27b84f5b
      James Page authored
      Support configuration of domains via suboridnate charms that
      implement the new 'keystone-domain-backend' relation type; these
      charms will create domain specific configuration files in
      /etc/keystone/domains, and will notify the keystone charm when
      configuration is complete, and the domain is ready for creation
      in the keystone database.
      
      Subordinate charms can also request a restart of keystone by
      setting or changing the value of the 'restart-nonce' key in the
      relation.
      
      Change-Id: Ia2b171e910d7f3a5e6e09ba5b18dddc0a734e57a
      Partial-Bug: 1645803
      27b84f5b
Loading