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
# ./setup_and_run_ansible_on_guest.sh saio --debug | |
+ DEBUG=--debug | |
+ '[' '!' -d ./components/swift/.git ']' | |
+ tar cf - ./ansible | |
+ lxc exec saio -- tar xf - -C /root/ | |
+ lxc exec saio -- tar xf - -C /root/ | |
+ tar cf - -C ./components . | |
+ lxc exec saio -- /bin/bash /root/ansible/install_ansible.sh --debug | |
+ set +e | |
+ echo 'Waiting on networking...' |
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
name: ss-node | |
config: | |
raw.lxc: |- | |
lxc.cgroup.devices.allow = c 10:236 rwm | |
lxc.cgroup.devices.allow = b 252:* rwm | |
lxc.aa_profile = unconfined | |
security.privileged: "true" | |
description: "" | |
devices: | |
disk0: |
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
user@ubuntu:~/Desktop/K8S$ kubectl describe jobs/demo2 | |
Name: demo2 | |
Namespace: default | |
Image(s): chianingwang/ffmpeg_swift,chianingwang/ffmpeg_swift | |
Selector: controller-uid=d2a1963d-bd11-11e6-8e20-08002713bc21 | |
Parallelism: 1 | |
Completions: 1 | |
Start Time: Wed, 07 Dec 2016 22:44:52 -0800 | |
Labels: <none> | |
Pods Statuses: 1 Running / 0 Succeeded / 0 Failed |
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
jwang@ubuntu1604lxd:~/git/lxd/builds$ ./build-elk5-stack-ubuntu1604.sh | |
Creating elk5-u1604-1 | |
Starting elk5-u1604-1 | |
[i] Running in a VirtualBox environment. | |
Internet Systems Consortium DHCP Client 4.3.3 | |
Copyright 2004-2015 Internet Systems Consortium. | |
All rights reserved. | |
For info, please visit https://www.isc.org/software/dhcp/ |
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
#swift-object-notify is a execution under /opt/ss/lib/python2.7/site-packages/swift-metadata-sync.egg-link | |
#container-crawler is a middleware need to be installed and run under | |
Download to local for modification | |
Johnnys-MacBook-Pro:git jwang$ git clone https://github.com/swiftstack/swift-object-notify.git | |
Cloning into 'swift-object-notify'... | |
remote: Counting objects: 16, done. | |
remote: Compressing objects: 100% (10/10), done. |
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
***Use Local as Docker Image Repository*** | |
===docker run registry container=== | |
$ docker run -d -p 5000:5000 --restart=always --name registry registry:2 | |
Unable to find image 'registry:2' locally | |
2: Pulling from library/registry | |
Digest: sha256:1152291c7f93a4ea2ddc95e46d142c31e743b6dd70e194af9e6ebe530f782c17 | |
Status: Downloaded newer image for registry:2 | |
Ed13754c8994680f9efd12d58ea3d36632c4be7a4a825f65c9cf5793e1949e5a | |
===Or point the docker registry at special "host" directory for running registry container=== |
This file has been truncated, but you can view the full file.
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
===ffmpeg covert mp4=== | |
ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers | |
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609 | |
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --en |
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
##Docker Installation | |
$ wget -qO- https://get.docker.com/ | sh | |
###user to the “docker” group execute the following command: | |
$ sudo usermod -aG docker user | |
$ sudo reboot | |
###Verify Docker Installation |
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
1. Enable Receiver ( rsyslog-server ) setup at elk5 container | |
a. Update elk5 ( receiver ) rsyslog.conf | |
# sudo vi /etc/rsyslog.conf | |
Change | |
from | |
# provides UDP syslog reception | |
#$ModLoad imudp | |
#$UDPServerRun 514 | |
# provides TCP syslog reception |
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
./fly -t lite execute -c run-ansible-task.yml -i staas-ci=../.. -i staas-saio=/Users/johnnywa/gitlab/saio-ansible/ | |
.... | |
TASK [post_config : start swift] *********************************************** | |
changed: [104.155.156.199] => {"changed": true, "cmd": ["/home/johnnywa/bin/startmain"], "delta": "0:00:08.709919", "end": "2016-10-06 21:57:58.693799", "rc": 0, "start": "2016-10-06 21:57:49.983880", "stderr": "", "stdout": "Starting proxy-server...(/etc/swift/proxy-server.conf)\nStarting container-server...(/etc/swift/container-server/1.conf)\nStarting container-server...(/etc/swift/container-server/2.conf)\nStarting container-server...(/etc/swift/container-server/3.conf)\nStarting container-server...(/etc/swift/container-server/4.conf)\nStarting account-server...(/etc/swift/account-server/1.conf)\nStarting account-server...(/etc/swift/account-server/2.conf)\nStarting account-server...(/etc/swift/account-server/3.conf)\nStarting account-server...(/etc/swift/account-server/4.conf)\nStarting object-server...(/ |