Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 02 22:29

    ricco386 on upgrade-python3

    Updated gevent and removed forg… (compare)

  • Dec 02 22:10

    ricco386 on upgrade-python3

    Updated URL from Regex to Djang… Added Django apps and minor ver… (compare)

  • Dec 02 21:20

    YanChii on bhyve

    make snapshot_size_percent_limi… (compare)

  • Dec 02 07:45
    alcir commented #528
  • Dec 01 17:51
    YanChii commented #528
  • Dec 01 17:30
    marcheschi commented #528
  • Dec 01 16:37
    alcir commented #528
  • Dec 01 16:34
    alcir commented #528
  • Dec 01 16:31
    YanChii commented #528
  • Dec 01 16:23
    alcir commented #528
  • Dec 01 16:23
    alcir commented #528
  • Dec 01 12:20
    YanChii commented #146
  • Dec 01 11:59
    YanChii commented #147
  • Nov 30 21:56
    n1ete synchronize #147
  • Nov 30 21:54
    n1ete synchronize #147
  • Nov 30 21:26
    n1ete commented #146
  • Nov 30 21:13
    n1ete opened #147
  • Nov 30 18:42
  • Nov 30 11:07
    YanChii commented #146
  • Nov 30 11:04
    YanChii commented #146
Darth HTTP
@DarthHTTP
hi all
don't run DC but vanilla smartos latest, experimenting with bhyve and i'd like to create a vm which boots via PXE.
anyone has experimented with this ?
Jan Poctavek
@YanChii
I didn't try PXE from within bhyve (yet). But this is not SmartOS specific and it should work exactly as in FreeBSD.
62 replies
Paolo Marcheschi
@paolomarcheschi_twitter

Hi Everybody
Today I tried to install the new LX image ubuntu 20.04 from https://github.com/omniosorg/lx-images

And it worked without any modification with DC 4.3.
These are the steps I used:

I have created a new LX server with DC using the latest ubuntu LX available 16.04
I copied the <UUID> of the created zone
I stopped the zone with DC
I went to the CN node via terminal
I created a working folder under /zones
mkdir /zones/WORK
cd /zones/WORK
I Moved the existing /zones/<UUID>/root folder in /zones/WORK/rootOLD
mvdir /zones/<UUID>/root /zones/WORK/rootOLD
I downloaded the omnios LX ubuntu 20.04 available in the github site:

wget --no-check-certificate https://github.com/omniosorg/lx-images/releases/download/2020-10-05_16-35-52/lx-ubuntu-20.04-2020-10-05_16-35-52.tar.xz

mkdir /zones/WORK/root
xz -d lx-ubuntu-20.04-2020-10-05_16-35-52.tar.xz
tar xvf lx-ubuntu-20.04-2020-10-05_16-35-52.tar -C root
mvdir root /zones/<UUID>/root

At this point I restarted the zone from DC and it booted correctly:
[root@node (DC) ~]# zlogin 16bd71ff-8dd4-43bf-b556-58723a289b90
[Connected to zone '16bd71ff-8dd4-43bf-b556-58723a289b90' pts/2]
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.4 x86_64)
Documentation: https://help.ubuntu.com
Management: https://landscape.canonical.com
Support: https://ubuntu.com/advantage
Last login: Thu Oct 22 07:13:57 UTC 2020 from zone:global on pts/4
root@16bd71ff-8dd4-43bf-b556-58723a289b90:~# ls
root@16bd71ff-8dd4-43bf-b556-58723a289b90:~# uname -a
Linux 16bd71ff-8dd4-43bf-b556-58723a289b90 4.4 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux

FilipFrancis
@FilipFrancis
Nice work
Jan Poctavek
@YanChii
Cool.
Before first start of the zone, you can do a snapshot and create an image from that snapshot.
Paolo Marcheschi
@paolomarcheschi_twitter
Ok I started the process again and now I have an image.
Jan Poctavek
@YanChii
if the images really work, we can automate it and publish them on images.danube.cloud. But before that I'd like to add metadata processing service into them (to enable setting ssh keys using mdata).
Paolo Marcheschi
@paolomarcheschi_twitter
It seems to work, I installed a new server from image
Paolo Marcheschi
@paolomarcheschi_twitter
well I tried to install postgres but it does not work :(
Paolo Marcheschi
@paolomarcheschi_twitter
but the same procedure does not work also with latest 16.04 LX for me
Jan Poctavek
@YanChii
does apt dist-upgrade work?
Paolo Marcheschi
@paolomarcheschi_twitter
yes
Paolo Marcheschi
@paolomarcheschi_twitter
devuan linux works better, and I installed postgres successfully
Paolo Marcheschi
@paolomarcheschi_twitter
I tried also linux void and it works
Paolo Marcheschi
@paolomarcheschi_twitter
Also joyent official repository now has linux void (20201016)
03e83dc2-0ff9-11eb-873f-071a5e00e534
matrixbot
@matrixbot
otis void linux seems to have some "good" concept
otis * void linux seems to have some "good" concepts
matrixbot
@matrixbot
toybomb Yeah I guess I get why devuan and void work
toybomb But void may actually allow me to run mailinabox by manually setting package versions
matrixbot
@matrixbot
toybomb cgroups makes a lot of current services unable to run
toybomb on the ubuntu 18.04 and 20.x images
toybomb * on the ubuntu 18.04 and 20.x lx zones
Paolo Marcheschi
@paolomarcheschi_twitter
Yes this is very annoying this is why I'd like to switch to bhyve for those that need ubuntu 20.04
I do not want to loose the versatility of LX for the rest services
matrixbot
@matrixbot
toybomb i'm kinda wondering what's needed for the cgroups to allow for those services
toybomb i spent a few days trying to get some services running last month when tried those images
toybomb but devuan might really be a good idea
toybomb it's debian without systemd after all
Paolo Marcheschi
@paolomarcheschi_twitter
Do you know How it is possible to pass Http proxy to LX server creation?
4 replies
Jan Poctavek
@YanChii
yes, there's a PAM security issue... not affecting us much but we'll be releasing a new platform anyway
infinity202
@infinity202
superb! When do you think you will be able to release ?
And will it support the new piadm command from SmartOS too? (this will enable on-disk storage of the USB files)
Jan Poctavek
@YanChii
I've started to gather issues that can make it into this release. Then testing it. If everything goes fine, in two weeks it can be out.
We don't need piadm. DC has disk install for years already. And as a bonus, disk installed SmartOS from DC has writable root (as opposed to ramdisk when booting from USB or using piadm).
infinity202
@infinity202
OMG? Am I so stupid ?
Jan Poctavek
@YanChii
We have beadm.
and esdc-platform-upgrade
infinity202
@infinity202
So I could start installing Danube on a bare metal server from OVH right now ?
Jan Poctavek
@YanChii
yes, no prob
infinity202
@infinity202
ah, crap. then i do need ipxe don't I ?
Jan Poctavek
@YanChii
PXE can be used only to do disk install http://pxe.danube.cloud/pxe/
there are .iso files with embedded PXE that will boot installer for you
OVH has pretty advanced PXE scripting that can be used to configure PXE boot sources. I've played with it some time ago. If you have space for experiments, I can help you with the install and we can create a howto about deploying DC in OVH.
matrixbot
@matrixbot
toybomb Jan Poctavek (Gitter): for using something like matchbox, what's the right way to do it? can i just create a new network with a subnet and then run all new machines in there? is there something I have to pay attention to when creating new private networks?
infinity202
@infinity202
Server has just been ordered. So we have a complete clean system available for test in a about an hour
Jan Poctavek
@YanChii
@infinity202 cool. I'll look at my schedule and we can go.
matrixbot
@matrixbot
toybomb btw Jan Poctavek (Gitter) the feature you added for change_mac to DC is something people using hetzner were lacking which made them switch away from SmartOS i think it deserves a bigger mention
Jan Poctavek
@YanChii
@toybomb: thank you. I think you're right. We wanted to overcome the restrictions of HW lease providers.
is your question regarding matchbox connected to OVH networking?