Starting with version 10.1.0 of OSM, every even numbered release will receive two years of community support. This document covers the steps needed for upgrading OSM. Depending on the installation method, there are two methods for upgrading OSM to an LTS version.
## Upgrade of 10.1.0 to 10.1.1 LTS
This procedure covers both the upgrade of 10.1.0 to 10.1.1 LTS. There are two installation methods, each with its own set of procedures:
The following commands will upgrade the OSM controller.
```bash
sudo snap refresh juju --channel 2.9/stable
juju upgrade-controller
```
Next, for any native or proxy charms, upgrade each model.
```bash
for model in$(juju models --format json | jq .models[].name | tr-d\");do
juju switch $model
juju upgrade-model
done
```
#### Upgrade OSM Application <a name="charm-10-1-1-osm">
```bash
juju attach-resource -m osm lcm image=opensourcemano/lcm:10.1.1
juju attach-resource -m osm mon image=opensourcemano/mon:10.1.1
juju attach-resource -m osm nbi image=opensourcemano/nbi:10.1.1
juju attach-resource -m osm ng-ui image=opensourcemano/ng-ui:10.1.1
juju attach-resource -m osm pla image=opensourcemano/pla:10.1.1
juju attach-resource -m osm pol image=opensourcemano/pol:10.1.1
juju attach-resource -m osm ro image=opensourcemano/ro:10.1.1
```
At this point, OSM has been upgraded.
## Upgrade of Pre-LTS to 10.1.0 LTS
This procedure covers both upgrade from 9.1.5 or 10.0.3 to 10.1.0 LTS. Where necessary, additional steps for 9.1.5 are shown. There are two installation methods, each with its own set of procedures: