GithubHelp home page GithubHelp logo

chatnaut / arclight Goto Github PK

View Code? Open in Web Editor NEW
149.0 3.0 11.0 29.15 MB

An open source server virtualization management solution based on QEMU/KVM. Manage virtual machines, containers, highly available clusters, storage and networks with an integrated, easy-to-use web interface or via CLI. (Featured on zeupiter.com)

Home Page: https://chatnaut.com

License: Other

PHP 17.90% JavaScript 31.43% Makefile 0.08% CSS 37.06% HTML 2.73% Perl 0.02% Python 5.36% Shell 0.58% C# 0.13% Roff 0.28% Clojure 0.34% C 1.61% Ruby 0.61% SCSS 1.01% Hack 0.21% EJS 0.67%
hypervisor kvm cloud-computing aws ibmcloud virtualization linux server libvirt qemu

arclight's People

Contributors

elondust avatar jonatan5524 avatar s4nfs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arclight's Issues

install

hey.

i want to give it a try. running on ubuntu 20.04.5

install complete. reboot.

Error: Arc api not running
Failed to start PM2 process manager.

What is Arclight's Goal?

This project is really neat, but there's two different solutions for managing KVM, and it's not clear which category this project falls into too. One of them is exactly what I'm looking for, and one I'm avoiding.

  1. An appliance-style interface that completely takes over the OS and modifies it, with your application existing per-server. This would be something like proxmox.
  2. An application that can exist anywhere, including a VM, possibly manually deployed on top of host it manages, which uses APIs like libvirt, in order to manage servers. This would be something more like Cockpit I think.

I'm looking for option 2, and it's not clear which this is.

Questions about the tool

Could you clear my doubts about the tool. I've been looking for a long time for a web tool to manage KVM. I don't want to use Xenserver anymore.

1- Is it possible to manage multiple QEMU/KVM nodes with the same interface?

2- Is there any official docker image?

3- With this interface is it possible to manage High Availability (HA) in KVM?

when enabling SSL noVNC stops working

i've enabled SSL in apache by using a letsencrypt certificate, however when actived opening a console seems impossible.

powered_on

All attempts end in $HOST refused to connect.

clicked link

When i access the Webgui on HTTP, everything works fine.

Here is my VirtualHost configuration:

<VirtualHost *:80>
       ServerName server.mydomain
        ErrorLog logs/error_log
        TransferLog logs/access_log
        LogLevel warn

        <Directory "/var/www/html/arclight">
                Options +FollowSymlinks
                AllowOverride All
                Order Allow,Deny
                Allow from all
        </Directory>
	DocumentRoot "/var/www/html/arclight"
</VirtualHost>

<VirtualHost *:443>
        ServerName server.mydomain
        ErrorLog logs/ssl_error_log
        TransferLog logs/ssl_access_log
        LogLevel warn

        <Directory "/var/www/html/arclight">
                Options +FollowSymlinks
                AllowOverride All
                Order Allow,Deny
                Allow from all
        </Directory>
        DocumentRoot "/var/www/html/arclight"

        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:3DES:!aNULL:!MD5:!SEED:!IDEA
        SSLCertificateFile /opt/ssl/live/domain/cert.pem
        SSLCertificateKeyFile /opt/ssl/live/domain/privkey.pem
        SSLCertificateChainFile /opt/ssl/live/domain/chain.pem
        SSLCACertificateFile /opt/ssl/live/domain/fullchain.pem

        <Files ~ "\.(cgi|shtml|phtml|php?)$">
            SSLOptions +StdEnvVars
        </Files>

        BrowserMatch "MSIE [2-5]" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0
</VirtualHost>

Error: can't create admin account

Try creating admin account, but when submit form is sent, fail...

Using virtual machine on virt manager local server.

Ubuntu 22.04.1 LTS

Screenshot_20220818_230505

Arc api not running

