Skip to content
Snippets Groups Projects
  • Ryan Beisner's avatar
    63c0ebbc
    Sync charm/ceph helpers, tox, and requirements · 63c0ebbc
    Ryan Beisner authored
    Also clean up pre-existing pep8 violations in the
    files/* dir which was previously not covered by lint testing.
    
    Also clean-up mocking issues around apt-pkg replacements in the
    unit tests.
    
    Also fix py35 issue with enabled_manager_modules() function in the
    charmhelpers library (see
    https://github.com/juju/charm-helpers/pull/387).
    
    Also fix the functional tests bundles so they actually test the
    version of OpenStack that the bundle indicates.
    
    Change-Id: I2c8d84fadc11311c622dd308c4694496872dc157
    63c0ebbc
    History
    Sync charm/ceph helpers, tox, and requirements
    Ryan Beisner authored
    Also clean up pre-existing pep8 violations in the
    files/* dir which was previously not covered by lint testing.
    
    Also clean-up mocking issues around apt-pkg replacements in the
    unit tests.
    
    Also fix py35 issue with enabled_manager_modules() function in the
    charmhelpers library (see
    https://github.com/juju/charm-helpers/pull/387).
    
    Also fix the functional tests bundles so they actually test the
    version of OpenStack that the bundle indicates.
    
    Change-Id: I2c8d84fadc11311c622dd308c4694496872dc157
actions.yaml 6.80 KiB
pause-health:
  description: Pause ceph health operations across the entire ceph cluster
resume-health:
  description: Resume ceph health operations across the entire ceph cluster
create-cache-tier:
  description: Create a new cache tier
  params:
    backer-pool:
      type: string
      description: |
        The name of the pool that will back the cache tier. Also known as
        the cold pool
    cache-pool:
      type: string
      description: |
        The name of the pool that will be the cache pool. Also known
        as the hot pool
    cache-mode:
      type: string
      default: writeback
      enum: [writeback, readonly]
      description: |
        The mode of the caching tier.  Please refer to the Ceph docs for more
        information
  required: [backer-pool, cache-pool]
  additionalProperties: false
remove-cache-tier:
  description: Remove an existing cache tier
  params:
    backer-pool:
      type: string
      description: |
        The name of the pool that backs the cache tier. Also known as
        the cold pool
    cache-pool:
      type: string
      description: |
        The name of the pool that is the cache pool. Also known
        as the hot pool
  required: [backer-pool, cache-pool]
  additionalProperties: false

create-pool:
  description: Creates a pool
  params:
    name:
      type: string
      description: The name of the pool
    profile-name:
      type: string
      description: The crush profile to use for this pool.  The ruleset must exist first.
    pool-type:
      type: string
      default: "replicated"
      enum: [replicated, erasure]
      description: |
        The pool type which may either be replicated to recover from lost OSDs by keeping multiple copies of the
        objects or erasure to get a kind of generalized RAID5 capability.
    replicas:
      type: integer
      default: 3
      description: |
        For the replicated pool this is the number of replicas to store of each object.
    erasure-profile-name:
      type: string
      default: default
      description: |
        The name of the erasure coding profile to use for this pool. Note this profile must exist
        before calling create-pool
  required: [name]