Activity log for bug #1548760

Date Who What changed Old value New value Message
2016-02-23 11:03:29 Date Huang bug added bug
2016-02-23 12:01:34 Date Huang description When enable `inject_key` option in nova-docker, the owner and group of `/root/.ssh` will be the host's user nova. So it will cause login with ssh priv key failed. But we can't chown the /var/lib/nova/instances/`CONTAINER_ID`/.ssh to root:root, let the directory in the container be right permission. It will cause nova couldn't remove the instance directory when the instance is deleted. When enable `inject_key` option in nova-docker, the owner and group of `/root/.ssh` will be the host's user nova. So it will cause login with ssh priv key failed. But we can't chown the /var/lib/nova/instances/`CONTAINER_ID`/.ssh to root:root, let the directory in the container be right permission. It will cause nova couldn't remove the instance directory when the instance is deleted. I think I have some idea to fix this problem. I will try to patch it.