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

zdb namespace not deleted after deleting the zdb workload #2410

Open
ashraffouda opened this issue Aug 28, 2024 · 3 comments
Open

zdb namespace not deleted after deleting the zdb workload #2410

ashraffouda opened this issue Aug 28, 2024 · 3 comments
Milestone

Comments

@ashraffouda
Copy link
Collaborator

Describe the bug

this happens on zos3 and zos4.
I create a zdb workload a node then deleted the deployment but found the namespace still exists after deleting the deployment

To Reproduce

  • create a zdb deployment
  • on the node do ip netns
  • delete the zdb deployment
  • on the node do ip netns again
  • you will find the zdb namespace still exists something like zdb-ns-86596a4a6be4

Expected behavior

zdb namespace should be deleted when the zdb deployment is deleted

note when I created new zdbs no more namespaces are created, the old one is used for all zdbs even for different users

@ashraffouda
Copy link
Collaborator Author

@muhamadazmy @maxux

@scottyeager
Copy link

The Zdbs themselves are multiuser and are created when Zos first starts up. What the user's workload represents is a Zdb namespace within the shared Zdb, which can be public or private and password protected.

So I think it's normal that there's no changes to Zdb networking when workloads are deployed/deleted, since all users access their Zdb workload over the same IPs assigned to the shared Zdb instances.

@maxux
Copy link
Contributor

maxux commented Sep 3, 2024

Well namespace here is ambiguous. Each zdb process have their own network namespace to get a dedicated IP address. Each zdb can have multiple namespace (eg: 1 per user).

Network namespaces are persistant and mandatory per zdb instance. ZDB namespaces are dynamically allocated.

To get a list of zdb namespaces, you can connect to the zdb and send NSLIST command.

A deployment is related to a zdb namespace, not a zdb instance AFAIK, so Scott it right for me.

@ramezsaeed ramezsaeed added this to the 3.13 milestone Sep 18, 2024
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

4 participants