Hello, I'm running ubuntu 20.04. I've installed arclight v2 using the script provided. Installation is successful. But when I login it shows "Arc api not running in ui" with red highlighter. @jonatan5524 @elondust @S4nfs Also by looking into the script I manually executed the command "pm2 start ecosystem.config.js" after reboot. Still not working.

[Debian]E: Package 'lsb-core' has no installation candidate

I'd love to try this out but when installing on a fresh Debian 11 install, you get this error from line #52.

apache2 is already the newest version (2.4.54-1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package lsb-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lsb-core' has no installation candidate

I tried removing that to see if a depreciated lib was really required and it later gives an error because of this output from lsb_release

No LSB modules are available

Is Debian unsupported or will there be a patch or workaround soon for this?

Error: Arc api not running

After installing and setting up reverse proxy. I can't login to the control panel, it is giving out Error: Arc api not running.

/root/.pm2/logs/arc-error.log last 100 lines:
0|arc      | 18-08 16:34:07.271: Error: Cannot init client. Please provide correct options
0|arc      | 18-08 16:34:07.271:     at new MongoStore (/var/www/html/arclight/node_modules/connect-mongo/build/main/lib/MongoStore.js:119:19)
0|arc      | 18-08 16:34:07.271:     at Function.create (/var/www/html/arclight/node_modules/connect-mongo/build/main/lib/MongoStore.js:136:16)
0|arc      | 18-08 16:34:07.271:     at Object.<anonymous> (/var/www/html/arclight/app.js:36:23)
0|arc      | 18-08 16:34:07.271:     at Module._compile (node:internal/modules/cjs/loader:1126:14)
0|arc      | 18-08 16:34:07.271:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
0|arc      | 18-08 16:34:07.271:     at Module.load (node:internal/modules/cjs/loader:1004:32)
0|arc      | 18-08 16:34:07.271:     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
0|arc      | 18-08 16:34:07.271:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
0|arc      | 18-08 16:34:07.271:     at node:internal/main/run_main_module:17:47
0|arc      | 18-08 16:34:07.960: Assertion failed: You must provide either mongoUrl|clientPromise|client in options
0|arc      | 18-08 16:34:07.962: /var/www/html/arclight/node_modules/connect-mongo/build/main/lib/MongoStore.js:119
0|arc      | 18-08 16:34:07.962:             throw new Error('Cannot init client. Please provide correct options');
0|arc      | 18-08 16:34:07.962:             ^

Please lint your shell scripts!

It's a simple matter to clean and lint your shell scripts with tools like shellcheck and others.

There are some pretty odd constructs in your scripts which could use some additional attention, especially since they're intended to be run as root.

For example:

if [ $(egrep -c '(vmx|svm)' /proc/cpuinfo) -eq 0 ]; then

Why not just use kvm-ok, like other modern architectures are using. Simply having the CPU flags exposed doesn't guarantee they can be used for successful virtualization.

Another odd one I found:

apt install php-dev php-pear -y
apt-get install mongodb
sudo apt install -y php-dev

Why are these 3 separate commands, and why three separate ways of executing them? Why is php-dev being installed twice?

How about just:

sudo apt -y install php-dev php-pear mongodb

This is done in a couple of places. Let's fix that first.

Also, why these two:

tar -xzf v2.0.0.tar.gz
mv Arclight-2.0.0 arclight

When you can just do:

tar -xzf v2.0.0.tar.gz -C arclight

You're also not doing any error checking on these commands, if they fail, or if commands you expect to be there are not (like a2enmod).

And using service has been deprecated long ago. You want systemctl, so you can use the more modern systemd way of managing services.

This, is also bad, and overwrites the user's intended Python interpreter, without their knowledge:

ln -s /usr/bin/python3 /usr/bin/python

Don't do that. Use the proper Debian facilities, dpkg-divert or dpkg-reconfigure python3.

It's a great start for a v0.0 of your project, but let's keep it clean, POSIX correct, and secure enough that it won't break an existing user's system without lots of untangling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.