Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Apr 14, 2015 6:05 pm 
Offline
Senior Newbie

Joined: Fri Nov 07, 2014 12:15 pm
Posts: 5
Could the Linode team please provide their view on support for virtualbox from within VMs?
Is it going to happen, is there any roadmap?
Thanks,
Henri


Top
   
PostPosted: Tue Apr 14, 2015 6:31 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
From my understanding, VirtualBox does not support being nested inside a Xen PV guest.

-Chris


Top
   
PostPosted: Tue Apr 14, 2015 7:07 pm 
Offline
Newbie

Joined: Tue Apr 14, 2015 7:05 pm
Posts: 3
You can use LXC (or Docker) which more or less may offer what you're after

All you need is switch to PV-Grub and use your own kernel.


Top
   
PostPosted: Tue Apr 14, 2015 7:13 pm 
Offline
Senior Newbie

Joined: Fri Nov 07, 2014 12:15 pm
Posts: 5
Thanks both for your replies.
I am already using docker (and pv-grub is not required). I do need to do some development around vagrant for work, and my linode box is my main development workstation.
I will have to switch to another provider - with regret as I have been extremely satisfied with Linode.
Henri


Top
   
PostPosted: Tue Apr 14, 2015 9:11 pm 
Offline
Linode Staff

Joined: Wed Jan 08, 2014 8:16 am
Posts: 5
saopaulo,

You can use the Linode Vagrant provider for a Linode on Linode Vagrant solution - https://github.com/displague/vagrant-linode.

As tcpdump pointed out, the Vagrant-docker provider would also work. http://docs.vagrantup.com/v2/provisioning/docker.html

I would say the VMWare and Virtualbox providers that come with Vagrant are a no-go on Linode, but I was just poking around with non-kvm qemu under Debian 8 and had no problem bringing up a system. This implies that https://github.com/pradels/vagrant-libvirt may work. (I'm going to continue poking on that one)

Code:
# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : QEMU Virtual CPU version 2.1.0
stepping        : 3
cpu MHz         : 0.000
cache size      : 512 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 popcnt hypervisor lahf_lm svm abm sse4a vmmcall
bugs            : fxsave_leak
bogomips        : 362.28
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:


Last edited by marques on Wed Apr 15, 2015 6:48 am, edited 1 time in total.

Top
   
PostPosted: Wed Apr 15, 2015 12:09 am 
Offline
Linode Staff

Joined: Wed Jan 08, 2014 8:16 am
Posts: 5
vagrant-libvirt will definitely work. Getting networking going will probably take a private network, NAT, and a DHCP service running on the Linode. There is a personal blog post to be made somewhere in this tinkering.

Quote:
$ vagrant up --provider=libvirt
Bringing machine 'test_vm' up with 'libvirt' provider...
==> test_vm: Uploading base box image as volume into libvirt storage...
==> test_vm: Creating image (snapshot of base box volume).
==> test_vm: Creating domain with the following settings...
==> test_vm: -- Name: libv-vagrant_test_vm
==> test_vm: -- Domain type: qemu
==> test_vm: -- Cpus: 1
==> test_vm: -- Memory: 256M
==> test_vm: -- Base box: slim
==> test_vm: -- Storage pool: default
==> test_vm: -- Image: /var/lib/libvirt/images/libv-vagrant_test_vm.img
==> test_vm: -- Volume Cache: default
==> test_vm: -- Kernel:
==> test_vm: -- Initrd:
==> test_vm: -- Graphics Type: vnc
==> test_vm: -- Graphics Port: 5900
==> test_vm: -- Graphics IP: 127.0.0.1
==> test_vm: -- Graphics Password: Not defined
==> test_vm: -- Video Type: cirrus
==> test_vm: -- Video VRAM: 9216
==> test_vm: -- Command line :
==> test_vm: Starting domain.
==> test_vm: Waiting for domain to get an IP address...
==> test_vm: Waiting for SSH to become available...
==> test_vm: Starting domain.
==> test_vm: Waiting for domain to get an IP address...
==> test_vm: Waiting for SSH to become available...
==> test_vm: Creating shared folders metadata...
==> test_vm: Exporting NFS shared folders...
==> test_vm: Preparing to edit /etc/exports. Administrator privileges will be required...
sudo: /etc/init.d/nfs-kernel-server: command not found
==> test_vm: Mounting NFS shared folders...


Top
   
PostPosted: Wed Apr 15, 2015 3:22 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Running virtualbox on a Linode wouldn't be great for performance, using the docker provider would be much better (I use docker locally instead of virtualbox if I can).

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group