LXC-Web-Panel
LXC-Web-Panel copied to clipboard
LXC 2.0
I have various issues, should i report them or is the project dead?
I would be happy merge any PRs!
LXC 1.0 has a successor its called LXD!!, so unless this project can support LXD, IMO its dead... I've switched to LXD as it has more features like images, snapshots, live migration, ect ect... I use https://lxc.systems to control it all as there is not a open source script that can do multiple servers and configure nginx or apply iptables rules ect. my2cent
HI Lawrence, not quite true... LXD is a administration wrapper/REST interface for handling containers. As such it's based in LXC for running the containers but with it's own administration interface (it hooks into the LXC-library). So, for what could LXD do for LXC-Web-Panel? I really don't know, for a single machine just being able to run LXC/Containers for testing/development or such LXD is more or less overkill where as LXC- Web-Panel just works and is easy to install (I packaged an RPM for Fedora/Centos). For more advanced settings I would use Proxmox with both KVM and LXC support (HA and live-migration for KVM and HA Live-restart for LXC at the moment, though Proxomox is researching CRIU for live LXC- migrations.) with clusters available for both storage and VMs. IMHO Rickard
On Thu, 2017-07-06 at 14:01 +0000, Lawrence Cherone wrote:
LXC 1.0 has a successor its called LXD!!, so unless this project can support LXD, IMO its dead... I've switched to LXD as it has more features like images, snapshots, live migration, ect ect... I use htt ps://lxc.systems to control it all as there is not a open source script that can do multiple servers and configure nginx or apply iptables rules ect. my2cent
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/claudyus/ LXC-Web-Panel","title":"claudyus/LXC-Web-Panel","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/ass ets/143418/17495839/a5054eac-5d88-11e6-95fc- 7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent .com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed- b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/claudyus/LXC-Web- Panel"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lcherone in #119: LXC 1.0 has a successor its called LXD!!, so unless this project can support LXD, IMO its dead... I've switched to LXD as it has more features like images, snapshots, live migration, ect ect... I use https://lxc.systems to control it all as there is not a open source script that can do multiple servers and configure nginx or apply iptables rules ect. my2cent"}],"action":{"name":"View Issue","url":"https://github.com/claudyus/LXC-Web- Panel/issues/119#issuecomment-313404785"}}} -- Rickard Osser Manager ----------------------------------------------------------------------- | Lindist AB | Swedens No 1 distributor of Linux | | | and Linux related products! |
| Osser Brosoft AB | Computer Consultants |
| Solberga Ängsväg 3 | S-125 44 Älvsjö, Sweden | | Tel: +46-8-669 75 75 | E-mail: [email protected] | | Fax: +46-8-668 89 10 | http://www.lindist.se | | | https://www.linkedin.com/in/ricky |
Dont get me wrong, Your LXC1.0-Web-Panel is great for local devs, ive used it locally with ngrok and it works fine after fiddling with IPtables ect yeah works great .. no argument, but it's lacking the features required to take it any further than a local dev tool for people still using Ubuntu 14.04 or lower!
We used it in the office for a while and quickly found that we were only consuming the API part after a while, I built a PHP Client specific for LXC-Web-Panel https://packagist.org/packages/lcherone/lxcpapi
So after a while, we wanted to add more servers, so we now use LXD (its an API to containers like you say)...
So, we're on the same page then. :) As I said, LXC-Web-Panel is perfect for a local-dev/admin for testing and stuff, for hosting, not so much.LXD is probably ok but it's tied to Ubuntu which I for example don't use... On the other hand, proxmox is based on debian but is more of a bare-metal install. As long as LXC-Web-Panel funxtions for local containers it's good enough for me! :) Best regards, Rickard On Thu, 2017-07-06 at 07:38 -0700, Lawrence Cherone wrote:
Dont get me wrong, LXC-Web-Panel is great for local devs, ive used it locally with ngrok and it works fine after fiddling with IPtables ect yeah works great .. no argument, but it's lacking the features required to take it any further than a local dev tool for people still using Ubuntu 14.04 or lower!
We used it in the office for a while and quickly found that we were only consuming the API part after a while, I built a PHP Client specific for LXC-Web-Panel https://packagist.org/packages/lcherone/lx cpapi
So after a while, we wanted to add more servers, so we now use LXD (because its an API to LXC container like you say)...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/claudyus/ LXC-Web-Panel","title":"claudyus/LXC-Web-Panel","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/ass ets/143418/17495839/a5054eac-5d88-11e6-95fc- 7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent .com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed- b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/claudyus/LXC-Web- Panel"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lcherone in #119: Dont get me wrong, LXC-Web-Panel is great for local devs, ive used it locally with ngrok and it works fine after fiddling with IPtables ect yeah works great .. no argument, but it's lacking the features required to take it any further than a local dev tool for people still using Ubuntu 14.04 or lower!\r\n\r\nWe used it in the office for a while and quickly found that we were only consuming the API part after a while, I built a PHP Client specific for LXC- Web-Panel https://packagist.org/packages/lcherone/lxcpapi\r\n\r\nSo after a while, we wanted to add more servers, so we now use LXD (because its an API to LXC container like you say)...\r\n"}],"action":{"name":"View Issue","url":"https://github.com/claudyus/LXC-Web- Panel/issues/119#issuecomment-313415838"}}}
As long as LXC-Web-Panel funxtions for local containers it's good enough for me! :)
But It doesnt... It shows the wrong memory consumption (which btw redlines at 512mb, thats not alot today...) It fails to show ip's on some containers which all have the "same" cfg. Networking only works with lxc-bridge Doesnt handle setting memmorty options back to unlimited.
I could go on.
Why I dont contribute, I'm not a programer.
And sure I can use lxd... But for the task at hand it's overcomplicated and need more attention than a simple cfg file.
Hi @izznogooood,
as said by @rickyosser LWP is a administrator tool that would stay in the niche of administrate the local containers keeping the codebase and installation process as simple as possible.
There are some pitfalls for sure in the code now, some things are not configurable (like the maximum ram limit) or not supported (like the multiple ip for containers or complex network configuration) but I don't see anyone ready to sponsor any development of those "features" nor actively proposing any PR.
The "I'm not a programmer", is in my eyes an excuse to don't take part. For example change the "maximum ram limit" is as simple as change a few lines of code in this file https://github.com/claudyus/LXC-Web-Panel/blob/master/lwp/templates/index.html#L104
I will be happy to help coding, merge and release improvement if provided but we should avoid to implement use-case outside the project niche which is "management of local container"
I believe that migrating the interface to LXD is promising but time consuming, I start to write integration test in preparation of this migration but this is a time-consuming activity and I don't see anyone that use LWP daily that would stand up and sponsorship or help in this task. Anyway, other tools are outstanding the LWP feature in this scenario like docker based platform, ubuntu snappy or project like the one promoted by @aarnaud in this conversation https://github.com/claudyus/LXC-Web-Panel/issues/103
Best Regards
LXC if you look in the Ubuntu repositories comes as LXC1 and LXC2 !
The CLI for both of them are quite different..!
LXC v1.x is the original LXC.
LXC v1.x syntax is like: lxc-create, lxc-copy, lxc-list etc.
LXC v2.x is what LXD supports (and in March 2018 will come LXD/LXC 3.0).
LXC v2.x syntax is like: lxc launch (vs create), lxc copy, lxc list etc
In LXC v2.x (and LXD) none of the original LXC v1.x commands are present and they have all been replaced and/or updated to newer and much easier to use commands. There have also been added many new and more powerful features than existed in the original LXC v1.x.
So in a sense LXD is based on the original LXC but at the same time the LXC that LXD uses is very much different than the original LXC1.
brian
You are talking about LXD. LXC2 uses the exact same cmd's. (some cfg variables have changed but are backward compatible)
root@proxmox:~# lxc
lxc-attach lxc-checkconfig lxc-console lxc-destroy lxc-freeze lxc-ls lxc-start lxc-unfreeze lxc-usernsexec
lxc-autostart lxc-checkpoint lxc-copy lxc-device lxcfs lxc-monitor lxc-stop lxc-unshare lxc-wait
lxc-cgroup lxc-config lxc-create lxc-execute lxc-info lxc-snapshot lxc-top lxc-update-config
root@proxmox:~# lxc-create --version
2.1.1
root@proxmox:~#
LXC v2.x syntax is like: lxc launch (vs create), lxc copy, lxc list etc
No, LXD syntax is like that...
https://discuss.linuxcontainers.org/t/comparing-lxd-vs-lxc/24
That doesn't seem to be the description that Stephane Graber (lxd/lxc project lead) gave:
https://lists.linuxcontainers.org/pipermail/lxc-users/2017-April/013083.html
where Stephane said:
The packaging in Ubuntu is a bit confusing unfortunately...
"lxc1" is the "LXC 1.0 user experience" which is what normal people call LXC "lxc2" is the "LXC 2.0 user experience" which is what normal people call LXD
So if you install "lxc1", you'll get the usual LXC tools "lxc-create/lxc-start/..." and all of those will be at version 2.0.7, getting all the bugfix and security updates and supported through 2021.
Just above that section in the email the URL points to ... the email also states that if you do an apt-cache show lxc2 it displays:
apt-cache show lxc2
Description-en: Container hypervisor based on LXC - metapackage LXD offers a REST API to remotely manage containers over the network, using an image based workflow and with support for live migration. . This is a dummy metapackage to install LXD and its client.
So from this it doesn't even look like there's a lxc2, there's just lxc1 and lxd. Is that the case? If sow what's the LXC2 listed on that page? I want to avoid to use stuff that will be dropped in the near future.
You are now talking about how ubuntu distribute and present it's packages.
LXD is a LXC api.
I understand this can be confusing, but I have nothing to add here. If you still feel confused I suggest writing him on the forum, he is quite active and friendly.
PS: I'd like to add the snippet I showed you was from Debian Strech (Proxmox)
If you do sudo apt install lxc in debian you get:
lxc/stable 1:2.0.7-2+deb9u1 amd64
Linux Containers userspace tools
Which is LXC (2.0.7-2) not LXD.
I'm not confused as I have used LXC & LXD for years now.
Thanks tho
Brian
On Feb 19, 2018 4:12 PM, "Anders" [email protected] wrote:
You are now talking about how ubuntu distribute and present it's packages.
LXD is a LXC api.
I understand this can be confusing, but I have nothing to add here. If you still feel confused I suggest writing him on the forum, he is quite active and friendly.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/claudyus/LXC-Web-Panel/issues/119#issuecomment-366803724, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmtp6KkBa9KqgJrtLcbViE4QoycLwS-ks5tWeOigaJpZM4OMnIF .
Which is not not... != not my self away here. But i think you get it :)
I'm not confused
Well your the only one! :).