inject_key wrong permission

Bug #1548760 reported by Date Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-docker
New
Undecided
Unassigned

Bug 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.

I think I have some idea to fix this problem.
I will try to patch it.

Date Huang (tjjh89017)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.