snap-openstack requires the ubuntu user

Bug #2019552 reported by Liam Young
10
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.

Revision history for this message
James Page (james-page) wrote :

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.

Changed in snap-openstack:
assignee: nobody → Hemanth Nakkina (hemanth-n)
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in snap-openstack:
status: New → In Progress
Changed in snap-openstack:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
James Page (james-page)
Changed in snap-openstack:
importance: Undecided → Medium
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in snap-openstack:
status: In Progress → Fix Committed
James Page (james-page)
Changed in snap-openstack:
status: Fix Committed → Fix Released
James Page (james-page)
Changed in snap-openstack:
milestone: none → 2023.1.2
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.