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

Cannot copy an instance that has snapshots across projects #15078

Open
dmitry-lyfar opened this issue Feb 27, 2025 · 0 comments
Open

Cannot copy an instance that has snapshots across projects #15078

dmitry-lyfar opened this issue Feb 27, 2025 · 0 comments
Milestone

Comments

@dmitry-lyfar
Copy link

dmitry-lyfar commented Feb 27, 2025

I suspect the issue is that the snapshot was created when the instance had a profile associated. The --no-profiles option is ignored. Reproducer:

lxc launch ubuntu:22.04 u1
lxc profile create test
lxc profile add u1 test
lxc snapshot u1 snap
lxc project create test-project
lxc copy u1 u1 --no-profiles -s default  --project default --target-project test-project

Error: Failed creating instance snapshot record "u1/snap": Requested profile "test" doesn't exist

6.2-bde4d03

@tomponline tomponline added this to the lxd-6.3 milestone Feb 27, 2025
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

2 participants