Skip to content

Instantly share code, notes, and snippets.

View sheyman's full-sized avatar

Steve Heyman sheyman

  • Union POS
  • Arlington, TX
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sheyman on github.
  • I am sheyman (https://keybase.io/sheyman) on keybase.
  • I have a public key ASCSStGB3-0wFo5xcNSQjr4NQbZoZ8pvaZ3mN3ZzoKS4LAo

To claim this, I am signing this object:

@sheyman
sheyman / sch.json
Created September 7, 2016 19:27
rally scenario to run two nova jobs
{% set flavor_name = flavor_name or "m1.tiny" %}
{% set servers_to_build = servers_to_build or 5 %}
{
"NovaServers.boot_server": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/Users/step6927/tempest/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/Users/step6927/tempest/tempest/scenario/test_network_basic_ops.py", line 399, in test_network_basic_ops
self.check_public_network_connectivity(should_connect=True)
File "/Users/step6927/tempest/tempest/scenario/test_network_basic_ops.py", line 212, in check_public_network_connectivity
self.servers)
File "/Users/step6927/tempest/tempest/scenario/manager.py", line 593, in check_public_network_connectivity
[[local|localrc]]
enable_plugin barbican https://git.openstack.org/openstack/barbican
enable_service rabbit mysql key
FLOATING_RANGE=192.168.1.224/27
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=eth0
ADMIN_PASSWORD=supersecret
DATABASE_PASSWORD=iheartdatabases
RABBIT_PASSWORD=flopsymopsy
try:
import xmlrpclib
except ImportError:
import xmlrpc.client as xmlrpclib
def download_from_pypi(package_name, package_version=None,
package_filetype=".gz"):
'''
Find the URL for the specified package and (optional) version.

Keybase proof

I hereby claim:

  • I am sheyman on github.
  • I am sheyman (https://keybase.io/sheyman) on keybase.
  • I have a public key whose fingerprint is 0527 02A0 FC56 9ACF FCF2 507C F494 9DF8 95E2 FFC1

To claim this, I am signing this object:

>> Consider possible security implications associated with Crypto module.
- /Users/step6927/barbican/barbican/openstack/common/crypto/utils.py::20
20 from Crypto import Random
>> Random library should not be used for any security or cryptographic purposes
- /Users/step6927/barbican/barbican/openstack/common/processutils.py::23
23 import random
>> Use of random is not suitable for security/cryptographic purposes.
- /Users/step6927/barbican/barbican/openstack/common/processutils.py::130
130 greenthread.sleep(random.randint(20, 200) / 100.0)
>> Random library should not be used for any security or cryptographic purposes
GLOB sdist-make: /Users/step6927/barbican/setup.py
pep8 recreate: /Users/step6927/barbican/.tox/pep8
pep8 installdeps: -r/Users/step6927/barbican/requirements.txt, -r/Users/step6927/barbican/test-requirements.txt
pep8 inst: /Users/step6927/barbican/.tox/dist/barbican-2015.1.dev62.g4fd63b2.zip
pep8 runtests: PYTHONHASHSEED='1312473101'
pep8 runtests: commands[0] | flake8
py26 create: /Users/step6927/barbican/.tox/py26
py26 installdeps: -r/Users/step6927/barbican/requirements.txt, -r/Users/step6927/barbican/test-requirements.txt
ERROR: invocation failed, logfile: /Users/step6927/barbican/.tox/py26/log/py26-1.log
ERROR: actionid=py26
@sheyman
sheyman / gist:e6c00315276fd815d6f3
Created November 11, 2014 15:57
output from hacking
(barbican27)➜ barbican git:(master) tox -r
GLOB sdist-make: /Users/step6927/barbican/setup.py
pep8 recreate: /Users/step6927/barbican/.tox/pep8
pep8 installdeps: -r/Users/step6927/barbican/requirements.txt, -r/Users/step6927/barbican/test-requirements.txt
pep8 inst: /Users/step6927/barbican/.tox/dist/barbican-2015.1.dev62.g4fd63b2.zip
pep8 runtests: PYTHONHASHSEED='4072372684'
pep8 runtests: commands[0] | flake8
./pbr-0.10.0-py2.7.egg/pbr/core.py:50:1: H307 like imports should be grouped together (setuptools.dist and pbr.util from third-party are separated by whitespace)
./pbr-0.10.0-py2.7.egg/pbr/core.py:88:1: H405 multi line docstring summary not separated with an empty line
./pbr-0.10.0-py2.7.egg/pbr/find_package.py:19:1: H305 imports not grouped correctly (os: stdlib, setuptools: third-party)
[composite:main]
use = egg:Paste#urlmap
/: barbican_version
/v1: barbican_api
# Use this pipeline for Barbican API - versions no authentication
[pipeline:barbican_version]
pipeline = versionapp
# Use this pipeline for Barbican API - DEFAULT no authentication