Skip to content
Snippets Groups Projects
  1. Apr 25, 2019
    • David Coronel's avatar
      Added status_set and logs to upgrade-charm hook · f01c34d7
      David Coronel authored
      When running an upgrade of the keystone charm in a large environment,
      the upgrade process can take more than 30 minutes.
      
      Prior to this change, the user would only see 'Installing apt packages'
      during most of the process.
      
      This change adds status_set and log messages to the upgrade charm hook
      so that end users can see what is the status of the upgrade.
      
      Change-Id: I1eade73fad551310ceec0bb8dcbccb777737faeb
      Closes-Bug: #1782004
      f01c34d7
  2. Apr 19, 2019
  3. Apr 17, 2019
  4. Apr 16, 2019
  5. Apr 15, 2019
  6. Apr 12, 2019
    • Zachary Zehring's avatar
      Fix grammatical errors, some typos, and general inconsistencies · cd7ba95a
      Zachary Zehring authored
          The README was overall clean and clear, however there were some
          areas of improvement, as well as some typos which could lead to
          confusion. Most are trivial changes.
      
          - Terminate sentence with period to match rest of list
          - Add commas to introductory phrases to match rest of readme
          - Change duplicate 'os-internal-hostname' to 'os-admin-hostname'
          - Change 'https' to 'HTTPS' to match header of section
          - Fix typo 'they secondary' to 'the secondary'
          - Remove comma from 'unit, and must' as is not a compound sentence
          - Change 'Note' to 'NOTE' to match rest of readme
          - Capitalized first word in NOTE section to match rest of readme
      
      Change-Id: I38483df4340849cd268c74183b44eaf6bc02b238
      cd7ba95a
  7. Apr 10, 2019
  8. Apr 09, 2019
    • Alex Kavanagh's avatar
      Ensure that manager.py is stopped when keystone restarted · 78f0191a
      Alex Kavanagh authored
      This patch ensures that any running manager.py script is stopped if the
      keystone service (either standalone, or run via apache2) is restarted.
      The ManagerServer will automatically (re)start the manager.py script
      when it is needed.
      
      Change-Id: I4e3dff340cce73b2de7d697f3685d602defb5179
      Related-Bug: #1823743
      78f0191a
    • Frode Nordahl's avatar
      Defer processing of certificates until cert present · 0faecdf9
      Frode Nordahl authored
      When ``certificates-relation-changed`` hook is called before the
      certificate data is present on the relation do not attempt to
      configure apache.
      
      Change-Id: If915451d4b0846023355edcf3a49f643e12c7522
      Closes-Bug: #1822952
      0faecdf9
  9. Apr 08, 2019
  10. Apr 05, 2019
    • Chris MacNaughton's avatar
      Sync charm-helpers to enable Ubuntu Disco · 093c36b9
      Chris MacNaughton authored
      Change-Id: Iaa7db0b453c7697ad10347721d1005d816562be6
      093c36b9
    • Frode Nordahl's avatar
      Update series metadata · 4ca16c8e
      Frode Nordahl authored
      Ensure that EOL releases are removed from metadata
      and tests, and that the current dev release is enabled
      in metadata.  Dev release tests are enabled separately
      because of chickens and eggs.
      
      Change-Id: Ia8979f0de52763af68e28a98a8386c81716f4673
      4ca16c8e
  11. Apr 04, 2019
  12. Mar 28, 2019
    • Alex Kavanagh's avatar
      Ensure that manager.py exits cleanly if charm closes socket · 299a9520
      Alex Kavanagh authored
      In the related bug, the manager.py was crashing as it received
      (essentially) a socket close which resulted in no data being received.
      This wasn't handled properly resulting in a crash in the manager.py.
      This change simply allows the manager.py to exit cleanly, and the charm
      can restart it if it needs to.
      
      Change-Id: I76a435f48cdb8c201b0ddc529da947e6ed9ec031
      Related-Bug: #1822063
      299a9520
  13. Mar 26, 2019
    • David Ames's avatar
      Notify all back ends when clustering is complete · ce613b3c
      David Ames authored
      Before this change there was a race condition in which keystone would
      hand out its local IP rather than the VIP when in HA mode and never
      update clients other than on the identity-service relation.
      
      This change guarantees the other relations are also updated with HA VIP
      information.
      
      Change-Id: Ib2ea3103c06a7a06bb1d04b6c7e872f36d12c1c4
      ce613b3c
  14. Mar 22, 2019
  15. Mar 20, 2019
  16. Mar 19, 2019
  17. Mar 13, 2019
  18. Mar 11, 2019
  19. Mar 07, 2019
    • Zuul's avatar
    • Alex Kavanagh's avatar
      Fix manager.py launch python version to match installed payload · 627ab761
      Alex Kavanagh authored
      The manager.py helper is launched with either py2 or py3 depending on
      the version of the payload.  However, it was using openstack-origin
      rather than actually picking up the actual version of the installed
      software.  This patch ensures that the manager.py is run with the
      python version of the installed payload, which resolves a bug when
      upgrading to rocky (which is the py2 to py3 transition of the payload).
      
      Also fixes an os.execl() bug which changed behaviour from python2 to
      python3.
      
      Change-Id: I17255b84ca067886f866a5f8311dcab57fba6f14
      Closes-bug: #1818988
      627ab761
    • Chris MacNaughton's avatar
      Add security checklist to Keystone · 3bd0997b
      Chris MacNaughton authored
      This charm adds the general ownership audits, as well
      as keystone specific security checklist audits.
      
      Change-Id: Iee093b36c54081f14a07c95e677ea08c72d72ca4
      3bd0997b
  20. Mar 06, 2019
  21. Mar 04, 2019
  22. Mar 01, 2019
    • Paul Goins's avatar
      Minor updates to tox.ini for coverage target · 983af9c4
      Paul Goins authored
      To be in line with the other recent updates, changing the
      charmhelpers/* exclusion to */charmhelpers/*, which more reliably
      excludes the charmhelpers code from coverage tracking.  While this
      presently does nothing differently for this charm, it's probably
      better for this code to be in line with the other charms rather than
      being different for no obvious reason.
      
      Also excluding the unit_tests directory.
      
      Change-Id: Idcc3bb494eb632b5f971ee6c44bca5284a7839a1
      983af9c4
  23. Feb 28, 2019
  24. Feb 27, 2019
  25. Feb 26, 2019
    • Paul Goins's avatar
      Adding coverage for resource_map · fffa1651
      Paul Goins authored
      The resource_map() function has only minimal coverage.  I've added a
      few basic tests that exercise most of the code branches.
      
      Change-Id: I739c15c07b21de2e4735ab9d5f6302c340146364
      fffa1651
    • Paul Goins's avatar
      Added tox environment for gathering coverage · a24f45e0
      Paul Goins authored
      This technique was borrowed from the tox "cover" environment in
      openstack/nova's tox.ini.  This leverages the fact that stestr lets
      you override the python executable via the PYTHON environment
      variable.  Doing this allows us to easily generate coverage for our
      unit tests.
      
      An important caveat is that this does not provide any coverage for
      tests via zaza, amulet, etc.  It is purely focused on the unit tests.
      
      Note that this replaces the previous .coveragerc; coverage
      configuration is instead pulled from tox.ini.
      
      Change-Id: I20a4f267abb05f2123000518ae9b8ec8d5f0961c
      a24f45e0
    • Zuul's avatar
      84e77735
    • Liam Young's avatar
      Add domain id information to identity-credentials · 296a10b5
      Liam Young authored
      Some projects, like masakari, require the project and user domain
      id when authenticating with keystone. This change adds the domain
      information to the relation information.
      
      Given the user and projects can be in different domains expose
      the domain names and ids as individual config options.
      
      Change-Id: I228ddfbef23ab77885b093c8d5f359eec13d210c
      296a10b5
  26. Feb 22, 2019
    • Paul Goins's avatar
      Unset DB init flag on shared-db relation removal · a87b1011
      Paul Goins authored
      The keystone charm sets db-initialised to true after initializing the
      database the first time.  However, if the database application is
      removed, this flag is not unset.
      
      This results in breakage on attempts to re-add a shared-db relation
      with a new database application, as the charm will not attempt to
      re-initialize the database prior to doing DB operations.
      
      This fix simply ensures that we unset this flag prior to finalizing
      removal of the shared-db relation.
      
      Change-Id: I78ae12fda05ce006939b2d90a3d738bacb815915
      Closes-Bug: #1797229
      a87b1011
Loading