-
Notifications
You must be signed in to change notification settings - Fork 24
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
AD share is not aible to fetch own SID #220
Comments
Can you confirm that the 'must-join' init container executed successfully? |
I am working on the same cluster. Yes, the init container This container's log is
I attached two logs with debuglevel 10 that I plan to delete soonish though. |
Thank you. I've downloaded the logs locally and will look at them soon. |
Nothing is jumping out at me. I've asked a few of the team members to also look at the logs. |
@turricum and @ibotty I built a custom samba-operator with patches of #216 and tested it on my OpenShift4.8 deployment. An image is available at:
|
there is a SmbCommonConfig. I need it for external access ... here again:
|
You are correct -- missed it. |
@turricum Could you please re-try your config using |
@synarete i removed the old configuration and created the same in the samba-operator-system .. 100% same result. |
After talking to another member of our team, we'd also like to confirm that the machine account is valid. This is stored in a tdb file that needs to be accessible across multiple containers in the pod. |
|
The log line(s) stating that fetching the machine account password failed makes me wonder if there's a problem sharing the persistent storage between the must-join container and the smbd/winbind containers. Can you get full YAML dumps for the pod in question so I can see what volumes and mounts got created for this instance? Include the deployment too just for the sake of completeness. |
here is the complete yaml dump of the pod ...
|
@turricum you are using |
Switching to Reading the limitations, I don't see they are relevant here. The configured share does not meet them:
Am I missing anything? We plan to update to 4.10 so there are even fewer limitations though. |
You are using |
I've been reading through the YAML dumps. I wanted to ensure that the samba-state-dir (/var/lib/samba) was correctly being shared accross the It would have been an unfortunate bug, but it would have also been a simple explanation. But I guess it's not that simple. Since I'm focused on trying to understand why the machine account password doesn't seem to be present even though the must-join pod reports success, I'm going to ask a few more q's:
This is one of those issues that may be easier if I had a reproducer locally, but right now I'm still guessing a bit. With some of the details you provide maybe @synarete and I can create a OpenShift based setup that looks more like yours and see if we can reproduce the problem you see... |
I shouldn't assume you are familiar with the samba |
@phlogistonjohn I use (almost) the same yamls as @turricum provided above, but failed to reproduce. The differences:
|
@synarete I could possibly see 1 somehow interacting weird with AD but I'd be very surprised if 2 was a cause. Let's also find out more about how their AD is set up. |
sorry for taking so long and thank you for your help!
I tested on an OKD 4.10 cluster with openshift-sdn cni. The same problem happens.
it crashes immediately after creation of the pod. It seems there is no timeout involved.
We are using a Samba 4.12 Domain Controller. Is working fine for Windows 10 and Fedora 36 computers.
if I rsh to the pod's
It happens with every AD |
I'm the one who should be saying that. :-)
I forgot to ask earlier, if you do this and the join is successful does the wb container continue crashing? Does the behavior of |
|
Very interesting, thanks! I'll be sharing that one with the other members of my team. |
Anything else we can investigate? |
@ibotty Does this problem reproduces with latest version as well? That is, when using images with samba 4.16.5 ? |
I installed the Samba Operator 0.2 on an Openshift 4.8 Barebone Cluster. I created some AD shares.
yamls:
samba-tool at the AD Server shows that the entry is created`
3) debug the pod / wb container
and the same wenn I start debugging ...
so, there is a SID, AD says welcome and the Pod could not fetch the own SID.
The text was updated successfully, but these errors were encountered: