Giter Club home page Giter Club logo

lxdmosaic's Introduction

LXDMosaic

๐Ÿ’ญ Share your feedback ๐Ÿ“ข More input required

๐ŸŽฏ Roadmap ๐Ÿ—ƒ๏ธ Docs

๐Ÿ›ซ Get Started

Prepare LXD

Setup LXD and ensure LXD is available over the network

Install LXDMosaic

SNAP

sudo snap install lxdmosaic

Script

Ubuntu / Debian

๐Ÿ•ต๏ธโ€โ™‚๏ธ Get Hacking

Currently the developer docs are a TODO, the scripts in the examples folder might serve as a good starting point.

๐Ÿ”‘ Key open source libraries

Xterm.js, SpiceHtml5, Bootstrap

lxdmosaic's People

Contributors

abelgomez avatar avsdev-cw avatar bmullan avatar dependabot[bot] avatar dragonembers avatar pablokowalczyk avatar shemgp avatar stgraber avatar tokiedokie avatar trenb avatar turtle0x1 avatar xlmnxp 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lxdmosaic's Issues

is the connection between LxdMosaic secured with TLS?

Is your feature request related to a problem? Please describe.
Yes, is the connection between LxdMosaic secured with TLS?

Describe the solution you'd like
Encrypt the connection between LxdMosaic and LXD?

Describe alternatives you've considered
Possibly ssltunnel or vpn.

Additional context
n/a

Webui renders malformed

Describe the bug
The Webui will render malformed when it has no connection to it's websocket

To Reproduce
Steps to reproduce the behavior:

  1. Block port 3000
  2. Visit the webui

Expected behavior
An appropriate error, otherwise the page is completely broken and unresponsive.

"Unable to connect to backend"

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ElementaryOS (Ubuntu 18.04)
  • Browser: Firefox 66.0.1
  • Version 5.0

Additional context
n/a

Setting CPU and memory limits

Is your feature request related to a problem? Please describe.
There's a closed PR #41 and #40 that seems to implement what I'm looking for. Though I haven't had a chance to muck around with instance types as it throws me off. Is this LxdMosaic to manage AWS EC2? Ideally, I'd like to set CPU (e.g. 1 or 2 core) and Memory Limits (also soft or hard).

Describe the solution you'd like
Able to set cpu and memory limits on container creation and during runtime, similar to how LXDUI does it.

Describe alternatives you've considered
VIA Cli

EDIT: It would be neat also if would could edit container YAML and/or expose other limits as well.

Update container stats and state

Is your feature request related to a problem? Please describe.
Seems to me, navigating away and returning to container dashboard is necessary to pull currents stats. And, it would be nice the container state is not lost, see image below:

Screenshot from 2019-03-31 16 19 52

Describe the solution you'd like
Container stats are updated in realtime.

Describe alternatives you've considered
n/a

Additional context
n/a

Cheers

Cant rename profile

Describe the bug
When trying to rename a profile it passes the alias instead of the url or id

Manage Networks

Add the functionality to manage networks on hosts methods will need to be added here and you can read about the api here

Manage Clusters

Clusters were introduced in LXD 3.0+ so we need to able to manage them on hosts that are 3.0 + you can read about the api here and will need a new end point in the connector library

Node: HTTPS Cert location

Currently the HTTPS certs are hard coded, could perhaps hide wss behind some nginx reverse property?

Install Script

Assuming some people dont have docker (I don't) then a simple .sh should be able to install this and its requirements!

Show image alias in list

Is your feature request related to a problem? Please describe.
Show image alias in image list

command in "copying between two instances

Your instructions here:

say to:

This command adds the Host 2 as a remote
lxc add remote host2 IP_ADDRESS_OF_HOST

that command should be:

lxc remote add host2 IP_ADDRESS_OF_HOST

Add an okay message on / node server

Because of having to accept self signed server for node atm you need to got to https://ip:3000 and that returns a get error lets give a nice message to the user saying everything's okay (maybe even a redirect)

ct not found after rename

Describe the bug
You'll get a Not found error after renaming a CT.

To Reproduce
Steps to reproduce the behavior:

  1. Create a CT
  2. Rename CT
  3. Change state
  4. See error

Expected behavior
Able to modify CT state and settings

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox
  • Version 66

Optional instance types on create container

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Currently the creating container supports no kind of limits a good start will be to support specifying an optional instance type

Additional context
The list that lxd supports can be found in this repository (although it hasn't been updated in a while)

Container Web Terminal

Is your feature request related to a problem? Please describe.
Add suport with xterm for container consoles

images won't download

Describe the bug
Hey \o again,

I'm having trouble downloading images here and I wasn't able to determine the cause.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Images -> Linux Continaers Org
  2. Try to import any image

Expected behavior
Image is importing on host

Actual behavior
Errors out

Screenshots
Screenshot from 2019-03-31 15 36 24

Docker Image

The installation is cumbersome and annoying a docker script would make it more accessible

When adding a Host what is the "trust password"

When adding a Host what is the "trust password" ... are you referring to the password entered with doing LXD INIT and permitting LXD access over the network/internet ? or something else?

brian

Alias for hosts

Is your feature request related to a problem? Please describe.
Hello o/,

I have two hosts currently:

alvmsrv.lhprojects.int
10.0.3.61

I sometimes find myself hard of remembering names and it would be convenient if I could set aliases. One more thing, I wish the search feature could be improve a bit, eg keep a listing of most recent terms?

Cheers

Redirect wss

Currently I have hard coded the domain name into the socket IO connection because I needs to be redirected by Apache or PHP (Apache looking easier)

[question] How many people uses LxdManager?

Hey there,

I was wondering, how many people uses LxdManager, and is the Issues forum the best way to contact? Eg, support questions? And, how are you about Pull Requests?

Regards

Manage Storage Pools

Another nav bar pill should lead to managing storage pools you can read about the end point here and the methods should be included in this repo

Manage Projects

Projects were introduced in LXD 3.7 + (?) so we need to able to manage them on hosts that are 3.7(?) + you can read about the api here and will need a new end point in connector library

WebUI breaks if a server goes offline

Describe the bug
I'm having a problem where the WebUI would randomly end up in inconsistent state. The dashboard section would either show a combination of other sections or all sections on the same page. The problem is compounded because there's no indication why the page is failing to properly render, though a6a3ed8 is implemented. Looking at wireshark dump, I'm seeing TCP RESET, what appears to be after a transaction, nothing in pm2-root logs. Though when it's failing, I'm getting JS TypeError in the web console. I don't have a screen shot or the web console output now but will include it when the problem re-appears again.

Expected behaviour
To always work.

Screenshots
Will include it when the problem re-appears again

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox
  • Version 66.0.2

I just installed the updated code in a fresh LXD container & think something is broken

Ubuntu 18.04 host
# launch an ubuntu 18.04 container
lxc launch ubuntu:bionic lxdmanager
lxc exec lxdmanager bash

apt update && apt upgrade -y
# get install script
curl https://raw.githubusercontent.com/turtle0x1/LxdManager/master/examples/install_with_clone.sh >> installLxdManager.sh
chmod +x installLxdManager.sh
# execute install script
./installLxdManager.sh
# open some ports in the container
ufw allow https
ufw allow 3000
ufw allow 80
ufw alllow 8080

# after installation using either Chromium or Firefox I can had the local host as a Server but
# after that I can't click to add a 2nd LXD host (nothing happens) and also some of the buttons just
# stop working .. ie if I click on them they do nothing.

# before the most recent change(s) this seemed to all work correctly.

Node: Load hosts

Need to load hosts from node, probably using some combination of ENV file and some mysql

LxdDock Up File

LxdDock seems popular (although not updated in a while) so in keeping with the fact this library for lxd create a cloud config for

Apache complete hange after attempting to add a server

Describe the bug
Adding a server breaks the ui.

To Reproduce
Steps to reproduce the behavior:

  1. Click on Add Server
  2. Fill out the form with working configuration
  3. Click Add

Expected behavior
Server added to the list

Actual behvaior
Nothing happens, additionally clicking on ui elements will sometimes fail to render the page correctly. Notwithstanding page will hang on refresh. Only restarting apache2 would clear this state.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ElementaryOS
  • Browser Firefox 66
  • Version 5.0

Additional context
n/a

Fix container migration

Container migration was annoying during development so its sketchy (if it works atol at best)

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.