Skip to content

Instantly share code, notes, and snippets.

- notes from 1-23-15
1. on boarding
- we need to have a plan for how to on board new team members
- as people want to join
- - we need low hanging fruit to get started
- check issues in github
- check all warning/errors across all logs on deployemnts, pick a log message, log a ticket, make it go away
- fix a failing tempest test
- - we need to write more specifications and allow people to engage by designing larger feature sets
import consulate
import sys
#import scp
import os
import time
class Processor:
def __init__(self, host='127.0.0.1', port=8500):
self.host = host
self.port = port
u-trusty-64 puppet-user[1808]: Could not prefetch neutron_network provider 'neutron': Execution of '/usr/bin/neutron net-list --format=csv --column=id --quote=none' returned 1: The request you have made requires authentication. (HTTP 401)
Dec 5 04:30:59 vagrant-ubuntu-trusty-64 puppet-user[1808]: Execution of '/usr/bin/neutron net-create --format=shell --router:external=True public' returned 1: The request you have made requires authentication. (HTTP 401)
Dec 5 04:30:59 vagrant-ubuntu-trusty-64 puppet-user[1808]: (/Stage[main]/Rjil::Neutron/Neutron_network[public]/ensure) change from absent to present failed: Execution of '/usr/bin/neutron net-create --format=shell --router:external=True public' returned 1: The request you have made requires authentication. (HTTP 401)
Dec 5 04:31:00 vagrant-ubuntu-trusty-64 puppet-user[1808]: Could not prefetch neutron_subnet provider 'neutron': Execution of '/usr/bin/neutron subnet-list --format=csv --column=id --quote=none' returned 1: The request you have made requires
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -13,6 +13,7 @@ Vagrant.configure("2") do |config|
override.vm.box = 'ubuntu/trusty64'
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
+ vb.customize ["modifyvm", :id, '--hostonlyadapter1', '10.10/16']
vb.memory = 1024
class one(
$var = 'foo'
) {
notify { $var: }
}
class two {
class { 'one':
var => undef
}
(venv)root@etcd1:/vagrant/venv/src/jiocloud/jiocloud# curl -v http://127.0.0.1:8500/v1/kv/status/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8500 (#0)
> GET /v1/kv/status/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:8500
> Accept: */*
>
< HTTP/1.1 404 Not Found
Thank you for contacting HP Helion Public Cloud! My name is 'Julie O.'. How may I assist you today?
Dan: this is so rediculous
Dan: why do I need to talk to someone to try out your cloud?
Dan: I just want to spin up some compute resources
Dan: you should look at how amazon does it
Dan: that is what everyone wants
Dan: get your act together
# etcdctl ls / --recursive
/current_version
/status
/status/puppet
/status/puppet/success
/status/puppet/success/etcd1-testjenkins-foo-48
/status/puppet/success/ct1-testjenkins-foo-48
/status/puppet/success/ocdb1-testjenkins-foo-48
/status/puppet/failed
/status/puppet/failed/haproxy1-testjenkins-foo-48
2014-10-06 23:06:00.704102 7f6f3edc0800 0 ceph version 0.80.6 (f93610a4421cb670b08e974c6550ee715ac528ae), process ceph-mon, pid 16958
2014-10-06 23:06:00.717209 7f6f3edc0800 0 starting mon.stmonleader1 rank 0 at 10.22.3.46:6789/0 mon_data /var/lib/ceph/mon/mon.stmonleader1 fsid fac04d85-db48-4564-b821-deebda046261
2014-10-06 23:06:00.717776 7f6f3edc0800 1 mon.stmonleader1@-1(probing) e0 preinit fsid fac04d85-db48-4564-b821-deebda046261
2014-10-06 23:06:00.717873 7f6f3edc0800 1 mon.stmonleader1@-1(probing) e0 initial_members ["10.22.3.46"], filtering seed monmap
2014-10-06 23:06:00.720955 7f6f3edbe700 0 -- 10.22.3.46:6789/0 >> 0.0.0.0:0/1 pipe(0x200a780 sd=21 :0 s=1 pgs=0 cs=0 l=0 c=0x1fd5b80).fault
2014-10-06 23:07:00.718671 7f6f39052700 0 mon.stmonleader1@-1(probing).data_health(0) update_stats avail 84% total 41251136 used 4507032 avail 35008192
find on /var/lib/ceph/mon/
find: `on': No such file or directory
/var/lib/ceph/mon/
/var/lib/ceph/mon/mon.stmonleader1
/var/lib/ceph/mon/mon.stmonleader1/store.db
/var/lib/ceph/mon/mon.stmonleader1/store.db/000005.ldb
/var/lib/ceph/mon/mon.stmonleader1/store.db/LOCK
/var/lib/ceph/mon/mon.stmonleader1/store.db/CURRENT
/var/lib/ceph/mon/mon.stmonleader1/store.db/MANIFEST-000004
/var/lib/ceph/mon/mon.stmonleader1/store.db/000006.log