Skip to content

Instantly share code, notes, and snippets.

@elarrive
elarrive / gist:97787c79043be8125d86
Created March 27, 2015 22:07
vagrant destroy/up
ELARRIVE-M-50E2:vagrant elarrive$ vagrant destroy
maestro-dev10: Are you sure you want to destroy the 'maestro-dev10' VM? [y/N] y
==> maestro-dev10: Destroying VM and associated drives...
==> maestro-dev10: Running cleanup tasks for 'shell' provisioner...
==> maestro-dev10: Running cleanup tasks for 'shell' provisioner...
==> maestro-dev10: Running cleanup tasks for 'shell' provisioner...
==> maestro-dev10: Running cleanup tasks for 'shell' provisioner...
ELARRIVE-M-50E2:vagrant8 elarrive$ vagrant up
==> maestro-dev10: xz-lzma-compat x86_64 4.999.9-0.3.beta.20091007git.el6 base 15 k
==> maestro-dev10: zip x86_64 3.0-1.el6 base 260 k
==> maestro-dev10:
==> maestro-dev10: Transaction Summary
==> maestro-dev10: ================================================================================
==> maestro-dev10: Install 82 Package(s)
==> maestro-dev10: Total download size: 59 M
==> maestro-dev10: Installed size: 190 M
==> maestro-dev10: Downloading Packages:
==> maestro-dev10: --------------------------------------------------------------------------------
@elarrive
elarrive / gist:b5a90e2e3ac7d95772a8
Created March 17, 2015 23:00
st2 vagrant output
==> maestro-dev01: 2015-03-17 14:16:51,765 INFO [-] Connecting to database "st2" @ "localhost:27017" as user "".
==> maestro-dev01: 2015-03-17 14:16:52,461 INFO [-] =========================================================
==> maestro-dev01: 2015-03-17 14:16:52,462 INFO [-] ############## Registering sensors ######################
==> maestro-dev01: 2015-03-17 14:16:52,462 INFO [-] =========================================================
==> maestro-dev01: 2015-03-17 14:16:52,893 WARNING [-] Error closing channel.
==> maestro-dev01: Traceback (most recent call last):
==> maestro-dev01: File "/usr/local/lib/python2.7/site-packages/st2common/transport/publishers.py", line 56, in publish
==> maestro-dev01: channel.close()
==> maestro-dev01: File "/usr/local/lib/python2.7/site-packages/amqp/channel.py", line 179, in close
==> maestro-dev01: (20, 41), # Channel.close_ok
@elarrive
elarrive / st2api.log
Created March 17, 2015 16:27
st2api.log
HTTPConflict: Tried to save duplicate unique keys (E11000 duplicate key error index: st2.trigger_type_d_b.$pack_1_name_1 dup key: { : "core", : "st2.sensor.process_spawn" })
2015-03-17 09:24:58,820 139726778148496 WARNING triggers [-] TriggerType creation of TriggerTypeAPI[payload_schema={u'type': u'object', u'properties': {u'timestamp': {}, u'cmd': {}, u'pid': {}, u'id': {}}}, pack=u'core', description=u'Trigger encapsulating spawning of a sensor process.', name=u'st2.sensor.process_spawn'] failed with uniqueness conflict. Exception : Tried to save duplicate unique keys (E11000 duplicate key error index: st2.trigger_type_d_b.$pack_1_name_1 dup key: { : "core", : "st2.sensor.process_spawn" })
2015-03-17 09:24:58,820 139726778148496 ERROR base [-] API call failed.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/st2common/models/api/base.py", line 163, in callfunction
result = f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/st2api/controllers/v1/triggers