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

Issue with Configuration Transfer using JFrog CLI tool when the repositories are created using "Quick Repository Creation" Option #2851

Open
reddappajfrog opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@reddappajfrog
Copy link

Describe the bug

When we use "quick repository creation" option to create a local, remote and virtual repositories (of any repository type), during the configuration migration process we are observing the error as :

Command used: jf rt transfer-config source-server target-server

Cannot set repository reference 'help-alpine-local' as the default deployment repository for virtual repository 'help-alpine' since it is not included in the repository references

The above error is despite having the local repository being included under the virtual repository.

Note: If the local and virtual are created separately, then we are not seeing the above error.

Workaround:
When we disassociate the local repository from the virtual and again add it under the same virtual, the issue is resolved.

when we checked the virtual repository configurations using the REST API we found that the local is associated with the corresponding virtual created using the quick repository creation.

Artifactory and CLI Versions where the issue is reproduced:

CLI Version: 2.73.2
Artifactory Version: 7.98.14
CLI Version: 2.45.0
Artifactory Version: 7.10.6

Current behavior

When configuration transfer is performed from on-premise instance to Saas instance using JFrog CLI we are encountering the error as shown in the below screenshot:

Image

Reproduction steps

  1. Created a local, remote and virtual repositories (of any type) using quick repository creation.
  2. Configured the on-premise instance and the Saas instance with JFrog CLI for configuration transfer.
  3. Ran the jf rt transfer-config source-server target-server
  4. The error as described occurred during the phase 5/5 - Import repositories to the target Artifactory

Expected behavior

Configurations of the repositories should be successfully migrated when we use the jf rt transfer-config source-server target-server even when the repositories are created usig quick repository creation.

JFrog CLI version

2.73.2

Operating system type and version

Debian 4.19.316-1

JFrog Artifactory version

7.98.14

JFrog Xray version

NA

@reddappajfrog reddappajfrog added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant