Skip to content

copy tmpfiles.template in Dockerfile#148

Merged
jperrin merged 1 commit intoCentOS:masterfrom
jasonbrooks:apiserver-tmpfiles
Aug 29, 2017
Merged

copy tmpfiles.template in Dockerfile#148
jperrin merged 1 commit intoCentOS:masterfrom
jasonbrooks:apiserver-tmpfiles

Conversation

@jasonbrooks
Copy link
Copy Markdown
Contributor

I left this bit out of #145

@jperrin
Copy link
Copy Markdown
Collaborator

jperrin commented Aug 29, 2017

👍

@jperrin jperrin merged commit bd34d96 into CentOS:master Aug 29, 2017
@pfischer8989
Copy link
Copy Markdown

This still does not work. I also noticed this when i did the pull:

Aug 31 10:05:34 cnfc1cnfi01 polkitd[1381]: Registered Authentication Agent for unix-process:25412:50478925 (system bus name :1.676 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
Aug 31 10:05:34 cnfc1cnfi01 polkitd[1381]: Unregistered Authentication Agent for unix-process:25412:50478925 (system bus name :1.676, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 31 10:44:01 cnfc1cnfi01 dockerd-current[1693]: time="2017-08-31T10:44:01.959223239-04:00" level=info msg="{Action=_ping, Username=root, LoginUID=0, PID=25428}"
Aug 31 10:44:01 cnfc1cnfi01 dockerd-current[1693]: time="2017-08-31T10:44:01.965734900-04:00" level=info msg="{Action=_ping, Username=root, LoginUID=0, PID=25428}"
Aug 31 10:44:02 cnfc1cnfi01 dockerd-current[1693]: time="2017-08-31T10:44:02.091778103-04:00" level=error msg="Handler for GET /v1.24/images/kube-apiserver/json returned error: No such image: kube-apiserver"
Aug 31 10:44:02 cnfc1cnfi01 dockerd-current[1693]: time="2017-08-31T10:44:02.104361878-04:00" level=info msg="{Action=_ping, Username=root, LoginUID=0, PID=25428}"
Aug 31 10:44:02 cnfc1cnfi01 dockerd-current[1693]: time="2017-08-31T10:44:02.110573693-04:00" level=info msg="{Action=_ping, Username=root, LoginUID=0, PID=25428}"
Aug 31 10:44:02 cnfc1cnfi01 polkitd[1381]: Registered Authentication Agent for unix-process:25437:50709696 (system bus name :1.677 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
Aug 31 10:44:02 cnfc1cnfi01 polkitd[1381]: Unregistered Authentication Agent for unix-process:25437:50709696 (system bus name :1.677, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 31 10:44:02 cnfc1cnfi01 polkitd[1381]: Registered Authentication Agent for unix-process:25443:50709698 (system bus name :1.678 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
Aug 31 10:44:02 cnfc1cnfi01 systemd[1]: Reloading.

@jasonbrooks
Copy link
Copy Markdown
Contributor Author

@pfischer8989 We also need #150 for this to work. I had the uid and gid swapped -- atomic hosts use uid 996 gid 994 for the kube user and group. The tmpfiles.d creates the dir owned by the kube user, and w/ the wrong uid, apiserver wasn't able to access it. I also needed to bind mount the /var/run/kubernetes.

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

Successfully merging this pull request may close these issues.

3 participants