Commit Graph

22 Commits

Author SHA1 Message Date
Adam Dyess d9230a4b01 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  to d9f3b53ca0cf30e47347a68beab59da5c03ce4c7
  - implement reactive.Endpoint.manage_flags to clear flags on departed hook
    
    Change-Id: Ie2e6d8ec460311fa4e63335f322aaae07dca5842
2022-11-29 21:29:52 +00:00
Liam Young 8116c6a337 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  to 3ca251fb01a7cd51d2a0ee2b9b66647c8ffe891f
  - Send additional info to support CMR
    
    Send application name and local unit name when talking to ceph.
    This ensures that the response from ceph can be spotted by the
    unit making the request.
    
    This is already being done in the classic charms *1
    
    *1 https://review.opendev.org/q/topic:%22bug%252F1780712%22+(status:open%20OR%20status:merged)
    
    Change-Id: I0eb96ab8b1048bf209ffb011dd585af956ab779a
    Closes-Bug: #1926667
2021-04-30 17:34:13 +00:00
Alex Kavanagh ae8de490a8 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  to 72245e1d002fb9c65c9574d65b5952275b3411fb
  - Switch from testr to stestr for unit tests
    
    Change-Id: I2415dbae9c2a2ac5951b9e9176a514a1d1330ab0
2021-02-18 11:20:23 +00:00
Frode Nordahl b3be5d988b Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Allow passing keyword arguments to create_*_pool
    
    The CephBrokerRq class will be used to validate the arguments
    passed so that the caller will get immediate feedback if any
    unknown arguments or invalid values are used.
    
    Change-Id: Ideb142ead729977dedd2c00435e98846fc842da3
2020-10-02 12:09:37 +00:00
Liam Young ce1c6a7243 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Support MDS clients requesting addional pools
    
    Allow MDS clients to specify additional pools to be added to the
    FS being created.
    
    Also drive-by fixes to calls to self.send_request_if_needed
    
    Change-Id: Ib19e545fc676fa9e986f3fddcfb92cf99e778a3f
2020-09-18 08:54:50 +00:00
James Page f44e7d57ed Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Use properties correctly
    
    Its not possible to call a method which is annotated as a property
    so which to just using the property directly.
    
    Its also difficult to patch a property during unit testing so
    provide private methods for unit testing to allow properties
    to be specified during testing.
    
    Change-Id: Id9db6578e00fa412e4cf58e75bd89970b6e8e682
2020-08-27 10:25:45 +00:00
James Page 031c6969ce Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Markup properties
    
    Ensure that various data items are available via the relation
    adapters in charms.openstack by marking functions as properties.
    
    This equates to the auto_accessors lists in the ceph-client and
    ceph-mds RelationBase endpoint implementations.
    
    Change-Id: I240552158475635d6996c622bf17eb6dd73b5d81
2020-08-26 12:25:15 +00:00
Liam Young 72ee608034 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Add ceph-mds relation
    
    This relation is very similar to the ceph-client relation so add
    it to this repo so they can share code. This will retire the
    seperate repo *1 and also require an update to the central
    index of interfaces to point at the new location.
    
    *1 https://github.com/openstack/charm-interface-ceph-mds
    *2 https://juju.github.io/layer-index/
    
    Change-Id: I9f438bb678da1b69d8161390aad2cf58907bc1b5
2020-08-24 05:33:36 +00:00
Liam Young bca353a8f0 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Switch requires from RelationBase to Endpoint
    
    Switch requires relation from the old api
    charms.reactive.relations.RelationBase to the replacement
    charms.reactive.endpoints.Endpoint.
    
    Change-Id: I6fe7cab654d5768f521ffa4218ae5c3974ef4ae8
2020-08-24 05:33:36 +00:00
Liam Young 6f6b4755b0 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Re-organise interface
    
    Re-organise interface to allow multiple interfaces to share
    common code. The idea being to add ceph-mds to this code base.
    
    Change-Id: Ie53ef7e5fc7a461dca8e53d9f91b332399a70076
2020-08-24 05:33:35 +00:00
Zuul 9840697216 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Merge "Add support for erasure coded pools"
  - Add support for erasure coded pools
    
    Add helpers to request erasure coding profile and pool creation.
    
    Change-Id: I4512b9957722332fe0a311d09fedffb4d4e47fbd
2020-08-14 14:04:50 +00:00
Liam Young db7f138024 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Re-enable unit tests
    
    Re-enable and fix unit tests. Unit test check of set_local removed
    as the json dump is not ordering dict keys and the set_local
    calls will be removed by an imminent patch.
    
    Change-Id: Id804e0e518c0013043db6f4b7cd44ccaa5499749
