On Thu, Mar 16, 2017 at 2:15 PM, <ns1.sun...@gmail.com> wrote:

> Hi,
>    I have two questions.
>
> First, what are the features and components present in cloudius/osv-base
> base image?
>

This and other "Capstan base images" are built by the script
scripts/build-capstan-images.

As you can see there, it includes the OSv kernel, a few small tools
necessary for building the image (for formatting the ZFS filesystem and
uploading files), httpserver (a REST API) and cloud-init.

However, note that we have not built these base images in a very long time.
I'm CC'ing Pekka, maybe he'd want to do something about it. Otherwise you
could also consider using MIKELANGELO's fork of Capstan (
https://github.com/mikelangelo-project/capstan) which does not rely on the
concept of "base images" but rather just the kernel, and individual
packages you can add to it.


> Sorry if this is a FAQ. I could not find an answer in
> http://osv.io/frequently-asked-questions/.
>
> Secondly, I tried using guestfish to answer that myself. Specifically, I
> ran 'capstan run cloudius/osv', and then looked at the disk.qcow2 with:
> $ guestfish --ro -a /home/nfv/.capstan/instances/
> qemu/cloudius-osv/disk.qcow2
> With debug enabled, this shouted at me for a few seconds and then said:
> <snip>
> trying to open virtio-serial channel '/dev/virtio-ports/org.
> libguestfs.channel.0'
>
> Failed to connect to virtio-serial channel.
>
> This is a fatal error and the appliance will now exit.
>
> Usually this error is caused by either QEMU or the appliance
> kernel not supporting the vmchannel method that the
> libguestfs library chose to use.
> </snip>
>
> Is this because the osv-base image does not include virtio-serial device?
>

I am not familiar with guestfish, but I think it does one of these two
things (yes, I know these are contradictory, please correct me if you're
familiar with this stuff):
1. It doesn't actually run OSv but rather a Linux-based "appliance", which
will fail to read the ZFS filesystem on this image.
2. Alternatively, maybe it does run the kernel in the given image (OSv),
but expects this runs a program ("guestfsd") which understands guestfish's
commands and performs them on the guest file system. This tool will
supposedly communicate with guestfish on the host using virtio-serial. The
OSv image will not have such a program running, and moreover OSvindeed does
not (yet) support virtio-serial.

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to