-
Notifications
You must be signed in to change notification settings - Fork 34
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
sync_groups not working : User is not provisioned or not managed by keymaker, skipping #26
Comments
I am getting the same errors. I did a test to see if I manually passed a user into the bash script if that user was created, ssh key grabbed and added to authorized_keys. Here is my modified version of keymaker-create-account-for-iam-user (just to pass params). This was copied and moved to a different location to test. I left the original version intact.
All of the below are true for me.
Any additional help or guidance would be great :) |
Hi, |
Sorry about the late response to this. The error ("User ... is not provisioned or not managed by keymaker, skipping") is raised when the user's uid is less than 2000 or an error is encountered when querying the user's information. Can you check that the users' UIDs are over 2000? If they are, then the user running the cron job may be denied access to run |
Same exception on both amazon linux and ubuntu. After debugging found functions in code :sync_groups is line 407 of https://github.com/kislyuk/keymaker/blob/master/keymaker/__init__.py
found above one is due to false return by below function line 359:
it was due to user doesnot exist How all iam-user of iam-groups(which get synced on node) , get also created and synced to node. |
@kislyuk Please help |
@kislyuk Please confirm ^ |
These are the steps I performed to get to the current point:
INFO:keymaker:Syncing IAM group keymaker_ec2_strikedeck_developers
WARNING:keymaker:User ec2-user-1 is not provisioned or not managed by keymaker, skipping
WARNING:keymaker:User ec2-user-2 is not provisioned or not managed by keymaker, skipping
WARNING:keymaker:User ec2-user-3 is not provisioned or not managed by keymaker, skipping
The text was updated successfully, but these errors were encountered: