Re: [lxc-users] LXD connectors for any web VM management platforms?

2018-02-02 Thread Michel Jansens
Hi Jan,

Thanks for the suggestion.

I’ve been testing Proxmox for a few weeks.
I must say it’s not bad at all:
- it  supports ZFS (or CEPH) storage
-  allows high availability clusters
- LXD and KVM
- ACLs to different VMs or containers
- offers basic monitoring
- support pices are relatively decent
But 
- it is Debian based
- uses LXC instead of LXD
- does not support live migration of containers or KVM live migration when 
using local storage (ZFS)
- ?does not offer live kernel upgrade facility like Ubuntu does?
- does not allow clones of lxc containers
-didn’t find the fine grain resource control of LXD ( storage IOPS or 
Bandwidth,…)
- containers don’t have access to snapshots

The web interface is also not a complete customer portal. That being said I’ve 
seen there is a beta provider for ‘Foreman’ ( https://theforeman.org )

I’m still investigating it…

Michel




> On 2 Feb 2018, at 17:05, Jan Münnich  wrote:
> 
> Proxmox (https://www.proxmox.com/en/proxmox-ve) is an open-source 
> virtualisation platform with web interface that supports LXC.
> 
> Best,
> Jan 
> 
> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] LXD connectors for any web VM management platforms?

2018-02-02 Thread Michel Jansens
HI Kees,

Thanks for the info. I’ve already tried SaltStack but had the problem that the 
official LXC module was only lxc and not LXD. It worked, but the containers 
didn’t appear in ' lxc list’ . I’ll try the GitHub LXD formula.

I’ve also seen that there is a module in Ansible that I will try soon.

But I’ve also seen there are  systems with web graphical interfaces that offer 
an abstraction layer above clouds that can offer a merged view on private 
cloud/virtualization/containers servers and public clouds:
 CloudForms ( ManageIQ) and Foreman are 2 of them. 

From what I understand they offer a sort of customer portal, and integrate 
orchestration for provisioning automatisation. I was wondering if there is 
something like that compatible with lxd. I didn’t find any myself.

Thanks,

Michel

> On 2 Feb 2018, at 17:53, Kees Bos  wrote:
> 
> On do, 2018-02-01 at 23:15 +0100, Michel Jansens wrote:
>> Hi,
>> 
>> I’ve been looking around to get a web interface for customer portal/
>> container management for lxc.
>> I looked a bit at ManageIQ and Foreman, but found no provider for
>> lxd.
>> Do you know of any project that have lxd connectors/providers?
>> 
>> I know that lxd integrates in OpenStack at Canonical and OpenStack
>> has providers  for both applications, but I would prefer to avoid it
>> (too complex and heavy hardware requirements).
>> 
>> Alternatively, would there be a gateway that would offer a known API
>> and translate/emulate it to lxd? ( Ovirt, VMware, Amazon, Azure,
>> Google are a few well supported APIs)  
>> 
> 
> I'm not sure if you're after this kind of integratio, but saltstack can
> provision containers.
> 
> https://github.com/saltstack-formulas/lxd-formula
> 
> 
> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] LXD connectors for any web VM management platforms?

2018-02-02 Thread Kees Bos
On do, 2018-02-01 at 23:15 +0100, Michel Jansens wrote:
> Hi,
> 
> I’ve been looking around to get a web interface for customer portal/
> container management for lxc.
> I looked a bit at ManageIQ and Foreman, but found no provider for
> lxd.
> Do you know of any project that have lxd connectors/providers?
> 
> I know that lxd integrates in OpenStack at Canonical and OpenStack
> has providers  for both applications, but I would prefer to avoid it
> (too complex and heavy hardware requirements).
> 
> Alternatively, would there be a gateway that would offer a known API
> and translate/emulate it to lxd? ( Ovirt, VMware, Amazon, Azure,
> Google are a few well supported APIs)  
> 

I'm not sure if you're after this kind of integratio, but saltstack can
provision containers.

https://github.com/saltstack-formulas/lxd-formula


___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] LXD connectors for any web VM management platforms?

2018-02-02 Thread Jan Münnich
Proxmox (https://www.proxmox.com/en/proxmox-ve) is an open-source 
virtualisation platform with web interface that supports LXC.

Best,
Jan 

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] lxcfs removed by accident, how to recover?

2018-02-02 Thread Stéphane Graber
On Fri, Feb 02, 2018 at 10:53:02AM +0100, Harald Dunkel wrote:
> Hi Stéphane,
> 
> On 01/30/18 17:17, Stéphane Graber wrote:
> > 
> > Yeah, there's effectively no way to re-inject those mounts inside a
> > running container.
> > 
> > So you're going to need to restart those containers.
> > Until then, you can "umount" the various lxcfs files from within the
> > container so that rather than a complete failure to access those files,
> > you just get the non-namespaced version of the file.
> > 
> 
> AFAICS lxcfs is useful only for unprivileged containers. All my affected
> containers were privileged. I didn't ask for lxcfs, but it was used
> automatically, so I wonder how I can forbid lxcfs to be used for these
> containers? Do I have to deinstall lxcfs completely?

lxcfs is used for both privileged and unprivileged containers, without
it you'd see the host uptime, host set of CPUs, host memory, ...

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] lxcfs removed by accident, how to recover?

2018-02-02 Thread Harald Dunkel

Hi Stéphane,

On 01/30/18 17:17, Stéphane Graber wrote:


Yeah, there's effectively no way to re-inject those mounts inside a
running container.

So you're going to need to restart those containers.
Until then, you can "umount" the various lxcfs files from within the
container so that rather than a complete failure to access those files,
you just get the non-namespaced version of the file.



AFAICS lxcfs is useful only for unprivileged containers. All my affected
containers were privileged. I didn't ask for lxcfs, but it was used
automatically, so I wonder how I can forbid lxcfs to be used for these
containers? Do I have to deinstall lxcfs completely?


Regards
Harri
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users