Skip to content

Instantly share code, notes, and snippets.

View omgjlk's full-sized avatar
🤷‍♂️
Inserting sleeps until it works

Jesse Keating omgjlk

🤷‍♂️
Inserting sleeps until it works
View GitHub Profile
Traceback (most recent call last):
File "/usr/local/bin/keystone", line 6, in <module>
from keystoneclient.shell import main
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py", line 31, in <module>
from keystoneclient import access
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/access.py", line 21, in <module>
from oslo_utils import timeutils
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/timeutils.py", line 31, in <module>
from oslo_utils import reflection
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/reflection.py", line 44, in <module>
---
- name: print a variable
debug:
var: derp
changed_when: true
notify: say hi
- name: create nova directories
file:
dest: "{{ item.value.path }}"
owner: nova
group: "{{ item.value.group | default('nova') }}"
mode: "{{ item.value.mode | default('omit') }}"
state: directory
with_dict:
config:
path: /etc/nova
+------------------+---------------+------+---------+-------+----------------------------+
| Binary | Host | Zone | Status | State | Updated_at |
+------------------+---------------+------+---------+-------+----------------------------+
| cinder-scheduler | ds1418 | nova | enabled | down | 2015-08-27T21:30:19.000000 |
| cinder-scheduler | ds1419 | nova | enabled | down | 2015-08-27T21:30:09.000000 |
| cinder-volume | ds1421@nimble | nova | enabled | up | 2015-08-27T21:31:24.000000 |
+------------------+---------------+------+---------+-------+----------------------------+
---
settings:
package_name_format: 'openstack-{{ project.name }}-{{ settings.version }}'
base_path: '/opt/bbc/openstack-{{ settings.version }}/'
version: 10.0-bbc0
force_overwrite: true
gerrit_dependencies: false
output_dir: /tmp/bbc-packages
projects:
- name: a task
template: src=foobar dst=bar
notify:
- handler A
- handler B
---
- name: thing
hosts: localhost
gather_facts: false
vars:
foo:
keys:
- 1
- 2
- 3
(rally.new)root@rally:~# rally task start suspend-and-resume.yaml --deployment=dell-sea
--------------------------------------------------------------------------------
Preparing input task
--------------------------------------------------------------------------------
Input task is:
---
NovaServers.suspend_and_resume_server:
-
args:
#!/usr/bin/env python
#
# Prune deleted instance content out of a nova database
#
# Authors: Jesse Keating <[email protected]>
#
# License: MIT
import argparse
import MySQLdb
+-------------+---------------------------------------------------------------------------------------+
| Property | Value |
+-------------+---------------------------------------------------------------------------------------+
| adminURL | https://trustytest.openstack.blueboxgrid.com:8778/v1/a306f8db0a484ae6a7dc7836d5e3ad3e |
| id | 20ce0ecb5bdd441193f1629ea62e46f6 |
| internalURL | https://trustytest.openstack.blueboxgrid.com:8778/v1/a306f8db0a484ae6a7dc7836d5e3ad3e |
| publicURL | https://trustytest.openstack.blueboxgrid.com:8778/v1/a306f8db0a484ae6a7dc7836d5e3ad3e |
| region | RegionOne |
+-------------+---------------------------------------------------------------------------------------+