snap-openstack requires the ubuntu user
Bug #2019552 reported by
Liam Young
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Fix Released
|
Medium
|
Hemanth Nakkina |
Bug Description
Currently bootstrap must be run as the ubuntu user. If you run it on the desktop as user and then install the charm, it will create an ubuntu user and then the kubeconfig file created is stored in the ubuntu user's directory, but the snap doesn't have access to read it.
The snap should be fixed to work for non-ubuntu user or if that is not practical a pre-flight should be added to ensure that the ubuntu user is being used.
Changed in snap-openstack: | |
assignee: | nobody → Hemanth Nakkina (hemanth-n) |
Changed in snap-openstack: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in snap-openstack: | |
importance: | Undecided → Medium |
Changed in snap-openstack: | |
status: | Fix Committed → Fix Released |
Changed in snap-openstack: | |
milestone: | none → 2023.1.2 |
To post a comment you must log in.
I think there is alot of assumption in the microk8s charm about there being an ubuntu user; might be better to not write this file to disk but provide an action to export it from the deployment via Juju.