console-conf should point to assertion setup documentation on offline devices

Bug #1619245 reported by Oliver Grawert
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned
subiquity
Triaged
Wishlist
Unassigned

Bug Description

if you have a device that is not network connected there is no way to ever have it create a user since the user creation only works when an ssh key can be downloaded remotely from an SSO account.

if there is no network connected during first boot, console-conf should allow the creation of a local user instead of leaving the system completely unconfigured.

Revision history for this message
Oliver Grawert (ogra) wrote :

note that there is no way to ever get out of console-conf in this case ...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in subiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1619245] [NEW] console-conf does not allow to create a user for offline devices

I think the agreed plan was that the device would accept an assertion
containing user information for the account. In other words, you could
setup accounts offline using assertions you previously obtained online.

Mark

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : Re: console-conf does not allow to create a user for offline devices

Indeed, that is my understanding too. I think this qualifies as a "Won't Fix" for the subiquity task. It seems rather more fitting for this to be handled by snapd (given that it would have to know about assertions) or cloud-init (which already has some concept of preseeding).

Before I change the state, does this require UI in console-conf to allow someone to select a path for the assertion data? It seems like this may become complicated given that a device may need to be mounted before the data can be accessed. Doing so will require design input for console-conf UI if we decide it should be done via UI.

Changed in subiquity (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → High
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I think this is done now? Optimistically closing.

Changed in subiquity (Ubuntu):
status: Incomplete → Invalid
Changed in snappy:
status: New → Fix Released
Revision history for this message
Oliver Grawert (ogra) wrote :

Well, it would actually be nice if an offline device where you hit enter on a console would point you to some documentation about how to apply a system user assertion to actually provision it anyway.

i'm re-opening as wishlist bug for such a text when no network devices are detected.

Changed in subiquity (Ubuntu):
status: Invalid → Triaged
importance: High → Wishlist
summary: - console-conf does not allow to create a user for offline devices
+ console-conf should point to assertion setup documentation on offline
+ devices
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Do you mean when there are no network devices at all, or when the attempt to configure the network fails, or both?

Revision history for this message
Oliver Grawert (ogra) wrote :

i mean in all situations where it is predictable that the user can not use U1 it should point to some documentation URL where the user can read how to configure an offline device through a system-user assertion via USB key instead.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Fair enough. Is there any documentation that I could point to yet? I can't find it.

affects: subiquity (Ubuntu) → subiquity
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.