Skip to content

Instantly share code, notes, and snippets.

View whitmo's full-sized avatar
💭
state 26

Whit Morriss whitmo

💭
state 26
View GitHub Profile
(.venv)whit@JATO7:~/proj/reviewq/trusty/mongodb$ bundletester -F
mongodb
charm-proof PASS
00-setup PASS
01_test_write_log_rotate_config.py PASS
200_deploy.test PASS
200_relate_ceilometer.test ERROR
------------------------------------------------------------------------------
ERROR: mongodb::200_relate_ceilometer.test
@whitmo
whitmo / run2
Last active August 29, 2015 14:09
(reviewq)whit@JATO7:~/proj/reviewq/trusty/mongodb$ bundletester -F
mongodb
charm-proof PASS
00-setup PASS
01_test_write_log_rotate_config.py PASS
200_deploy.test PASS
ERROR:deployer.env:Error terminating machine u'4'
juju debug-hooks-ext cloudfoundry/0
Customizing machine...Traceback (most recent call last):
File "/home/whit/.juju-plugins/juju-debug-hooks-ext", line 227, in <module>
config = customize(unit_name, unit, opts)
File "/home/whit/.juju-plugins/juju-debug-hooks-ext", line 105, in customize
import_ids = config.get('import_ids', []) + opts.import_ids
TypeError: can only concatenate list (not "NoneType") to list
ERROR subprocess encountered error code 1
unit-cloudfoundry-0[15940]: 2014-11-12 16:28:39 INFO unit.cloudfoundry/0.juju-log cmd.go:247 Restarting service: bundle
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 Traceback (most recent call last):
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-cloudfoundry-0/charm/hooks/config-changed", line 169, in <module>
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 manage()
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-cloudfoundry-0/charm/hooks/config-changed", line 163, in manage
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 manager.manage()
unit-cloudfoundry-0[15940]: 2014-11-12 16:33:34 INFO unit.cloudfoundry/0.config-changed logger.go:40 File "/var/lib/juju/agents/un
@whitmo
whitmo / cf-packages.txt
Last active August 29, 2015 14:08
cf-packages structure
pkg-archive/
└── cf
├── 177
│   ├── amd64.json
│   └── jobs.tgz
├── 178
│   ├── amd64.json
│   └── jobs.tgz
├── 180
│   ├── amd64.json
@whitmo
whitmo / elk.yaml
Created November 5, 2014 17:19
Current ELK bundle
ELK-demo:
services:
kibana:
charm: "cs:trusty/kibana"
num_units: 1
expose: true
annotations:
"gui-x": "73.58988189697266"
"gui-y": "151.5251693725586"
elasticsearch:
[hekad]
maxprocs = 4
# Heka dashboard for internal metrics and time series graphs
[Dashboard]
type = "DashboardOutput"
address = "ec2-54-215-139-238.us-west-1.compute.amazonaws.com:4352"
ticker_interval = 15
[tcp_carbon]
@whitmo
whitmo / hdp-tez-edits.md
Last active August 29, 2015 14:08
suggested edits for tez bundle README

hdp-hadoop-tez

Apache Tez: a Framework for YARN-based Data Processing Applications In Hadoop.

Apache™ Tez is an extensible framework for high performance batch and interactive data processing applications in Hadoop for terabyte to petabyte scale datasets. It allows projects in the Hadoop ecosystem (including Apache Hive, Apache Pig, various 3rd-party vendor software) to express fit-to-purpose data processing applications in a way that meets

^[[32m[I 141029 14:46:03 web:1635]^[[0;10m 200 POST /api/v1/ (127.0.0.1) 0.94ms
^[[33m[W 141029 14:46:05 app:156]^[[0;10m Caught signal: 15
^[[32m[I 141029 14:46:07 app:161]^[[0;10m Stopping http server
^[[32m[I 141029 14:46:07 app:165]^[[0;10m Will shutdown in 3 seconds ...
^[[32m[I 141029 14:46:15 web:1635]^[[0;10m 200 POST /api/v1/ (127.0.0.1) 0.96ms
^[[30m[E 141029 14:56:31 tactics:69]^[[0;10m Tactic Failed
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-cloudfoundry-0/charm/reconciler/tactics.py", line 54, in run
self._run(env, **self.kwargs)
File "/var/lib/juju/agents/unit-cloudfoundry-0/charm/reconciler/tactics.py", line 174, in _run
whit@JATO7:~$ juju debug-hooks-ext cf-webadmin/0
Customizing environment...Traceback (most recent call last):
File "/home/whit/.juju-plugins/juju-debug-hooks-ext", line 164, in <module>
config = customize(unit, opts)
File "/home/whit/.juju-plugins/juju-debug-hooks-ext", line 38, in customize
if os.path.exists(os.path.expanduser(config.get('init'))):
File "/usr/lib/python2.7/posixpath.py", line 261, in expanduser
if not path.startswith('~'):
AttributeError: 'NoneType' object has no attribute 'startswith'
ERROR subprocess encountered error code 1