Skip to content

Instantly share code, notes, and snippets.

Lars Kellogg-Stedman larsks

Block or report user

Report or block larsks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ovn-trace example
podman exec ovn_controller ovn-trace --summary --db=tcp: \
net0 \
inport=="10045ad5-a92a-47a4-8369-4cb3abad4978" &&
eth.src==fa:16:3e:17:eb:cf &&
ip4.src== &&
ip.ttl==255 &&
eth.dst==fa:16:3e:c8:44:cc &&
ip4.dst== &&
tcp.src==12345 &&
larsks /
Last active Jun 3, 2019
Some openshift stuff

A [pod][] is the basic building block of OpenShift applications. A pod can contain one or more containers along with other information, like environment variables, volumes, and more. If you're familiar with docker-compose, a pod is largely equivalent to a docker-compose.yml file.

A simple pod to start up a database service might look like this:

apiVersion: v1
kind: Pod
  name: mariadb
View os-collect-config-log
-- Logs begin at Sat 2019-03-02 17:15:29 EST, end at Sun 2019-03-03 21:11:41 EST. --
Mar 03 18:21:42 neu-15-39-control1.kzn.moc ansible-file[548329]: Invoked with directory_mode=None force=True remote_src=None path=/var/lib/kolla/config_files/ec2_api_metadata.json owner=None follow=False group=None unsafe_writes=None state=file content=NOT_LOGGING_PARAMETER serole=None diff_peek=None setype=None dest=/var/lib/kolla/config_files/ec2_api_metadata.json selevel=None original_basename=tmp9JDpDP regexp=None validate=None src=tmp9JDpDP seuser=None recurse=False delimiter=None mode=0600 attributes=None backup=None
Mar 03 18:21:42 neu-15-39-control1.kzn.moc ansible-stat[548345]: Invoked with checksum_algorithm=sha1 get_checksum=True path=/var/lib/kolla/config_files/redis.json checksum_algo=sha1 follow=False get_md5=False get_mime=True get_attributes=True
Mar 03 18:21:42 neu-15-39-control1.kzn.moc ansible-file[548354]: Invoked with directory_mode=None force=True remote_src=None path=/var/lib/kolla/config_files/redis.js
View iscsi-error.txt
[root@larstest1 journal]# [16838.537090] connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4311494208, last ping 4311499216, now 4311504224
[16838.550531] connection1:0: detected conn error (1022)
[16959.018991] session1: session recovery timed out after 120 secs
[16959.025779] sd 7:0:0:0: rejecting I/O to offline device
View ml2_conf.ini
View hosts
$ ansible all -i hosts -m setup
foo | SUCCESS => {
"ansible_facts": {
"ansible_apparmor": {
"status": "disabled"
"ansible_architecture": "x86_64",
"ansible_bios_date": "02/02/2018",
"ansible_bios_version": "A25",
"ansible_cmdline": {
View customer_details.yml
C_NAME: larsks
DB_CPASSWD: password
View facts.json
"fa": {
"ansible_purefa_facts": {
"volumes": {
"PoC-VM_Volumes": {
"bandwidth": null,
"hosts": [
View othersutff.vba
Sub Copy_Charts_and_Change_Source_Data()
Dim DataSheetName1 As String, DataSheetName2 As String
Dim sourceChartSheet As Worksheet, destChartSheet As Worksheet
Dim chartObj As ChartObject
Dim chartObjCopy As ChartObject
Dim chSeries As Series
Dim chartIndex As Integer
'Names of the 2 data sheets
You can’t perform that action at this time.