sunbeam configure (in maas deployment) fails with error about user not being part of group snap_daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm following this guide -> https:/
Using 2024.1/edge rel 507
and there's a point where you run sunbeam configure --openrc demo-openrc
but it complains:
=======
ubuntu@
Error: Insufficient permissions to run sunbeam commands
Add the user 'ubuntu' to the 'snap_daemon' group:
sudo usermod -a -G snap_daemon ubuntu
After this, reload the user groups either via a reboot or by running 'newgrp snap_daemon'.
=======
which seems correct because my user is NOT part of that group, it has not been configured to be by the preparation script, which was run like this: sunbeam prepare-node-script --client | bash -x
Inspecting the script I see no group add to my user. I can manually fix it and then configure works normally.
summary: |
- sunbeam configure fails with error about user not being part of group - snap_daemon + sunbeam configure (in maas deployment) fails with error about user not + being part of group snap_daemon |
description: | updated |
Similar with: /bugs.launchpad .net/snap- openstack/ +bug/2066541
https:/
Essentially `--client` doesn't do enough job to use Sunbeam itself.