Skip to content

Instantly share code, notes, and snippets.

Pavel Brodsky mcouthon

Block or report user

Report or block mcouthon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mcouthon
mcouthon / dbus_docl_failure.txt
Created Aug 27, 2017
DBUS failure in docl image builder
View dbus_docl_failure.txt
Sending build context to Docker daemon 12.8 kB
Step 1 : FROM solita/centos-systemd-ssh:7
---> 93d5798b423e
Step 2 : RUN yum install -y -q which sudo initscripts libselinux-utils logrotate
---> Using cache
---> d1c8f8bb37d0
Successfully built d1c8f8bb37d0
Traceback (most recent call last):
File "/home/ubuntu/.virtualenvs/cloudify/bin/docl", line 11, in <module>
@mcouthon
mcouthon / rsync.sh
Last active Apr 5, 2017
A script to synchronize local code with code on a remote manager
View rsync.sh
if [ $# -eq 0 ]; then
echo "Need to provide an IP for the script to work"
exit 1
fi
IP=$1
USER=${2:-centos} # Set default user to centos
KEY=${3:-"~/.ssh/id_rsa"}
REPOS_DIR=/Users/pavel/dev/repos
MGMTWORKER_DIR=/opt/mgmtworker/env/lib/python2.7/site-packages
View known_errors.yaml
# List of errors with known causes
# * The file is treated as a YAML list, which means that every items start with a `-`.
# * Every item *must* have a `pattern` and `message` keys.
# * An item *can* have an optional `group_ids` key.
# * `pattern` - a valid regex pattern. To avoid having to escape characters,
# use the `>-` directive (literal scalar) on a new, indented, line.
# The pattern can have search groups (see `group_ids`).
# * `message` - a valid python string. If search groups are used, positional
# arguments can be added (in order to be expanded with str.format). The
# order is as provided in the optional `group_ids` list.
You can’t perform that action at this time.