Skip to content
Snippets Groups Projects
  1. Nov 28, 2016
    • Chris MacNaughton's avatar
      Add action to list unmounted disks · 2dfbb5fe
      Chris MacNaughton authored
      This action is fairly simple in that it returns
      a list of unmounted disks
      
      This also includes a git-sync to pull in charms.ceph
      changes.
      
      Change-Id: I0daa514958799cf5899375335e8e9e684df27704
      Closes-Bug: 1645481
      2dfbb5fe
  2. Oct 17, 2016
    • Chris MacNaughton's avatar
      Add minimum-size to osd-devices · d045424c
      Chris MacNaughton authored
      This stops an error that happens when size is not
      specified when adding storage via Juju storage hooks.
      Without a set minimum, Juju will give 1G to a disk
      which will cause ceph-disk to fail when connecting
      the new disk.
      
      Change-Id: Ib57314945b1f0bf8995029f5506543bc1b53c89b
      d045424c
  3. Oct 12, 2016
  4. Oct 11, 2016
    • Ryan Beisner's avatar
      Update amulet test definitions for Newton · b6f4efa8
      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: Icb3adfbe08c9db339499f69523f7b223dda94c0c
      b6f4efa8
  5. Oct 07, 2016
  6. Oct 03, 2016
    • Chris MacNaughton's avatar
      Remove the compiled python bytecode · 0dd383d3
      Chris MacNaughton authored
      upgrade-charm could previously fail because of compiled
      bytecode remaining behind. This change makes the upgrade-charm
      hook remove any such compiled bytecode files
      
      Closes-Bug: 1628322
      
      Change-Id: I3886b514b47d6fc9fdfb350e2b3a2296472e40f6
      0dd383d3
  7. Sep 30, 2016
  8. Sep 28, 2016
    • Chris Holcombe's avatar
      Add support for apparmor security profiles · 7d42f6e0
      Chris Holcombe authored
      Install apparmor profile for ceph-osd processes, and provide
      associated configuration option to place any ceph-osd processes
      into enforce, complain, or disable apparmor profile mode.
      
      As this is the first release of this feature, default to disabled
      and allow charm users to test and provide feedback for this
      release.
      
      Change-Id: I4524c587ac70de13aa3a0cb912033e6eb44b0403
      7d42f6e0
  9. Sep 26, 2016
    • Ante Karamatic's avatar
      Reorder importing python modules · 18250455
      Ante Karamatic authored
      Path for python modules needs to be appended before
      the module is imported
      
      Closes-Bug: #1627685
      
      Change-Id: I6001a7b01f3ba6c9a5179466a3165f2eace2e092
      18250455
  10. Sep 23, 2016
  11. Sep 21, 2016
    • Chris Holcombe's avatar
      Move upgrade code to shared lib · 801f8538
      Chris Holcombe authored
      Moving the ceph mon upgrade code over to the
      ceph shared library. This will make it easier
      to make patches and have them be applied to all
      3 charms at once.
      
      Change-Id: I541269d05e6ff8883233a21c78ebe9df89b9e797
      801f8538
    • James Page's avatar
      Add support for application version · 5e506b8c
      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 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 support for this feature.
      
      Change-Id: If1ec3dcc5025d1a1f7e64f21481412ad630050ea
      5e506b8c
  12. Sep 14, 2016
    • James Page's avatar
      Add charm series data to metadata.yaml · f41a1a78
      James Page authored
      This optimizes the publication process to the charm store, and
      ensures that the charm code and version is consistent across all
      supported Ubuntu series.
      
      Change-Id: Ifff786758eab3b5b06d68afb6b07d842a0377219
      f41a1a78
  13. Sep 09, 2016
    • Ryan Beisner's avatar
      Update tox.ini files from release-tools gold copy · 037a2881
      Ryan Beisner authored
      All OpenStack Charms now contain identical tox.ini files,
      not to be modified or made unique within each charm repo.
      
      This is to ensure consistency across charm repos in tox
      target naming, approach and purpose, also giving the
      charm dev and test experience additional consistency.
      
      Also create empty dirs with .keep files where necessary.
      Some classic charms have actions and/or lib dirs, and some
      do not. In all classic charms, flake will now check those
      dirs to ensure lint coverage of existing or future content.
      
      Change-Id: I657e3c0c0bdb372cb4e005045d7469b806fd5e3d
      037a2881
  14. Sep 08, 2016
  15. Sep 06, 2016
    • Ryan Beisner's avatar
      Update tox.ini files from release-tools gold copy · 41a64db7
      Ryan Beisner authored
      All OpenStack Charms now contain identical tox.ini files,
      not to be modified or made unique within each charm repo.
      
      This is to ensure consistency across charm repos in tox
      target naming, approach and purpose, also giving the
      charm dev and test experience additional consistency.
      
      Change-Id: I2b5bb5a0b101609ca3c1e26abf3ecbe5b774d57f
      41a64db7
  16. Sep 01, 2016
    • Chris Holcombe's avatar
      Allow multiple rolling upgrades · 87672f47
      Chris Holcombe authored
      The rolling upgrade code sets keys in the ceph osd
      cluster to discover whether it can upgrade itself. This
      patch addresses an issue where the upgrade code was not
      taking into account multiple upgrades to newer ceph versions
      in a row.
      
      Closes-Bug: 1611719
      Change-Id: I467d95f3619b9ad2a9f4f46abee4e02b5d9703da
      87672f47
  17. Aug 11, 2016
    • Chris MacNaughton's avatar
      Clean up dependency chain · 69b821d3
      Chris MacNaughton authored
      This includes a resync of charms_ceph to raise the directory one level
      The charms_ceph change that we're syncing in changes the
      name of the ceph.py file into the __init__.py file to remove the
      second level of namespacing
      
      Change-Id: I4eabbd313de2e9420667dc4acca177b2dbbf9581
      69b821d3
  18. Aug 02, 2016
    • Chris MacNaughton's avatar
      Migrate to shared lib · f9993191
      Chris MacNaughton authored
      This change moves our ceph.py into
      a seperate repository that we can share between various
      ceph related Juju projects, along with a Makefile
      change to use a new git_sync file to partially sync
      a git repository into a specified path
      
      Change-Id: Iaf3ea38b6e5268c517d53b36105b70f23de891bb
      f9993191
  19. Jul 22, 2016
  20. Jul 21, 2016
    • Ryan Beisner's avatar
      Use bundletester for amulet test execution · fd15c0d5
      Ryan Beisner authored
      Switch to using bundletester for execution of functional tests,
      leveraging tox to build out test virtualenvs.
      
      Rename amulet tests inline with gate-*, dev-* and dfs-*
      naming standards.
      
      Update README to refer to functional testing section of the charm
      guide.
      
      Change-Id: I618219551fc116c151cda4790c01aa9e86fa462a
      fd15c0d5
    • Liam Young's avatar
      Pre 1607 release charm-helpers sync · 1f64623e
      Liam Young authored
      Sync charmhelpers to pick up bug fixes for 1607 release
      
      Change-Id: I3bfa157e548f5a60ade8ae943178c0de8ccfcf58
      1f64623e
  21. Jul 20, 2016
  22. Jul 19, 2016
    • Chris Holcombe's avatar
      Use osd-upgrade user for pause/resume · 3ab6133c
      Chris Holcombe authored
      The pause and resume actions shell out to the ceph command to run
      OSD operations (in/out).
      
      Because the default cephx key given out by the monitor cluster does
      not contain the correct permissions, these commands fail.
      
      Use the osd-upgrade user which has the correct permissions.
      
      Closes-Bug: 1602826
      
      Depends-On: I6af43b61149c6eeeeb5c77950701194beda2da71
      Change-Id: Ie31bc9048972dbb0986ac8deb5b821a4db5d585f
      3ab6133c
    • Chris Holcombe's avatar
      Fix OSD replacement · 25a988b9
      Chris Holcombe authored
      Use the osd-upgrade key when replacing OSD's as this key
      has the correct cephx permissions to perform the operation.
      
      Closes-Bug: 1602826
      
      Depends-On: I6af43b61149c6eeeeb5c77950701194beda2da71
      Change-Id: I32d2f1a4036e09d5d1fd13009c95ab1514e7304c
      25a988b9
  23. Jul 18, 2016
    • David Ames's avatar
      Install python dependencies early for CH ip.py · fee2d2ce
      David Ames authored
      When using charmhelpers.contrib.network.ip apt install was quietly
      failing. Install python dependencies in the early install hook
      (before install.real).
      
      Charm-helpers sync to bring in apt_install with fatal=True
      
      Change-Id: I0ed76694c452c70313ab26f8c2cf5f6103be9e31
      Partial-Bug: 1601972
      fee2d2ce
  24. Jul 15, 2016
    • David Ames's avatar
      Pre-release charm-helpers sync · ab5de808
      David Ames authored
      To begin release testing get each charm up to date with lp:charm-helpers
      
      Change-Id: I671fa63c665337295c1c448709fcc38123d4508d
      ab5de808
  25. Jul 14, 2016
    • Chris Holcombe's avatar
      Perf Optimizations · 79c6c286
      Chris Holcombe authored
      This patch starts down the road to automated performance
      tuning.  It attempts to identify optimal settings for
      hard drives and network cards and then persist them
      for reboots.  It is conservative but configurable via
      config.yaml settings.
      
      Change-Id: Id4e72ae13ec3cb594e667f57e8cc70b7e18af15b
      79c6c286
  26. Jul 06, 2016
    • James Page's avatar
      Resync charmhelpers for licensing change · 107291ea
      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: I9ab9a5d8801536e68e3ee672be0cc9accdb5fd9a
      107291ea
  27. Jun 28, 2016
    • James Page's avatar
      Re-license charm as Apache-2.0 · c32211c8
      James Page authored
      All contributions to this charm where made under Canonical
      copyright; switch to Apache-2.0 license as agreed so we
      can move forward with official project status.
      
      In order to make this change, this commit also drops the
      inclusion of upstart configurations for very early versions
      of Ceph (argonaut), as they are no longer required.
      
      Change-Id: I9609dd79855b545a2c5adc12b7ac573c6f246d48
      c32211c8
  28. Jun 17, 2016
    • James Page's avatar
      Switch to using charm-store for amulet tests · 2cc4e952
      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.
      
      Change-Id: Ib0c1da50750027f343bd3b77dcd6b85a059435dd
      2cc4e952
  29. Jun 01, 2016
    • Edward Hope-Morley's avatar
      Add support for user-provided ceph config · 8f0347d6
      Edward Hope-Morley authored
      Adds a new config-flags option to the charm that
      supports setting a dictionary of ceph configuration
      settings that will be applied to ceph.conf.
      
      This implementation supports config sections so that
      settings can be applied to any section supported by
      the ceph.conf template in the charm.
      
      Change-Id: I306fd138820746c565f8c7cd83d3ffcc388b9735
      Closes-Bug: 1522375
      8f0347d6
  30. May 19, 2016
  31. May 18, 2016
    • Jenkins's avatar
    • James Page's avatar
      Resync charm-helpers · fabc0677
      James Page authored
      Avoid use of 'service --status-all' which is currently
      broken on trusty for upstart managed daemons; the change
      moves to detecting how the daemon is managed, and then
      using upstart status XXX or the return code of service XXX
      status to determine whether a process is running.
      
      Fixes for IPv6 network address detection under Ubuntu
      16.04 which changes the output format of the ip commands
      slightly.
      
      Update the version map to include 8.1.x as a Neutron
      version for Mitaka.
      
      Change-Id: I8aa5c59441362100ff48be0181f4cfdb98f2e6d7
      Closes-Bug: 1581171
      Closes-Bug: 1581598
      Closes-Bug: 1580674
      fabc0677
  32. May 17, 2016
    • Chris MacNaughton's avatar
      Fix Availability Zone support to not break when not set · 20c89687
      Chris MacNaughton authored
      In addition to ensuring that we have AZ set, we ned to ensure that
      the user has asked to have the crush map customized, ensuring
      that uysing the availability zone features are entirely opt-in
      
      Change-Id: Ie13f50d4d084317199813d417a8de6dab25d340d
      Closes-Bug: 1582274
      20c89687
Loading