Bug 1202707
Summary: | [origin_runtime_664] Should notify user that the current using project doesn't exist anymore after deleted by admin | ||
---|---|---|---|
Product: | OKD | Reporter: | Meng Bo <bmeng> |
Component: | Containers | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | decarr, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-21 18:00:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Meng Bo
2015-03-17 09:40:53 UTC
(In reply to Meng Bo from comment #0) > 4. Delete the project via admin > # osc delete project project21 > 5. Try to get/delete/create the pods via the user2 > $ osc get po > $ osc delete po --all > $ osc create po -f pod.json > 5. All the actions work Could you confirm if still succeeds after waiting a few minutes? I *think* this may be related to project caching. Derek, could you confirm why this happens? 1. Create project 'foo' 2. Create pod when project 'foo' is active 3. List pods when project 'foo' is active, succeeds listing the pod created in 2 4. Delete project created in 1 5. List pods, still succeeds listing the pod created in 2 Is it because of caching, or because after the project gets deletes we still keep the namespace (to which the pod is related)? Hi Fabiano, I have tried to wait about 10 minutes after the project deleted, the user still can list the pod. I spoke with Derek, basically the expectation is that when you delete a project , all the content in that project gets deleted. But that's not implemented yet, will be part of the following story: https://trello.com/c/kqFBoSUF/313-5-when-i-delete-a-project-namespace-i-need-to-ensure-that-all-resources-in-that-project-namespace-are-deleted-manage-beta3 The flow will be something like you delete a project, it goes into a terminating phase, and then all your stuff is deleted, and once all the stuff is deleted, your project is finally purged from storage. There is a PR for Kubernetes already and there will be one for Origin: https://github.com/GoogleCloudPlatform/kubernetes/pull/5554 So not exactly a bug, I think we should close it and handle this in the Trello card. Close the bug and use the trello card to track the feature. |