Swift Proxy

  • By OpenStack Charmers
  • Cloud
Channel Revision Published Runs on
latest/edge 182 02 Apr 2024
Ubuntu 22.04
yoga/stable 180 02 Dec 2023
Ubuntu 22.04 Ubuntu 20.04
zed/stable 181 02 Dec 2023
Ubuntu 22.10 Ubuntu 22.04
xena/stable 177 02 Dec 2023
Ubuntu 20.04
wallaby/stable 179 02 Dec 2023
Ubuntu 20.04
victoria/stable 169 12 Oct 2023
Ubuntu 20.04
ussuri/stable 171 12 Oct 2023
Ubuntu 20.04 Ubuntu 18.04
train/candidate 153 28 Nov 2022
Ubuntu 18.04
train/edge 167 12 Oct 2023
Ubuntu 18.04
stein/candidate 153 28 Nov 2022
Ubuntu 18.04
stein/edge 167 12 Oct 2023
Ubuntu 18.04
rocky/candidate 153 28 Nov 2022
Ubuntu 18.04
rocky/edge 167 12 Oct 2023
Ubuntu 18.04
queens/candidate 153 28 Nov 2022
Ubuntu 18.04
queens/edge 167 12 Oct 2023
Ubuntu 18.04
2024.1/candidate 174 24 Jan 2024
Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.04
2023.2/stable 176 30 Nov 2023
Ubuntu 23.10 Ubuntu 22.04
2023.1/stable 178 02 Dec 2023
Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04
juju deploy swift-proxy --channel yoga/stable
Show information

Platform:

Ubuntu
22.04 20.04

Learn about actions >

  • add-user

    Add a user to swauth. This adds a given user / pass to swauth. Auth-type must be set to swauth. Note that swauth is not supported for OpenStack Train and later.

    Params
    • account string

      account to add this user to

    • password string

      password for the newly created user

    • username string

      username for the newly created user

    Required

    account, username, password

  • diskusage

    Run swift-recon -d on the specified unit. Returns values in GB.

  • dispersion-populate

    Run swift-dispersion-populate command on the specified unit.

  • dispersion-report

    Run swift-dispersion-report command on the specified unit.

  • openstack-upgrade

    Perform openstack upgrades. Config option action-managed-upgrade must be set to True.

  • pause

    Pause swift-proxy services. If the swift-proxy deployment is clustered using the hacluster charm, the corresponding hacluster unit on the node must first be paused as well. Not doing so may lead to an interruption of service.

  • remove-devices

    Removes the device(s) from the ring. This should normally just be used for a device that has failed. For a device you wish to decommission, it's best to set its weight to 0, wait for it to drain all its data, then use this remove-from-ring action.

    Params
    • ring string

      Swift ring to remove the device(s) from. Valid options are 'account', 'container', 'object' or 'all'.

    • search-value string

      The search-value can be of the form: . d<device_id>r<region>z<zone>-<ip>:<port>R<r_ip>:<r_port>/ <device_name>_<meta> . Where <r_ip> and <r_port> are replication ip and port. Any part is optional, but you must include at least one part.

    Required

    ring, search-value

  • resume

    Resume swift-proxy services. If the swift-proxy deployment is clustered using the hacluster charm, the corresponding hacluster unit on the node must be resumed as well.

  • set-weight

    Sets the device's weight.

    Params
    • ring string

      Swift ring to set the weight for. Valid options are 'account', 'container', 'object' or 'all'.

    • search-value string

      The search-value can be of the form: . d<device_id>r<region>z<zone>-<ip>:<port>R<r_ip>:<r_port>/ <device_name>_<meta> . Where <r_ip> and <r_port> are replication ip and port. Any part is optional, but you must include at least one part.

    • weight number

      The device's weight

    Required

    ring, search-value, weight