---
title: Charmhub | Deploy microceph using Charmhub - The Open Operator Collection
description: Deploy the latest version of microceph on any cloud.
url: https://charmhub.io/microceph/actions
---

# microceph

[OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

* [OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

Platform:

26.04

24.04

22.04

squid/stable 331

```
juju deploy microceph --channel squid/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [add-osd](https://charmhub.io/microceph/actions#add-osd)
* [enter-maintenance](https://charmhub.io/microceph/actions#enter-maintenance)
* [exit-maintenance](https://charmhub.io/microceph/actions#exit-maintenance)
* [get-rgw-endpoints](https://charmhub.io/microceph/actions#get-rgw-endpoints)
* [list-disks](https://charmhub.io/microceph/actions#list-disks)
* [set-pool-size](https://charmhub.io/microceph/actions#set-pool-size)

[Learn about actions >](https://juju.is/docs/juju/action)

* add-osd

  Add ceph disks (OSD) to cluster

  Params

  + device-id
    string

    Device ID of the disk. Accepts comma separated
    device id's to specify multiple disks
  + encrypt
    boolean

    Encrypt the disk prior to use (only block devices)
  + loop-spec
    string

    / The specification of the files to be created and used as OSDs, e.g. 4G,3 would create 3 file based OSDs of size 4GB.
  + wipe
    boolean

    Wipe the disk before adding it.
    Note: This will destroy all data on the disk.
* enter-maintenance

  Put the given unit into maintenance mode.

  Params

  + check-only
    boolean

    Only run the sanity checks for entering maintenance mode. Do not confuse with `dry-run`
    option, which only prints the action plan.
  + dry-run
    boolean

    Do not run the operations but print the action plan.
  + force
    boolean

    Force to run the operations to enter maintenance mode even if there are failed operations.
  + ignore-check
    boolean

    Ignore sanity checks and run the operations for entering maintenance mode. Do not confuse
    with `force` option, which will ignore any error in the operations and continue the
    remaining operations.
  + set-noout
    boolean

    Optional to run `ceph osd set noout`. Defaults to set noout when entering maintenance mode.
  + stop-osds
    boolean

    Optional to stop and disable OSD service on that node. Defaults to keep the OSD service
    running when entering maintenance mode.
* exit-maintenance

  Bring the given unit out of maintenance mode.

  Params

  + check-only
    boolean

    Only run the sanity checks for exiting maintenance mode. Do not confuse with `dry-run`
    option, which only prints the action plan.
  + dry-run
    boolean

    Do not run the operations but print the action plan.
  + ignore-check
    boolean

    Ignore sanity checks and run the operations for exiting maintenance mode.
* get-rgw-endpoints

  S3 and swift public endpoints for Rados Gateway.
* list-disks

  List OSDs on the cluster and unpartitioned disks on the
  node.

  Params

  + host-only
    boolean

    List OSDs on the node instead of cluster.
* set-pool-size

  Sets the size for one or several pools.

  Params

  + pools
    string

    A comma-separated list of pools, or an asterisk ('\*') to set
    the size for every existing pool.
  + size
    integer

    The new pool size

  Required

  pools,
  size
