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

No package matching 'python-boto' is available #43

Open
Twansparant opened this issue Oct 16, 2023 · 0 comments
Open

No package matching 'python-boto' is available #43

Twansparant opened this issue Oct 16, 2023 · 0 comments

Comments

@Twansparant
Copy link

Twansparant commented Oct 16, 2023

Hi there,

In my latest project using Trellis version 1.21.0 and trellis-backup-role 2.1.7, I'm getting the following error while provisioning my remote servers running ubuntu 22.04:

TASK [lafranceinsoumise.backup : Install backup profile dependencies] **********
failed: [xxx.xxx.xx.xx] (item={'name': 'example.com_uploads', 'schedule': '0 4 * * *', 'source': '/srv/www/example.com/shared/uploads', 'target': 's3://ams3.digitaloceanspaces.com/backups/example.com/uploads', 'target_user': False, 'target_pass': False, 'max_age': '3M', 'full_max_age': '1M', 'max_full_backups': '3', 'params': ['export S3_USE_SIGV4="True"'], 'action': 'purge_backup --force'}) => {"ansible_loop_var": "item", "changed": false, "item": {"action": "purge_backup --force", "full_max_age": "1M", "max_age": "3M", "max_full_backups": "3", "name": "example.com_uploads", "params": ["export S3_USE_SIGV4=\"True\""], "schedule": "0 4 * * *", "source": "/srv/www/example.com/shared/uploads", "target": "s3://ams3.digitaloceanspaces.com/backups/example.com/uploads", "target_pass": false, "target_user": false}, "msg": "No package matching 'python-boto' is available"}
failed: [xxx.xxx.xx.xx] (item={'name': 'example.com_database', 'schedule': '0 4 * * *', 'source': 'mysql://example_production', 'target': 's3://ams3.digitaloceanspaces.com/backups/example.com/database', 'target_user': False, 'target_pass': False, 'max_age': '3M', 'full_max_age': '1M', 'max_full_backups': '3', 'params': ['export S3_USE_SIGV4="True"'], 'action': 'purge_backup --force'}) => {"ansible_loop_var": "item", "changed": false, "item": {"action": "purge_backup --force", "full_max_age": "1M", "max_age": "3M", "max_full_backups": "3", "name": "example.com_database", "params": ["export S3_USE_SIGV4=\"True\""], "schedule": "0 4 * * *", "source": "mysql://example_production", "target": "s3://ams3.digitaloceanspaces.com/backups/example.com/database", "target_pass": false, "target_user": false}, "msg": "No package matching 'python-boto' is available"}

Locally I'm running Python 3.10.10
The provisioned server is running Python 3.10.12.

Am I supposed to install the package python3-boto3 or python3-boto myself now in Trellis?
Anyone else having this issue?

I tried adding both the python3-boto as well as the python3-boto3 package manually like this:

In group_vars/all/main.yml:

apt_packages_custom:
  python-is-python3: "{{ apt_package_state }}"
  python3-boto: "{{ apt_package_state }}"

But same error occurs?
I'm using the exact same configuration/credentials in other running projects, so I'm sure those are correct.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant