Space is a simple virtualization control panel written in Python with Flask. Space utilizes the libvirt API to interact directly with the hypervisor, and thus (will eventually) support all virtualization technology that libvirt supports.
This project is still in a relatively early stage of development, it is feature complete but there is still a fair amount of work to be done. With that being said, use at your own risk!
The project's official website is: https://spacepanel.io now deprecated. We'll set up a new website regarding this project and rename this project at a later time to avoid conflicts as after all, this is a fork.
The site no longer has any sort of link to the Open Source version. The repository for SpacePanel is... surprisingly, still present here. At one point, it was deleted. There are several forks that exist and none of them have had code pushed, including this repository as of this commit. This project is now the only one that's still got working code for SpacePersonal.
I have begun to work on this project, myself. I'm currently updating bits and pieces of Space-Personal and working on getting it into a more usable state... so bear with me while I work on do that. At the same time, though, I want to note that I'm learning how Python works.
So... yes, that means I'm completely unfamiliar with how Python works in general. But I will be using lots of tools to help me with testing and making sure I release at least moderately functional code that won't blow up... and hopefully, not create any exploit holes.
However, if you do find one, please let me know immediately, along with a patch by way of messaging me through GitHub. I will act on a security issue that's been reported.
The IndieGoGo page says it's Open-Source but there is currently no active license of any sort attached, so technically this project is in a legal grey area.
This update added the following:
- Debian/Ubuntu support - This is still sort of preliminary, but everything appears to be working, please let us know if you find that it is not.
- Added the ability to set a local virtual machine to boot from the CD (ISO) or the HDD.
- Fixed numerous UI bux
- Fixed behavior issues with Linodes/Droplets
- Improved error pages
There were some endpoints that were not checking for login previously. If you have a version from before that commit installed, please update!
Please consider contributing code and other such things to this project!
- Processor / virtual processor that supports hardware virtualization
- Centos 6 / Debian 7 / Ubuntu 14.04
- Python2
- MongoDB
- KVM (currently only support virtualization technology)
- RabbitMQ (used by Celery)
- Variety of python packages shown here
In the most recent release support for off-site virtual machines was added. Space currently supports the following Cloud/VPS providers:
This section will be updated as support for more providers is added. If you have a specific provider you would like to see, please let me know.
- Install git client
yum install git
for CentOSapt-get install git
for Debian/Ubuntu. mkdir /srv/space && cd /srv/space && git clone https://github.com/EidolonHost/space-personal.git .
- Configure
virbr0
as a bridge interface, this may be useful in accomplishing this. Otherwise, perhaps suggest a goodvirbr0
set-up that would reasonably work well in a default state? ./scripts/setup.sh
- This will install all dependencies, start necessary services and start Space.- Navigate to
your.ip.address.here:10051/setup
to complete the setup process. - Make the directories for your disks, images and configs, by default these are
/var/disks
,/var/images
,/var/configs
. Make them withmkdir /var/disks /var/images /var/configs
if you are using the defaults. Failing to do this will break your install. - Add an image to the
/var/images
directory, you can use wget to do that. - Login via
your.ip.address.here:10051/login
- Go to
Networking
and add an IP range. - Go to
your.ip.address.here:10051/utils/import_images
to import your new image. - (Optional) If you are looking to use Linode/DigitalOcean, go to
/settings
and input your API key for each/either service. - Make your first virtual machine and enjoy!
1.Celery didn't start
This is a known issue, you may need to run export C_FORCE_ROOT="true"
as root before Celery will start. You can manually start Celery if it fails using ./srv/space/celery
.
2.I see command gunicorn was not found
This means pip failed to install stuff, first make sure the pip
command works. If it doesn't, install python-pip using yum yum install python-pip
or easy_install easy_install pip
. After pip is installed, install the requirements pip -r /srv/space/requirements.txt
.
3.Experiencing general weirdness, things not installing, etc.
Other strangeness is usually attributed to not running Space as root
, make sure you are using the root user when installing Space, starting/stopping space, etc.
4.DHCPD failed to start
This is expected (sort of). You should see DHCPD start normally after you add an IP range. If that doesn't happen, dnsmasq
is likely running on that port. Kill it with pkill dnsmasq
and then try service dhcpd start
.
Update: It appears that dhcpd
is properly installed but isn't configured, nor detected as running due to it not being configured. Presumably we need to set up a default dhcpd.conf
that works for Space-Personal in order for this to work properly.
5.I'm seeing errors when I try to make a Linode/Droplet, or nothing is happening at all
You probably forgot to input your API key, do that on /settings
. Alternatively, Linode/Droplet support is badly broken and should not be used at this time just yet.
6.Other stuff
Space is new and I don't have a ton of people to test it, so there are certainly problems I'm not aware of. If you encounter one, please open an issue and I'll take a look.
- The password for the console will not be shown when you type (or paste), this is expected, it will still work.
- If you are brave and try this and things break, please let me know so I can fix them :)