Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #209

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 35 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,41 @@
# DISCLAIMER
# Charmed OpenStack Upgrader

This is a work in progress prototype. The code contained in this repository
may not be representative of what the final approach should be.
It is likely that the end result will live under a different name, in a
different repository, and only use some of the code and ideas found here.
Charmed OpenStack Upgrader (COU) is an application (packaged as a snap) to upgrade
a Canonical distribution of [Charmed OpenStack](https://ubuntu.com/openstack/docs/overview)
in an automated and frictionless manner. The application detects the version of the
running cloud and proposes an upgrade plan to the next available OpenStack release.

For more information, please refer to [COU Documentation](https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/).

# Setup

The Charmed OpenStack Upgrader snap can be installed directly from the snap store:

```bash
# Instructions for local builds until we have automatic connections and alias
make clean
sudo snap remove charmed-openstack-upgrader --purge
make build
sudo snap install ./charmed-openstack-upgrader.snap --dangerous
sudo snap connect charmed-openstack-upgrader:juju-client-observe snapd
sudo snap connect charmed-openstack-upgrader:dot-local-share-cou snapd
sudo snap connect charmed-openstack-upgrader:ssh-public-keys snapd
sudo snap alias charmed-openstack-upgrader.cou cou
gabrielcocenza marked this conversation as resolved.
Show resolved Hide resolved
sudo snap install charmed-openstack-upgrader
```

Then you can use ```cou```
An alias `cou` will be automatically enabled upon successful installation.

Run `cou -h` to learn about the available commands:

```bash
Usage: cou [options] <command>

Charmed OpenStack Upgrader (cou) is an application to upgrade
a Canonical distribution of Charmed OpenStack.
The application auto-detects the version of the running cloud
and will propose an upgrade to the next available version.

Options:
-h, --help Show this help message and exit.
--version, -V Show version details.

Commands:
{help,plan,upgrade} For more information about a command, run 'cou help <command>'.
plan Show the steps COU will take to upgrade the cloud to the next release.
upgrade Run the cloud upgrade.
```

## Environment Variables

Expand All @@ -38,3 +54,7 @@ Application supports:
- Focal/Wallaby -> Focal/Yoga

upgrades.

# License
Charmed OpenStack Upgrader is a free software, distributed under the Apache-2.0 license. Refer to the
[LICENSE](https://github.com/canonical/snap-tempest/blob/main/LICENSE) file for details.
2 changes: 1 addition & 1 deletion docs/custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
## when linking to the documentation from another website (see https://ogp.me/)
# The URL where the documentation will be hosted (leave empty if you
# don't know yet)
ogp_site_url = 'https://charmed-openstack-upgrader.readthedocs-hosted.com/'
ogp_site_url = 'https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/'
# The documentation website name (usually the same as the product name)
ogp_site_name = project
# The URL of an image or logo that is used in the preview
Expand Down