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

Adds missing deps for image_deployer to the requirements, also add mo… #7

Merged
merged 1 commit into from
Mar 5, 2025
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,22 @@ object_store_url: https://chi.uc.chameleoncloud.org:7480/swift/v1/{the account w
The image container for production images is stored in a central
object store and should use the scope `prod` by default.

The image container name for production is `chameleon-images`.

Individual sites can select an `image_type` of `raw` or `qcow2`
for the image format to deploy. All images should have both
formats in the object store.

The `image_prefix` will be added to images when they are initially
pushed to Glance. After pushing the image, any images with an
existing name will be archived with their build date and then
the `image_prefix` will be removed from the newly pushed images.

The `image_store_cloud` is the location of the site with Glance
where the images should be pushed to. This should contain the
credentials for your cloud in a `clouds.yaml` file for the
OpenStack client.

After installing the dependencies, you can run the tool as follows:
```
python3 site_tools/image_deployer.py --site-yaml ~/site.yaml
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ulid
pytest
pytest-timeout
spur

# image_deployer
pyyaml
openstacksdk>1.0.1