all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: help-guix <help-guix@gnu.org>
Subject: Hosting a GuixSD server on commodity hosting platforms, a journey
Date: Tue, 29 Nov 2016 13:59:07 -0600	[thread overview]
Message-ID: <878ts212ic.fsf@dustycloud.org> (raw)

Hello all,

I tried getting GuixSD working on Rackspace Cloud last night.  Ludovic
suggested I write to the list to talk about my success/failure,
regardless of whether I made it or not.  My goal is to get GuixSD hosted
reliably on *some* commodity hosting platform, whether it's Rackspace or
Linode or Digital Ocean or something.  This thread will document my
success/failure.

Well, last night as my first go, I didn't succeed.  I decided to try to
see if I could upload an image generated with "guix system vm-image" and
then upload it and see if I could get it to boot from somewhere in the
UI.  Here are the things I looked at:

 - https://support.rackspace.com/how-to/preparing-an-image-for-import-into-the-rackspace-opencloud/
   Which just says that the file should be in the VHD file format and
   not a lot else (my image didn't exceed limits).
   I converted it like:
     qemu-img convert /tmp/guix-qemu-image.qcow2 -O vpc /tmp/guix-qemu-image.vhd 
 - Trying to figure out how to upload and activate it, I took a look at:
     https://support.rackspace.com/how-to/install-the-swiftly-client-for-cloud-files/
     https://support.rackspace.com/how-to/use-swiftly-to-upload-an-image/
   AFAICT, all these links say are how to upload an image to the
   OpenStack Cloud Files containers.  Okay, well by the time I read this
   I had already uploaded it via the web UI, so I don't see how it would
   be different, with the exception that I didn't use the container name
   "uploaded-images", which it doesn't seem to explicitly require.  So
   effectively, my image was uploaded and resulted in the same place
   afaict, though I just used the web UI rather than the API.
 - Next I tried to boot it.  I went to "Servers -> Cloud Servers" from
   the dropdown menu at the top, then clicked "Create Server".  I
   clicked "Saved"... but there's nothing there.

What am I doing wrong?  I'm not totally sure... I feel like I'm
navigating a jungle out here in the OpenStack / Rackspace docs.  Here's
one thing I found:

  https://community.rackspace.com/products/f/25/t/7186

So I probably need to execute this "import" command.  I guess that's
what's next...

What happens if that doesn't work?  I've been looking at how the Nix
community does things.  Most of the guides seem to involve taking an
existing distribution and converting it.

  https://nixos.org/wiki/Install_NixOS_on_Linode
  https://nixos.org/wiki/Install_NixOS_on_Rackspace_Cloud_Servers

That seems really goofy, but okay, I guess we could do it.

Does anyone else know more about these things than I do?  Your feedback
and experience most welcome!

 - Chris

             reply	other threads:[~2016-11-29 19:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 19:59 Christopher Allan Webber [this message]
2016-11-30  4:50 ` Hosting a GuixSD server on commodity hosting platforms, a journey Christopher Allan Webber
2016-11-30 11:38   ` ng0
2016-11-30 18:57     ` Christopher Allan Webber
2016-11-30 22:00       ` ng0
2016-11-30 15:08   ` Marius Bakke
2016-11-30 18:18     ` Christopher Allan Webber
2016-11-30 16:41   ` Chris Marusich
2016-12-01 16:52     ` Christopher Allan Webber
2016-12-02  4:06   ` Christopher Allan Webber
2016-12-02  6:22     ` Chris Marusich
2016-12-02 17:39       ` Christopher Allan Webber
2016-12-02 19:51     ` Christopher Baines
2016-12-02 23:20       ` Tobias Geerinckx-Rice
2016-12-03 19:13         ` Christopher Allan Webber
2016-12-03 18:24       ` Christopher Allan Webber
2016-12-02 20:53   ` Christopher Allan Webber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ts212ic.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.