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
2014-11-26 20:33:58.010 8691 DEBUG nova.api.openstack.wsgi [req-e04f219a-cf54-46
c8-bbe8-44bc9d8f1256 None] Action: 'create', calling method: <bound method Serve
rExternalEventsController.create of <nova.api.openstack.compute.contrib.server_e
xternal_events.ServerExternalEventsController object at 0x33950d0>>, body: {"events": [{"status": "completed", "tag": "0b1b29e1-7ba7-4af3-8631-7fdd80572a61", "name": "network-vif-plugged", "server_uuid": "20d39e8c-7097-4552-8175-fed3ca2ebc9e"}]} _process_stack /usr/local/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:934
2014-11-26 20:33:58.060 8691 DEBUG nova.api.openstack.compute.contrib.server_external_events [req-e04f219a-cf54-46c8-bbe8-44bc9d8f1256 None] Dropping event network-vif-plugged:0b1b29e1-7ba7-4af3-8631-7fdd80572a61 for unknown instance 20d39e8c-7097-4552-8175-fed3ca2ebc9e create /usr/local/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/server_external_events.py:114
2014-11-26 20:33:58.061 8691 INFO nova.api.openstack.wsgi [req-e04f2
~/src/derp> cat boo.yaml
---
- name: test something
hosts: localhost
gather_facts: false
tasks:
- debug: msg="hi"
changed_when: true
notify: a handler
iff --git a/roles/nova-common/meta/main.yml b/roles/nova-common/meta/main.yml
index 764e42c..0358d19 100644
--- a/roles/nova-common/meta/main.yml
+++ b/roles/nova-common/meta/main.yml
@@ -8,4 +8,6 @@ dependencies:
project_name: nova
project_rev: "{{ nova.source.rev }}"
rootwrap: True
+ openstack_source:
+ git_mirror: "https://github.com/blueboxgroup"
ansible -i 173.247.106.57, 173.247.106.57 -u ubuntu --private-key envs/test/swiftd.pem --sudo -m service -a "name=derp state=stopped must_exist=no" -vv
<173.247.106.57> REMOTE_MODULE service name=derp state=stopped must_exist=no
173.247.106.57 | success >> {
"changed": false,
"exists": false
}
master ~/src/superstack> vex osc superstack tardis server list
+--------------------------------------+-------------------------------------+--------+---------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+-------------------------------------+--------+---------------------------------------+
| 1d181078-538c-466d-8c80-0ecd70dd9124 | horizon-package-update-compute-0 | ACTIVE | internal=10.230.7.168, 173.247.105.58 |
| e128a896-11cd-4c12-8b7f-9b1656dbe4d6 | horizon-package-update-controller-1 | ACTIVE | internal=10.230.7.156, 173.247.105.70 |
| 7c3738a0-d8ae-47df-8ab8-d12948a1eddb | horizon-package-update-controller-0 | ACTIVE | internal=10.230.7.148, 173.247.105.69 |
| 7f00d588-d5ca-4d66-b484-19af2f8d5301 | ansible-meetup | ACTIVE | internal=10.230.7.133, 173.247.105.56 |
+--------------------------------------+-------------------------
TASK: [openstack-setup | neutron subnets] *************************************
Friday 06 February 2015 18:02:32 -0800 (0:00:04.004) 0:54:54.354 *******
2015-02-09 14:43:23,594 p=35336 u=jkeating | TASK: [set_fact ansible_ssh_user=intask] **************************************
2015-02-09 14:43:23,594 p=35336 u=jkeating | ok: [localhost] => {"ansible_facts": {"ansible_ssh_user": "intask"}}
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 76291fc0-4066-43b0-84fe-072bca6518b5 |
| name | external |
| provider:network_type | local |
| provider:physical_network | |
| provider:segmentation_id | |
| router:external | True |
# nova-manage
Traceback (most recent call last):
File "/opt/bbc/openstack-10.0-bbc38/nova/bin/nova-manage", line 6, in <module>
from nova.cmd.manage import main
File "/opt/bbc/openstack-10.0-bbc38/nova/local/lib/python2.7/site-packages/nova/cmd/manage.py", line 88, in <module>
CONF.import_opt('network_manager', 'nova.service')
File "/opt/bbc/openstack-10.0-bbc38/nova/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1916, in import_opt
__import__(module_str)
File "/opt/bbc/openstack-10.0-bbc38/nova/local/lib/python2.7/site-packages/nova/service.py", line 28, in <module>
from nova import conductor
@omgjlk
omgjlk / gist:a652c59d554450b66385
Created March 17, 2015 21:14
tempest traceback
--- stdout ---
Non-zero exit code (2) from test listing.
{u'token': {u'issued_at': u'2015-03-17T21:13:28.877125', u'expires': u'2015-03-18T21:13:28Z', u'id': u'889ec0a81c6d4a5da112b2926f7a4f41', u'audit_ids': [u'd-WyLc6hQx6lL5Q_AyEWoQ']}, u'serviceCatalog': [], u'user': {u'username': u'provider_admin', u'roles_links': [], u'id': u'e3b1371c1dd9499e98c0dca2bad97c68', u'roles': [], u'name': u'provider_admin'}, u'metadata': {u'is_admin': 0, u'roles': []}}
--- import errors ---
Failed to call load_tests:
Traceback (most recent call last):
File "/home/ubuntu/refstack-client/.tempest/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 136, in loadTestsFromModule
return load_tests(self, tests, pattern)
File "/home/ubuntu/refstack-client/.tempest/tempest/scenario/utils.py", line 157, in load_tests_input_scenario_utils
scenario_flavor = scenario_utils.scenario_flavors