Skip to content

Instantly share code, notes, and snippets.

Jun 9 12:30:52 localhost fprintd: ** Message: No devices in use, exit
Jun 9 12:31:09 localhost dbus-daemon: dbus[725]: [system] Activating service name='org.fedoraproject.Setroubleshootd' (using servicehelper)
Jun 9 12:31:09 localhost dbus[725]: [system] Activating service name='org.fedoraproject.Setroubleshootd' (using servicehelper)
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR: Received unregistered task of type 'pulp.server.tasks.consumer_group.bind'.
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR: The message has been ignored and discarded.
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR:
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR: Did you remember to import the module containing this task?
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR: Or maybe you are using relative imports?
Jun 9 12:31:09 localhost pulp: celery.worker.consumer:ERROR: Please see http://bit.ly/gLye1c for more information.
Jun 9 12:31:09 localhost pulp: celer
sudo st2ctl start
##### st2 components status #####
st2actionrunner PID: 25040
st2actionrunner PID: 25042
st2api is not running.
st2auth is not running.
st2sensorcontainer is not running.
st2rulesengine is not running.
st2web is not running.
st2resultstracker is not running.
$ sudo st2ctl status
##### st2 components status #####
st2actionrunner PID: 6033
st2actionrunner PID: 6034
st2actionrunner PID: 6035
st2actionrunner PID: 6036
st2actionrunner PID: 6037
st2actionrunner PID: 6038
st2actionrunner PID: 6039
st2actionrunner PID: 6040
$ st2 execution list
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| id | action.ref | context.user | status | start_timestamp | end_timestamp |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| 5580ac720663ca62d60430ec | core.local | skarmarkar | succeeded | Tue, 16 Jun 2015 | Tue, 16 Jun 2015 |
| | | | | 23:08:34 UTC | 23:08:35 UTC |
| 5580baf32b02f87386cc7604 | core.local | skarmarkar | succeeded | Wed, 17 Jun 2015 | Wed, 17 Jun 2015 |
| | | | | 00:10:27 UTC | 00:10:28 UTC |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
~ st2ctl start
mistral: unrecognized service
~ st2ctl status
##### st2 components status #####
st2actionrunner PID: 3863
st2actionrunner PID: 3864
st2actionrunner PID: 3865
st2actionrunner PID: 3866
st2actionrunner PID: 3867
> db.action_execution_d_b.getIndices()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "_id_"
},
db.action_execution_d_b.getIndices()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "_id_"
},
> db.live_action_d_b.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "_id_"
},
# Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
$ st2 --debug run core.local 'hostname'
# -------- begin 139629745963152 request ----------
curl -X GET -H 'Accept-Encoding: gzip, deflate, compress' -H 'Accept: */*' -H 'User-Agent: python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-49-generic' http://localhost:9101/v1/actions/core.local
# -------- begin 139629745963152 response ----------
{"name": "local", "runner_type": "local-shell-cmd", "tags": [], "enabled": true, "pack": "core", "entry_point": "", "parameters": {"cmd": {"required": true, "type": "string", "description": "Arbitrary Linux command to be executed on the remote host(s)."}, "sudo": {"immutable": true}}, "ref": "core.local", "id": "55fa0c71475e060d20fc325e", "description": "Action that executes an arbitrary Linux command on the localhost."}
# -------- end 139629745963152 response ------------
# -------- begin 139629745966480 request ----------
curl -X GET -H 'Accept-Encoding: gzip, deflate, compress' -H 'Accept: */*' -H 'User-Agent: python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-49-gen