Skip to content

Instantly share code, notes, and snippets.

View hemna's full-sized avatar
🏠
Working from home

Walter A. Boring IV hemna

🏠
Working from home
  • Appomattox, VA
View GitHub Profile
#!/usr/bin/env python
# coding: utf-8
#
# Example program to perform iscsi discovery on a host
import sys
import libiscsi
import pprint
def usage():
diff --git a/cinder/opts.py b/cinder/opts.py
index cb059ed..fe35414 100644
--- a/cinder/opts.py
+++ b/cinder/opts.py
@@ -297,7 +297,7 @@ def list_opts():
cinder_volume_drivers_ibm_flashsystemiscsi.
flashsystem_iscsi_opts,
cinder_volume_drivers_ibm_gpfs.gpfs_opts,
- cinder_volume_drivers_ibm_ibm_storage_ds8kproxy.cfg.ds8k_opts,
+ cinder_volume_drivers_ibm_ibm_storage_ds8kproxy.ds8k_opts,
diff --git a/cinder/volume/drivers/ibm/ibm_storage/__init__.py b/cinder/volume/drivers/ibm/ibm_storage/__init__.py
index 498521f..317e0ce 100644
--- a/cinder/volume/drivers/ibm/ibm_storage/__init__.py
+++ b/cinder/volume/drivers/ibm/ibm_storage/__init__.py
@@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
#
-import neobunch
@hemna
hemna / RabbitMQ-Dockerfile.diff
Created April 28, 2017 17:13
Diff from the rabbitmq docker to run on raspi3
diff --git a/3.6/debian/Dockerfile b/3.6/debian/Dockerfile
index afb5640..18647fb 100644
--- a/3.6/debian/Dockerfile
+++ b/3.6/debian/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:jessie
+FROM resin/rpi-raspbian:jessie
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r rabbitmq && useradd -r -d /var/lib/rabbitmq -m -g rabbitmq rabbitmq
diff --git a/brick_cinderclient_ext/__init__.py b/brick_cinderclient_ext/__init__.py
index 0d1253e..5e658a0 100644
--- a/brick_cinderclient_ext/__init__.py
+++ b/brick_cinderclient_ext/__init__.py
@@ -19,6 +19,7 @@ from __future__ import print_function
import json
import socket
+import cinderclient
import pbr.version
@hemna
hemna / foo.yml
Last active October 2, 2017 15:40
diff --git a/config.yml b/config.yml
index d13b5e8..3e5651d 100644
--- a/config.yml
+++ b/config.yml
@@ -120,22 +120,27 @@ Tumbleweed:
SLE-12:
ceph-deploy:
repos:
- 'SLE12 Pool (OSS)':
- 'http://download.suse.de/ibs/SUSE:/SLE-12:/GA/standard/'
#!/bin/bash
# This tmux script is to be used in conjunction with running devstack
# services. After devstack is up, this script opens up a tmux session
# with windows for every devstack service that tails the journalctl log
# for that service
cmd_dir="$(dirname "$(readlink -e ${0})")"
session="devstack"
diff --git a/roles/CND-VOL/tasks/configure.yml b/roles/CND-VOL/tasks/configure.yml
index c0bdce6..37a3159 100644
--- a/roles/CND-VOL/tasks/configure.yml
+++ b/roles/CND-VOL/tasks/configure.yml
@@ -16,40 +16,7 @@
#
---
-- name: CND-VOL | configure | obtain cinder volume version from package install
- set_fact:
# Copyright 2018 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# Copyright 2018 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT