when logged in as either user1 or user2 I can create applications and integrations. Snapshots are created successfully. When I click on "snapshots" in the horizontal menu I get 403. I dont know how to update user1 and user2 to get access to this page. I can click on snapshot urls in the component details and then I can view individual snapshots just fine.
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "forbidden: User "us...@konflux.dev" cannot get path "/plugins/kubearchive/apis/appstudio.redhat.com/v1alpha1/namespaces/user-ns1/snapshots": Authorization failed. Opc-Request-Id: \u003cnil\u003e",
"reason": "Forbidden",
"details": {},
"code": 403
}
I am installed on kube v1.33.1
I edited the proxy deployment and found
So, I changed it to
And then the pod recreated and the snapshots now work.
The proxy deployment, in my case, has settings for oidc (sso with GH) and therefore whenever it is overwritten by the installer, I have to overwrite it again with my settings. This must have caused issues with replacing the image name.
--
You received this message because you are subscribed to the Google Groups "Konflux CI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konflux+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/konflux/948c33c4-c51a-45d5-8a9b-78b10067b578n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Aug 7, 2025, at 12:35 PM, Marta Anon <ma...@redhat.com> wrote:My guess is that for some reason the latest fix isn't in place, can you check what Yftach mentions in the related issue? https://github.com/konflux-ci/konflux-ci/issues/2805#issuecomment-3163942237On Thu, Aug 7, 2025 at 6:33 PM Andrew Anderson <and...@gmail.com> wrote:Thanks, Marta. I dont mind installing and using kubearchive, but the UI is still showing no results - so it is not using the alternate request you mentioned.On Aug 7, 2025, at 12:23 PM, Marta Anon <ma...@redhat.com> wrote:Hey Andy,
That error is due to not having installed kubearchive, not because of RBAC configuration, but that is ok, you should be able to see snapshots even with that error in your console, kubearchive is not required.
The UI is also doing another request to "apis/appstudio.redhat.com/v1alpha1/namespaces/user-ns1/snapshots/" (without the `plugins/kubearchive` part) and the output of that request is what you should see rendered in the UI after the latest fix
--
You received this message because you are subscribed to the Google Groups "Konflux CI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konflux+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/konflux/eed9bff2-218a-4baa-80e8-5814aa32a7f4n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Aug 14, 2025, at 8:20 AM, Marta Anon <ma...@redhat.com> wrote:
Sorry, the request in your case should be:
https://129.158.49.213.nip.io/api/k8s/apis/appstudio.redhat.com/v1alpha1/namespaces/user-ns1/releases?labelSelector=appstudio.openshift.io%2Fapplication%3Dllm-d
On Thu, Aug 14, 2025 at 1:08 PM Marta Anon <ma...@redhat.com> wrote:
Hey Andy,
In the snapshot you are in the Snapshots page, and the errors suggest that your UI is experiencing problems when reaching kubernetes API. With that information I cannot tell what could be the problem.
Could you please show us what's happening regarding the calls of the snapshots/releases to kubernetes API?
You should be able to see those under the network tab.
I use chrome so this shows a little different, but you should be able to find something like this with the Network tab opened of your browser inspector and refreshing the page:
<image.png>
From what you are sharing I think that you don't get a 200 OK from that request
The request in your case should be instead:
You can also try that query directly in your browser and see what returns
On Thu, Aug 14, 2025 at 12:38 PM Marta Anon <ma...@redhat.com> wrote:
Added Konflux CI google group
---------- Forwarded message ---------
From: Andrew Anderson <and...@gmail.com>
Date: Wed, Aug 13, 2025 at 3:57 PM
Subject: Re: can't view snapshot list in latest version of konflux
To: Marta Anon <ma...@redhat.com>
Marta,Now that I can view snapshots, I was able to create a release using the UI. However, I am now seeing the same kind of error wrt not listing releases. Please advise
On Aug 14, 2025, at 11:42 AM, Marta Anon <ma...@redhat.com> wrote:
Oh but that is a different thing, it shows that there are no releases in place, not an error like it did for the snapshots view. (note that you are having a not found and not an "Unable to load" image)
Also, please keep in mind what I mentioned before, the kubearchive errors shown in the console are indeed expected.
My guess is that there are no releases and that's why you are seeing that. To prove it, can you do the following?
`kubectl get releases.appstudio.redhat.com -n user-ns1`
see if it outputs something, and if it does, then check go here in the browser:
On Thu, Aug 14, 2025 at 3:13 PM Andrew Anderson <and...@gmail.com> wrote:
Sorry, snapshots are working due to the fix that was provided last week. Releases are not. Here is the page that lists releases. Same errors in the console that I saw for snapshots. Still trying to reach kubearchive instead of direct listing. We need the same fix that was applied for snapshots for releases. Should be easy to duplicate the fix.
To view this discussion visit https://groups.google.com/d/msgid/konflux/3CDEA2E4-4551-4950-9CBE-B0E540B60979%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion visit https://groups.google.com/d/msgid/konflux/9FB1A3CC-579A-45AA-A3EF-35955613927B%40gmail.com.