[feature] allow for glance to install in a privileged container
Bug #1884572 reported by
Jeff Hillman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Glance Charm |
In Progress
|
Undecided
|
Unassigned |
Bug Description
There is a need for Glance to be able to mount an NFS share while in an LXD container.
Specifically if there is no Ceph in the environment to relate Glance to.
Deployed in an LXD container, Glance will not have permissions, by default, to be able to mount an NFS share, due to the default posture of it being an unprivileged container.
creating an lxd-profile.yaml file with the following contents will make this a possability.
---
config:
security.
---
To post a comment you must log in.
From a security perspective, this is a big change that should be discussed further before proceeding. The impact is that all glance deployments, whether they need it or not, would run in privileged containers. That seems like a lot of added risk, especially given a corner case use case.