GithubHelp home page GithubHelp logo

xe-unikernel-upload's Introduction

xe-unikernel-upload

A simple tool to upload a Unikernel to a XenServer pool.

Simple usage:

xe-unikernel-upload --username=root --password=password \
   --uri=https://my.xenserver/ --path=my-unikernel

The program will create a VDI, upload a bootable disk image into it and print the VDI uuid.

xe-unikernel-upload will read the $HOME/.xe config file (if it exists) and interpret the same keys as the 'xe' cli i.e.

server=<DNS or IP>
username=<username>
password=<password>

This means you can simply say:

xe-unikernel-upload --path=my-unikernel

xe-unikernel-upload's People

Contributors

djs55 avatar jonludlam avatar

Stargazers

Anil Madhavapeddy avatar

Watchers

Anil Madhavapeddy avatar  avatar James Cloos avatar collecting MirageOS relevant repositories (feed: see URL) avatar  avatar

Forkers

jonludlam

xe-unikernel-upload's Issues

partition table is wrong

[root@st30 ~]# xe vm-start vm=mirage
The server failed to handle your request, due to an internal error.  The given message may give details useful for debugging the problem.
message: xenopsd internal error: VM = 5036d2d4-b023-d14b-67ab-9e4b6f02f1ff; domid = 7; Bootloader.Bad_error Traceback (most recent call last):
  File "/usr/bin/pygrub", line 872, in <module>
    fs = fsimage.open(file, part_offs[0], bootfsoptions)
IOError: [Errno 95] Operation not supported

also kpartx is unhappy:

sh-4.1# kpartx -a /dev/$DEVICE
device-mapper: resume ioctl on e5a61d6a-c9f8-48a3-9514-eac6c38f2efe1 failed: Invalid argument
create/reload failed on e5a61d6a-c9f8-48a3-9514-eac6c38f2efe1

also fdisk emits some warnings:

Disk /dev/sm/backend/21374500-f3f2-7bfb-191c-f298fed0e79b/e5a61d6a-c9f8-48a3-9514-eac6c38f2efe: 6 MB, 6291456 bytes
1 heads, 63 sectors/track, 195 cylinders
Units = cylinders of 63 * 512 = 32256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

                                                                                    Device Boot      Start         End      Blocks   Id  System
/dev/sm/backend/21374500-f3f2-7bfb-191c-f298fed0e79b/e5a61d6a-c9f8-48a3-9514-ea  *          33         521       15360    6  FAT16
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 0, 0) logical=(32, 0, 33)
Partition 1 has different physical/logical endings:
     phys=(0, 0, 0) logical=(520, 0, 8)
Partition 1 does not end on cylinder boundary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.