Ephemeral boot should allow console and ssh login

Bug #1303243 reported by Mark Shuttleworth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Wishlist
Unassigned

Bug Description

I have a machine which is failing to inventory itself properly. It PXE boots, and cloud-init runs, but I can't see where it gets stuck. Plugging in a monitor I see the kernel log on tty1 and and then tty7/8 gets cloud-init output, finishing with a ci-info presenting the tables of routes and NICs, but at that point activity stops.

It would be helpful to have a mechanism like D-I, where pressing enter on a tty spawns a root shell prompt. Alternatively, to have MAAS pass SSH credentials to cloud-init, so one could log in remotely and inspect progress.

Changed in maas:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Christian Reis (kiko) wrote :

Isn't it somewhat dangerous to give a user root on any machine that is registered in MAAS? I'm thinking compromise firmware, install spamware and take advantage of firmware, write to disks, etc.

I guess if this is a) SSH keys for the admin only and maybe b) physical/local console only then it would be acceptable. James?

Revision history for this message
Christian Reis (kiko) wrote :

I meant "take advantage of networking and firewall pass-throughs"

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1303243] Re: Ephemeral boot should allow console and ssh login

We'll introduce RBAC to say who can get the machine at all. But if they
can get it, then they can get it ephemerally too.

Mark

Changed in maas:
milestone: none → next
importance: High → Wishlist
Changed in maas:
milestone: next → none
Revision history for this message
Adam Collard (adam-collard) wrote :

Thanks for the feedback and feature request, we have added this to our backlog for prioritisation in the future - PF-3651

Changed in maas:
status: Triaged → Invalid
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.