- Look at the container image in quay.io (e.g. https://quay.io/repository/podified-antelope-centos9/openstack-tempest-extras?tab=tags) and take the tag
- The tag is the commit hash in https://trunk.rdoproject.org/centos9-antelope/current-podified/ (e.g. https://trunk.rdoproject.org/centos9-antelope/current-podified/8f/cc/8fcc848d6c766b48142f0ffef9e34937/)
- Look into the delorean.repo file and search for tcib, the file will point to the tcib repo hash (e.g. https://trunk.rdoproject.org/centos9-antelope/component/podified/7b/f4/7bf4dba1708c55fa9b3a0c929f18084c85bfe3d6_dbfdef11)
# (gibi): this chapter is good as is
# (gibi): mostly good. But the 3rd bullet point needs a reword as we don't have overcloud any more. I think we can even drop the 3rd bullet point
- Designate Compute nodes for CPU pinning.
- Configure the Compute nodes to reserve host cores for pinned instance vCPU processes, floating instance vCPU processes, and host processes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to default a struct field? | |
// Example code: https://github.com/gibizer/simple-operator-example/commit/08fb63dda8aae4c20272b8e87d680228948e8ff6 | |
// terminal #1 | |
[fedora@gibi-f35 simple-operator-example]$ make run | |
test -s /home/fedora/op-build/simple-operator-example/bin/controller-gen || GOBIN=/home/fedora/op-build/simple-operator-example/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 | |
/home/fedora/op-build/simple-operator-example/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases | |
/home/fedora/op-build/simple-operator-example/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..." | |
go fmt ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import random | |
import time | |
import eventlet | |
from oslo_concurrency import lockutils | |
eventlet.monkey_patch() | |
LOCK = "my-lock" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
import eventlet | |
from oslo_concurrency import lockutils | |
eventlet.monkey_patch() | |
LOCK = "my-lock" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## host(with a real PCI dev) ---libvirt/qemu---> L1 VM (running devstack) ---nova/libvirt/qemu---> L2 VM | |
## host | |
# Enable iommu in the kernel | |
$ grep iommu /etc/default/grub | |
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on" | |
# the PCI device needs to be in a separate IOMMU group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change placement conf | |
# [api] | |
# auh_strategy = noauth2 | |
sudo apt install jq parallel --yes | |
sudo mysql -uroot -padmin -e "DROP DATABASE IF EXISTS placement;" | |
sudo mysql -uroot -padmin -e "CREATE DATABASE placement CHARACTER SET utf8;" | |
placement-manage db sync | |
sudo systemctl restart devstack@placement-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INST=f996ef6b-4417-4eb3-aeb7-9f66d8c4d2c5 | |
PORT=46ceed9e-1262-47c2-b7dc-335a31f78b71 | |
rg \ | |
"\ | |
instance: $INST\] Unshelving|\ | |
instance: $INST\] Swapping old allocation on .* held by migration .* for instance|\ | |
instance: $INST\] Starting finish_revert_migration|\ | |
Updating port $PORT with attributes|\ | |
instance: $INST\] Preparing to wait for external event network-vif-plugged|\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will succeed if applied as an update over https://gist.github.com/gibizer/a0c4e5dc4a59ed3217f64c04a8f207a4 | |
# if there are still free resource on the compute as neutron allows replacing a qos policy on a bound port and does | |
# the necessary allocation update in placement. | |
heat_template_version: wallaby | |
resources: | |
net0: | |
type: OS::Neutron::ProviderNet | |
properties: | |
name: net0 |
NewerOlder