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

Removal of 'release-bundles' don't work #155

Open
florentortiz opened this issue Dec 11, 2024 · 0 comments
Open

Removal of 'release-bundles' don't work #155

florentortiz opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@florentortiz
Copy link

Hello,

It seems that we cannot use your tool to remove release bundles, as when I tried with this configuration :

    - name: Repository release-bundles-v2
      rules:
        - rule: Repo
          name: release-bundles-v2
        - rule: DeleteOlderThan
          days: 90

I got error like this in the artifactory logs and nothing is removed :

2024-12-10T16:39:01.344Z [jfrt ] [INFO ] [58574caf0dd8217bf9bb5805104ccb3a] [o.a.s.d.f.m.DbMutableFile:246 ] [jsse-nio-8443-exec-4] - Deletion of release-bundles-v2:app/1.150.0-12260253455/artifacts/docker/app/latest/sha256__94f42c54df3ff13333050b83b696d6d81c360bc33d0e5bbe2360443aeee97e6e was canceled by plugin
2024-12-10T16:39:01.344Z [jfrt ] [ERROR] [58574caf0dd8217bf9bb5805104ccb3a] [r.s.RepositoryServiceImpl:2048] [jsse-nio-8443-exec-4] - Undeploy was canceled: Forbidden to delete artifacts from Release Bundles repository release-bundles-v2/app/1.150.0-12260253455/artifacts/docker/app/latest/sha256__94f42c54df3ff13333050b83b696d6d81c360bc33d0e5bbe2360443aeee97e6e
2024-12-10T16:39:01.362Z [jfrt ] [WARN ] [58574caf0dd8217bf9bb5805104ccb3a] [.r.ArtifactoryResponseBase:158] [jsse-nio-8443-exec-4] - Sending HTTP error code 400: Undeploy was canceled
2024-12-10T16:39:01.450Z [jfrt ] [ERROR] [49d414f14344db9a10018e3ac863d9fd] [i.BundleStorageInterceptor:168] [jsse-nio-8443-exec-3] - Storage operation failed for RBv2
2024-12-10T16:39:01.450Z [jfrt ] [ERROR] [49d414f14344db9a10018e3ac863d9fd] [i.BundleStorageInterceptor:170] [jsse-nio-8443-exec-3] - Forbidden to delete artifacts from Release Bundles repository release-bundles-v2/app/1.150.0-12260253455/artifacts/docker/app/latest/sha256__a803e7c4b030119420574a882a52b6431e160fceb7620f61b525d49bc2d58886: Forbidden to delete artifacts from Release Bundles repository release-bundles-v2/app/1.150.0-12260253455/artifacts/docker/app/latest/sha256__a803e7c4b030119420574a882a52b6431e160fceb7620f61b525d49bc2d58886

It should be great if the tool can handle the "release-bundles" removal in the dedicated repository "release-bundles-v2".

My account have this permission on the repository : "Read/Delete", and it is working for every other repository type that I tested (docker/npm/maven/build info).

@allburov allburov added enhancement New feature or request good first issue Good for newcomers labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

2 participants