This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> data = '''{ | |
... "mysql": { | |
... "processname": "mysql", | |
... "checkinterval": 30, | |
... "commandtostart": "/etc/init.d/mysql", | |
... "numbertrystostart": 3 | |
... }, | |
... | |
... "something_else": { | |
... "other_thing": "foo" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Login Error: unassociated null | |
null "null" is not associated with any of the Jenkins user account. Note that if you already have a user account and is trying to associate a null with your account, this is a wrong place. To do so, | |
Login | |
Click on your name | |
Click on the "Configure" link, and then | |
associate a new null from that page |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@classmethod¬ | |
def create(cls, uuid_strategy=utils.generate_uuid, **values):¬ | |
if 'id' not in values and uuid_strategy is not None:¬ | |
values['id'] = uuid_strategy()¬ | |
if hasattr(cls, 'deleted') and 'deleted' not in values:¬ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActionsDecorator(object): | |
def __init__(self, action=None, event=None): | |
self.action = action | |
self.event = event | |
self.context = local.store.context | |
def __call__(self, func): | |
def wrapped(*args, **kwargs): | |
event = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
0.0.0.0 192.168.88.2 0.0.0.0 UG 100 0 0 eth0 | |
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br100 | |
192.168.88.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 | |
baz@ubuntu:~$ ip route | |
default via 192.168.88.2 dev eth0 metric 100 | |
10.0.0.0/24 dev br100 proto kernel scope link src 10.0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select * From actions; | |
+------------+------------+------------+---------+----+-----------------+-------------+------------------------------------------+---------+------------+-------------+---------+ | |
| created_at | updated_at | deleted_at | deleted | id | action | action_uuid | request_id | user_id | start_time | finish_time | message | | |
+------------+------------+------------+---------+----+-----------------+-------------+------------------------------------------+---------+------------+-------------+---------+ | |
| NULL | NULL | NULL | 0 | 1 | create_instance | 1 | req-825441cf-0bd4-4276-9d8c-687c9643cefa | radmin | NULL | NULL | NULL | | |
+------------+------------+------------+---------+----+-----------------+-------------+------------------------------------------+---------+------------+-------------+---------+ | |
1 row in set (0.00 sec) | |
mysql> select * From action_events; | |
+------------+------------+------------+--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select * from actions ; select * From action_events; | |
+------------+------------+------------+---------+----+-----------------+--------------------------------------+------------------------------------------+---------+------------+-------------+------------------------------------+ | |
| created_at | updated_at | deleted_at | deleted | id | action | action_uuid | request_id | user_id | start_time | finish_time | message | | |
+------------+------------+------------+---------+----+-----------------+--------------------------------------+------------------------------------------+---------+------------+-------------+------------------------------------+ | |
| NULL | NULL | NULL | 0 | 10 | create_instance | d342c055-b300-4ce8-90a6-7509c1fd6fa8 | req-9e760ac8-d0c3-401d-a0fe-5f7705e8521f | radmin | NULL | NULL | Failed to create a volume in Nova. | | |
+------------+------------+------------+---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Now make sure the time is ahead by more than a few millis,¬ | |
# This a good indicator that it has elapsed time more than a¬ | |
# few clock cycles¬ | |
fuzzy_delta = event.created + datetime.timedelta(milliseconds=200)¬ | |
self.assertTrue(fuzzy_delta < event.finish_time)¬ | |
# Now to make doubly sure, lets add a bunch of extra time to it to!¬ | |
# make sure its before the tiem¬ | |
fuzzy_delta = event.created + datetime.timedelta(milliseconds=400)¬ | |
self.assertTrue(fuzzy_delta > event.finish_time)¬ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select * from actions; select * from action_events; | |
+---------------------+---------------------+----+-----------------+--------------------------------------+------------------------------------------+---------+---------+ | |
| created | updated | id | action | action_uuid | request_id | user_id | message | | |
+---------------------+---------------------+----+-----------------+--------------------------------------+------------------------------------------+---------+---------+ | |
| 2013-04-12 20:38:01 | 2013-04-12 20:38:01 | 2 | create_instance | 234a913f-9a88-4bd2-ac3e-f4eadf614f7a | req-ca2226f2-b356-408d-91b2-077004f40bfa | radmin | NULL | | |
+---------------------+---------------------+----+-----------------+--------------------------------------+------------------------------------------+---------+---------+ | |
1 row in set (0.00 sec) | |
+---------------------+---------------------+----+-----------------------+----------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7a475a8dbce025c80bc3ba'} _safe_log /home/ubuntu/reddwarf/reddwarf/openstack/common/rpc/common.py:196 | |
2013-04-24 05:53:00 ERROR reddwarf.openstack.common.rpc.amqp [req-75b51ba9-c8c9-4c9a-a24c-a5ab3ceed0c5 radmin c8943e673e7a475a8dbce025c80bc3ba] Exception during message handling | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp Traceback (most recent call last): | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp File "/home/ubuntu/reddwarf/reddwarf/openstack/common/rpc/amqp.py", line 277, in _process_data | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args) | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp File "/home/ubuntu/reddwarf/reddwarf/openstack/common/rpc/dispatcher.py", line 147, in dispatch | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs) | |
2013-04-24 05:53:00 1269 TRACE reddwarf.openstack.common.rpc.amqp Type |