summaryrefslogtreecommitdiff
path: root/buffer
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-23 17:08:31 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-23 17:08:31 +0100
commitc5e7a50f1dbf3b541ae5547c50d2ec5707a45ca9 (patch)
treed60c74cacfaf13f123a0946768133619d11494b0 /buffer
parent496c0c2a44ed21bbfb49f4c6e59c1a749c8b7aea (diff)
move stuff from buffer to inbox
Diffstat (limited to 'buffer')
-rw-r--r--buffer/2024-01-08.md16
-rw-r--r--buffer/2024-01-09.md24
-rw-r--r--buffer/2024-01-10.md5
-rw-r--r--buffer/2024-02-20.md12
-rw-r--r--buffer/2024-06-13.md2
-rw-r--r--buffer/2024-06-17.md10
-rw-r--r--buffer/2024-06-26.md0
-rw-r--r--buffer/Blkio errors.md14
-rw-r--r--buffer/ELF (files).md0
-rw-r--r--buffer/Group.ONE Backup Service.md6
-rw-r--r--buffer/Issues met TC oplossen.md25
-rw-r--r--buffer/Neutron DNS & Designate.md3
-rw-r--r--buffer/Nix Flakes.md21
-rw-r--r--buffer/Nixpkgs Overlays.md0
-rw-r--r--buffer/Nova Scheduler.md2
-rw-r--r--buffer/Ruby gems nixpkgs.md0
-rw-r--r--buffer/Shell.nix python.md15
-rw-r--r--buffer/Timings VPS.md4
-rw-r--r--buffer/Updates ansible ad-hoc.md19
-rw-r--r--buffer/Zoner Migration.md1
20 files changed, 0 insertions, 179 deletions
diff --git a/buffer/2024-01-08.md b/buffer/2024-01-08.md
deleted file mode 100644
index 13eee22..0000000
--- a/buffer/2024-01-08.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-tags:
- - qemu
- - qemu-guest-agent
- - backups
----
-Got QEMU Guest agent working via booting a VM with an image after setting `hw_qemu_guest_agent='yes'` on that image.
-
-Put a script under `/etc/qemu/fsfreeze-hook.d/` with the executable flag set that echo's 'yo' when it is run.
-
-Tried Cinder backup: script not called
-Tried Cinder snapshot: script not called
-Tried Nova snapshot: script not called.
-
----
-10.40 - 16.00 \ No newline at end of file
diff --git a/buffer/2024-01-09.md b/buffer/2024-01-09.md
deleted file mode 100644
index e0d0937..0000000
--- a/buffer/2024-01-09.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-tags:
- - idea
- - oslo_messaging
- - tuning
- - maintenance
- - issue
----
-Had an idea to develop a tool to parse openstack release pages to see what's new from the CLI.
-
-Continued maintenance after making sure cold migrations do work on running VMs and make sure they are started again after migrating.
-
-Messaging timeouts occurred during maintenance. Found some settings to tune the neutron and nova oslo messaging library.
-https://docs.mirantis.com/mcp/q4-18/mcp-deployment-guide/advanced-config/tune-rabbitmq-perf.html
-
-Learned about the HAProxy ansible module:
-https://docs.ansible.com/ansible/latest/collections/community/general/haproxy_module.html
-
-We decided to add ansible playbooks for enabling and disabling services. So we can disable the neutron controller in haproxy before restarting it. This prevents an issue where it is being flooded with requests while starting up and causing it to process SSL requests before even having loaded the SSL certificates.
-
-Forgot that I had to visit the mortgage advisor at the end of the afternoon.
-
----
-9.30 - 16.00
diff --git a/buffer/2024-01-10.md b/buffer/2024-01-10.md
deleted file mode 100644
index 6a91cdb..0000000
--- a/buffer/2024-01-10.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Maintenance had been stopped due to an hanging apt-lock on n40 vps2 compute. Killed the hanging process and resumed maintenance.
-
-
----
-9.30 \ No newline at end of file
diff --git a/buffer/2024-02-20.md b/buffer/2024-02-20.md
deleted file mode 100644
index 2359685..0000000
--- a/buffer/2024-02-20.md
+++ /dev/null
@@ -1,12 +0,0 @@
-Building an OpenStack service.
-
-**Things to look into**
-- Tox (testing I think)
-- Project structure
-- Conventions
-- Deployment considerations
-- https://opendev.org/openstack/requirements/
-
-**Tox**
-https://tox.wiki/en/4.13.0/
-Test automation and standardization. \ No newline at end of file
diff --git a/buffer/2024-06-13.md b/buffer/2024-06-13.md
deleted file mode 100644
index 61a16ac..0000000
--- a/buffer/2024-06-13.md
+++ /dev/null
@@ -1,2 +0,0 @@
-Tests:
-- \ No newline at end of file
diff --git a/buffer/2024-06-17.md b/buffer/2024-06-17.md
deleted file mode 100644
index 144e133..0000000
--- a/buffer/2024-06-17.md
+++ /dev/null
@@ -1,10 +0,0 @@
-Investigated the last remaining error with a missing reply queue which was the likely suspect of some alerts of compute service down etc. After some digging in Kibana i noticed a compute node that was logging MessagingTimeouts. I restarted the compute service on this node and it seems to have resolved the errors.
-
-Both system test in CPH8 and LEJ1 were failing. CPH8 likely due to me restarting neutron-server earlier that morning in an attempt to fix the reply queue error.
-LEJ1 had been failing since 14th of June. My guess is due to some maintenance related issue. Both system tests are running smoothly again after cleaning up their artifacts.
-
-Meanwhile, maintenance on VPS1-LEJ1 is still on-going and causing headaches. Another password refresh of the access node caused a migration to fail during post-cleanup and I had to set the host and node of the instance to the correct node directly via MySQL. I should apply Rutgers' suggestion of saving some variables in the OS_\* env vars, rather sooner than later.
-
-Tested retention backups being scheduled, and deployed it to prod.
-
-Investigate whether we can listen for notifications by Nova so that we can listen for server deletions and remove them from periodic backups. There should be no need to delete backups for the server, as the retention policy will have them deleted after a while. \ No newline at end of file
diff --git a/buffer/2024-06-26.md b/buffer/2024-06-26.md
deleted file mode 100644
index e69de29..0000000
--- a/buffer/2024-06-26.md
+++ /dev/null
diff --git a/buffer/Blkio errors.md b/buffer/Blkio errors.md
deleted file mode 100644
index 2b666a3..0000000
--- a/buffer/Blkio errors.md
+++ /dev/null
@@ -1,14 +0,0 @@
-Dmesg is spewing blkio errors
-
-Find out which device: e.g dm-4, then:
-```
-sudo virsh list --all --name | while read dom; do sudo virsh dumpxml $dom | grep dm-4 && echo $dom; done
-```
-To find which domain
-After which:
-```
-sudo virsh dumpxml $domain
-```
-to find the hostname
-
-reboot it hard. \ No newline at end of file
diff --git a/buffer/ELF (files).md b/buffer/ELF (files).md
deleted file mode 100644
index e69de29..0000000
--- a/buffer/ELF (files).md
+++ /dev/null
diff --git a/buffer/Group.ONE Backup Service.md b/buffer/Group.ONE Backup Service.md
deleted file mode 100644
index ebb2c92..0000000
--- a/buffer/Group.ONE Backup Service.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Ubiquitous language
-**Project** The customer or tenant that owns the servers, backups and periodic backups.
-**Server** Is the subject of a backup or periodic backup. It has one or more disks assigned.
-**Disk** Can either be a local storage disk or shared storage volume. It is attached to a server and can be referenced by its name.
-**Backup** Is a snapshot in time of a server. It can be used to restore a server to how it was exactly at that moment in time.
-**PeriodicBackup** Is a group of servers that will be backed up periodically. \ No newline at end of file
diff --git a/buffer/Issues met TC oplossen.md b/buffer/Issues met TC oplossen.md
deleted file mode 100644
index 4ad3bf8..0000000
--- a/buffer/Issues met TC oplossen.md
+++ /dev/null
@@ -1,25 +0,0 @@
-Probleem: referenties in ovs naar devices die niet meer bestaan. Hij probeert vervolgens een nieuw device aan te maken met een qdisc op zo'n niet bestaande device.
-
-```
-sudo grep -r 'could not open network device' /var/log/openvswitch/ | grep -oi 'tap[a-z0-9\-]*' | uniq > ports_no_device
-```
-```
-sudo ip l l | grep ports_no_device | grep -oi 'tap[a-z0-9\-]*' > ports_with_device
-```
-```
-for P in $(cat ports_no_device | grep -v -f ports_with_device); do sudo ovs-vsctl del-port $P; done
-```
-```
-sudo systemctl restart ovn-controller
-```
-
-
-Rutger versie:
-```
-sudo grep 'could not open network device' /var/log/openvswitch/ovs-vswitchd.log | grep -oi 'tap[a-z0-9\-]*' | sort | uniq | while read dev; do ip l l $dev || sudo ovs-vsctl del-port $dev; done; sudo systemctl restart ovn-controller
-```
-
-
-Dus: ovs-vsctl del-port is nice.
-
-Niet vergeten ovn-controller te herstarten.
diff --git a/buffer/Neutron DNS & Designate.md b/buffer/Neutron DNS & Designate.md
deleted file mode 100644
index 48785ab..0000000
--- a/buffer/Neutron DNS & Designate.md
+++ /dev/null
@@ -1,3 +0,0 @@
-https://docs.openstack.org/neutron/latest/admin/config-dns-int.html#config-dns-int
-
-Lijkt er op dat dns_domain overruled kan worden op port niveau. \ No newline at end of file
diff --git a/buffer/Nix Flakes.md b/buffer/Nix Flakes.md
deleted file mode 100644
index cb7f69b..0000000
--- a/buffer/Nix Flakes.md
+++ /dev/null
@@ -1,21 +0,0 @@
-#nix
-
-Nix flakes are source trees containing a file `flake.nix` at their root. The file `flake.nix` provides a standardized way to provide [[Zettelkast/Index/Nix]] artifacts. It's like a package manager for [[Zettelkast/Index/Nix]]. A flake can be dependent on other Flakes and it's possible to pin dependencies to exact revisions by using a `flake.lock` file.
-
-Nix flake evaluation is hermetic, meaning that it produces the same result wherever it's built.k
-
-The feature can be enabled in `~/.config/nix/nix.conf`:
-
-```
-experimental-features = nix-command flakes
-```
-
-To initialize in a repo: `nix flake init`.
-
-In flakes dependencies have to be specified explicitly and MUST be locked to specific versions therefore it's no longer allowed to use the nixpkgs found in `NIX_PATH` by referencing it like `<nixpkgs>`.
-
-Output of a Flake is an arbitrary [[Zettelkast/Index/Nix]] value such as a package, [[NixOS]] module or library function.
-Commands `nix build` and `nix shell` will build the output `packages.<system>.default` unless we specify another output, for example: `nix shell .#checks.aarch64-linux.build`.
-
----
-[Flakes Wiki](https://nixos.wiki/wiki/Flakes) \ No newline at end of file
diff --git a/buffer/Nixpkgs Overlays.md b/buffer/Nixpkgs Overlays.md
deleted file mode 100644
index e69de29..0000000
--- a/buffer/Nixpkgs Overlays.md
+++ /dev/null
diff --git a/buffer/Nova Scheduler.md b/buffer/Nova Scheduler.md
deleted file mode 100644
index 1f58400..0000000
--- a/buffer/Nova Scheduler.md
+++ /dev/null
@@ -1,2 +0,0 @@
-Applies Filters to filters compute hosts that are not usable until a list remains of usable compute hosts.
-Filters have different costs, thus it's a good idea to put lightweight filters first as to reduce the load on the heavyweight ones. \ No newline at end of file
diff --git a/buffer/Ruby gems nixpkgs.md b/buffer/Ruby gems nixpkgs.md
deleted file mode 100644
index e69de29..0000000
--- a/buffer/Ruby gems nixpkgs.md
+++ /dev/null
diff --git a/buffer/Shell.nix python.md b/buffer/Shell.nix python.md
deleted file mode 100644
index 7dabd4d..0000000
--- a/buffer/Shell.nix python.md
+++ /dev/null
@@ -1,15 +0,0 @@
-https://nixos.org/manual/nixpkgs/stable/#python
-
-```nix
-{ pkgs ? import <nixpkgs> {}}:
-
-pkgs.mkShell {
- packages = [ pkgs.virtualenv ];
-}
-```
-
-```nix
-with import <nixpkgs> {};
-(
-let my_toolz = python311.pkgs.buildPythonPackage rec { pname = "toolz"; version = "0.10.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA="; }; nativeBuildInputs = [ python311.pkgs.setuptools python311.pkgs.wheel ]; # has no tests doCheck = false; meta = { homepage = "https://github.com/pytoolz/toolz/"; description = "List processing tools and functional utilities"; # [...] }; }; in python311.withPackages (ps: with ps; [ numpy my_toolz ]) ).env
-``` \ No newline at end of file
diff --git a/buffer/Timings VPS.md b/buffer/Timings VPS.md
deleted file mode 100644
index 51857df..0000000
--- a/buffer/Timings VPS.md
+++ /dev/null
@@ -1,4 +0,0 @@
-10 VPS: avg ms over 100 reqs: 225 ms
-20 VPS: first request: 247 ms. avg ms over 100 reqs: 203 ms
-50 VPS: first request: 259 ms. avg ms over 100 reqs: 220 ms
-101 VPS: first request: 264 ms. avg ms over 100 reqs: 221 ms
diff --git a/buffer/Updates ansible ad-hoc.md b/buffer/Updates ansible ad-hoc.md
deleted file mode 100644
index 2b8514c..0000000
--- a/buffer/Updates ansible ad-hoc.md
+++ /dev/null
@@ -1,19 +0,0 @@
-update apt cache:
-```
-ansible <pattern> -m ansible.builtin.apt -a "update_cache=true cache_valid_time=3600"
-```
-
-update packages:
-```
-ansible <pattern> -m ansible.builtin.apt -a "name=* state=latest"
-```
-
-run puppet:
-```
-ansible <pattern> -a "/opt/puppetlabs/bin/puppet agent --test"
-```
-
-reboot:
-```
-ansible <pattern> -m ansible.builtin.reboot -f 1
-```
diff --git a/buffer/Zoner Migration.md b/buffer/Zoner Migration.md
deleted file mode 100644
index dc61370..0000000
--- a/buffer/Zoner Migration.md
+++ /dev/null
@@ -1 +0,0 @@
-* Kernel installation \ No newline at end of file