Is there an android client for lxd? I would love to remotely connect to my cluster from my tablet. And have spice work etc.
I’ve not heard of one, though it’d definitely be nice if someone did write one.
I suspect most of the existing web interfaces for LXD would work fine, but I don’t know that they’ve been particularly optimized for mobile use, nor do such webapps ever really feel all that nice.
I just use Juju + LXD and it’s JUJU dashboard via tailscale… I guess if you wanted you could bring it up on a browser on your phone that way?
This may not be the answer you’re looking for but if you’re okay with using a terminal on your phone and you use Android you can simply Install termux, ssh into the LXD Host and manage it from there.
Eugh you’ve “baited” me “once again” (your good at that).
I’ve opened an issue on LXDMosaic to support LXDMosaic via either a PWA / “app”.
Native LXD with its cert import req is going to be near “impossible” with Apples grasp on the safari browser. Really an “app” just wants a user to input;
- One or more URI’s
- + a username & password (rocketchat / IRC springs to mind)
Getting this through the Apple AppStore is going to hurt worse than packing LXD as a SNAP.
LXD without auth provided by a Canonical advanced subscription really keeps LXD out of reach to the majority of users, cert auth “is hard”.
To be clear, I was really talking about the general feel of webapps that just say “use Chrome on mobile and our CSS will make it feel native”, I rarely find that kind of experience to be particularly great. Simple things like navigation can feel very clunky and it’s pretty hard to have the same code truly handle completely different form factors and input methods.
PWA are already a much better experience in general and tend to feel more native, though you still need quite a bit of investment to make it feel good to mobile touch users when your existing use case tends to be more keyboard/mouse heavy.
Indeed, doing cert authentication on iOS through a PWA or just through regular Safari is going to be pretty fun, as in, pretty much impossible.
Worth noting that the Candid based auth in LXD doesn’t require a subscription, it’s only the RBAC component that does. But Candid isn’t standard either and isn’t the easiest thing to run, especially for a standalone user.
We still don’t really want to have to deal with full on user management and login in LXD, but we are planning to introduce OpenID Connect support as an alternative to Candid over the next 6 months or so (assuming that this particular plan gets approved, we’re just in the planning stage at this point).
This indeed a bait
Don’t go down that road!
You’ve invested huge amounts of time and money to develop and maintain your web app, it is working fine.
Mobile for LXD right now not even a niche to consider!
Indeed in our case, our LXD Managment GUI was ‘cluncy’ as Stephene mentioned.
We have moved away from PHP/Mysql to react.js static single page Admin Panel which is more elegant, liquid, much faster and somehow shows in chrome in ios/android without breaking too much.
Also in steps replaced mysql through mongodb as a better match for react.js.
Ineraction through an intermediary rest Api.
Same Rest Api communicates with LXD API.
As mongodb has less boundaries as mysql/php, all goes json from frontend to Rest Api to DB to LXD Api and vice versa.
For certificates, I cant quite understand the problem. The authentication is not done by front end, but by lxd master node which reads the certs locally. Or am I missing here somthing?
But now knowing the amount of pain due to above migration, we wouldnt want to run into react native, ios/android developer programms …
Now I understand that and agree with!
Our Admin panel mentioned above is not a local install, it is a hosted version, SaaS/Iaas.
Sudo Hello , . . .
This question was also asked here in relation to this thread . . .
I responded with the following . . .