From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: OpenStack and GuixOps (was: Re: Guix "ops") Date: Thu, 09 Jul 2015 13:27:04 -0500 Message-ID: <87si8xw5be.fsf@earlgrey.lan> References: <87k2wx6t1e.fsf@fsf.org> <87vbgdy6x8.fsf@gnu.org> <87fv7h5zhk.fsf@fsf.org> <87mw1obbfq.fsf@gnu.org> <87bnhzrjf1.fsf@gnusosa.net> <87382oejz8.fsf@fsf.org> <87a8wwiokj.fsf@gnu.org> <87zj4wd1hz.fsf@fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDGbL-0002Q0-Hw for guix-devel@gnu.org; Thu, 09 Jul 2015 14:31:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDGbI-00050v-9O for guix-devel@gnu.org; Thu, 09 Jul 2015 14:31:15 -0400 In-reply-to: <87zj4wd1hz.fsf@fsf.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org, Carlos Sosa David Thompson writes: >> As discussed on IRC, I was unsure about OpenStack, but I=E2=80=99ll tr= ust your >> judgment. Maybe Cyril can comment? > > I threw out OpenStack because it's a self-hostable, free software VM > platform. I'm open to any other platforms that will exercise the full > range of capabilities that 'guix deploy' needs to be useful. I'm starting to put some time into GuixOps and seeing how I can help today. Dave has pointed out that for now we should focus on testing with VMs and containers, but that OpenStack will still be a useful long-term goal. As such, I talked to a friend of mine (Boris Bobrov) who works on OpenStack as part of his dayjob. He gave me this advice and okayed me to posting the conversation to this list: I'm interested in helping with the guixops adapter to = =20 openstack, but I don't know really where to get started in= =20 openstack land do you have a good pointer on where to start? = =20 pong well, "openstack 101" will give some theoretical overview after that -- http://docs.openstack.org/developer/devstack/. D= evstack =20 is a bash script that sets up bleeding edge openstack for you = =20 big red warning: do not set it up on your laptop directly. Bet= ter =20 install a minimal ubuntu/centos in a vm and run devstack there= =20 since you want to do something with guix, my guess is that you= need =20 to pay attention to the following openstack components: nova (= the =20 thing that brings up a VM), glance (image registry, stores met= adata =20 about objects), swift (stores data), maybe murano (it my compa= ny's =20 component, it has something to do with app deployment to VMs) = =20 official docs are very good too, btw: http://docs.openstack.or= g/ =20 a very brief overview of what's going on in openstack: you tel= l nova =20 to bring up a vm, nova fetches image from glance (glance fetch= es it =20 from swift or from some other storage), fetches networking inf= o from =20 neutron, fetches list of disks from cinder, connects it alltog= ether =20 and gives you a vm. Every operation if authenticated by keysto= ne. =20 It looks like Nova (OpenStack Compute) is the main thing we'll end up targeting. Some links: - Nix peoples' wiki page on the subject: https://nixos.org/wiki/NixOS_and_OpenStack_Compute - Nova's main page: http://www.openstack.org/software/openstack-compute/ - Python library, which we may want to examine to make a Guile library equiv: https://github.com/openstack/python-novaclient I figured it's best to document this on the list while I'm looking into it. Hope that helps! - Chris