March 26 Ephemeral, Bare Metal Meddle!
Not_Oles
Hosting ProviderContent Writer
Edited on March 20, 2023: Was "April 1 Ephemeral, Bare Metal Meddle!" Oopsie! Sorry, I think I got the cancellation date wrong.
This server, details below, currently is set to cancel on April 1 March 26. Meanwhile, free shell accounts, maybe with sudo, might be available for friendly LESbians!
If anyone wants an account, please post your request here in this thread together with your ed25519 ssh public key. Thanks and best wishes!
[root@rawhide ~]# uname -r
6.3.0-0.rc1.20230307git8ca09d5fa354.17.fc39.x86_64
[root@rawhide ~]# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2023-02-27 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
Thu Mar 9 02:28:30 AM UTC 2023
Basic System Information:
---------------------------------
Uptime : 0 days, 1 hours, 58 minutes
Processor : Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
CPU cores : 16 @ 4102.155 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 125.6 GiB
Swap : 8.0 GiB
Disk : 3.7 TiB # See output of df, smartcl, and btrfs filesystem show, posted below.
Distro : Fedora Linux 39 (Rawhide Prerelease)
Kernel : 6.3.0-0.rc1.20230307git8ca09d5fa354.17.fc39.x86_64
VM Type : NONE
Basic Network Information:
---------------------------------
Protocol : IPv6
ISP : Hetzner Online GmbH
ASN : AS24940 Hetzner Online GmbH
Location : Tuusula, Uusimaa (18)
Country : Finland
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 518.28 MB/s (129.5k) | 489.04 MB/s (7.6k)
Write | 519.65 MB/s (129.9k) | 491.61 MB/s (7.6k)
Total | 1.03 GB/s (259.4k) | 980.66 MB/s (15.3k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 500.09 MB/s (976) | 445.76 MB/s (435)
Write | 526.66 MB/s (1.0k) | 475.45 MB/s (464)
Total | 1.02 GB/s (2.0k) | 921.21 MB/s (899)
iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed | Ping
----- | ----- | ---- | ---- | ----
Clouvider | London, UK (10G) | 920 Mbits/sec | 909 Mbits/sec | 34.2 ms
Scaleway | Paris, FR (10G) | 919 Mbits/sec | 599 Mbits/sec | 40.0 ms
NovoServe | North Holland, NL (40G) | 924 Mbits/sec | 922 Mbits/sec | 30.3 ms
Uztelecom | Tashkent, UZ (10G) | 902 Mbits/sec | 673 Mbits/sec | 63.2 ms
Clouvider | NYC, NY, US (10G) | 871 Mbits/sec | 459 Mbits/sec | 98.1 ms
Clouvider | Dallas, TX, US (10G) | 842 Mbits/sec | 218 Mbits/sec | 133 ms
Clouvider | Los Angeles, CA, US (10G) | 791 Mbits/sec | 249 Mbits/sec | 155 ms
iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed | Ping
----- | ----- | ---- | ---- | ----
Clouvider | London, UK (10G) | 909 Mbits/sec | 900 Mbits/sec | 34.2 ms
Scaleway | Paris, FR (10G) | 906 Mbits/sec | 886 Mbits/sec | 37.5 ms
NovoServe | North Holland, NL (40G) | 911 Mbits/sec | 913 Mbits/sec | 30.5 ms
Uztelecom | Tashkent, UZ (10G) | 890 Mbits/sec | 595 Mbits/sec | 63.2 ms
Clouvider | NYC, NY, US (10G) | 863 Mbits/sec | 389 Mbits/sec | 98.3 ms
Clouvider | Dallas, TX, US (10G) | 836 Mbits/sec | 269 Mbits/sec | 133 ms
Clouvider | Los Angeles, CA, US (10G) | 815 Mbits/sec | 304 Mbits/sec | 155 ms
Geekbench 6 Benchmark Test:
---------------------------------
Test | Value
|
Single Core | 1731
Multi Core | 7620
Full Test | https://browser.geekbench.com/v6/cpu/463869
YABS completed in 10 min 35 sec
[root@rawhide ~]#
Yabs and df, smartctl, and btrfs filesystem show might seem to disagree about the disk sizes. Here's what df says.
[root@rawhide ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 26G 844K 26G 1% /run
/dev/nvme0n1p3 1.9T 2.5G 1.9T 1% /
/dev/nvme0n1p2 974M 219M 688M 25% /boot
/dev/nvme0n1p3 1.9T 2.5G 1.9T 1% /home
tmpfs 63G 0 63G 0% /tmp
tmpfs 13G 0 13G 0% /run/user/0
[root@rawhide ~]#
Here's what smartctl says.
[root@rawhide ~]# smartctl -i /dev/nvme0
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.3.0-0.rc1.20230307git8ca09d5fa354.17.fc39.x86_64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: KXG60ZNV1T02 TOSHIBA
Serial Number:
Firmware Version: AGGA4104
PCI Vendor/Subsystem ID: 0x1179
IEEE OUI Identifier: 0x8ce38e
Total NVM Capacity: 1,024,209,543,168 [1.02 TB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.3
Number of Namespaces: 1
Namespace 1 Size/Capacity: 1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 8ce38e 05001f1a9a
Local Time is: Thu Mar 9 02:49:24 2023 UTC
[root@rawhide ~]# smartctl -i /dev/nvme1
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.3.0-0.rc1.20230307git8ca09d5fa354.17.fc39.x86_64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: KXG60ZNV1T02 TOSHIBA
Serial Number:
Firmware Version: AGGA4104
PCI Vendor/Subsystem ID: 0x1179
IEEE OUI Identifier: 0x8ce38e
Total NVM Capacity: 1,024,209,543,168 [1.02 TB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.3
Number of Namespaces: 1
Namespace 1 Size/Capacity: 1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 8ce38e 05001f1a4c
Local Time is: Thu Mar 9 02:51:13 2023 UTC
[root@rawhide ~]#
And here's btrfs filesystem show
[root@rawhide ~]# btrfs filesystem show
Label: 'fedora_new' uuid: 4710f5ad-c55d-45d4-8466-2691fd9aba9c
Total devices 2 FS bytes used 2.35GiB
devid 1 size 952.87GiB used 7.02GiB path /dev/nvme0n1p3
devid 2 size 953.87GiB used 9.01GiB path /dev/nvme1n1p1
[root@rawhide ~]#
FWIW, my first time with Rawhide. Also my first time with btrfs. Used the default Anaconda install.
Tagged:
Comments
Can I get one account
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMqehgmq6L1DXJqH4ZFNcfgSr9aZswmWIr+QAy6YS4lU
Currently Using Hetzner , OVH , Buyvm , Webhorizon , Hyonix , ConnectIndo
hey , please via dm.
What ? Didn't get you
Currently Using Hetzner , OVH , Buyvm , Webhorizon , Hyonix , ConnectIndo
Hi @webz!
Please try
ssh [email protected]
Have fun!
Tom
MetalVPS
Hi @Ganonk!
Thanks for helping!
DM might not be needed to send a public key.
But, if you want an account, and you prefer to send your public key via DM, that's fine!
Hope you have a wonderful day!
Tom
MetalVPS
Thank you Tom for the account.
Currently Using Hetzner , OVH , Buyvm , Webhorizon , Hyonix , ConnectIndo
@webz You're welcome! :) Let me know if you need anything!
MetalVPS
Me me !
Teehee!
Please try
ssh [email protected]
Have fun!
MetalVPS
If there's still space! I don't have an ed25519 key but I have an RSA one:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCUX0I5aZU/w1bu+0SsTTJmQKdlGgB4CL4DyT5aoXXKb0rKPSHvC2LZzzGwZ8NOJ61wMXwh/BlufiQZ4E07oMDjQz+kgjG5cMVmSLu97/ojPBDSwtGa7d33ByCoyUPPOZSkISi3DXyMqp/zMLzai/6Tx57e7rk6QYyCB8bMEQfWcWp7TRSBR24Gk/f0FB135PbvD2PDteN+HMARadVhvZmO22iSQpgpasuIdLiOGyxwURw9erNWh1chsJY1/HIGhTo9YqGKz0nmjG+fPvi3QO+Td9JDiRiG9UAJo0yzAtD1HnwqVmVP6c0SKlduczpHzX7iIYeudQwKvLeBo8pwcaSPcXpfYMb/D+ThbhUAB143dySkS+2n/jzj+T9eg+aAS2OXZ6rvK8bGUBpSQWnk8UA4J80hey1znd7AZUsn1iWxHc57a2ZDqK4It3MbOpMCXMX4fszjUsvxiB20rovxez4+q4MWUMCyo5JCSJ1fjfvfuggwwKGsSC6gF/BWQ3dO+8qbp/t+6Rab2GS8nrGKDxma1cxHYSJQ4nWfzITjRltOOwgsjZ81xsycYUIxJeIYuhlJHNh/qXkhRYrsHnOwM64FKjfTCbsI2gs47BMyN2tTuAoQ4N6XQbfpwhUqQWCDKttAFJt7t5TuLKDAc3IUaDr0JV9WchAF0x6DJ1kwgyxSfQ==
you look like a hacker
I promise I haven't hacked anything! yet
Not_Oles punishes his hackers with unimaginable things
Want to learn building Android (LineageOS and DivestOS), so it will use a lot of space (~500 GiB). If this OK, then here's my pub key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIASU+7uRi5Vcs7vCMuusVSp6rcPDbmS4Jl6Ag5/g0Trm
Hello @let2les!
Welcome to MetalVPS!
Please try
ssh [email protected]
.Please note that this server is set to cancel in a few days on March 26.
If you need anything, please feel free to let me know.
Good luck! Have fun!
Tom
MetalVPS
By the way, I had some fun last night installing All-in-One OpenStack on this machine. The linked instructions made the configuration seem easy. And the install seemed to go okay too!
This is my first time with OpenStack, so I'm not even sure what should be happening! Here are a few notes I took about what I did:
FWIW, from inside the server (but not from outside) I can see the served data which the stack.sh script told me to expect.
and
MetalVPS
Hi again @let2les!
I took a quick look at some Android build environment setup instructions which seemed to suggest building on Ubuntu.
MetalVPS currently happens to have another machine which is running Ubuntu, so I also made you an account on that machine.
Please try:
ssh [email protected]
You should find:
The Ubuntu machine new2 is set to cancel on April 1. Meanwhile, you're more than welcome to use both the Rawhide and the Ubuntu machines, or, if you only need one, let me know and I will clean up the machine you are not using.
Best wishes! Have fun!
Tom
MetalVPS
The OpenStack tests seem to run okay.
MetalVPS
Updated doc link: https://docs.openstack.org/devstack/zed/guides/single-machine.html
MetalVPS
@Not_Oles Could you install necessary dependencies as described on https://divestos.org/pages/build ? A VM would work too, just need 64GB RAM and ~ 500GB disk.
Hi @let2les!
I ran as root the install commands from https://divestos.org/pages/build except for the following three which I think might be intended for you to run inside your home directory.
I saved a 1562 line transcript of all the commands I ran plus all the output printed to the terminal. So, if you find any issues, we certainly can check.
Good luck with your DivestOS project! Have fun! Best wishes!
Tom
MetalVPS
Managed to get Openstack's single node devstack working enough to show its login screen to my Chromebook. Login works too. So next up is to figure out whether I can and if so how to make an instance, and also to try additional features. Hope you guys all had fun weekends too! Friendly greetings!
MetalVPS
I recall i read something about it but was discourage because of some HW requirements etc ... It surly needs some good infra to work well.
would be nice to learn from you how it goes.
We will see how far I get.
In other news, it seems I was wrong on the cancellation date for this server! It now appears that the last day of use for this server might be March 26, 2023. Apologies for the inconvenience! So sorry!
MetalVPS
@ehab since you asked. . . .
DevStack seems to have made an instance.
But, although traceroute seems to work, I can't ssh into or ping the instance.
Hope everyone is enjoying an equally fun day! If anybody catches the mistakes I am making, I'd appreciate any help. Thanks in advance!
MetalVPS
Here's the qemu command from above without code fences in case it will be more conveniently formatted.
qemu 1786734 0.8 0.1 809468 191048 ? Sl 02:17 0:16 /usr/bin/qemu-system-x86_64 -name guest=instance-00000001,debug-threads=on -S -object {"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-instance-00000001/master-key.aes"} -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,memory-backend=pc.ram -accel kvm -cpu Nehalem -m 256 -object {"qom-type":"memory-backend-ram","id":"pc.ram","size":268435456} -overcommit mem-lock=off -smp 1,sockets=1,dies=1,cores=1,threads=1 -uuid a50da9e9-c223-40ea-bca0-a92b214a01ee -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=27.1.0,serial=a50da9e9-c223-40ea-bca0-a92b214a01ee,uuid=a50da9e9-c223-40ea-bca0-a92b214a01ee,family=Virtual Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=26,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on -blockdev {"driver":"host_device","filename":"/dev/sda","aio":"native","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"} -device {"driver":"virtio-blk-pci","bus":"pci.0","addr":"0x5","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1,"write-cache":"on","serial":"df64ce20-3f8a-49c1-ba08-575e5ab98271"} -netdev {"type":"tap","fd":"28","vhost":true,"vhostfd":"30","id":"hostnet0"} -device {"driver":"virtio-net-pci","host_mtu":1442,"netdev":"hostnet0","id":"net0","mac":"fa:16:3e:49:99:17","bus":"pci.0","addr":"0x3"} -netdev {"type":"tap","fd":"31","vhost":true,"vhostfd":"32","id":"hostnet1"} -device {"driver":"virtio-net-pci","host_mtu":1442,"netdev":"hostnet1","id":"net1","mac":"fa:16:3e:ce:36:54","bus":"pci.0","addr":"0x4"} -add-fd set=0,fd=27,opaque=serial0-log -chardev pty,id=charserial0,logfile=/dev/fdset/0,logappend=on -device {"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0} -audiodev {"id":"audio1","driver":"none"} -vnc 0.0.0.0:0,audiodev=audio1 -device {"driver":"virtio-vga","id":"video0","max_outputs":1,"bus":"pci.0","addr":"0x2"} -device {"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x6"} -object {"qom-type":"rng-random","id":"objrng0","filename":"/dev/urandom"} -device {"driver":"virtio-rng-pci","rng":"objrng0","id":"rng0","bus":"pci.0","addr":"0x7"} -device {"driver":"vmcoreinfo"} -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on
MetalVPS
Seems I can log in to the instance via OpenStack's built-in console. Maybe getting inside the instance will enable fixing the ssh connectivity.
@ehab since you asked
MetalVPS
Tom,, what do you think? is it easy or there is a large learning curve?
Just when I was going to ask for a free shell account ... oh well, it appears to be the end of an era for bare metal
"A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)
Hi @ehab!
If a clueless™ guy can get as far as I am getting, then the correct classification must be "easy!"
All I did was follow the OpenStack All-in-One Single Machine install instructions.
TLDR: On a clean server, VPS, or laptop, we create the
stack
user, with sudo privileges and a home directory in/opt/stack
. Userstack
clones the devstack repository, configures a few lines inlocal.conf
, and runs a bash script calledstack.sh
. That's it. Hint: check that permissions on/opt/stack
and/opt/stack/devstack
are 755 so that the programs called by the script have access.I ran
stack.sh
on Rawhide, but the instructions and the script cover Debian derived distributions as well as Red Hat derived distributions. Hint: on Rawhide and other unsupported Linux distribution versions, maybe try runningFORCE=yes ./stack.sh
. Whenstack.sh
finishes, it prints the information needed to access the dashboard. Hint: I needed to add an iptables ALLOW rule to access the dashboard from the IP used by my Chromebook here in Mexico.Additional post-install tests are easily available via another included script called
run-tests.sh.
Take down and clean up scripts,unstack.sh
andclean.sh
, also are included. In fact, as my 21,434 linestack.sh
install transcript shows, quite a lot gets installed. Here's what the installeddevstack
looks like from the server's command line.As can be seen from the LICENSE file, devstack is released under the free for private and commercial use, open source Apache License, Version 2.0.
The OpenStack team seems legitimately trying to publish up-to-date, clear, and accessible documentation. Also, the
stack.sh
script contains friendly comments. Overall, OpenStack and the OpenStack team seem to project themselves and their project as very friendly, very well organized, and very fun!Best wishes!
Tom
MetalVPS