Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

LXC Web Panel v1.0 #69

Open
ElieDeloumeau opened this issue May 28, 2014 · 41 comments
Open

LXC Web Panel v1.0 #69

ElieDeloumeau opened this issue May 28, 2014 · 41 comments
Assignees

Comments

@ElieDeloumeau
Copy link
Member

Coming in few weeks/months

Programming (fully recoded):

  • Python 3.x
  • HTML5
  • CSS3
  • Javascript
  • Bash

Frameworks:

  • Python-lxc
  • Bootstrap 3.x
  • Flask 0.10.x
  • AngularJS

New features:

  • RESTful API
  • Manage multiple nodes with one interface
  • SSL
  • SQLite / MySQL
  • Users ACL system
  • Containers backup
  • Tasks workers ?
  • ...

Developpers:

  • Élie Deloumeau (back-end)
  • Antoine Tanzilli (front-end)

Contributors:

  • Stéphane Graber (helps me for python-lxc)
@ghost
Copy link

ghost commented Jun 5, 2014

The plan looks great man! Hope to ser this soon

@ElieDeloumeau
Copy link
Member Author

Who wants to help me ?
Because i'm sysadmin and not dev, i can't convert these regex...
https://github.com/googley/lxc-checkconfig

@MACscr
Copy link

MACscr commented Jun 19, 2014

Have you ever thought about joining forces with the webvirtmgr project to add lxc to it and of course just improve things for both of you as a whole? You have done an amazing job with this panel and I currently use both projects, but would be even better if there was a single solution that did both! Just a thought.

@ElieDeloumeau
Copy link
Member Author

No, i've not heard about it before. I want a stable version of LWP before integrate other things

@MACscr
Copy link

MACscr commented Jun 19, 2014

I understand. Though obviously it wouldn't really be an integration. Would be more of a collaboration with their project since since it has much more features and appears to have more active contributors. Anyway, it was just an idea. Looking forward to the new release.

-Mark

----- Original Message -----
From: "Elie Deloumeau" notifications@github.com
To: "lxc-webpanel/LXC-Web-Panel" LXC-Web-Panel@noreply.github.com
Cc: "MACscr" macscr@macscr.com
Sent: Thursday, June 19, 2014 4:15:33 AM
Subject: Re: [LXC-Web-Panel] LXC Web Panel v1.0 (#69)

No, i've not heard about it before. I want a stable version of LWP before integrate other things


Reply to this email directly or view it on GitHub:
#69 (comment)

@ElieDeloumeau
Copy link
Member Author

Help/fork me please: https://github.com/googley/lxc-checkconfig

@rayj00
Copy link

rayj00 commented Jun 25, 2014

Will the current version of LWP work on the latest LXC? I use sudo when running the wget command, then I see the output "Saving to STDOUT", then the large graphic LXC WebPanel, then "Automatic Installer", then "You must be root to install LXC WebPanel".

@MACscr
Copy link

MACscr commented Jun 25, 2014

It does not

On June 24, 2014 7:46:00 PM CDT, rayj00 notifications@github.com wrote:

Will the current version of LWP work on the latest LXC? I use sudo
when running the wget command, then I see the output "Saving to
STDOUT", then the large graphic LXC WebPanel, then "Automatic
Installer", then "You must be root to install LXC WebPanel".


Reply to this email directly or view it on GitHub:
#69 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@rayj00
Copy link

rayj00 commented Jun 25, 2014

Bummer....

@vrob
Copy link

vrob commented Jul 9, 2014

would multi-user ACL include ACL against different LXC containers, such that an LXC container could be "assigned" to a user, and only admins or that user could access it? That would be ideal. Also, a console feature would be very helpful, so that users could get into their machines. Here's one I found recently:

http://www.web-console.org/

@ElieDeloumeau
Copy link
Member Author

Yes, actually i can add or remove containers for a user with a rule "deny" or "allow".
So if you add "ct1" and "ct2" with deny rule, the user can see all containers except "ct1" and "ct2".

I'll try to set containers ACL for groups too and the more restrictive acl will be applied

For the web console, i'm not able to translate PHP to Python and i don't know how to do this by myself :s if someone want to do that... :)

@MACscr
Copy link

MACscr commented Jul 9, 2014

I would only recommend novnc for web console access as its almost an industry standard for large virt projects (openstack, cloudstack, cloudmin, etc).

-Mark

----- Original Message -----
From: "Elie Deloumeau" notifications@github.com
To: "lxc-webpanel/LXC-Web-Panel" LXC-Web-Panel@noreply.github.com
Cc: "MACscr" macscr@macscr.com
Sent: Wednesday, July 9, 2014 2:43:39 PM
Subject: Re: [LXC-Web-Panel] LXC Web Panel v1.0 (#69)

Yes, actually i can add or remove containers for a user with a rule "deny" or "allow".
So if you add "ct1" and "ct2" with deny rule, the user can see all containers except "ct1" and "ct2".

I'll try to set containers ACL for groups too and the more restrictive acl will be applied

For the web console, i'm not able to translate PHP to Python and i don't know how to do this by myself :s if someone want to do that... :)