2020-08-14 08:32:20 +00:00
Hervé Beraud f89e1fe3da Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Use unittest.mock instead of mock
    
    The mock third party library was needed for mock support in py2
    runtimes. Since we now only support py36 and later, we can use the
    standard lib unittest.mock module instead.
    
    Change-Id: I887adac6caebb327871d3709ed59f25e401b5600
2020-07-13 05:55:01 +00:00
James Page b0d61a2741 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - requires: Provide get_current_request method
    
    Minor refactor to ensure that the get_current_request method
    actually exists for the requires part of this interface.
    
    Misc drive by fixes for CI scaffolding as well.
    
    Change-Id: I26e9585df2a84c336d9f01115c6208d7ef994b3c
2020-05-04 10:26:06 +00:00
Chris MacNaughton 7da850908e Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Fix reference to request
    
    Change-Id: I33eb1eaadc240e5e73c7548d62afb1ae6c6829d1
    Closes-Bug: #1845941
2019-09-30 11:39:37 +00:00
Zuul 72597e289f Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Merge "Adding support for multiple ceph pool creation"
  - Adding support for multiple ceph pool creation
    
    Added create_replicated_pool to match the charm-helpers
    deprecation of create_pool. I didn't make a
    create_erasure_pool.
    
    Piped create_pool through create_replicated_pool to
    mirror charm-helpers.
    
    create_replicated_pool can now be called multiple
    times to create multiple pools
    
    Related-Bug: #1824035
    Change-Id: Iaa421ff152dc40bf446200cabc19d99f5b04bbe9
2019-09-24 12:23:18 +00:00
Camille Rodriguez 3217091aa4 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Avoid pollution and false positives with tox.ini
    
    - removing sitepackages in tox.ini to avoid test env pollution
    - skip_missing_interpreters in tox.ini set to False to avoid false
    positives by skipping missing interpreters.
    
    Change-Id: I72582997b86641c773686e4e04cedf7d1d11d9e1
    
  - OpenDev Migration Patch
    
    This commit was bulk generated and pushed by the OpenDev sysadmins
    as a part of the Git hosting and code review systems migration
    detailed in these mailing list posts:
    
    http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
    http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
    
    Attempts have been made to correct repository namespaces and
    hostnames based on simple pattern matching, but it's possible some
    were updated incorrectly or missed entirely. Please reach out to us
    via the contact information listed at https://opendev.org/ with any
    questions you may have.
2019-08-29 15:32:38 +00:00
Zuul c53a86bfb8 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Merge "Revert "Refactor create_pool." and "Add request_access_to_group method""
  - Revert "Refactor create_pool." and "Add request_access_to_group method"
    
    This reverts commit e4997e5ab8467f28902d4f8da3e45654033aa83c and
    288bab66dd45a722622aa9d36d9cb02705eda546.
    
    This is necessary as this change does not verify that there is not an
    existing request to do this in the queue, and will end up creating
    infinite create_pool requests on the ceph-mon
    
    Change-Id: I76305181ddba83eca414d9e08bbd58408d2b01ce
2019-02-28 15:41:48 +00:00
Chris MacNaughton 55208ad63b Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - update interface.yaml with ignores and maintainer
    
    The ignores removes all files that are not relevant to
    the interface from the built charm, and thus, the
    runtime imports of the interface bits
    
    Change-Id: I4d5c58fff7d05dc10eea54567fbabb579a9ddd71
2019-02-20 09:02:36 +00:00
Liam Young f1ca68c259 Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Add request_access_to_group method
    
    Add request_access_to_group method to allow a client to request
    ceph permissions.
    
    Change-Id: I8a7f0bf47c39509eec71a286bd51ec53c58d7e0d
2019-02-12 12:31:13 +00:00
Liam Young 0fab6c468e Update git submodules
* Update charm-interface-ceph-client from branch 'master'
  - Refactor create_pool.
    
    Refactor create_pool to allow future methods to easily access
    the existing request. This change also includes two changes in
    behaviour:
    
     * If an existing request is invalid due to invalid json or missing
       ops attribute then the exception is now propagated rather than
       logged and suppressed. If an existing request is corrupt then
       fail early otherwise bad things will follow.
     * The existing implementation only allows for a single create_pool
       request. Any additional requests would overwrite previous ones.
       This change allows for multiple pools to be requested in a
       single broker request.
    
    Change-Id: I61998c2ce70325cb904add8c51cbc9c34b3c9564
2019-01-08 12:28:05 +00:00
Monty Taylor aa262b7a44
Update git submodules based on new script
Change-Id: Ia578b55e3e07b4ea90f034805625caf82e9e674e
2019-01-04 14:13:17 +00:00