Skip to content

Instantly share code, notes, and snippets.

@stephenfin
stephenfin / README.md
Last active February 14, 2024 13:59
Gophercloud examples
@stephenfin
stephenfin / heat.local.conf
Created September 27, 2023 14:04
Minimal DevStack `local.conf` configurations
[[local|localrc]]
## Passwords
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
HORIZON_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=no-token-password
enable_plugin heat https://opendev.org/openstack/heat
@stephenfin
stephenfin / README.md
Created September 1, 2023 12:21
Using service tokens with openstacksdk
@stephenfin
stephenfin / README.md
Created July 27, 2023 18:04
Create an openstacksdk connection using oslo.config CONF object

Create an openstacksdk connection using oslo.config CONF object

A demo of using this more esoteric mechanism for creating a Connection object.

python create-connection.py --config-file neutron.conf
@stephenfin
stephenfin / devstack-ironic.rst
Last active December 21, 2022 14:52
Sample DevStack 'local.conf's for single node ironic deployment using the fake driver

DevStack, Single Node, SR-IOV

Overview

Nodes

1

Version

Antelope

Prerequisites

@stephenfin
stephenfin / patchwork.yaml
Created September 1, 2021 14:56
Patchwork on OpenShift
# Resources:
#
# https://markgituma.medium.com/kubernetes-local-to-production-with-django-3-postgres-with-migrations-on-minikube-31f2baa8926e
# https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgres-pvc
annotations:
@stephenfin
stephenfin / mdevs.md
Created March 23, 2021 18:20
libvirt with advanced device types

mdev

$ virsh nodedev-list --tree
  ...
  +- pci_0000_00_02_0
  |   |
  |   +- pci_0000_04_00_0
  |       |
  |       +- mdev_69f7daf5_c114_4017_a53f_6367c04cb4f3
@stephenfin
stephenfin / generate-schemas.sh
Created January 6, 2021 16:31
Nova schema diff tool
#!/usr/bin/env bash
#
# Script to generate schemas for the various versions.
#
# Some setup is required, similar to the opportunistic tests.
#
# MySQL ->
#
# $ mysql -uroot
# MariaDB [(none)]> CREATE DATABASE nova
@stephenfin
stephenfin / README.md
Last active December 10, 2018 14:03
Bugzilla scripts

Custom Scripts for Bugzilla

These are designed to make life with Bugzilla a little more bearable. Unless you're working on nova in Red Hat, you probably won't find these that useful.

Requirements

@stephenfin
stephenfin / devstack-sriov.rst
Last active October 10, 2018 10:53
Sample DevStack 'local.conf' using SR-IOV

DevStack, Single Node, SR-IOV

Overview

Nodes

1

Version

Rocky

Prerequisites