Reply to this email directly or view it on GitHub:
#69 (comment)

@zidarsk8
Copy link

zidarsk8 commented Sep 4, 2014

This plan is great, and I can't wait to have a web panel for lxc 1.x.

Are there any taks or is there any schedule for the work to be done? I would like to help you out, but I don't know where to start.

@abessifi
Copy link

abessifi commented Sep 9, 2014

Hi guys :)
I wonder if we could yet add other new features to the above todo list :

  • Backup containers (locally and remotely via NFS for example).
  • Perfom some actions (creation, cloning, etc of container(s)) in background (using workers) to avoid blocking the web application. This also should be interessting for example when we would create several containers in "parallel".
    I could work on these features on the current LWP version and I think it'll be easy to test code after on 1.0.
    what do you think?

@ElieDeloumeau
Copy link
Member Author

Hi abessifi,

  • Yes i look for features in lwp's forks (i will rewrite your backup function for lwp 1.0)
  • GOOD IDEA I don't know how to do that and after a small google search, i see a complicated work for me (cause i'm not developer). Can do this feature for me/us ? (this feature is needed for multiple users and multiple applications using the REST API)

@alexkn
Copy link
Contributor

alexkn commented Sep 11, 2014

Push your code in a public repository, so real developers can help you.

@ElieDeloumeau
Copy link
Member Author

Yes but i must write a doc
EDIT : Next week maybe?

@abessifi
Copy link

Hi googley,
I'm not a developer too, however I like contribute with some code snippets to some smart projects ;)

@zidarsk8
Copy link

I would agree with @alexkn. It would be nice to see the code, so we can start helping, even if the doc is missing.

@grimpy
Copy link

grimpy commented Sep 17, 2014

I am willing to help aswell I have a simluar (less featurefull) project https://github.com/grimpy/lxcweb which works with lxc 1.0.

When source is available i can help with backend code (I dont do frontend stuf fmuch)

@gopi-ar
Copy link

gopi-ar commented Dec 12, 2014

@Googley, any updates?

@ElieDeloumeau
Copy link
Member Author

@gopi-ar I'm very busy at this time, sorry...

@gopi-ar
Copy link

gopi-ar commented Dec 20, 2014

@Googley, do consider spending a few minutes pushing the whatever progress you have on the code to a branch. And possibly add @claudyus as a maintainer; he's doing some great work on his fork. Shame to see an awesome project go out of date..

@fmurodov
Copy link

@Googley do you have any updates?

@PabloCastellano
Copy link

@Googley I am more than happy to help on this. Please say what's the current status and push your current code and we will help you making it beautiful and working.

@ElieDeloumeau
Copy link
Member Author

Hi, current status: i'm very busy :-(
What's the best solution ? :

  • Stay with one repo with backend + frontend
    or
  • Split repo with one for backend/REST API and one for frontend

@sergey-dryabzhinsky
Copy link

Split.
You'll can transform backend into something like standalone/node/SaaS with API.
Frontend(s) will follow.

@alphaonex86
Copy link

Hello, any news?

@ElieDeloumeau
Copy link
Member Author

The backend is almost done!
cvzcr1bwuaen-zh

@nikaro
Copy link

nikaro commented Jan 20, 2016

Great !

Where is the code ? The last commit on this repo seems to be 6 months old.

@ElieDeloumeau
Copy link
Member Author

On a private repo! I don't have the time to check any PR...

@aodzip
Copy link

aodzip commented Mar 5, 2016

When will this come out?

@inluxc
Copy link

inluxc commented Mar 17, 2016

Can you share the code so the community can help you with the development???

@moonmeister
Copy link

What's the status of this release? Thanks!

@ElieDeloumeau
Copy link
Member Author

Hum hum... Sorry for the long wait...

Voilà : https://github.com/lxc-webpanel/lxc-rest

@fossxplorer
Copy link

@Googley THX. But lxc-rest is similar to LXD REST API?
Also, please strongly consider a merger with https://github.com/retspen/webvirtcloud as suggested by ohters. Whenever webvirtcloud also supports LXC it's gonna be an awesome project.

@ElieDeloumeau
Copy link
Member Author

You can follow the project activity here : https://github.com/lxc-webpanel/LXC-Web-Panel/projects/1

@ElieDeloumeau
Copy link
Member Author

If anyone want to test the API pre-release : https://github.com/lxc-webpanel/lxc-rest/releases/tag/1.0-beta1

@jinnatar
Copy link

Cool. Got the API running and some functions seem to be working (GET /api/v1/lxc/containers sadly didn't return anything) .. Not so lucky with the dashboard, npm install fails. Is it too early for bug reports or do you want more details filed against the new projects?

@ElieDeloumeau
Copy link
Member Author

Oh! Thanks for trying it 😸 The dashboard isn't ready (and there is only a login page for now).
Did you logged in before GET /api/v1/lxc/containers? And did you pass the token?
Please open an issue if you get an error on https://github.com/lxc-webpanel/lxc-rest/issues/new

@lcherone
Copy link

lcherone commented Jul 6, 2017

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests