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
2016-02-12 00:47:01.126 3936 DEBUG nova.api.openstack.wsgi [-] Calling method '<bound method Versions.index of <nova.api.openstack.compute.versions.Versions object at 0x7f05a0acfbd0>>' _process_stack /opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:783
2016-02-12 00:47:01.129 3936 INFO nova.osapi_compute.wsgi.server [-] Traceback (most recent call last):
File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 501, in handle_one_response
write(b''.join(towrite))
File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 442, in write
_writelines(towrite)
File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/support/__init__.py", line 62, in safe_writelines
writeall(fd, item)
File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/support/__init__.py", line 67, in writeall
fd.write(buf)
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 <jlk@bluebox.net>
#
# License: MIT
import argparse
import MySQLdb