---
title: Charmhub | Deploy OpenStack Exporter using Charmhub - The Open Operator Collection
description: Deploy the latest version of OpenStack Exporter on any cloud.
url: https://charmhub.io/openstack-exporter/docs/upgrade-from-27-or-older
---

# OpenStack Exporter

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

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

Platform:

24.04

22.04

stable 75

```
juju deploy openstack-exporter
```

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

---

#### Relevant links

* [Homepage](https://github.com/canonical/openstack-exporter-operator)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/openstack-exporter-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Upgrade from revision 27 or older

Revisions up until 27 included were intended for a custom build of snap [golang-openstack-exporter](https://snapcraft.io/golang-openstack-exporter), which needed to be provided as a resource as described in the [tutorial](https://charmhub.io/openstack-exporter/docs/getting-started#openstack-exporter-snap-revisions-27).

Charm revisions newer than 27 switch support from the [golang-openstack-exporter](https://snapcraft.io/golang-openstack-exporter) snap to the new [charmed-openstack-exporter](https://snapcraft.io/charmed-openstack-upgrader) one, which delivers a newer snap release of the community [openstack-exporter](https://github.com/openstack-exporter/openstack-exporter) project and is intended to be used in conjunction with this charm.

Given the switch, we have decided to require operators to positively acknowledge the change by unsetting the custom resource during the upgrade procedure.

If you are upgrading from revision ≤ 27 to a revision > 27, the procedure will therefore look as follows:

```
# Start the upgrade
juju refresh openstack-exporter # the charm will move to a blocked state here

# Remove the old exporter
touch an_empty.snap # juju resources cannot be unset but only replaced with empty files
juju attach-resource openstack-exporter openstack-exporter=an_empty.snap
rm an_empty.snap
```

The charm will remove the previously installed golang-openstack-exporter, replace it with charmed-openstack-exporter (which will be automatically downloaded from the store), and move to the active state.

---
