Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created October 15, 2021 13:47
Show Gist options
  • Save sombrafam/1b704fd066112abd29dcded57b3c3448 to your computer and use it in GitHub Desktop.
Save sombrafam/1b704fd066112abd29dcded57b3c3448 to your computer and use it in GitHub Desktop.
erlon@asus:~$ bastion
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-52-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Oct 15 13:17:11 UTC 2021
System load: 0.09 Processes: 164
Usage of /: 31.8% of 28.90GB Users logged in: 1
Memory usage: 31% IPv4 address for docker0: 172.17.0.1
Swap usage: 100% IPv4 address for ens3: 10.5.0.44
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
165 updates can be installed immediately.
1 of these updates is a security update.
To see these additional updates run: apt list --upgradable
*** System restart required ***
#################################################################
Welcome sombrafam! This is your STSStack bastion.
Please refer to the wiki for info on using STSStack:
https://wiki.canonical.com/STS/Engineering/STSStack/UserGuide
For support requests please email your friendly admins
at stsstack-admins@lists.canonical.com
Have a nice day :)
#################################################################
Last login: Fri Oct 15 12:59:20 2021 from 10.172.68.64
[ubuntu@sombrafam-bastion(kvm):~]$ ssh 8
^C
[ubuntu@sombrafam-bastion(kvm):~]$ juju ssh 8
Welcome to Ubuntu 21.04 (GNU/Linux 5.11.0-31-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Oct 15 13:39:39 UTC 2021
System load: 0.1 Processes: 170
Usage of /: 9.4% of 38.60GB Users logged in: 0
Memory usage: 33% IPv4 address for ens3: 10.5.2.91
Swap usage: 0% IPv4 address for fan-252: 252.2.91.1
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
0 updates can be applied immediately.
New release '21.10' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Last login: Fri Oct 15 13:19:20 2021 from 10.5.0.44
ubuntu@juju-40fba0-ovn-arp-test-hirsute-8:~$ sudo -s
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# apt-get update
Get:1 http://security.ubuntu.com/ubuntu hirsute-security InRelease [110 kB]
Hit:2 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute InRelease
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates InRelease [115 kB]
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB]
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages [393 kB]
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/main Translation-en [105 kB]
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 c-n-f Metadata [7684 B]
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages [198 kB]
Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/restricted Translation-en [27.8 kB]
Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages [327 kB]
Fetched 1384 kB in 1s (2110 kB/s)
Reading package lists... Done
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# ls /etc/apt/sources.list.d/
ubuntu-hirsute-proposed.list
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Get:2 http://archive.ubuntu.com/ubuntu hirsute-proposed InRelease [269 kB]
Hit:3 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute InRelease
Hit:4 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:5 http://nova.clouds.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Get:6 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 Packages [44.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted Translation-en [7948 B]
Get:8 http://archive.ubuntu.com/ubuntu hirsute-proposed/restricted amd64 c-n-f Metadata [308 B]
Get:9 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 Packages [49.9 kB]
Get:10 http://archive.ubuntu.com/ubuntu hirsute-proposed/main Translation-en [15.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 c-n-f Metadata [1488 B]
Get:12 http://archive.ubuntu.com/ubuntu hirsute-proposed/multiverse amd64 Packages [1488 B]
Get:13 http://archive.ubuntu.com/ubuntu hirsute-proposed/multiverse Translation-en [3788 B]
Get:14 http://archive.ubuntu.com/ubuntu hirsute-proposed/multiverse amd64 c-n-f Metadata [116 B]
Get:15 http://archive.ubuntu.com/ubuntu hirsute-proposed/universe amd64 Packages [24.8 kB]
Get:16 http://archive.ubuntu.com/ubuntu hirsute-proposed/universe Translation-en [13.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu hirsute-proposed/universe amd64 c-n-f Metadata [1560 B]
Fetched 434 kB in 1s (465 kB/s)
Reading package lists... Done
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# dpkg -l | grep ovn
ii neutron-ovn-metadata-agent 2:18.1.0-0ubuntu2 all Neutron is a virtual network service for Openstack - OVN metadata agent
ii ovn-common 20.12.0-0ubuntu2 amd64 OVN common components
ii ovn-host 20.12.0-0ubuntu2 amd64 OVN host components
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# sudo apt-get install ovn-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ovn-host
The following packages will be upgraded:
ovn-common ovn-host
2 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 1357 kB of archives.
After this operation, 6944 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 ovn-host amd64 20.12.0-0ubuntu3 [583 kB]
Get:2 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 ovn-common amd64 20.12.0-0ubuntu3 [774 kB]
Fetched 1357 kB in 1s (1507 kB/s)
(Reading database ... 142974 files and directories currently installed.)
Preparing to unpack .../ovn-host_20.12.0-0ubuntu3_amd64.deb ...
Unpacking ovn-host (20.12.0-0ubuntu3) over (20.12.0-0ubuntu2) ...
Preparing to unpack .../ovn-common_20.12.0-0ubuntu3_amd64.deb ...
Unpacking ovn-common (20.12.0-0ubuntu3) over (20.12.0-0ubuntu2) ...
Setting up ovn-common (20.12.0-0ubuntu3) ...
Setting up ovn-host (20.12.0-0ubuntu3) ...
Processing triggers for man-db (2.9.4-2) ...
Scanning processes...
Scanning candidates...
Scanning linux images...
Restarting services...
systemctl restart accounts-daemon.service irqbalance.service multipathd.service packagekit.service polkit.service ssh.service udisks2.service
Service restarts being deferred:
/etc/needrestart/restart.d/dbus.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
No containers need to be restarted.
No user sessions are running outdated binaries.
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu# systemctl restart neutron-ovn-metadata-agent
root@juju-40fba0-ovn-arp-test-hirsute-8:/home/ubuntu#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment